2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.7.
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
='7.7'
615 PACKAGE_STRING
='Wine 7.7'
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
736 EXCESS_PRECISION_CFLAGS
756 SYSTEMCONFIGURATION_LIBS
759 APPLICATIONSERVICES_LIBS
773 WINEPRELOADER_LDFLAGS
861 program_transform_name
874 enable_option_checking
879 enable_maintainer_mode
996 enable_d3dcompiler_33
997 enable_d3dcompiler_34
998 enable_d3dcompiler_35
999 enable_d3dcompiler_36
1000 enable_d3dcompiler_37
1001 enable_d3dcompiler_38
1002 enable_d3dcompiler_39
1003 enable_d3dcompiler_40
1004 enable_d3dcompiler_41
1005 enable_d3dcompiler_42
1006 enable_d3dcompiler_43
1007 enable_d3dcompiler_46
1008 enable_d3dcompiler_47
1061 enable_directmanipulation
1098 enable_explorerframe
1153 enable_light_msstyles
1168 enable_mfmediaengine
1229 enable_msvcp140_atomic_wait
1296 enable_photometadatahandler
1377 enable_uiautomationcore
1397 enable_vcruntime140_1
1415 enable_windows_devices_enumeration
1416 enable_windows_gaming_input
1417 enable_windows_globalization
1418 enable_windows_media_devices
1419 enable_windows_media_speech
1420 enable_windowscodecs
1421 enable_windowscodecsext
1423 enable_wineandroid_drv
1425 enable_winecoreaudio_drv
1428 enable_winegstreamer
1434 enable_winepulse_drv
1438 enable_winexinput_sys
1483 enable_xactengine2_0
1484 enable_xactengine2_4
1485 enable_xactengine2_7
1486 enable_xactengine2_9
1487 enable_xactengine3_0
1488 enable_xactengine3_1
1489 enable_xactengine3_2
1490 enable_xactengine3_3
1491 enable_xactengine3_4
1492 enable_xactengine3_5
1493 enable_xactengine3_6
1494 enable_xactengine3_7
1541 enable_wmcodecdspuuid
1549 enable_aspnet_regiis
1594 enable_presentationfontcache
1609 enable_servicemodelreg
1634 enable_winemenubuilder
1636 enable_winemsibuilder
1661 ac_precious_vars
='build_alias
1742 # Initialize some variables set by options.
1744 ac_init_version
=false
1745 ac_unrecognized_opts
=
1746 ac_unrecognized_sep
=
1747 # The variables have the same names as the options, with
1748 # dashes changed to underlines.
1749 cache_file
=/dev
/null
1756 program_transform_name
=s
,x
,x
,
1764 # Installation directory options.
1765 # These are left unexpanded so users can "make install exec_prefix=/foo"
1766 # and all the variables that are supposed to be based on exec_prefix
1767 # by default will actually change.
1768 # Use braces instead of parens because sh, perl, etc. also accept them.
1769 # (The list follows the same order as the GNU Coding Standards.)
1770 bindir
='${exec_prefix}/bin'
1771 sbindir
='${exec_prefix}/sbin'
1772 libexecdir
='${exec_prefix}/libexec'
1773 datarootdir
='${prefix}/share'
1774 datadir
='${datarootdir}'
1775 sysconfdir
='${prefix}/etc'
1776 sharedstatedir
='${prefix}/com'
1777 localstatedir
='${prefix}/var'
1778 runstatedir
='${localstatedir}/run'
1779 includedir
='${prefix}/include'
1780 oldincludedir
='/usr/include'
1781 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1782 infodir
='${datarootdir}/info'
1787 libdir
='${exec_prefix}/lib'
1788 localedir
='${datarootdir}/locale'
1789 mandir
='${datarootdir}/man'
1795 # If the previous option needs an argument, assign it.
1796 if test -n "$ac_prev"; then
1797 eval $ac_prev=\
$ac_option
1803 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1808 case $ac_dashdash$ac_option in
1812 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1814 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1815 bindir
=$ac_optarg ;;
1817 -build |
--build |
--buil |
--bui |
--bu)
1818 ac_prev
=build_alias
;;
1819 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1820 build_alias
=$ac_optarg ;;
1822 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1823 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1824 ac_prev
=cache_file
;;
1825 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1826 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1827 cache_file
=$ac_optarg ;;
1829 --config-cache |
-C)
1830 cache_file
=config.cache
;;
1832 -datadir |
--datadir |
--datadi |
--datad)
1834 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1835 datadir
=$ac_optarg ;;
1837 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1838 |
--dataroo |
--dataro |
--datar)
1839 ac_prev
=datarootdir
;;
1840 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1841 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1842 datarootdir
=$ac_optarg ;;
1844 -disable-* |
--disable-*)
1845 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1846 # Reject names that are not valid shell variable names.
1847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1848 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1849 ac_useropt_orig
=$ac_useropt
1850 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1851 case $ac_user_opts in
1853 "enable_
$ac_useropt"
1855 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1856 ac_unrecognized_sep
=', ';;
1858 eval enable_
$ac_useropt=no
;;
1860 -docdir |
--docdir |
--docdi |
--doc |
--do)
1862 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1863 docdir
=$ac_optarg ;;
1865 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1867 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1868 dvidir
=$ac_optarg ;;
1870 -enable-* |
--enable-*)
1871 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1872 # Reject names that are not valid shell variable names.
1873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1874 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1875 ac_useropt_orig
=$ac_useropt
1876 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1877 case $ac_user_opts in
1879 "enable_
$ac_useropt"
1881 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1882 ac_unrecognized_sep
=', ';;
1884 eval enable_
$ac_useropt=\
$ac_optarg ;;
1886 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1887 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1888 |
--exec |
--exe |
--ex)
1889 ac_prev
=exec_prefix
;;
1890 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1891 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1892 |
--exec=* |
--exe=* |
--ex=*)
1893 exec_prefix
=$ac_optarg ;;
1895 -gas |
--gas |
--ga |
--g)
1896 # Obsolete; use --with-gas.
1899 -help |
--help |
--hel |
--he |
-h)
1900 ac_init_help
=long
;;
1901 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1902 ac_init_help
=recursive
;;
1903 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1904 ac_init_help
=short
;;
1906 -host |
--host |
--hos |
--ho)
1907 ac_prev
=host_alias
;;
1908 -host=* |
--host=* |
--hos=* |
--ho=*)
1909 host_alias
=$ac_optarg ;;
1911 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1913 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1915 htmldir
=$ac_optarg ;;
1917 -includedir |
--includedir |
--includedi |
--included |
--include \
1918 |
--includ |
--inclu |
--incl |
--inc)
1919 ac_prev
=includedir
;;
1920 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1921 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1922 includedir
=$ac_optarg ;;
1924 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1926 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1927 infodir
=$ac_optarg ;;
1929 -libdir |
--libdir |
--libdi |
--libd)
1931 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1932 libdir
=$ac_optarg ;;
1934 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1935 |
--libexe |
--libex |
--libe)
1936 ac_prev
=libexecdir
;;
1937 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1938 |
--libexe=* |
--libex=* |
--libe=*)
1939 libexecdir
=$ac_optarg ;;
1941 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1942 ac_prev
=localedir
;;
1943 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1944 localedir
=$ac_optarg ;;
1946 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1947 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1948 ac_prev
=localstatedir
;;
1949 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1950 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1951 localstatedir
=$ac_optarg ;;
1953 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1955 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1956 mandir
=$ac_optarg ;;
1958 -nfp |
--nfp |
--nf)
1959 # Obsolete; use --without-fp.
1962 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1963 |
--no-cr |
--no-c |
-n)
1966 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1967 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1970 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1971 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1972 |
--oldin |
--oldi |
--old |
--ol |
--o)
1973 ac_prev
=oldincludedir
;;
1974 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1975 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1976 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1977 oldincludedir
=$ac_optarg ;;
1979 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1981 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1982 prefix
=$ac_optarg ;;
1984 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1985 |
--program-pre |
--program-pr |
--program-p)
1986 ac_prev
=program_prefix
;;
1987 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1988 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1989 program_prefix
=$ac_optarg ;;
1991 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1992 |
--program-suf |
--program-su |
--program-s)
1993 ac_prev
=program_suffix
;;
1994 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1995 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1996 program_suffix
=$ac_optarg ;;
1998 -program-transform-name |
--program-transform-name \
1999 |
--program-transform-nam |
--program-transform-na \
2000 |
--program-transform-n |
--program-transform- \
2001 |
--program-transform |
--program-transfor \
2002 |
--program-transfo |
--program-transf \
2003 |
--program-trans |
--program-tran \
2004 |
--progr-tra |
--program-tr |
--program-t)
2005 ac_prev
=program_transform_name
;;
2006 -program-transform-name=* |
--program-transform-name=* \
2007 |
--program-transform-nam=* |
--program-transform-na=* \
2008 |
--program-transform-n=* |
--program-transform-=* \
2009 |
--program-transform=* |
--program-transfor=* \
2010 |
--program-transfo=* |
--program-transf=* \
2011 |
--program-trans=* |
--program-tran=* \
2012 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2013 program_transform_name
=$ac_optarg ;;
2015 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2017 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2018 pdfdir
=$ac_optarg ;;
2020 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2022 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2025 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2026 |
-silent |
--silent |
--silen |
--sile |
--sil)
2029 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2030 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2031 |
--run |
--ru |
--r)
2032 ac_prev
=runstatedir
;;
2033 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2034 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2035 |
--run=* |
--ru=* |
--r=*)
2036 runstatedir
=$ac_optarg ;;
2038 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2040 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2042 sbindir
=$ac_optarg ;;
2044 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2045 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2046 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2048 ac_prev
=sharedstatedir
;;
2049 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2050 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2051 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2053 sharedstatedir
=$ac_optarg ;;
2055 -site |
--site |
--sit)
2057 -site=* |
--site=* |
--sit=*)
2060 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2062 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2063 srcdir
=$ac_optarg ;;
2065 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2066 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2067 ac_prev
=sysconfdir
;;
2068 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2069 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2070 sysconfdir
=$ac_optarg ;;
2072 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2073 ac_prev
=target_alias
;;
2074 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2075 target_alias
=$ac_optarg ;;
2077 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2080 -version |
--version |
--versio |
--versi |
--vers |
-V)
2081 ac_init_version
=: ;;
2084 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2085 # Reject names that are not valid shell variable names.
2086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2087 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2088 ac_useropt_orig
=$ac_useropt
2089 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2090 case $ac_user_opts in
2094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2095 ac_unrecognized_sep
=', ';;
2097 eval with_
$ac_useropt=\
$ac_optarg ;;
2099 -without-* |
--without-*)
2100 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2101 # Reject names that are not valid shell variable names.
2102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2103 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2104 ac_useropt_orig
=$ac_useropt
2105 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2106 case $ac_user_opts in
2110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2111 ac_unrecognized_sep
=', ';;
2113 eval with_
$ac_useropt=no
;;
2116 # Obsolete; use --with-x.
2119 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2120 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2121 ac_prev
=x_includes
;;
2122 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2123 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2124 x_includes
=$ac_optarg ;;
2126 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2127 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2128 ac_prev
=x_libraries
;;
2129 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2130 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2131 x_libraries
=$ac_optarg ;;
2133 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2134 Try \`$0 --help' for more information"
2138 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2139 # Reject names that are not valid shell variable names.
2140 case $ac_envvar in #(
2141 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2142 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2144 eval $ac_envvar=\
$ac_optarg
2145 export $ac_envvar ;;
2148 # FIXME: should be removed in autoconf 3.0.
2149 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2151 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2152 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2158 if test -n "$ac_prev"; then
2159 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2160 as_fn_error $?
"missing argument to $ac_option"
2163 if test -n "$ac_unrecognized_opts"; then
2164 case $enable_option_checking in
2166 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2167 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2171 # Check all directory arguments for consistency.
2172 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2173 datadir sysconfdir sharedstatedir localstatedir includedir \
2174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2175 libdir localedir mandir runstatedir
2177 eval ac_val
=\$
$ac_var
2178 # Remove trailing slashes.
2181 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2182 eval $ac_var=\
$ac_val;;
2184 # Be sure to have absolute directory names.
2186 [\\/$
]* | ?
:[\\/]* ) continue;;
2187 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2189 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2192 # There might be people who depend on the old broken behavior: `$host'
2193 # used to hold the argument of --host etc.
2194 # FIXME: To remove some day.
2197 target
=$target_alias
2199 # FIXME: To remove some day.
2200 if test "x$host_alias" != x
; then
2201 if test "x$build_alias" = x
; then
2202 cross_compiling
=maybe
2203 elif test "x$build_alias" != "x$host_alias"; then
2209 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2211 test "$silent" = yes && exec 6>/dev
/null
2214 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2215 ac_ls_di
=`ls -di .` &&
2216 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2217 as_fn_error $?
"working directory cannot be determined"
2218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2219 as_fn_error $?
"pwd does not report name of working directory"
2222 # Find the source files, if location was not specified.
2223 if test -z "$srcdir"; then
2224 ac_srcdir_defaulted
=yes
2225 # Try the directory containing this script, then the parent directory.
2226 ac_confdir
=`$as_dirname -- "$as_myself" ||
2227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2228 X"$as_myself" : 'X\(//\)[^/]' \| \
2229 X"$as_myself" : 'X\(//\)$' \| \
2230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2231 printf "%s\n" X"$as_myself" |
2232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2250 if test ! -r "$srcdir/$ac_unique_file"; then
2254 ac_srcdir_defaulted
=no
2256 if test ! -r "$srcdir/$ac_unique_file"; then
2257 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2258 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2260 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2264 # When building in place, set srcdir=.
2265 if test "$ac_abs_confdir" = "$ac_pwd"; then
2268 # Remove unnecessary trailing slashes from srcdir.
2269 # Double slashes in file names in object file debugging info
2270 # mess up M-x gdb in Emacs.
2272 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2274 for ac_var
in $ac_precious_vars; do
2275 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2276 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2277 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2278 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2282 # Report the --help message.
2284 if test "$ac_init_help" = "long"; then
2285 # Omit some internal or obsolete options to make the list less imposing.
2286 # This message is too long to be a string in the A/UX 3.1 sh.
2288 \`configure' configures Wine 7.7 to adapt to many kinds of systems.
2290 Usage: $0 [OPTION]... [VAR=VALUE]...
2292 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2293 VAR=VALUE. See below for descriptions of some of the useful variables.
2295 Defaults for the options are specified in brackets.
2298 -h, --help display this help and exit
2299 --help=short display options specific to this package
2300 --help=recursive display the short help of all the included packages
2301 -V, --version display version information and exit
2302 -q, --quiet, --silent do not print \`checking ...' messages
2303 --cache-file=FILE cache test results in FILE [disabled]
2304 -C, --config-cache alias for \`--cache-file=config.cache'
2305 -n, --no-create do not create output files
2306 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2308 Installation directories:
2309 --prefix=PREFIX install architecture-independent files in PREFIX
2310 [$ac_default_prefix]
2311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2314 By default, \`make install' will install all the files in
2315 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2316 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2317 for instance \`--prefix=\$HOME'.
2319 For better control, use the options below.
2321 Fine tuning of the installation directories:
2322 --bindir=DIR user executables [EPREFIX/bin]
2323 --sbindir=DIR system admin executables [EPREFIX/sbin]
2324 --libexecdir=DIR program executables [EPREFIX/libexec]
2325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2327 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2328 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2329 --libdir=DIR object code libraries [EPREFIX/lib]
2330 --includedir=DIR C header files [PREFIX/include]
2331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2334 --infodir=DIR info documentation [DATAROOTDIR/info]
2335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2336 --mandir=DIR man documentation [DATAROOTDIR/man]
2337 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2338 --htmldir=DIR html documentation [DOCDIR]
2339 --dvidir=DIR dvi documentation [DOCDIR]
2340 --pdfdir=DIR pdf documentation [DOCDIR]
2341 --psdir=DIR ps documentation [DOCDIR]
2347 --x-includes=DIR X include files are
in DIR
2348 --x-libraries=DIR X library files are
in DIR
2351 --build=BUILD configure
for building on BUILD
[guessed
]
2352 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2356 if test -n "$ac_init_help"; then
2357 case $ac_init_help in
2358 short | recursive
) echo "Configuration of Wine 7.7:";;
2363 --disable-option-checking ignore unrecognized
--enable/--with options
2364 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2365 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2366 --disable-win16 do not include Win16 support
2367 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2369 --disable-tests do not build the regression tests
2370 --enable-build-id include .buildid section in output objects
2371 --enable-maintainer-mode
2372 enable maintainer-specific build rules
2373 --enable-silent-rules use silent build rules (override: "make V=1")
2374 --enable-werror treat compilation warnings as errors
2375 --disable-largefile omit support for large files
2378 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2379 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2380 --without-alsa do not use the Alsa sound support
2381 --without-capi do not use CAPI (ISDN support)
2382 --without-coreaudio do not use the CoreAudio sound support
2383 --without-cups do not use CUPS
2384 --without-dbus do not use DBus (dynamic device support)
2385 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2386 --without-fontconfig do not use fontconfig
2387 --without-freetype do not use the FreeType library
2388 --without-gettext do not use gettext
2389 --with-gettextpo use the GetTextPO library to rebuild po files
2390 --without-gphoto do not use gphoto (Digital Camera support)
2391 --without-gnutls do not use GnuTLS (schannel support)
2392 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2393 --without-gstreamer do not use GStreamer (codecs support)
2394 --without-inotify do not use inotify (filesystem change notifications)
2395 --without-krb5 do not use krb5 (Kerberos)
2396 --without-ldap do not use LDAP
2397 --without-mingw do not use the MinGW cross-compiler
2398 --without-netapi do not use the Samba NetAPI library
2399 --without-openal do not use OpenAL
2400 --without-opencl do not use OpenCL
2401 --without-opengl do not use OpenGL
2402 --without-osmesa do not use the OSMesa library
2403 --without-oss do not use the OSS sound support
2404 --without-pcap do not use the Packet Capture library
2405 --without-pthread do not use the pthread library
2406 --without-pulse do not use PulseAudio sound support
2407 --without-sane do not use SANE (scanner support)
2408 --without-sdl do not use SDL
2409 --without-udev do not use udev (plug and play support)
2410 --without-unwind do not use the libunwind library (exception
2412 --without-usb do not use the libusb library
2413 --without-v4l2 do not use v4l2 (video capture)
2414 --without-vulkan do not use Vulkan
2415 --without-xcomposite do not use the Xcomposite extension
2416 --without-xcursor do not use the Xcursor extension
2417 --without-xfixes do not use Xfixes for clipboard change notifications
2418 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2419 --without-xinput do not use the Xinput extension
2420 --without-xinput2 do not use the Xinput 2 extension
2421 --without-xrandr do not use Xrandr (multi-monitor support)
2422 --without-xrender do not use the Xrender extension
2423 --without-xshape do not use the Xshape extension
2424 --without-xshm do not use XShm (shared memory extension)
2425 --without-xxf86vm do not use XFree video mode extension
2426 --with-system-dllpath=PATH
2427 load external PE dependencies from colon-separated
2429 --with-wine-tools=DIR use Wine tools from directory DIR
2430 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2431 --with-x use the X Window System
2433 Some influential environment variables:
2434 CC C compiler command
2435 CFLAGS C compiler flags
2436 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2437 nonstandard directory <lib dir>
2438 LIBS libraries to pass to the linker, e.g. -l<library>
2439 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2440 you have headers in a nonstandard directory <include dir>
2441 CXX C++ compiler command
2442 CXXFLAGS C++ compiler flags
2443 OBJC Objective C compiler command
2444 OBJCFLAGS Objective C compiler flags
2446 C compiler flags for the PE faudio, overriding the bundled
2449 Linker flags for the PE faudio, overriding the bundled version
2451 C compiler flags for the PE gsm, overriding the bundled version
2452 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2454 C compiler flags for the PE jpeg, overriding the bundled version
2456 Linker flags for the PE jpeg, overriding the bundled version
2458 C compiler flags for the PE jxr, overriding the bundled version
2459 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2461 C compiler flags for the PE lcms2, overriding the bundled
2464 Linker flags for the PE lcms2, overriding the bundled version
2466 C compiler flags for the PE mpg123, overriding the bundled
2469 Linker flags for the PE mpg123, overriding the bundled version
2471 C compiler flags for the PE png, overriding the bundled version
2472 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2474 C compiler flags for the PE tiff, overriding the bundled version
2476 Linker flags for the PE tiff, overriding the bundled version
2478 C compiler flags for the PE vkd3d, overriding the bundled
2481 Linker flags for the PE vkd3d, overriding the bundled version
2483 C compiler flags for the PE xml2, overriding the bundled version
2485 Linker flags for the PE xml2, overriding the bundled version
2487 C compiler flags for the PE xslt, overriding the bundled version
2489 Linker flags for the PE xslt, overriding the bundled version
2491 C compiler flags for the PE zlib, overriding the bundled version
2493 Linker flags for the PE zlib, overriding the bundled version
2494 XMKMF Path to xmkmf, Makefile generator for X Window System
2497 C compiler flags for libinotify, overriding pkg-config
2499 Linker flags for libinotify, overriding pkg-config
2500 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2501 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2503 C compiler flags for gnutls, overriding pkg-config
2504 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2505 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2506 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2507 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2508 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2510 C compiler flags for libgphoto2, overriding pkg-config
2512 Linker flags for libgphoto2, overriding pkg-config
2514 C compiler flags for libgphoto2_port, overriding pkg-config
2516 Linker flags for libgphoto2_port, overriding pkg-config
2518 C compiler flags for freetype2, overriding pkg-config
2520 Linker flags for freetype2, overriding pkg-config
2522 C compiler flags for libpulse, overriding pkg-config
2523 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2525 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2526 gstreamer-audio-1.0, overriding pkg-config
2528 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2529 gstreamer-audio-1.0, overriding pkg-config
2530 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2531 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2533 C compiler flags for libunwind, overriding pkg-config
2534 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2535 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2536 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2538 C compiler flags for capi20, overriding pkg-config
2539 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2540 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2541 CUPS_LIBS Linker flags for cups, overriding pkg-config
2543 C compiler flags for fontconfig, overriding pkg-config
2545 Linker flags for fontconfig, overriding pkg-config
2546 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2547 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2549 C compiler flags for krb5-gssapi, overriding pkg-config
2550 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2552 C compiler flags for netapi, overriding pkg-config
2553 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2554 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2555 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2557 Use these variables to override the choices made by `configure' or to
help
2558 it to
find libraries and programs with nonstandard names
/locations.
2560 Report bugs to
<wine-devel@winehq.org
>.
2561 Wine home page
: <https
://www.winehq.org
>.
2566 if test "$ac_init_help" = "recursive"; then
2567 # If there are subdirs, report their specific --help.
2568 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2569 test -d "$ac_dir" ||
2570 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2575 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2577 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2578 # A ".." for each directory in $ac_dir_suffix.
2579 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2580 case $ac_top_builddir_sub in
2581 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2582 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2585 ac_abs_top_builddir
=$ac_pwd
2586 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2587 # for backward compatibility:
2588 ac_top_builddir
=$ac_top_build_prefix
2591 .
) # We are building in place.
2593 ac_top_srcdir
=$ac_top_builddir_sub
2594 ac_abs_top_srcdir
=$ac_pwd ;;
2595 [\\/]* | ?
:[\\/]* ) # Absolute name.
2596 ac_srcdir
=$srcdir$ac_dir_suffix;
2597 ac_top_srcdir
=$srcdir
2598 ac_abs_top_srcdir
=$srcdir ;;
2600 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2601 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2602 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2604 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2606 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2607 # Check for configure.gnu first; this name is used for a wrapper for
2608 # Metaconfig's "Configure" on case-insensitive file systems.
2609 if test -f "$ac_srcdir/configure.gnu"; then
2611 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2612 elif test -f "$ac_srcdir/configure"; then
2614 $SHELL "$ac_srcdir/configure" --help=recursive
2616 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2618 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2622 test -n "$ac_init_help" && exit $ac_status
2623 if $ac_init_version; then
2626 generated by GNU Autoconf
2.71
2628 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2629 This configure
script is free software
; the Free Software Foundation
2630 gives unlimited permission to copy
, distribute and modify it.
2635 ## ------------------------ ##
2636 ## Autoconf initialization. ##
2637 ## ------------------------ ##
2639 # ac_fn_c_try_compile LINENO
2640 # --------------------------
2641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2642 ac_fn_c_try_compile
()
2644 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2645 rm -f conftest.
$ac_objext conftest.beam
2646 if { { ac_try
="$ac_compile"
2648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652 printf "%s\n" "$ac_try_echo"; } >&5
2653 (eval "$ac_compile") 2>conftest.err
2655 if test -s conftest.err; then
2656 grep -v '^ *+' conftest.err >conftest.er1
2657 cat conftest.er1 >&5
2658 mv -f conftest.er1 conftest.err
2660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2661 test $ac_status = 0; } && {
2662 test -z "$ac_c_werror_flag" ||
2663 test ! -s conftest.err
2664 } && test -s conftest.$ac_objext
2668 printf "%s\n" "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2674 as_fn_set_status $ac_retval
2676 } # ac_fn_c_try_compile
2678 # ac_fn_cxx_try_compile LINENO
2679 # ----------------------------
2680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2681 ac_fn_cxx_try_compile ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 rm -f conftest.$ac_objext conftest.beam
2685 if { { ac_try="$ac_compile"
2687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2688 *) ac_try_echo
=$ac_try;;
2690 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 printf "%s\n" "$ac_try_echo"; } >&5
2692 (eval "$ac_compile") 2>conftest.err
2694 if test -s conftest.err
; then
2695 grep -v '^ *+' conftest.err
>conftest.er1
2696 cat conftest.er1
>&5
2697 mv -f conftest.er1 conftest.err
2699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; } && {
2701 test -z "$ac_cxx_werror_flag" ||
2702 test ! -s conftest.err
2703 } && test -s conftest.
$ac_objext
2707 printf "%s\n" "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.
$ac_ext >&5
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status
$ac_retval
2715 } # ac_fn_cxx_try_compile
2717 # ac_fn_c_try_link LINENO
2718 # -----------------------
2719 # Try to link conftest.$ac_ext, and return whether this succeeded.
2722 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2723 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2724 if { { ac_try
="$ac_link"
2726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 printf "%s\n" "$ac_try_echo"; } >&5
2731 (eval "$ac_link") 2>conftest.err
2733 if test -s conftest.err; then
2734 grep -v '^ *+' conftest.err >conftest.er1
2735 cat conftest.er1 >&5
2736 mv -f conftest.er1 conftest.err
2738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && {
2740 test -z "$ac_c_werror_flag" ||
2741 test ! -s conftest.err
2742 } && test -s conftest$ac_exeext && {
2743 test "$cross_compiling" = yes ||
2744 test -x conftest$ac_exeext
2749 printf "%s\n" "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2754 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2755 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2756 # interfere with the next link command; also delete a directory that is
2757 # left behind by Apple's compiler. We do this before executing the actions.
2758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_link
2764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2765 # -------------------------------------------------------
2766 # Tests whether HEADER exists and can be compiled using the include files in
2767 # INCLUDES, setting the cache variable VAR accordingly.
2768 ac_fn_c_check_header_compile ()
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2772 printf %s "checking for $2... " >&6; }
2773 if eval test \${$3+y}
2775 printf %s "(cached) " >&6
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2782 if ac_fn_c_try_compile "$LINENO"
2788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2792 printf "%s\n" "$ac_res" >&6; }
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 } # ac_fn_c_check_header_compile
2797 # ac_fn_objc_try_compile LINENO
2798 # -----------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_objc_try_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext conftest.beam
2804 if { { ac_try="$ac_compile"
2806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2807 *) ac_try_echo
=$ac_try;;
2809 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 printf "%s\n" "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2813 if test -s conftest.err
; then
2814 grep -v '^ *+' conftest.err
>conftest.er1
2815 cat conftest.er1
>&5
2816 mv -f conftest.er1 conftest.err
2818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_objc_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.
$ac_objext
2826 printf "%s\n" "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.
$ac_ext >&5
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 as_fn_set_status
$ac_retval
2834 } # ac_fn_objc_try_compile
2836 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2837 # ----------------------------------------------------------
2838 # Tests whether HEADER exists and can be compiled using the include files in
2839 # INCLUDES, setting the cache variable VAR accordingly.
2840 ac_fn_objc_check_header_compile
()
2842 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2844 printf %s
"checking for $2... " >&6; }
2845 if eval test \
${$3+y}
2847 printf %s
"(cached) " >&6
2849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2854 if ac_fn_objc_try_compile
"$LINENO"
2860 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2864 printf "%s\n" "$ac_res" >&6; }
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 } # ac_fn_objc_check_header_compile
2869 # ac_fn_c_check_func LINENO FUNC VAR
2870 # ----------------------------------
2871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2872 ac_fn_c_check_func
()
2874 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2876 printf %s
"checking for $2... " >&6; }
2877 if eval test \
${$3+y}
2879 printf %s
"(cached) " >&6
2881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2883 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2885 #define $2 innocuous_$2
2887 /* System header to define __stub macros and hopefully few prototypes,
2888 which can conflict with char $2 (); below. */
2893 /* Override any GCC internal prototype to avoid an error.
2894 Use char because int might match the return type of a GCC
2895 builtin and then its argument prototype would still apply. */
2900 /* The GNU C library defines this for functions which it implements
2901 to always fail with ENOSYS. Some functions are actually named
2902 something starting with __ and the normal name is an alias. */
2903 #if defined __stub_$2 || defined __stub___$2
2915 if ac_fn_c_try_link
"$LINENO"
2921 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2922 conftest
$ac_exeext conftest.
$ac_ext
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 printf "%s\n" "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_func
2931 # ac_fn_c_try_cpp LINENO
2932 # ----------------------
2933 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2936 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2937 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 printf "%s\n" "$ac_try_echo"; } >&5
2944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2946 if test -s conftest.err; then
2947 grep -v '^ *+' conftest.err >conftest.er1
2948 cat conftest.er1 >&5
2949 mv -f conftest.er1 conftest.err
2951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2952 test $ac_status = 0; } > conftest.i && {
2953 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2959 printf "%s\n" "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 as_fn_set_status $ac_retval
2969 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2970 # ----------------------------------------------------
2971 # Tries to find if the field MEMBER exists in type AGGR, after including
2972 # INCLUDES, setting cache variable VAR accordingly.
2973 ac_fn_c_check_member ()
2975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2977 printf %s "checking for $2.$3... " >&6; }
2978 if eval test \${$4+y}
2980 printf %s "(cached) " >&6
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2995 if ac_fn_c_try_compile "$LINENO"
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3006 if (sizeof ac_aggr.$3)
3012 if ac_fn_c_try_compile "$LINENO"
3018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3024 printf "%s\n" "$ac_res" >&6; }
3025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3027 } # ac_fn_c_check_member
3029 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3030 # -------------------------------------------
3031 # Tests whether TYPE exists after having included INCLUDES, setting cache
3032 # variable VAR accordingly.
3033 ac_fn_c_check_type ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3037 printf %s "checking for $2... " >&6; }
3038 if eval test \${$3+y}
3040 printf %s "(cached) " >&6
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3055 if ac_fn_c_try_compile "$LINENO"
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3069 if ac_fn_c_try_compile "$LINENO"
3075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3081 printf "%s\n" "$ac_res" >&6; }
3082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3084 } # ac_fn_c_check_type
3085 ac_configure_args_raw=
3090 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3092 as_fn_append ac_configure_args_raw " '$ac_arg'"
3095 case $ac_configure_args_raw in
3099 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3100 ac_unsafe_a="$ac_unsafe_z#~
"
3101 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3102 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3105 cat >config.log <<_ACEOF
3106 This file contains any messages produced by compilers while
3107 running configure, to aid debugging if configure makes a mistake.
3109 It was created by Wine $as_me 7.7, which was
3110 generated by GNU Autoconf 2.71. Invocation command line was
3112 $ $0$ac_configure_args_raw
3122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3124 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3125 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3126 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3128 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3129 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3134 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3135 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3136 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3137 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 case $as_dir in #(((
3148 *) as_dir=$as_dir/ ;;
3150 printf "%s
\n" "PATH
: $as_dir"
3166 # Keep a trace of the command line.
3167 # Strip out --no-create and --no-recursion so they do not pile up.
3168 # Strip out --silent because we don't want to record it for future runs.
3169 # Also quote any args containing shell meta-characters.
3170 # Make two passes to allow for proper duplicate-argument suppression.
3174 ac_must_keep_next=false
3180 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3182 | -silent | --silent | --silen | --sile | --sil)
3185 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3188 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3190 as_fn_append ac_configure_args1 " '$ac_arg'"
3191 if test $ac_must_keep_next = true; then
3192 ac_must_keep_next=false # Got value, back to normal.
3195 *=* | --config-cache | -C | -disable-* | --disable-* \
3196 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3197 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3198 | -with-* | --with-* | -without-* | --without-* | --x)
3199 case "$ac_configure_args0 " in
3200 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3203 -* ) ac_must_keep_next=true ;;
3206 as_fn_append ac_configure_args " '$ac_arg'"
3211 { ac_configure_args0=; unset ac_configure_args0;}
3212 { ac_configure_args1=; unset ac_configure_args1;}
3214 # When interrupted or exit'd, cleanup temporary files, and complete
3215 # config.log. We remove comments because anyway the quotes in there
3216 # would cause problems or look ugly.
3217 # WARNING: Use '\'' to represent an apostrophe within the trap.
3218 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3219 trap 'exit_status=$?
3222 # Save into config.log some information that might help in debugging.
3226 printf "%s
\n" "## ---------------- ##
3227 ## Cache variables. ##
3228 ## ---------------- ##"
3230 # The following way of writing the cache mishandles newlines in values,
3232 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3233 eval ac_val
=\$
$ac_var
3237 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3238 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3241 _ | IFS | as_nl
) ;; #(
3242 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3243 *) { eval $ac_var=; unset $ac_var;} ;;
3248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3249 *${as_nl}ac_space
=\
*)
3251 "s/'\''/'\''\\\\'\'''\''/g;
3252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3262 printf "%s\n" "## ----------------- ##
3263 ## Output variables. ##
3264 ## ----------------- ##"
3266 for ac_var
in $ac_subst_vars
3268 eval ac_val
=\$
$ac_var
3270 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3272 printf "%s\n" "$ac_var='\''$ac_val'\''"
3276 if test -n "$ac_subst_files"; then
3277 printf "%s\n" "## ------------------- ##
3278 ## File substitutions. ##
3279 ## ------------------- ##"
3281 for ac_var in $ac_subst_files
3283 eval ac_val=\$$ac_var
3285 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3287 printf "%s\n" "$ac_var='\''$ac_val'\''"
3292 if test -s confdefs.h
; then
3293 printf "%s\n" "## ----------- ##
3300 test "$ac_signal" != 0 &&
3301 printf "%s\n" "$as_me: caught signal $ac_signal"
3302 printf "%s\n" "$as_me: exit $exit_status"
3304 rm -f core
*.core core.conftest.
* &&
3305 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3308 for ac_signal in 1 2 13 15; do
3309 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3314 rm -f -r conftest* confdefs.h
3316 printf "%s\n" "/* confdefs.h */" > confdefs.h
3318 # Predefined preprocessor variables.
3320 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3322 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3324 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3326 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3328 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3333 # Let the site file select an alternate cache file if it wants to.
3334 # Prefer an explicitly selected file to automatically selected ones.
3335 if test -n "$CONFIG_SITE"; then
3336 ac_site_files="$CONFIG_SITE"
3337 elif test "x$prefix" != xNONE; then
3338 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3340 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3343 for ac_site_file in $ac_site_files
3345 case $ac_site_file in #(
3349 ac_site_file=./$ac_site_file ;;
3351 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3353 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3354 sed 's
/^
/|
/' "$ac_site_file" >&5
3356 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3358 as_fn_error $? "failed to load site script $ac_site_file
3359 See \`config.log
' for more details" "$LINENO" 5; }
3363 if test -r "$cache_file"; then
3364 # Some versions of bash will fail to source /dev/null (special files
3365 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3366 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3368 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3370 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3371 *) . "./$cache_file";;
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3376 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3380 # Test code for whether the C compiler supports C89 (global declarations)
3381 ac_c_conftest_c89_globals='
3382 /* Does the compiler advertise C89 conformance?
3383 Do not
test the value of __STDC__
, because some compilers
set it to
0
3384 while being otherwise adequately conformant.
*/
3385 #if !defined __STDC__
3386 # error "Compiler does not advertise C89 conformance"
3392 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3393 struct buf
{ int x
; };
3394 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3395 static char
*e
(p
, i
)
3401 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3406 s
= g
(p
, va_arg
(v
,int
));
3411 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3412 function prototypes and stuff
, but not \xHH hex character constants.
3413 These
do not provoke an error unfortunately
, instead are silently treated
3414 as an
"x". The following induces an error
, until -std is added to get
3415 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3416 array size
at least. It is necessary to
write \x00 == 0 to get something
3417 that is true only with
-std.
*/
3418 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3420 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3421 inside
strings and character constants.
*/
3422 #define FOO(x) '\''x'\''
3423 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3425 int
test (int i
, double x
);
3426 struct s1
{int
(*f
) (int a
);};
3427 struct s2
{int
(*f
) (double a
);};
3428 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3431 # Test code for whether the C compiler supports C89 (body of main).
3432 ac_c_conftest_c89_main='
3433 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3436 # Test code for whether the C compiler supports C99 (global declarations)
3437 ac_c_conftest_c99_globals='
3438 // Does the compiler advertise C99 conformance?
3439 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3440 # error "Compiler does not advertise C99 conformance"
3443 #include <stdbool.h>
3444 extern int puts
(const char
*);
3445 extern int
printf (const char
*, ...
);
3446 extern int dprintf
(int
, const char
*, ...
);
3447 extern void
*malloc
(size_t
);
3449 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3450 // dprintf is used instead of fprintf to avoid needing to
declare
3452 #define debug(...) dprintf (2, __VA_ARGS__)
3453 #define showlist(...) puts (#__VA_ARGS__)
3454 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3456 test_varargs_macros
(void
)
3461 debug
("X = %d\n", x
);
3462 showlist
(The first
, second
, and third items.
);
3463 report
(x
>y
, "x is %d but y is %d", x
, y
);
3466 // Check long long types.
3467 #define BIG64 18446744073709551615ull
3468 #define BIG32 4294967295ul
3469 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3471 #error "your preprocessor is broken"
3475 #error "your preprocessor is broken"
3477 static long long int bignum
= -9223372036854775807LL;
3478 static unsigned long long int ubignum
= BIG64
;
3480 struct incomplete_array
3488 const wchar_t
*name
;
3492 typedef const char
*ccp
;
3495 test_restrict
(ccp restrict text
)
3497 // See
if C
++-style comments work.
3498 // Iterate through items via the restricted pointer.
3499 // Also check
for declarations
in for loops.
3500 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3505 // Check varargs and va_copy.
3507 test_varargs
(const char
*format
, ...
)
3510 va_start
(args
, format
);
3512 va_copy
(args_copy
, args
);
3514 const char
*str
= "";
3522 case '\''s
'\'': // string
3523 str
= va_arg
(args_copy
, const char
*);
3525 case '\''d
'\'': // int
3526 number
= va_arg
(args_copy
, int
);
3528 case '\''f
'\'': // float
3529 fnumber
= va_arg
(args_copy
, double
);
3538 return *str
&& number
&& fnumber
;
3542 # Test code for whether the C compiler supports C99 (body of main).
3543 ac_c_conftest_c99_main='
3545 _Bool success
= false
;
3546 success |
= (argc
!= 0);
3549 if (test_restrict
("String literal") == 0)
3551 char
*restrict newvar
= "Another string";
3554 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3555 test_varargs_macros
();
3557 // Check flexible array members.
3558 struct incomplete_array
*ia
=
3559 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3561 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3562 ia-
>data
[i
] = i
* 1.234;
3564 // Check named initializers.
3565 struct named_init ni
= {
3567 .name
= L
"Test wide string",
3568 .average
= 543.34343,
3573 int dynamic_array
[ni.number
];
3574 dynamic_array
[0] = argv
[0][0];
3575 dynamic_array
[ni.number
- 1] = 543;
3577 // work around unused variable warnings
3578 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3579 || dynamic_array
[ni.number
- 1] != 543);
3582 # Test code for whether the C compiler supports C11 (global declarations)
3583 ac_c_conftest_c11_globals='
3584 // Does the compiler advertise C11 conformance?
3585 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3586 # error "Compiler does not advertise C11 conformance"
3590 char _Alignas
(double
) aligned_as_double
;
3591 char _Alignas
(0) no_special_alignment
;
3592 extern char aligned_as_int
;
3593 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3598 int_alignment
= _Alignof
(int
),
3599 int_array_alignment
= _Alignof
(int
[100]),
3600 char_alignment
= _Alignof
(char
)
3602 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3605 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3607 // Check _Static_assert.
3608 struct test_static_assert
3611 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3612 "_Static_assert does not work in struct");
3616 // Check UTF-8 literals.
3617 #define u8 syntax error!
3618 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3620 // Check duplicate typedefs.
3621 typedef long
*long_ptr
;
3622 typedef long int
*long_ptr
;
3623 typedef long_ptr long_ptr
;
3625 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3629 struct
{ int i
; int j
; };
3630 struct
{ int k
; long int l
; } w
;
3636 # Test code for whether the C compiler supports C11 (body of main).
3637 ac_c_conftest_c11_main='
3638 _Static_assert
((offsetof
(struct anonymous
, i
)
3639 == offsetof
(struct anonymous
, w.k
)),
3640 "Anonymous union alignment botch");
3646 # Test code for whether the C compiler supports C11 (complete).
3647 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3648 ${ac_c_conftest_c99_globals}
3649 ${ac_c_conftest_c11_globals}
3652 main (int argc, char **argv)
3655 ${ac_c_conftest_c89_main}
3656 ${ac_c_conftest_c99_main}
3657 ${ac_c_conftest_c11_main}
3662 # Test code for whether the C compiler supports C99 (complete).
3663 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3664 ${ac_c_conftest_c99_globals}
3667 main (int argc, char **argv)
3670 ${ac_c_conftest_c89_main}
3671 ${ac_c_conftest_c99_main}
3676 # Test code for whether the C compiler supports C89 (complete).
3677 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3680 main (int argc, char **argv)
3683 ${ac_c_conftest_c89_main}
3688 # Test code for whether the C++ compiler supports C++98 (global declarations)
3689 ac_cxx_conftest_cxx98_globals='
3690 // Does the compiler advertise C
++98 conformance?
3691 #if !defined __cplusplus || __cplusplus < 199711L
3692 # error "Compiler does not advertise C++98 conformance"
3695 // These inclusions are to reject old compilers that
3696 // lack the unsuffixed header files.
3698 #include <exception>
3700 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3701 extern void assert
(int
);
3703 extern int strcmp
(const char
*, const char
*);
3706 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3707 using std
::exception
;
3712 void test_exception_syntax
()
3716 } catch
(const char
*s
) {
3717 // Extra parentheses suppress a warning when building autoconf itself
,
3718 // due to lint rules shared with
more typical C programs.
3719 assert
(!(strcmp
) (s
, "test"));
3723 template
<typename T
> struct test_template
3726 explicit test_template
(T t
) : val
(t
) {}
3727 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3730 } // anonymous namespace
3733 # Test code for whether the C++ compiler supports C++98 (body of main)
3734 ac_cxx_conftest_cxx98_main='
3738 test_exception_syntax
();
3739 test_template
<double
> tt
(2.0);
3740 assert
(tt.add
(4) == 6.0);
3741 assert
(true
&& !false
);
3745 # Test code for whether the C++ compiler supports C++11 (global declarations)
3746 ac_cxx_conftest_cxx11_globals='
3747 // Does the compiler advertise C
++ 2011 conformance?
3748 #if !defined __cplusplus || __cplusplus < 201103L
3749 # error "Compiler does not advertise C++11 conformance"
3754 constexpr int get_val
() { return 20; }
3765 delegate
(int n
) : n
(n
) {}
3766 delegate
(): delegate
(2354) {}
3768 virtual int getval
() { return this-
>n
; };
3773 class overridden
: public delegate
3776 overridden
(int n
): delegate
(n
) {}
3777 virtual int getval
() override final
{ return this-
>n
* 2; }
3783 nocopy
(int i
): i
(i
) {}
3785 nocopy
(const nocopy
&) = delete
;
3786 nocopy
& operator
=(const nocopy
&) = delete
;
3791 // for testing lambda expressions
3792 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3797 // for testing variadic templates and trailing
return types
3798 template
<typename V
> auto
sum(V first
) -> V
3802 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3804 return first
+ sum(rest...
);
3809 # Test code for whether the C++ compiler supports C++11 (body of main)
3810 ac_cxx_conftest_cxx11_main='
3812 // Test auto and decltype
3814 auto a2
= 48573953.4;
3815 auto a3
= "String literal";
3818 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3820 decltype
(a2
) a4
= 34895.034;
3824 short sa
[cxx11test
::get_val
()] = { 0 };
3827 // Test initializer lists
3828 cxx11test
::testinit il
= { 4323, 435234.23544 };
3831 // Test range-based
for
3832 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3833 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3834 for (auto
&x
: array
) { x
+= 23; }
3837 // Test lambda expressions
3838 using cxx11test
::eval;
3839 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3841 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3843 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3847 // Test use of variadic templates
3848 using cxx11test
::sum;
3851 auto c
= sum(1.0, 2.0, 3.0);
3854 // Test constructor delegation
3855 cxx11test
::delegate d1
;
3856 cxx11test
::delegate d2
();
3857 cxx11test
::delegate d3
(45);
3860 // Test override and final
3861 cxx11test
::overridden o1
(55464);
3868 // Test template brackets
3869 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3873 char const
*utf8
= u8
"UTF-8 string \u2500";
3874 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3875 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3879 # Test code for whether the C compiler supports C++11 (complete).
3880 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3881 ${ac_cxx_conftest_cxx11_globals}
3884 main (int argc, char **argv)
3887 ${ac_cxx_conftest_cxx98_main}
3888 ${ac_cxx_conftest_cxx11_main}
3893 # Test code for whether the C compiler supports C++98 (complete).
3894 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3896 main (int argc, char **argv)
3899 ${ac_cxx_conftest_cxx98_main}
3904 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3905 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3906 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3907 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3908 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3909 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3910 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3911 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3912 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3914 # Auxiliary files required by this configure script.
3915 ac_aux_files="config.guess config.sub"
3917 # Locations in which to look for auxiliary files.
3918 ac_aux_dir_candidates="${srcdir}/tools"
3920 # Search for a directory containing all of the required auxiliary files,
3921 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3922 # If we don't
find one directory that contains all the files we need
,
3923 # we report the set of missing files from the *first* directory in
3924 # $ac_aux_dir_candidates and give up.
3925 ac_missing_aux_files
=""
3926 ac_first_candidate
=:
3927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3930 for as_dir
in $ac_aux_dir_candidates
3933 case $as_dir in #(((
3936 *) as_dir
=$as_dir/ ;;
3940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3941 ac_aux_dir_found
=yes
3943 for ac_aux
in $ac_aux_files
3945 # As a special case, if "install-sh" is required, that requirement
3946 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3947 # and $ac_install_sh is set appropriately for whichever one is found.
3948 if test x
"$ac_aux" = x
"install-sh"
3950 if test -f "${as_dir}install-sh"; then
3951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3952 ac_install_sh
="${as_dir}install-sh -c"
3953 elif test -f "${as_dir}install.sh"; then
3954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3955 ac_install_sh
="${as_dir}install.sh -c"
3956 elif test -f "${as_dir}shtool"; then
3957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3958 ac_install_sh
="${as_dir}shtool install -c"
3961 if $ac_first_candidate; then
3962 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3968 if test -f "${as_dir}${ac_aux}"; then
3969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3972 if $ac_first_candidate; then
3973 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3980 if test "$ac_aux_dir_found" = yes; then
3981 ac_aux_dir
="$as_dir"
3984 ac_first_candidate
=false
3993 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3997 # These three variables are undocumented and unsupported,
3998 # and are intended to be withdrawn in a future Autoconf release.
3999 # They can cause serious problems if a builder's source tree is in a directory
4000 # whose full name contains unusual characters.
4001 if test -f "${ac_aux_dir}config.guess"; then
4002 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4004 if test -f "${ac_aux_dir}config.sub"; then
4005 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4007 if test -f "$ac_aux_dir/configure"; then
4008 ac_configure
="$SHELL ${ac_aux_dir}configure"
4011 # Check that the precious variables saved in the cache have kept the same
4013 ac_cache_corrupted
=false
4014 for ac_var
in $ac_precious_vars; do
4015 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4016 eval ac_new_set
=\
$ac_env_${ac_var}_set
4017 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4018 eval ac_new_val
=\
$ac_env_${ac_var}_value
4019 case $ac_old_set,$ac_new_set in
4021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4022 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4023 ac_cache_corrupted
=: ;;
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4026 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4027 ac_cache_corrupted
=: ;;
4030 if test "x$ac_old_val" != "x$ac_new_val"; then
4031 # differences in whitespace do not lead to failure.
4032 ac_old_val_w
=`echo x $ac_old_val`
4033 ac_new_val_w
=`echo x $ac_new_val`
4034 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4036 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4037 ac_cache_corrupted
=:
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4040 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4041 eval $ac_var=\
$ac_old_val
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4044 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4046 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4049 # Pass precious variables to config.status.
4050 if test "$ac_new_set" = set; then
4052 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4053 *) ac_arg
=$ac_var=$ac_new_val ;;
4055 case " $ac_configure_args " in
4056 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4057 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4061 if $ac_cache_corrupted; then
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4065 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4066 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4067 and start over" "$LINENO" 5
4069 ## -------------------- ##
4070 ## Main body of script. ##
4071 ## -------------------- ##
4074 ac_cpp
='$CPP $CPPFLAGS'
4075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4081 ac_config_headers
="$ac_config_headers include/config.h"
4085 libwine_version
="1.0"
4088 # Check whether --enable-win16 was given.
4089 if test ${enable_win16+y}
4091 enableval
=$enable_win16;
4094 # Check whether --enable-win64 was given.
4095 if test ${enable_win64+y}
4097 enableval
=$enable_win64;
4100 # Check whether --enable-tests was given.
4101 if test ${enable_tests+y}
4103 enableval
=$enable_tests;
4106 # Check whether --enable-build-id was given.
4107 if test ${enable_build_id+y}
4109 enableval
=$enable_build_id;
4112 # Check whether --enable-maintainer-mode was given.
4113 if test ${enable_maintainer_mode+y}
4115 enableval
=$enable_maintainer_mode;
4118 # Check whether --enable-silent-rules was given.
4119 if test ${enable_silent_rules+y}
4121 enableval
=$enable_silent_rules;
4124 # Check whether --enable-werror was given.
4125 if test ${enable_werror+y}
4127 enableval
=$enable_werror;
4132 # Check whether --with-alsa was given.
4133 if test ${with_alsa+y}
4139 # Check whether --with-capi was given.
4140 if test ${with_capi+y}
4146 # Check whether --with-coreaudio was given.
4147 if test ${with_coreaudio+y}
4149 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
4153 # Check whether --with-cups was given.
4154 if test ${with_cups+y}
4160 # Check whether --with-dbus was given.
4161 if test ${with_dbus+y}
4167 # Check whether --with-float-abi was given.
4168 if test ${with_float_abi+y}
4170 withval
=$with_float_abi;
4174 # Check whether --with-fontconfig was given.
4175 if test ${with_fontconfig+y}
4177 withval
=$with_fontconfig;
4181 # Check whether --with-freetype was given.
4182 if test ${with_freetype+y}
4184 withval
=$with_freetype;
4188 # Check whether --with-gettext was given.
4189 if test ${with_gettext+y}
4191 withval
=$with_gettext;
4195 # Check whether --with-gettextpo was given.
4196 if test ${with_gettextpo+y}
4198 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4202 # Check whether --with-gphoto was given.
4203 if test ${with_gphoto+y}
4205 withval
=$with_gphoto;
4209 # Check whether --with-gnutls was given.
4210 if test ${with_gnutls+y}
4212 withval
=$with_gnutls;
4216 # Check whether --with-gssapi was given.
4217 if test ${with_gssapi+y}
4219 withval
=$with_gssapi;
4223 # Check whether --with-gstreamer was given.
4224 if test ${with_gstreamer+y}
4226 withval
=$with_gstreamer;
4230 # Check whether --with-inotify was given.
4231 if test ${with_inotify+y}
4233 withval
=$with_inotify;
4237 # Check whether --with-krb5 was given.
4238 if test ${with_krb5+y}
4244 # Check whether --with-ldap was given.
4245 if test ${with_ldap+y}
4247 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
4251 # Check whether --with-mingw was given.
4252 if test ${with_mingw+y}
4254 withval
=$with_mingw;
4258 # Check whether --with-netapi was given.
4259 if test ${with_netapi+y}
4261 withval
=$with_netapi;
4265 # Check whether --with-openal was given.
4266 if test ${with_openal+y}
4268 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
4272 # Check whether --with-opencl was given.
4273 if test ${with_opencl+y}
4275 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4279 # Check whether --with-opengl was given.
4280 if test ${with_opengl+y}
4282 withval
=$with_opengl;
4286 # Check whether --with-osmesa was given.
4287 if test ${with_osmesa+y}
4289 withval
=$with_osmesa;
4293 # Check whether --with-oss was given.
4294 if test ${with_oss+y}
4300 # Check whether --with-pcap was given.
4301 if test ${with_pcap+y}
4303 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4307 # Check whether --with-pthread was given.
4308 if test ${with_pthread+y}
4310 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4314 # Check whether --with-pulse was given.
4315 if test ${with_pulse+y}
4317 withval
=$with_pulse;
4321 # Check whether --with-sane was given.
4322 if test ${with_sane+y}
4328 # Check whether --with-sdl was given.
4329 if test ${with_sdl+y}
4335 # Check whether --with-udev was given.
4336 if test ${with_udev+y}
4342 # Check whether --with-unwind was given.
4343 if test ${with_unwind+y}
4345 withval
=$with_unwind;
4349 # Check whether --with-usb was given.
4350 if test ${with_usb+y}
4356 # Check whether --with-v4l2 was given.
4357 if test ${with_v4l2+y}
4363 # Check whether --with-vulkan was given.
4364 if test ${with_vulkan+y}
4366 withval
=$with_vulkan;
4370 # Check whether --with-xcomposite was given.
4371 if test ${with_xcomposite+y}
4373 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4377 # Check whether --with-xcursor was given.
4378 if test ${with_xcursor+y}
4380 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4384 # Check whether --with-xfixes was given.
4385 if test ${with_xfixes+y}
4387 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4391 # Check whether --with-xinerama was given.
4392 if test ${with_xinerama+y}
4394 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4398 # Check whether --with-xinput was given.
4399 if test ${with_xinput+y}
4401 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4405 # Check whether --with-xinput2 was given.
4406 if test ${with_xinput2+y}
4408 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4412 # Check whether --with-xrandr was given.
4413 if test ${with_xrandr+y}
4415 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4419 # Check whether --with-xrender was given.
4420 if test ${with_xrender+y}
4422 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4426 # Check whether --with-xshape was given.
4427 if test ${with_xshape+y}
4429 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4433 # Check whether --with-xshm was given.
4434 if test ${with_xshm+y}
4436 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4440 # Check whether --with-xxf86vm was given.
4441 if test ${with_xxf86vm+y}
4443 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
4448 # Check whether --with-system-dllpath was given.
4449 if test ${with_system_dllpath+y}
4451 withval
=$with_system_dllpath; system_dllpath
=$withval
4456 # Check whether --with-wine-tools was given.
4457 if test ${with_wine_tools+y}
4459 withval
=$with_wine_tools;
4463 # Check whether --with-wine64 was given.
4464 if test ${with_wine64+y}
4466 withval
=$with_wine64;
4473 # Make sure we can run config.sub.
4474 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4475 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4478 printf %s
"checking build system type... " >&6; }
4479 if test ${ac_cv_build+y}
4481 printf %s
"(cached) " >&6
4483 ac_build_alias
=$build_alias
4484 test "x$ac_build_alias" = x
&&
4485 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4486 test "x$ac_build_alias" = x
&&
4487 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4488 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4489 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4493 printf "%s\n" "$ac_cv_build" >&6; }
4494 case $ac_cv_build in
4496 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4499 ac_save_IFS
=$IFS; IFS
='-'
4505 # Remember, the first character of IFS is used to create $*,
4506 # except with old shells:
4509 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4513 printf %s
"checking host system type... " >&6; }
4514 if test ${ac_cv_host+y}
4516 printf %s
"(cached) " >&6
4518 if test "x$host_alias" = x
; then
4519 ac_cv_host
=$ac_cv_build
4521 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4522 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4527 printf "%s\n" "$ac_cv_host" >&6; }
4530 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4533 ac_save_IFS
=$IFS; IFS
='-'
4539 # Remember, the first character of IFS is used to create $*,
4540 # except with old shells:
4543 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4547 dlldir
=\
${libdir}/wine
4549 fontdir
=\
${datadir}/wine
/fonts
4551 nlsdir
=\
${datadir}/wine
/nls
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4557 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4559 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4560 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4562 printf %s
"(cached) " >&6
4564 cat >conftest.
make <<\_ACEOF
4567 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4569 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4570 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4572 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4574 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4578 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4580 printf "%s\n" "yes" >&6; }
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 printf "%s\n" "no" >&6; }
4585 SET_MAKE
="MAKE=${MAKE-make}"
4598 ac_cpp
='$CPP $CPPFLAGS'
4599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4604 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 printf %s
"checking for $ac_word... " >&6; }
4607 if test ${ac_cv_prog_CC+y}
4609 printf %s
"(cached) " >&6
4611 if test -n "$CC"; then
4612 ac_cv_prog_CC
="$CC" # Let the user override the test.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 case $as_dir in #(((
4621 *) as_dir
=$as_dir/ ;;
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4636 if test -n "$CC"; then
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4638 printf "%s\n" "$CC" >&6; }
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 printf "%s\n" "no" >&6; }
4646 if test -z "$ac_cv_prog_CC"; then
4648 # Extract the first word of "gcc", so it can be a program name with args.
4649 set dummy gcc
; ac_word
=$2
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 printf %s
"checking for $ac_word... " >&6; }
4652 if test ${ac_cv_prog_ac_ct_CC+y}
4654 printf %s
"(cached) " >&6
4656 if test -n "$ac_ct_CC"; then
4657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 case $as_dir in #(((
4666 *) as_dir
=$as_dir/ ;;
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_ac_ct_CC
="gcc"
4671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4681 if test -n "$ac_ct_CC"; then
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4683 printf "%s\n" "$ac_ct_CC" >&6; }
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 printf "%s\n" "no" >&6; }
4689 if test "x$ac_ct_CC" = x
; then
4692 case $cross_compiling:$ac_tool_warned in
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned
=yes ;;
4704 if test -z "$CC"; then
4705 if test -n "$ac_tool_prefix"; then
4706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4707 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 printf %s
"checking for $ac_word... " >&6; }
4710 if test ${ac_cv_prog_CC+y}
4712 printf %s
"(cached) " >&6
4714 if test -n "$CC"; then
4715 ac_cv_prog_CC
="$CC" # Let the user override the test.
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 case $as_dir in #(((
4724 *) as_dir
=$as_dir/ ;;
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4739 if test -n "$CC"; then
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4741 printf "%s\n" "$CC" >&6; }
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 printf "%s\n" "no" >&6; }
4750 if test -z "$CC"; then
4751 # Extract the first word of "cc", so it can be a program name with args.
4752 set dummy cc
; ac_word
=$2
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 printf %s
"checking for $ac_word... " >&6; }
4755 if test ${ac_cv_prog_CC+y}
4757 printf %s
"(cached) " >&6
4759 if test -n "$CC"; then
4760 ac_cv_prog_CC
="$CC" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 case $as_dir in #(((
4770 *) as_dir
=$as_dir/ ;;
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4774 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4775 ac_prog_rejected
=yes
4779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4786 if test $ac_prog_rejected = yes; then
4787 # We found a bogon in the path, so make sure we never use it.
4788 set dummy
$ac_cv_prog_CC
4790 if test $# != 0; then
4791 # We chose a different compiler from the bogus one.
4792 # However, it has the same basename, so the bogon will be chosen
4793 # first if we set CC to just the basename; use the full file name.
4795 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4801 if test -n "$CC"; then
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4803 printf "%s\n" "$CC" >&6; }
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 printf "%s\n" "no" >&6; }
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 for ac_prog
in cl.exe
4815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4816 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 printf %s
"checking for $ac_word... " >&6; }
4819 if test ${ac_cv_prog_CC+y}
4821 printf %s
"(cached) " >&6
4823 if test -n "$CC"; then
4824 ac_cv_prog_CC
="$CC" # Let the user override the test.
4826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4830 case $as_dir in #(((
4833 *) as_dir
=$as_dir/ ;;
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4848 if test -n "$CC"; then
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4850 printf "%s\n" "$CC" >&6; }
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 printf "%s\n" "no" >&6; }
4857 test -n "$CC" && break
4860 if test -z "$CC"; then
4862 for ac_prog
in cl.exe
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy
$ac_prog; ac_word
=$2
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 printf %s
"checking for $ac_word... " >&6; }
4868 if test ${ac_cv_prog_ac_ct_CC+y}
4870 printf %s
"(cached) " >&6
4872 if test -n "$ac_ct_CC"; then
4873 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 case $as_dir in #(((
4882 *) as_dir
=$as_dir/ ;;
4884 for ac_exec_ext
in '' $ac_executable_extensions; do
4885 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_ac_ct_CC
="$ac_prog"
4887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4897 if test -n "$ac_ct_CC"; then
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4899 printf "%s\n" "$ac_ct_CC" >&6; }
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 printf "%s\n" "no" >&6; }
4906 test -n "$ac_ct_CC" && break
4909 if test "x$ac_ct_CC" = x
; then
4912 case $cross_compiling:$ac_tool_warned in
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4916 ac_tool_warned
=yes ;;
4923 if test -z "$CC"; then
4924 if test -n "$ac_tool_prefix"; then
4925 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4926 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 printf %s
"checking for $ac_word... " >&6; }
4929 if test ${ac_cv_prog_CC+y}
4931 printf %s
"(cached) " >&6
4933 if test -n "$CC"; then
4934 ac_cv_prog_CC
="$CC" # Let the user override the test.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 case $as_dir in #(((
4943 *) as_dir
=$as_dir/ ;;
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4958 if test -n "$CC"; then
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4960 printf "%s\n" "$CC" >&6; }
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 printf "%s\n" "no" >&6; }
4968 if test -z "$ac_cv_prog_CC"; then
4970 # Extract the first word of "clang", so it can be a program name with args.
4971 set dummy clang
; ac_word
=$2
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 printf %s
"checking for $ac_word... " >&6; }
4974 if test ${ac_cv_prog_ac_ct_CC+y}
4976 printf %s
"(cached) " >&6
4978 if test -n "$ac_ct_CC"; then
4979 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 case $as_dir in #(((
4988 *) as_dir
=$as_dir/ ;;
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_ac_ct_CC
="clang"
4993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5002 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5003 if test -n "$ac_ct_CC"; then
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5005 printf "%s\n" "$ac_ct_CC" >&6; }
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 printf "%s\n" "no" >&6; }
5011 if test "x$ac_ct_CC" = x
; then
5014 case $cross_compiling:$ac_tool_warned in
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018 ac_tool_warned
=yes ;;
5029 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5030 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5031 as_fn_error $?
"no acceptable C compiler found in \$PATH
5032 See \`config.log' for more details" "$LINENO" 5; }
5034 # Provide some information about the compiler.
5035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5038 for ac_option
in --version -v -V -qversion -version; do
5039 { { ac_try
="$ac_compiler $ac_option >&5"
5041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5045 printf "%s\n" "$ac_try_echo"; } >&5
5046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5048 if test -s conftest.err; then
5050 ... rest of stderr output deleted ...
5051 10q' conftest.err >conftest.er1
5052 cat conftest.er1 >&5
5054 rm -f conftest.er1 conftest.err
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5056 test $ac_status = 0; }
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5070 ac_clean_files_save=$ac_clean_files
5071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5072 # Try to create an executable without -o first, disregard a.out.
5073 # It will help us diagnose broken compilers, and finding out an intuition
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5076 printf %s "checking whether the C compiler works... " >&6; }
5077 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5079 # The possible output files:
5080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5083 for ac_file in $ac_files
5086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5092 if { { ac_try="$ac_link_default"
5094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5095 *) ac_try_echo
=$ac_try;;
5097 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 printf "%s\n" "$ac_try_echo"; } >&5
5099 (eval "$ac_link_default") 2>&5
5101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5102 test $ac_status = 0; }
5104 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5106 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5107 # so that the user can short-circuit this test for compilers unknown to
5109 for ac_file
in $ac_files ''
5111 test -f "$ac_file" ||
continue
5113 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5116 # We found the default executable, but exeext='' is most
5120 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5122 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5124 # We set ac_cv_exeext here because the later test for it is not
5125 # safe: cross compilers may not add the suffix if given an `-o'
5126 # argument, so we may need to know it at that point already.
5127 # Even if this section looks crufty: it has the advantage of
5134 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5139 if test -z "$ac_file"
5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 printf "%s\n" "no" >&6; }
5143 printf "%s\n" "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.
$ac_ext >&5
5146 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5147 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5148 as_fn_error
77 "C compiler cannot create executables
5149 See \`config.log' for more details" "$LINENO" 5; }
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5152 printf "%s\n" "yes" >&6; }
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5155 printf %s
"checking for C compiler default output file name... " >&6; }
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5157 printf "%s\n" "$ac_file" >&6; }
5158 ac_exeext
=$ac_cv_exeext
5160 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5161 ac_clean_files
=$ac_clean_files_save
5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5163 printf %s
"checking for suffix of executables... " >&6; }
5164 if { { ac_try
="$ac_link"
5166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5170 printf "%s\n" "$ac_try_echo"; } >&5
5171 (eval "$ac_link") 2>&5
5173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5174 test $ac_status = 0; }
5176 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5177 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5178 # work properly (i.e., refer to `conftest.exe'), while it won't with
5180 for ac_file
in conftest.exe conftest conftest.
*; do
5181 test -f "$ac_file" ||
continue
5183 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5184 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5190 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5191 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5192 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5193 See \`config.log' for more details" "$LINENO" 5; }
5195 rm -f conftest conftest
$ac_cv_exeext
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5197 printf "%s\n" "$ac_cv_exeext" >&6; }
5199 rm -f conftest.
$ac_ext
5200 EXEEXT
=$ac_cv_exeext
5202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5208 FILE *f = fopen ("conftest.out", "w");
5209 return ferror (f) || fclose (f) != 0;
5215 ac_clean_files
="$ac_clean_files conftest.out"
5216 # Check that the compiler produces executables we can run. If not, either
5217 # the compiler is broken, or we cross compile.
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5219 printf %s
"checking whether we are cross compiling... " >&6; }
5220 if test "$cross_compiling" != yes; then
5221 { { ac_try
="$ac_link"
5223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 printf "%s\n" "$ac_try_echo"; } >&5
5228 (eval "$ac_link") 2>&5
5230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5232 if { ac_try='./conftest$ac_cv_exeext'
5233 { { case "(($ac_try" in
5234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5235 *) ac_try_echo
=$ac_try;;
5237 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5238 printf "%s\n" "$ac_try_echo"; } >&5
5239 (eval "$ac_try") 2>&5
5241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5242 test $ac_status = 0; }; }; then
5245 if test "$cross_compiling" = maybe
; then
5248 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5249 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5250 as_fn_error
77 "cannot run C compiled programs.
5251 If you meant to cross compile, use \`--host'.
5252 See \`config.log' for more details" "$LINENO" 5; }
5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5257 printf "%s\n" "$cross_compiling" >&6; }
5259 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5260 ac_clean_files
=$ac_clean_files_save
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5262 printf %s
"checking for suffix of object files... " >&6; }
5263 if test ${ac_cv_objext+y}
5265 printf %s
"(cached) " >&6
5267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5278 rm -f conftest.o conftest.obj
5279 if { { ac_try
="$ac_compile"
5281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5282 *) ac_try_echo=$ac_try;;
5284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5285 printf "%s\n" "$ac_try_echo"; } >&5
5286 (eval "$ac_compile") 2>&5
5288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289 test $ac_status = 0; }
5291 for ac_file in conftest.o conftest.obj conftest.*; do
5292 test -f "$ac_file" || continue;
5294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5300 printf "%s\n" "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.$ac_ext >&5
5303 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5304 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5305 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5306 See \
`config.log' for more details" "$LINENO" 5; }
5308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5311 printf "%s\n" "$ac_cv_objext" >&6; }
5312 OBJEXT=$ac_cv_objext
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5315 printf %s "checking whether the compiler supports GNU C... " >&6; }
5316 if test ${ac_cv_c_compiler_gnu+y}
5318 printf %s "(cached) " >&6
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5334 if ac_fn_c_try_compile "$LINENO"
5340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5345 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5348 if test $ac_compiler_gnu = yes; then
5353 ac_test_CFLAGS=${CFLAGS+y}
5354 ac_save_CFLAGS=$CFLAGS
5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5356 printf %s "checking whether $CC accepts -g... " >&6; }
5357 if test ${ac_cv_prog_cc_g+y}
5359 printf %s "(cached) " >&6
5361 ac_save_c_werror_flag=$ac_c_werror_flag
5362 ac_c_werror_flag=yes
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5376 if ac_fn_c_try_compile "$LINENO"
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5392 if ac_fn_c_try_compile "$LINENO"
5396 ac_c_werror_flag=$ac_save_c_werror_flag
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5409 if ac_fn_c_try_compile "$LINENO"
5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 ac_c_werror_flag=$ac_save_c_werror_flag
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5421 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5422 if test $ac_test_CFLAGS; then
5423 CFLAGS=$ac_save_CFLAGS
5424 elif test $ac_cv_prog_cc_g = yes; then
5425 if test "$GCC" = yes; then
5431 if test "$GCC" = yes; then
5438 if test x$ac_prog_cc_stdc = xno
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5441 printf %s "checking for $CC option to enable C11 features... " >&6; }
5442 if test ${ac_cv_prog_cc_c11+y}
5444 printf %s "(cached) " >&6
5446 ac_cv_prog_cc_c11=no
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5450 $ac_c_conftest_c11_program
5452 for ac_arg in '' -std=gnu11
5454 CC="$ac_save_CC $ac_arg"
5455 if ac_fn_c_try_compile "$LINENO"
5457 ac_cv_prog_cc_c11=$ac_arg
5459 rm -f core conftest.err conftest.$ac_objext conftest.beam
5460 test "x$ac_cv_prog_cc_c11" != "xno" && break
5462 rm -f conftest.$ac_ext
5466 if test "x$ac_cv_prog_cc_c11" = xno
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5469 printf "%s\n" "unsupported" >&6; }
5471 if test "x$ac_cv_prog_cc_c11" = x
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5474 printf "%s\n" "none needed" >&6; }
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5477 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5478 CC="$CC $ac_cv_prog_cc_c11"
5480 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5484 if test x$ac_prog_cc_stdc = xno
5486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5487 printf %s "checking for $CC option to enable C99 features... " >&6; }
5488 if test ${ac_cv_prog_cc_c99+y}
5490 printf %s "(cached) " >&6
5492 ac_cv_prog_cc_c99=no
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5496 $ac_c_conftest_c99_program
5498 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5500 CC="$ac_save_CC $ac_arg"
5501 if ac_fn_c_try_compile "$LINENO"
5503 ac_cv_prog_cc_c99=$ac_arg
5505 rm -f core conftest.err conftest.$ac_objext conftest.beam
5506 test "x$ac_cv_prog_cc_c99" != "xno" && break
5508 rm -f conftest.$ac_ext
5512 if test "x$ac_cv_prog_cc_c99" = xno
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5515 printf "%s\n" "unsupported" >&6; }
5517 if test "x$ac_cv_prog_cc_c99" = x
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5520 printf "%s\n" "none needed" >&6; }
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5523 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5524 CC="$CC $ac_cv_prog_cc_c99"
5526 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5530 if test x$ac_prog_cc_stdc = xno
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5533 printf %s "checking for $CC option to enable C89 features... " >&6; }
5534 if test ${ac_cv_prog_cc_c89+y}
5536 printf %s "(cached) " >&6
5538 ac_cv_prog_cc_c89=no
5540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541 /* end confdefs.h. */
5542 $ac_c_conftest_c89_program
5544 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5546 CC="$ac_save_CC $ac_arg"
5547 if ac_fn_c_try_compile "$LINENO"
5549 ac_cv_prog_cc_c89=$ac_arg
5551 rm -f core conftest.err conftest.$ac_objext conftest.beam
5552 test "x$ac_cv_prog_cc_c89" != "xno" && break
5554 rm -f conftest.$ac_ext
5558 if test "x$ac_cv_prog_cc_c89" = xno
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5561 printf "%s\n" "unsupported" >&6; }
5563 if test "x$ac_cv_prog_cc_c89" = x
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5566 printf "%s\n" "none needed" >&6; }
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5569 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5570 CC="$CC $ac_cv_prog_cc_c89"
5572 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5578 ac_cpp='$CPP $CPPFLAGS'
5579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5590 ac_cpp='$CXXCPP $CPPFLAGS'
5591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5594 if test -z "$CXX"; then
5595 if test -n "$CCC"; then
5598 if test -n "$ac_tool_prefix"; then
5599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 printf %s "checking for $ac_word... " >&6; }
5605 if test ${ac_cv_prog_CXX+y}
5607 printf %s "(cached) " >&6
5609 if test -n "$CXX"; then
5610 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 case $as_dir in #(((
5619 *) as_dir=$as_dir/ ;;
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5634 if test -n "$CXX"; then
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5636 printf "%s\n" "$CXX" >&6; }
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 printf "%s\n" "no" >&6; }
5643 test -n "$CXX" && break
5646 if test -z "$CXX"; then
5648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5650 # Extract the first word of "$ac_prog", so it can be a program name with args.
5651 set dummy $ac_prog; ac_word=$2
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 printf %s "checking for $ac_word... " >&6; }
5654 if test ${ac_cv_prog_ac_ct_CXX+y}
5656 printf %s "(cached) " >&6
5658 if test -n "$ac_ct_CXX"; then
5659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 case $as_dir in #(((
5668 *) as_dir=$as_dir/ ;;
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_ac_ct_CXX="$ac_prog"
5673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5682 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5683 if test -n "$ac_ct_CXX"; then
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5685 printf "%s\n" "$ac_ct_CXX" >&6; }
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 printf "%s\n" "no" >&6; }
5692 test -n "$ac_ct_CXX" && break
5695 if test "x$ac_ct_CXX" = x; then
5698 case $cross_compiling:$ac_tool_warned in
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5702 ac_tool_warned=yes ;;
5710 # Provide some information about the compiler.
5711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5714 for ac_option in --version -v -V -qversion; do
5715 { { ac_try="$ac_compiler $ac_option >&5"
5717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5718 *) ac_try_echo
=$ac_try;;
5720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 printf "%s\n" "$ac_try_echo"; } >&5
5722 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5724 if test -s conftest.err
; then
5726 ... rest of stderr output deleted ...
5727 10q' conftest.err
>conftest.er1
5728 cat conftest.er1
>&5
5730 rm -f conftest.er1 conftest.err
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; }
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5736 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5737 if test ${ac_cv_cxx_compiler_gnu+y}
5739 printf %s
"(cached) " >&6
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5755 if ac_fn_cxx_try_compile
"$LINENO"
5761 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5762 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5766 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5769 if test $ac_compiler_gnu = yes; then
5774 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5775 ac_save_CXXFLAGS
=$CXXFLAGS
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5777 printf %s
"checking whether $CXX accepts -g... " >&6; }
5778 if test ${ac_cv_prog_cxx_g+y}
5780 printf %s
"(cached) " >&6
5782 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5783 ac_cxx_werror_flag
=yes
5786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5797 if ac_fn_cxx_try_compile
"$LINENO"
5799 ac_cv_prog_cxx_g
=yes
5802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5813 if ac_fn_cxx_try_compile
"$LINENO"
5817 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5830 if ac_fn_cxx_try_compile
"$LINENO"
5832 ac_cv_prog_cxx_g
=yes
5834 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5836 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5838 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5839 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5842 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5843 if test $ac_test_CXXFLAGS; then
5844 CXXFLAGS
=$ac_save_CXXFLAGS
5845 elif test $ac_cv_prog_cxx_g = yes; then
5846 if test "$GXX" = yes; then
5852 if test "$GXX" = yes; then
5858 ac_prog_cxx_stdcxx
=no
5859 if test x
$ac_prog_cxx_stdcxx = xno
5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5862 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5863 if test ${ac_cv_prog_cxx_11+y}
5865 printf %s
"(cached) " >&6
5867 ac_cv_prog_cxx_11
=no
5869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5871 $ac_cxx_conftest_cxx11_program
5873 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5875 CXX
="$ac_save_CXX $ac_arg"
5876 if ac_fn_cxx_try_compile
"$LINENO"
5878 ac_cv_prog_cxx_cxx11
=$ac_arg
5880 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5881 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5883 rm -f conftest.
$ac_ext
5887 if test "x$ac_cv_prog_cxx_cxx11" = xno
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5890 printf "%s\n" "unsupported" >&6; }
5892 if test "x$ac_cv_prog_cxx_cxx11" = x
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5895 printf "%s\n" "none needed" >&6; }
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5898 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5899 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5901 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5902 ac_prog_cxx_stdcxx
=cxx11
5905 if test x
$ac_prog_cxx_stdcxx = xno
5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5908 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5909 if test ${ac_cv_prog_cxx_98+y}
5911 printf %s
"(cached) " >&6
5913 ac_cv_prog_cxx_98
=no
5915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5917 $ac_cxx_conftest_cxx98_program
5919 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5921 CXX
="$ac_save_CXX $ac_arg"
5922 if ac_fn_cxx_try_compile
"$LINENO"
5924 ac_cv_prog_cxx_cxx98
=$ac_arg
5926 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5927 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5929 rm -f conftest.
$ac_ext
5933 if test "x$ac_cv_prog_cxx_cxx98" = xno
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5936 printf "%s\n" "unsupported" >&6; }
5938 if test "x$ac_cv_prog_cxx_cxx98" = x
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5941 printf "%s\n" "none needed" >&6; }
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5944 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5945 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5947 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5948 ac_prog_cxx_stdcxx
=cxx98
5953 ac_cpp
='$CPP $CPPFLAGS'
5954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5958 if test -n "$ac_tool_prefix"; then
5959 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5960 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 printf %s
"checking for $ac_word... " >&6; }
5963 if test ${ac_cv_prog_CPPBIN+y}
5965 printf %s
"(cached) " >&6
5967 if test -n "$CPPBIN"; then
5968 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5974 case $as_dir in #(((
5977 *) as_dir
=$as_dir/ ;;
5979 for ac_exec_ext
in '' $ac_executable_extensions; do
5980 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5991 CPPBIN
=$ac_cv_prog_CPPBIN
5992 if test -n "$CPPBIN"; then
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5994 printf "%s\n" "$CPPBIN" >&6; }
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 printf "%s\n" "no" >&6; }
6002 if test -z "$ac_cv_prog_CPPBIN"; then
6003 ac_ct_CPPBIN
=$CPPBIN
6004 # Extract the first word of "cpp", so it can be a program name with args.
6005 set dummy cpp
; ac_word
=$2
6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 printf %s
"checking for $ac_word... " >&6; }
6008 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6010 printf %s
"(cached) " >&6
6012 if test -n "$ac_ct_CPPBIN"; then
6013 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6019 case $as_dir in #(((
6022 *) as_dir
=$as_dir/ ;;
6024 for ac_exec_ext
in '' $ac_executable_extensions; do
6025 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6036 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6037 if test -n "$ac_ct_CPPBIN"; then
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6039 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 printf "%s\n" "no" >&6; }
6045 if test "x$ac_ct_CPPBIN" = x
; then
6048 case $cross_compiling:$ac_tool_warned in
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052 ac_tool_warned
=yes ;;
6054 CPPBIN
=$ac_ct_CPPBIN
6057 CPPBIN
="$ac_cv_prog_CPPBIN"
6061 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6063 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6065 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 printf %s
"checking for $ac_word... " >&6; }
6068 if test ${ac_cv_prog_LD+y}
6070 printf %s
"(cached) " >&6
6072 if test -n "$LD"; then
6073 ac_cv_prog_LD
="$LD" # Let the user override the test.
6075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6079 case $as_dir in #(((
6082 *) as_dir
=$as_dir/ ;;
6084 for ac_exec_ext
in '' $ac_executable_extensions; do
6085 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6097 if test -n "$LD"; then
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6099 printf "%s\n" "$LD" >&6; }
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 printf "%s\n" "no" >&6; }
6107 if test -z "$ac_cv_prog_LD"; then
6109 # Extract the first word of "ld", so it can be a program name with args.
6110 set dummy ld
; ac_word
=$2
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 printf %s
"checking for $ac_word... " >&6; }
6113 if test ${ac_cv_prog_ac_ct_LD+y}
6115 printf %s
"(cached) " >&6
6117 if test -n "$ac_ct_LD"; then
6118 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6124 case $as_dir in #(((
6127 *) as_dir
=$as_dir/ ;;
6129 for ac_exec_ext
in '' $ac_executable_extensions; do
6130 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_LD
="ld"
6132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6141 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6142 if test -n "$ac_ct_LD"; then
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6144 printf "%s\n" "$ac_ct_LD" >&6; }
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 printf "%s\n" "no" >&6; }
6150 if test "x$ac_ct_LD" = x
; then
6153 case $cross_compiling:$ac_tool_warned in
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6157 ac_tool_warned
=yes ;;
6168 with_fontconfig
=${with_fontconfig:-no}
6170 *-mingw32*|
*-cygwin*)
6171 enable_win16
=${enable_win16:-no}
6172 with_mingw
=${with_mingw:-no}
6179 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6185 printf %s
"checking whether $CC works... " >&6; }
6186 if test ${wine_cv_cc_m32+y}
6188 printf %s
"(cached) " >&6
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6201 if ac_fn_c_try_link
"$LINENO"
6207 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6208 conftest
$ac_exeext conftest.
$ac_ext
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6211 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6212 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
6214 notice_platform
="32-bit "
6215 TARGETFLAGS
="$TARGETFLAGS -m32"
6216 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6217 export PKG_CONFIG_PATH
6218 enable_win16
=${enable_win16:-yes}
6219 with_unwind
=${with_unwind:-no}
6221 if test "x${GCC}" = "xyes"
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6224 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6225 if test ${wine_cv_builtin_ms_va_list+y}
6227 printf %s
"(cached) " >&6
6229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6235 void func(__builtin_ms_va_list *args);
6240 if ac_fn_c_try_compile
"$LINENO"
6242 wine_cv_builtin_ms_va_list
=yes
6244 wine_cv_builtin_ms_va_list
=no
6246 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6249 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6250 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
6255 notice_platform
="64-bit "
6256 TARGETFLAGS
="$TARGETFLAGS -m64"
6257 enable_wow64
=${enable_wow64:-yes}
6258 enable_wow64win
=${enable_wow64win:-yes}
6259 enable_wow64cpu
=${enable_wow64cpu:-yes}
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6264 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6265 if test ${wine_cv_thumb2+y}
6267 printf %s
"(cached) " >&6
6269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6275 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6280 if ac_fn_c_try_link
"$LINENO"
6286 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6287 conftest
$ac_exeext conftest.
$ac_ext
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6290 printf "%s\n" "$wine_cv_thumb2" >&6; }
6291 if test x
"$wine_cv_thumb2" = xyes
6293 CFLAGS
="$CFLAGS -mthumb"
6294 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6296 CFLAGS
="$CFLAGS -marm"
6297 TARGETFLAGS
="$TARGETFLAGS -marm"
6299 case $with_float_abi in
6301 float_abi
=$with_float_abi ;;
6308 saved_CFLAGS
=$CFLAGS
6309 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6311 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6312 if test ${wine_cv_float_abi+y}
6314 printf %s
"(cached) " >&6
6316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6322 asm("vmrs r2,fpscr");
6327 if ac_fn_c_try_link
"$LINENO"
6329 wine_cv_float_abi
=yes
6331 wine_cv_float_abi
=no
6333 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6334 conftest
$ac_exeext conftest.
$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6337 printf "%s\n" "$wine_cv_float_abi" >&6; }
6338 if test $wine_cv_float_abi = no
6341 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6343 CFLAGS
=$saved_CFLAGS
6347 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6348 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6351 enable_wow64
=${enable_wow64:-yes}
6352 enable_wow64win
=${enable_wow64win:-yes}
6355 enable_win16
=${enable_win16:-yes}
6356 with_unwind
=${with_unwind:-no}
6360 enable_win16
=${enable_win16:-no}
6361 enable_win64
=${enable_win64:-no}
6362 enable_wow64
=${enable_wow64:-no}
6363 enable_wow64win
=${enable_wow64win:-no}
6364 enable_wow64cpu
=${enable_wow64cpu:-no}
6366 enable_winetest
=${enable_winetest:-$enable_tests}
6368 if test "x$enable_win64" = "xyes"
6370 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6371 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6375 cygwin
*|mingw32
*) toolsext
=".exe"
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6382 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6383 if test ${wine_cv_toolsdir+y}
6385 printf %s
"(cached) " >&6
6387 wine_cv_toolsdir
="$with_wine_tools"
6388 if test -z "$with_wine_tools"; then
6389 if test "$cross_compiling" = "yes"; then
6390 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6391 elif test -n "$with_wine64"; then
6392 wine_cv_toolsdir
="$with_wine64"
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6397 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6398 if test -z "$wine_cv_toolsdir"; then
6399 wine_makedep
=tools
/makedep
$toolsext
6400 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6401 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6402 enable_tools
=${enable_tools:-no}
6403 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6405 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6407 toolsdir
=$wine_cv_toolsdir
6409 MAKEDEP
=$wine_makedep
6411 RUNTESTFLAGS
="-q -P wine"
6413 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'"
6416 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6418 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy
$ac_prog; ac_word
=$2
6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 printf %s
"checking for $ac_word... " >&6; }
6427 if test ${ac_cv_prog_FLEX+y}
6429 printf %s
"(cached) " >&6
6431 if test -n "$FLEX"; then
6432 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6438 case $as_dir in #(((
6441 *) as_dir
=$as_dir/ ;;
6443 for ac_exec_ext
in '' $ac_executable_extensions; do
6444 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6445 ac_cv_prog_FLEX
="$ac_prog"
6446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6455 FLEX
=$ac_cv_prog_FLEX
6456 if test -n "$FLEX"; then
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6458 printf "%s\n" "$FLEX" >&6; }
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 printf "%s\n" "no" >&6; }
6465 test -n "$FLEX" && break
6467 test -n "$FLEX" || FLEX
="none"
6469 if test "$FLEX" = "none"
6471 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6474 printf %s
"checking whether flex is recent enough... " >&6; }
6475 if test ${wine_cv_recent_flex+y}
6477 printf %s
"(cached) " >&6
6479 cat >conftest.l
<<EOF
6481 #include "prediluvian.h"
6485 if $FLEX -t conftest.l
>/dev
/null
2>&5
6487 wine_cv_recent_flex
=yes
6489 wine_cv_recent_flex
=no
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6493 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6494 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
6496 for ac_prog
in bison
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy
$ac_prog; ac_word
=$2
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 printf %s
"checking for $ac_word... " >&6; }
6502 if test ${ac_cv_prog_BISON+y}
6504 printf %s
"(cached) " >&6
6506 if test -n "$BISON"; then
6507 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6513 case $as_dir in #(((
6516 *) as_dir
=$as_dir/ ;;
6518 for ac_exec_ext
in '' $ac_executable_extensions; do
6519 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_BISON
="$ac_prog"
6521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6530 BISON
=$ac_cv_prog_BISON
6531 if test -n "$BISON"; then
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6533 printf "%s\n" "$BISON" >&6; }
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 printf "%s\n" "no" >&6; }
6540 test -n "$BISON" && break
6542 test -n "$BISON" || BISON
="none"
6544 if test "$BISON" = "none"
6546 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6549 printf %s
"checking whether bison is recent enough... " >&6; }
6550 if test ${wine_cv_recent_bison+y}
6552 printf %s
"(cached) " >&6
6554 cat >conftest.y
<<EOF
6555 %define parse.error verbose
6559 if $BISON conftest.y
>/dev
/null
2>&5
6561 wine_cv_recent_bison
=yes
6563 wine_cv_recent_bison
=no
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6567 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6568 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
6570 if test -n "$ac_tool_prefix"; then
6571 for ac_prog
in ar gar
6573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6574 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 printf %s
"checking for $ac_word... " >&6; }
6577 if test ${ac_cv_prog_AR+y}
6579 printf %s
"(cached) " >&6
6581 if test -n "$AR"; then
6582 ac_cv_prog_AR
="$AR" # Let the user override the test.
6584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6588 case $as_dir in #(((
6591 *) as_dir
=$as_dir/ ;;
6593 for ac_exec_ext
in '' $ac_executable_extensions; do
6594 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6606 if test -n "$AR"; then
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6608 printf "%s\n" "$AR" >&6; }
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 printf "%s\n" "no" >&6; }
6615 test -n "$AR" && break
6618 if test -z "$AR"; then
6620 for ac_prog
in ar gar
6622 # Extract the first word of "$ac_prog", so it can be a program name with args.
6623 set dummy
$ac_prog; ac_word
=$2
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 printf %s
"checking for $ac_word... " >&6; }
6626 if test ${ac_cv_prog_ac_ct_AR+y}
6628 printf %s
"(cached) " >&6
6630 if test -n "$ac_ct_AR"; then
6631 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6637 case $as_dir in #(((
6640 *) as_dir
=$as_dir/ ;;
6642 for ac_exec_ext
in '' $ac_executable_extensions; do
6643 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_ac_ct_AR
="$ac_prog"
6645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6654 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6655 if test -n "$ac_ct_AR"; then
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6657 printf "%s\n" "$ac_ct_AR" >&6; }
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 printf "%s\n" "no" >&6; }
6664 test -n "$ac_ct_AR" && break
6667 if test "x$ac_ct_AR" = x
; then
6670 case $cross_compiling:$ac_tool_warned in
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6673 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6674 ac_tool_warned
=yes ;;
6680 if test -n "$ac_tool_prefix"; then
6681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6682 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 printf %s
"checking for $ac_word... " >&6; }
6685 if test ${ac_cv_prog_STRIP+y}
6687 printf %s
"(cached) " >&6
6689 if test -n "$STRIP"; then
6690 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6696 case $as_dir in #(((
6699 *) as_dir
=$as_dir/ ;;
6701 for ac_exec_ext
in '' $ac_executable_extensions; do
6702 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6713 STRIP
=$ac_cv_prog_STRIP
6714 if test -n "$STRIP"; then
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6716 printf "%s\n" "$STRIP" >&6; }
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 printf "%s\n" "no" >&6; }
6724 if test -z "$ac_cv_prog_STRIP"; then
6726 # Extract the first word of "strip", so it can be a program name with args.
6727 set dummy strip
; ac_word
=$2
6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 printf %s
"checking for $ac_word... " >&6; }
6730 if test ${ac_cv_prog_ac_ct_STRIP+y}
6732 printf %s
"(cached) " >&6
6734 if test -n "$ac_ct_STRIP"; then
6735 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6741 case $as_dir in #(((
6744 *) as_dir
=$as_dir/ ;;
6746 for ac_exec_ext
in '' $ac_executable_extensions; do
6747 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_ac_ct_STRIP
="strip"
6749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6758 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6759 if test -n "$ac_ct_STRIP"; then
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6761 printf "%s\n" "$ac_ct_STRIP" >&6; }
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 printf "%s\n" "no" >&6; }
6767 if test "x$ac_ct_STRIP" = x
; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned
=yes ;;
6779 STRIP
="$ac_cv_prog_STRIP"
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6784 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 printf %s
"checking for $ac_word... " >&6; }
6787 if test ${ac_cv_prog_RANLIB+y}
6789 printf %s
"(cached) " >&6
6791 if test -n "$RANLIB"; then
6792 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6798 case $as_dir in #(((
6801 *) as_dir
=$as_dir/ ;;
6803 for ac_exec_ext
in '' $ac_executable_extensions; do
6804 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6815 RANLIB
=$ac_cv_prog_RANLIB
6816 if test -n "$RANLIB"; then
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6818 printf "%s\n" "$RANLIB" >&6; }
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 printf "%s\n" "no" >&6; }
6826 if test -z "$ac_cv_prog_RANLIB"; then
6827 ac_ct_RANLIB
=$RANLIB
6828 # Extract the first word of "ranlib", so it can be a program name with args.
6829 set dummy ranlib
; ac_word
=$2
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 printf %s
"checking for $ac_word... " >&6; }
6832 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6834 printf %s
"(cached) " >&6
6836 if test -n "$ac_ct_RANLIB"; then
6837 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6843 case $as_dir in #(((
6846 *) as_dir
=$as_dir/ ;;
6848 for ac_exec_ext
in '' $ac_executable_extensions; do
6849 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6860 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6861 if test -n "$ac_ct_RANLIB"; then
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6863 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866 printf "%s\n" "no" >&6; }
6869 if test "x$ac_ct_RANLIB" = x
; then
6872 case $cross_compiling:$ac_tool_warned in
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6875 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6876 ac_tool_warned
=yes ;;
6878 RANLIB
=$ac_ct_RANLIB
6881 RANLIB
="$ac_cv_prog_RANLIB"
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6885 printf %s
"checking whether ln -s works... " >&6; }
6887 if test "$LN_S" = "ln -s"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6889 printf "%s\n" "yes" >&6; }
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6892 printf "%s\n" "no, using $LN_S" >&6; }
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6896 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6897 if test ${ac_cv_path_GREP+y}
6899 printf %s
"(cached) " >&6
6901 if test -z "$GREP"; then
6902 ac_path_GREP_found
=false
6903 # Loop through the user's path and test for each of PROGNAME-LIST
6904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6905 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6908 case $as_dir in #(((
6911 *) as_dir
=$as_dir/ ;;
6913 for ac_prog
in grep ggrep
6915 for ac_exec_ext
in '' $ac_executable_extensions; do
6916 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6917 as_fn_executable_p
"$ac_path_GREP" ||
continue
6918 # Check for GNU ac_path_GREP and select it if it is found.
6919 # Check for GNU $ac_path_GREP
6920 case `"$ac_path_GREP" --version 2>&1` in
6922 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6925 printf %s
0123456789 >"conftest.in"
6928 cat "conftest.in" "conftest.in" >"conftest.tmp"
6929 mv "conftest.tmp" "conftest.in"
6930 cp "conftest.in" "conftest.nl"
6931 printf "%s\n" 'GREP' >> "conftest.nl"
6932 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6933 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6934 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6935 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6936 # Best one so far, save it but keep looking for a better one
6937 ac_cv_path_GREP
="$ac_path_GREP"
6938 ac_path_GREP_max
=$ac_count
6940 # 10*(2^10) chars as input seems more than enough
6941 test $ac_count -gt 10 && break
6943 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6946 $ac_path_GREP_found && break 3
6951 if test -z "$ac_cv_path_GREP"; then
6952 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6955 ac_cv_path_GREP
=$GREP
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6960 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6961 GREP
="$ac_cv_path_GREP"
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6965 printf %s
"checking for egrep... " >&6; }
6966 if test ${ac_cv_path_EGREP+y}
6968 printf %s
"(cached) " >&6
6970 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6971 then ac_cv_path_EGREP
="$GREP -E"
6973 if test -z "$EGREP"; then
6974 ac_path_EGREP_found
=false
6975 # Loop through the user's path and test for each of PROGNAME-LIST
6976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6977 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6980 case $as_dir in #(((
6983 *) as_dir
=$as_dir/ ;;
6985 for ac_prog
in egrep
6987 for ac_exec_ext
in '' $ac_executable_extensions; do
6988 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6989 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6990 # Check for GNU ac_path_EGREP and select it if it is found.
6991 # Check for GNU $ac_path_EGREP
6992 case `"$ac_path_EGREP" --version 2>&1` in
6994 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6997 printf %s
0123456789 >"conftest.in"
7000 cat "conftest.in" "conftest.in" >"conftest.tmp"
7001 mv "conftest.tmp" "conftest.in"
7002 cp "conftest.in" "conftest.nl"
7003 printf "%s\n" 'EGREP' >> "conftest.nl"
7004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7005 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7006 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7008 # Best one so far, save it but keep looking for a better one
7009 ac_cv_path_EGREP
="$ac_path_EGREP"
7010 ac_path_EGREP_max
=$ac_count
7012 # 10*(2^10) chars as input seems more than enough
7013 test $ac_count -gt 10 && break
7015 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7018 $ac_path_EGREP_found && break 3
7023 if test -z "$ac_cv_path_EGREP"; then
7024 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7027 ac_cv_path_EGREP
=$EGREP
7032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7033 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7034 EGREP
="$ac_cv_path_EGREP"
7037 # Extract the first word of "ldconfig", so it can be a program name with args.
7038 set dummy ldconfig
; ac_word
=$2
7039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 printf %s
"checking for $ac_word... " >&6; }
7041 if test ${ac_cv_path_LDCONFIG+y}
7043 printf %s
"(cached) " >&6
7047 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7051 for as_dir
in /sbin
/usr
/sbin
$PATH
7054 case $as_dir in #(((
7057 *) as_dir
=$as_dir/ ;;
7059 for ac_exec_ext
in '' $ac_executable_extensions; do
7060 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7061 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7069 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7073 LDCONFIG
=$ac_cv_path_LDCONFIG
7074 if test -n "$LDCONFIG"; then
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7076 printf "%s\n" "$LDCONFIG" >&6; }
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 printf "%s\n" "no" >&6; }
7083 for ac_prog
in msgfmt
7085 # Extract the first word of "$ac_prog", so it can be a program name with args.
7086 set dummy
$ac_prog; ac_word
=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s
"checking for $ac_word... " >&6; }
7089 if test ${ac_cv_prog_MSGFMT+y}
7091 printf %s
"(cached) " >&6
7093 if test -n "$MSGFMT"; then
7094 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7100 case $as_dir in #(((
7103 *) as_dir
=$as_dir/ ;;
7105 for ac_exec_ext
in '' $ac_executable_extensions; do
7106 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7107 ac_cv_prog_MSGFMT
="$ac_prog"
7108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7117 MSGFMT
=$ac_cv_prog_MSGFMT
7118 if test -n "$MSGFMT"; then
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7120 printf "%s\n" "$MSGFMT" >&6; }
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 printf "%s\n" "no" >&6; }
7127 test -n "$MSGFMT" && break
7129 test -n "$MSGFMT" || MSGFMT
="false"
7131 if test ${ac_tool_prefix+y}
7133 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7134 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s
"checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_PKG_CONFIG+y}
7139 printf %s
"(cached) " >&6
7141 if test -n "$PKG_CONFIG"; then
7142 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 case $as_dir in #(((
7151 *) as_dir
=$as_dir/ ;;
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7165 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7166 if test -n "$PKG_CONFIG"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7168 printf "%s\n" "$PKG_CONFIG" >&6; }
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7176 if ${ac_cv_prog_PKG_CONFIG:+false} :
7178 if test "x$cross_compiling" = xyes
7182 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7183 # Extract the first word of "pkg-config", so it can be a program name with args.
7184 set dummy pkg-config
; ac_word
=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s
"checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_PKG_CONFIG+y}
7189 printf %s
"(cached) " >&6
7191 if test -n "$PKG_CONFIG"; then
7192 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7198 case $as_dir in #(((
7201 *) as_dir
=$as_dir/ ;;
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_PKG_CONFIG
="pkg-config"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7215 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7216 if test -n "$PKG_CONFIG"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7218 printf "%s\n" "$PKG_CONFIG" >&6; }
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7227 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7230 if test "x$enable_maintainer_mode" != "xyes"
7237 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7238 for ac_prog
in fontforge
7240 # Extract the first word of "$ac_prog", so it can be a program name with args.
7241 set dummy
$ac_prog; ac_word
=$2
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 printf %s
"checking for $ac_word... " >&6; }
7244 if test ${ac_cv_prog_FONTFORGE+y}
7246 printf %s
"(cached) " >&6
7248 if test -n "$FONTFORGE"; then
7249 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7255 case $as_dir in #(((
7258 *) as_dir
=$as_dir/ ;;
7260 for ac_exec_ext
in '' $ac_executable_extensions; do
7261 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_FONTFORGE
="$ac_prog"
7263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7272 FONTFORGE
=$ac_cv_prog_FONTFORGE
7273 if test -n "$FONTFORGE"; then
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7275 printf "%s\n" "$FONTFORGE" >&6; }
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 printf "%s\n" "no" >&6; }
7282 test -n "$FONTFORGE" && break
7284 test -n "$FONTFORGE" || FONTFORGE
="false"
7286 for ac_prog
in rsvg-convert rsvg
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy
$ac_prog; ac_word
=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s
"checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_RSVG+y}
7294 printf %s
"(cached) " >&6
7296 if test -n "$RSVG"; then
7297 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7303 case $as_dir in #(((
7306 *) as_dir
=$as_dir/ ;;
7308 for ac_exec_ext
in '' $ac_executable_extensions; do
7309 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_RSVG
="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7320 RSVG
=$ac_cv_prog_RSVG
7321 if test -n "$RSVG"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7323 printf "%s\n" "$RSVG" >&6; }
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$RSVG" && break
7332 test -n "$RSVG" || RSVG
="false"
7334 for ac_prog
in convert
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy
$ac_prog; ac_word
=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s
"checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_CONVERT+y}
7342 printf %s
"(cached) " >&6
7344 if test -n "$CONVERT"; then
7345 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7351 case $as_dir in #(((
7354 *) as_dir
=$as_dir/ ;;
7356 for ac_exec_ext
in '' $ac_executable_extensions; do
7357 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_CONVERT
="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7368 CONVERT
=$ac_cv_prog_CONVERT
7369 if test -n "$CONVERT"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7371 printf "%s\n" "$CONVERT" >&6; }
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$CONVERT" && break
7380 test -n "$CONVERT" || CONVERT
="false"
7382 for ac_prog
in icotool
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy
$ac_prog; ac_word
=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s
"checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_ICOTOOL+y}
7390 printf %s
"(cached) " >&6
7392 if test -n "$ICOTOOL"; then
7393 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7399 case $as_dir in #(((
7402 *) as_dir
=$as_dir/ ;;
7404 for ac_exec_ext
in '' $ac_executable_extensions; do
7405 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_ICOTOOL
="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7416 ICOTOOL
=$ac_cv_prog_ICOTOOL
7417 if test -n "$ICOTOOL"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7419 printf "%s\n" "$ICOTOOL" >&6; }
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$ICOTOOL" && break
7428 test -n "$ICOTOOL" || ICOTOOL
="false"
7430 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7431 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7433 if test "$CONVERT" = false
7435 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7438 printf %s
"checking for recent enough imagemagick... " >&6; }
7439 convert_version
=`convert --version | head -n1`
7440 if test "x$convert_version" != "x"
7442 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7443 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7444 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7449 if test "$CONVERT" = false
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7452 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7453 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7456 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7460 if test "$ICOTOOL" = false
7462 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7465 printf %s
"checking for recent enough icotool... " >&6; }
7466 icotool_version
=`icotool --version | head -n1`
7467 if test "x$icotool_version" != "x"
7469 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7470 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7471 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7474 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7477 if test "$ICOTOOL" = false
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7480 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7481 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7484 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7494 test "x$with_gettext" != xno || MSGFMT
=false
7495 if test "$MSGFMT" != "false"
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7498 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7499 if test ${wine_cv_msgfmt_contexts+y}
7501 printf %s
"(cached) " >&6
7503 cat >conftest.po
<<EOF
7509 if $MSGFMT -o /dev
/null conftest.po
2>&5
7511 wine_cv_msgfmt_contexts
=yes
7513 wine_cv_msgfmt_contexts
=no
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7517 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7518 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7520 if test "$MSGFMT" = false
7522 case "x$with_gettext" in
7523 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7525 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7526 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7528 enable_po
=${enable_po:-no}
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7533 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7534 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7536 printf %s
"(cached) " >&6
7538 ac_check_lib_save_LIBS
=$LIBS
7540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7543 /* Override any GCC internal prototype to avoid an error.
7544 Use char because int might match the return type of a GCC
7545 builtin and then its argument prototype would still apply. */
7546 char i386_set_ldt ();
7550 return i386_set_ldt ();
7555 if ac_fn_c_try_link
"$LINENO"
7557 ac_cv_lib_i386_i386_set_ldt
=yes
7559 ac_cv_lib_i386_i386_set_ldt
=no
7561 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7562 conftest
$ac_exeext conftest.
$ac_ext
7563 LIBS
=$ac_check_lib_save_LIBS
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7566 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7567 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7578 # Check whether --enable-largefile was given.
7579 if test ${enable_largefile+y}
7581 enableval
=$enable_largefile;
7584 if test "$enable_largefile" != no
; then
7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7587 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7588 if test ${ac_cv_sys_largefile_CC+y}
7590 printf %s
"(cached) " >&6
7592 ac_cv_sys_largefile_CC
=no
7593 if test "$GCC" != yes; then
7596 # IRIX 6.2 and later do not support large files by default,
7597 # so use the C compiler's -n32 option if that helps.
7598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7600 #include <sys/types.h>
7601 /* Check that off_t can represent 2**63 - 1 correctly.
7602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7603 since some C++ compilers masquerading as C compilers
7604 incorrectly reject 9223372036854775807. */
7605 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7607 && LARGE_OFF_T % 2147483647 == 1)
7617 if ac_fn_c_try_compile
"$LINENO"
7621 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7623 if ac_fn_c_try_compile
"$LINENO"
7625 ac_cv_sys_largefile_CC
=' -n32'; break
7627 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7631 rm -f conftest.
$ac_ext
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7635 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7636 if test "$ac_cv_sys_largefile_CC" != no
; then
7637 CC
=$CC$ac_cv_sys_largefile_CC
7640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7641 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7642 if test ${ac_cv_sys_file_offset_bits+y}
7644 printf %s
"(cached) " >&6
7647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649 #include <sys/types.h>
7650 /* Check that off_t can represent 2**63 - 1 correctly.
7651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7652 since some C++ compilers masquerading as C compilers
7653 incorrectly reject 9223372036854775807. */
7654 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7656 && LARGE_OFF_T % 2147483647 == 1)
7666 if ac_fn_c_try_compile
"$LINENO"
7668 ac_cv_sys_file_offset_bits
=no
; break
7670 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7673 #define _FILE_OFFSET_BITS 64
7674 #include <sys/types.h>
7675 /* Check that off_t can represent 2**63 - 1 correctly.
7676 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7677 since some C++ compilers masquerading as C compilers
7678 incorrectly reject 9223372036854775807. */
7679 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7680 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7681 && LARGE_OFF_T % 2147483647 == 1)
7691 if ac_fn_c_try_compile
"$LINENO"
7693 ac_cv_sys_file_offset_bits
=64; break
7695 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7696 ac_cv_sys_file_offset_bits
=unknown
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7701 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7702 case $ac_cv_sys_file_offset_bits in #(
7705 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7709 if test $ac_cv_sys_file_offset_bits = unknown
; then
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7711 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7712 if test ${ac_cv_sys_large_files+y}
7714 printf %s
"(cached) " >&6
7717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <sys/types.h>
7720 /* Check that off_t can represent 2**63 - 1 correctly.
7721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7722 since some C++ compilers masquerading as C compilers
7723 incorrectly reject 9223372036854775807. */
7724 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7726 && LARGE_OFF_T % 2147483647 == 1)
7736 if ac_fn_c_try_compile
"$LINENO"
7738 ac_cv_sys_large_files
=no
; break
7740 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 #define _LARGE_FILES 1
7744 #include <sys/types.h>
7745 /* Check that off_t can represent 2**63 - 1 correctly.
7746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7747 since some C++ compilers masquerading as C compilers
7748 incorrectly reject 9223372036854775807. */
7749 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7751 && LARGE_OFF_T % 2147483647 == 1)
7761 if ac_fn_c_try_compile
"$LINENO"
7763 ac_cv_sys_large_files
=1; break
7765 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7766 ac_cv_sys_large_files
=unknown
7770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7771 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7772 case $ac_cv_sys_large_files in #(
7775 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7783 ac_header
= ac_cache
=
7784 for ac_item
in $ac_header_c_list
7786 if test $ac_cache; then
7787 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7788 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7789 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7791 ac_header
= ac_cache
=
7792 elif test $ac_header; then
7806 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7809 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7812 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7813 if test "x$ac_cv_header_AL_al_h" = xyes
7815 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7818 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7819 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7821 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7824 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7825 if test "x$ac_cv_header_CL_cl_h" = xyes
7827 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7830 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7831 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7833 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7836 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7837 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7839 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7842 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7843 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7845 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7848 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7849 if test "x$ac_cv_header_EGL_egl_h" = xyes
7851 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7854 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7855 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7857 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7860 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7863 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile
"$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7869 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7875 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_Security_Security_h" = xyes
7881 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7887 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7893 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_arpa_inet_h" = xyes
7899 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7905 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_asm_types_h" = xyes
7911 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_asm_user_h" = xyes
7917 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_elf_h" = xyes
7923 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_float_h" = xyes
7929 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_gettext_po_h" = xyes
7935 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_libproc_h" = xyes
7941 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_link_h" = xyes
7947 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7953 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_filter_h" = xyes
7959 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7965 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7971 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_input_h" = xyes
7977 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7983 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_major_h" = xyes
7989 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_param_h" = xyes
7995 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_linux_serial_h" = xyes
8001 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_linux_types_h" = xyes
8007 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8013 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_lwp_h" = xyes
8019 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8025 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_mach_mach_h" = xyes
8031 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_machine_cpu_h" = xyes
8037 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8043 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_mntent_h" = xyes
8049 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netdb_h" = xyes
8055 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netinet_in_h" = xyes
8061 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8067 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8073 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8079 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8085 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_port_h" = xyes
8091 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_pthread_h" = xyes
8097 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_pwd_h" = xyes
8103 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8109 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_sched_h" = xyes
8115 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8121 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8127 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_scsi_sg_h" = xyes
8133 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_stdint_h" = xyes
8139 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_attr_h" = xyes
8145 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_auxv_h" = xyes
8151 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_cdio_h" = xyes
8157 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_epoll_h" = xyes
8163 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_event_h" = xyes
8169 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_filio_h" = xyes
8175 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_ipc_h" = xyes
8181 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_link_h" = xyes
8187 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_modem_h" = xyes
8193 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_mtio_h" = xyes
8199 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_param_h" = xyes
8205 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_prctl_h" = xyes
8211 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8217 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_queue_h" = xyes
8223 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_random_h" = xyes
8229 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_resource_h" = xyes
8235 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8241 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_shm_h" = xyes
8247 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_signal_h" = xyes
8253 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8259 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_sockio_h" = xyes
8265 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8271 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_strtio_h" = xyes
8277 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_syscall_h" = xyes
8283 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8289 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_times_h" = xyes
8295 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_uio_h" = xyes
8301 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_user_h" = xyes
8307 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_utsname_h" = xyes
8313 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_sys_vnode_h" = xyes
8319 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_syscall_h" = xyes
8325 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_utime_h" = xyes
8331 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8337 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8343 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8351 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8355 if test $ac_cv_header_sys_mkdev_h = no
; then
8356 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8360 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8366 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8367 if test ${ac_cv_header_stat_broken+y}
8369 printf %s
"(cached) " >&6
8371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 #include <sys/types.h>
8374 #include <sys/stat.h>
8376 #if defined S_ISBLK && defined S_IFDIR
8377 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8380 #if defined S_ISBLK && defined S_IFCHR
8381 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8384 #if defined S_ISLNK && defined S_IFREG
8385 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8388 #if defined S_ISSOCK && defined S_IFREG
8389 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8393 if ac_fn_c_try_compile
"$LINENO"
8395 ac_cv_header_stat_broken
=no
8397 ac_cv_header_stat_broken
=yes
8399 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8402 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8403 if test $ac_cv_header_stat_broken = yes; then
8405 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8411 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8416 if test "x$ac_cv_header_sys_conf_h" = xyes
8418 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8426 if test "x$ac_cv_header_sys_mount_h" = xyes
8428 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8436 if test "x$ac_cv_header_sys_statfs_h" = xyes
8438 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8442 #ifdef HAVE_SYS_PARAM_H
8443 # include <sys/param.h>
8446 if test "x$ac_cv_header_sys_user_h" = xyes
8448 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8451 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8452 #ifdef HAVE_SYS_PARAM_H
8453 # include <sys/param.h>
8456 if test "x$ac_cv_header_sys_vfs_h" = xyes
8458 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8463 saved_sysctl_h_CFLAGS
=$CFLAGS
8464 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8465 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8466 #ifdef HAVE_SYS_PARAM_H
8467 # include <sys/param.h>
8470 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8472 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8476 CFLAGS
=$saved_sysctl_h_CFLAGS
8478 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8479 #include <sys/socket.h>
8480 #ifdef HAVE_SYS_SOCKETVAR_H
8481 # include <sys/socketvar.h>
8483 #ifdef HAVE_NET_ROUTE_H
8484 # include <net/route.h>
8486 #ifdef HAVE_NETINET_IN_H
8487 # include <netinet/in.h>
8489 #ifdef HAVE_NETINET_IN_SYSTM_H
8490 # include <netinet/in_systm.h>
8492 #ifdef HAVE_NET_IF_H
8493 # include <net/if.h>
8495 #ifdef HAVE_NETINET_IP_H
8496 # include <netinet/ip.h>
8499 if test "x$ac_cv_header_netinet_ip_h" = xyes
8501 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8504 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8525 if test "x$ac_cv_header_net_if_h" = xyes
8527 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8551 if test "x$ac_cv_header_net_if_arp_h" = xyes
8553 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8577 if test "x$ac_cv_header_net_if_dl_h" = xyes
8579 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8603 if test "x$ac_cv_header_net_if_types_h" = xyes
8605 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8629 if test "x$ac_cv_header_net_route_h" = xyes
8631 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8655 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8657 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8681 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8683 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8707 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8709 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8733 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8735 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8759 if test "x$ac_cv_header_netinet_udp_h" = xyes
8761 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8785 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8787 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8811 if test "x$ac_cv_header_sys_un_h" = xyes
8813 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8818 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8819 #include <sys/socket.h>
8820 #ifdef HAVE_SYS_SOCKETVAR_H
8821 # include <sys/socketvar.h>
8823 #ifdef HAVE_NETINET_IN_H
8824 # include <netinet/in.h>
8826 #ifdef HAVE_NETINET_IN_SYSTM_H
8827 # include <netinet/in_systm.h>
8829 #ifdef HAVE_NETINET_IP_H
8830 # include <netinet/ip.h>
8832 #ifdef HAVE_NETINET_IP_VAR_H
8833 # include <netinet/ip_var.h>
8835 #ifdef HAVE_NETINET_IP_ICMP_H
8836 # include <netinet/ip_icmp.h>
8838 #ifdef HAVE_NETINET_UDP_H
8839 # include <netinet/udp.h>
8841 #ifdef HAVE_NETINET_TCP_H
8842 # include <netinet/tcp.h>
8845 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8847 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8850 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8851 #include <sys/socket.h>
8852 #ifdef HAVE_SYS_SOCKETVAR_H
8853 # include <sys/socketvar.h>
8855 #ifdef HAVE_NETINET_IN_H
8856 # include <netinet/in.h>
8858 #ifdef HAVE_NETINET_IN_SYSTM_H
8859 # include <netinet/in_systm.h>
8861 #ifdef HAVE_NETINET_IP_H
8862 # include <netinet/ip.h>
8864 #ifdef HAVE_NETINET_IP_VAR_H
8865 # include <netinet/ip_var.h>
8867 #ifdef HAVE_NETINET_IP_ICMP_H
8868 # include <netinet/ip_icmp.h>
8870 #ifdef HAVE_NETINET_UDP_H
8871 # include <netinet/udp.h>
8873 #ifdef HAVE_NETINET_TCP_H
8874 # include <netinet/tcp.h>
8877 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8879 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8882 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8883 #include <sys/socket.h>
8884 #ifdef HAVE_SYS_SOCKETVAR_H
8885 # include <sys/socketvar.h>
8887 #ifdef HAVE_NETINET_IN_H
8888 # include <netinet/in.h>
8890 #ifdef HAVE_NETINET_IN_SYSTM_H
8891 # include <netinet/in_systm.h>
8893 #ifdef HAVE_NETINET_IP_H
8894 # include <netinet/ip.h>
8896 #ifdef HAVE_NETINET_IP_VAR_H
8897 # include <netinet/ip_var.h>
8899 #ifdef HAVE_NETINET_IP_ICMP_H
8900 # include <netinet/ip_icmp.h>
8902 #ifdef HAVE_NETINET_UDP_H
8903 # include <netinet/udp.h>
8905 #ifdef HAVE_NETINET_TCP_H
8906 # include <netinet/tcp.h>
8909 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8911 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8916 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8917 #include <sys/socket.h>
8918 #ifdef HAVE_ASM_TYPES_H
8919 # include <asm/types.h>
8921 #ifdef HAVE_LINUX_TYPES_H
8922 # include <linux/types.h>
8925 if test "x$ac_cv_header_linux_ipx_h" = xyes
8927 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8930 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8931 #include <sys/socket.h>
8932 #ifdef HAVE_ASM_TYPES_H
8933 # include <asm/types.h>
8935 #ifdef HAVE_LINUX_TYPES_H
8936 # include <linux/types.h>
8939 if test "x$ac_cv_header_linux_irda_h" = xyes
8941 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8944 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8945 #include <sys/socket.h>
8946 #ifdef HAVE_ASM_TYPES_H
8947 # include <asm/types.h>
8949 #ifdef HAVE_LINUX_TYPES_H
8950 # include <linux/types.h>
8953 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8955 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8960 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8961 #include <sys/socket.h>
8962 #ifdef HAVE_NETINET_IN_H
8963 # include <netinet/in.h>
8965 #ifdef HAVE_ARPA_NAMESER_H
8966 # include <arpa/nameser.h>
8969 if test "x$ac_cv_header_resolv_h" = xyes
8971 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8978 if test "x$ac_cv_header_ifaddrs_h" = xyes
8980 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8985 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8987 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8989 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8995 #ifdef HAVE_SYS_UCONTEXT_H
8996 #include <sys/ucontext.h>
8999 if test "x$ac_cv_header_sys_thr_h" = xyes
9001 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9007 #include <pthread.h>
9010 if test "x$ac_cv_header_pthread_np_h" = xyes
9012 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9018 #include <sys/types.h>
9019 #ifdef HAVE_ASM_TYPES_H
9020 #include <asm/types.h>
9023 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9025 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9030 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9031 #include <sys/param.h>
9033 #include <sys/socket.h>
9034 #ifdef HAVE_SYS_QUEUE_H
9035 #include <sys/queue.h>
9038 if test "x$ac_cv_header_libprocstat_h" = xyes
9040 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9054 UNIXDLLFLAGS
="-fPIC"
9056 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9062 WINELOADER_LDFLAGS
=""
9064 WINEPRELOADER_LDFLAGS
=""
9067 # Extract the first word of "ldd", so it can be a program name with args.
9068 set dummy ldd
; ac_word
=$2
9069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9070 printf %s
"checking for $ac_word... " >&6; }
9071 if test ${ac_cv_path_LDD+y}
9073 printf %s
"(cached) " >&6
9077 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9081 as_dummy
="/sbin:/usr/sbin:$PATH"
9082 for as_dir
in $as_dummy
9085 case $as_dir in #(((
9088 *) as_dir
=$as_dir/ ;;
9090 for ac_exec_ext
in '' $ac_executable_extensions; do
9091 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9092 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9100 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9105 if test -n "$LDD"; then
9106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9107 printf "%s\n" "$LDD" >&6; }
9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9110 printf "%s\n" "no" >&6; }
9114 if test -n "$ac_tool_prefix"; then
9115 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9116 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9118 printf %s
"checking for $ac_word... " >&6; }
9119 if test ${ac_cv_prog_OTOOL+y}
9121 printf %s
"(cached) " >&6
9123 if test -n "$OTOOL"; then
9124 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9130 case $as_dir in #(((
9133 *) as_dir
=$as_dir/ ;;
9135 for ac_exec_ext
in '' $ac_executable_extensions; do
9136 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9137 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9147 OTOOL
=$ac_cv_prog_OTOOL
9148 if test -n "$OTOOL"; then
9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9150 printf "%s\n" "$OTOOL" >&6; }
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9153 printf "%s\n" "no" >&6; }
9158 if test -z "$ac_cv_prog_OTOOL"; then
9160 # Extract the first word of "otool", so it can be a program name with args.
9161 set dummy otool
; ac_word
=$2
9162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9163 printf %s
"checking for $ac_word... " >&6; }
9164 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9166 printf %s
"(cached) " >&6
9168 if test -n "$ac_ct_OTOOL"; then
9169 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9175 case $as_dir in #(((
9178 *) as_dir
=$as_dir/ ;;
9180 for ac_exec_ext
in '' $ac_executable_extensions; do
9181 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9182 ac_cv_prog_ac_ct_OTOOL
="otool"
9183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9192 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9193 if test -n "$ac_ct_OTOOL"; then
9194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9195 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9198 printf "%s\n" "no" >&6; }
9201 if test "x$ac_ct_OTOOL" = x
; then
9204 case $cross_compiling:$ac_tool_warned in
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9207 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9208 ac_tool_warned
=yes ;;
9213 OTOOL
="$ac_cv_prog_OTOOL"
9216 if test -n "$ac_tool_prefix"; then
9217 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9218 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9220 printf %s
"checking for $ac_word... " >&6; }
9221 if test ${ac_cv_prog_READELF+y}
9223 printf %s
"(cached) " >&6
9225 if test -n "$READELF"; then
9226 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9232 case $as_dir in #(((
9235 *) as_dir
=$as_dir/ ;;
9237 for ac_exec_ext
in '' $ac_executable_extensions; do
9238 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9239 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9249 READELF
=$ac_cv_prog_READELF
9250 if test -n "$READELF"; then
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9252 printf "%s\n" "$READELF" >&6; }
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 printf "%s\n" "no" >&6; }
9260 if test -z "$ac_cv_prog_READELF"; then
9261 ac_ct_READELF
=$READELF
9262 # Extract the first word of "readelf", so it can be a program name with args.
9263 set dummy readelf
; ac_word
=$2
9264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9265 printf %s
"checking for $ac_word... " >&6; }
9266 if test ${ac_cv_prog_ac_ct_READELF+y}
9268 printf %s
"(cached) " >&6
9270 if test -n "$ac_ct_READELF"; then
9271 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9277 case $as_dir in #(((
9280 *) as_dir
=$as_dir/ ;;
9282 for ac_exec_ext
in '' $ac_executable_extensions; do
9283 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9284 ac_cv_prog_ac_ct_READELF
="readelf"
9285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9294 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9295 if test -n "$ac_ct_READELF"; then
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9297 printf "%s\n" "$ac_ct_READELF" >&6; }
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 printf "%s\n" "no" >&6; }
9303 if test "x$ac_ct_READELF" = x
; then
9306 case $cross_compiling:$ac_tool_warned in
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9309 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9310 ac_tool_warned
=yes ;;
9312 READELF
=$ac_ct_READELF
9315 READELF
="$ac_cv_prog_READELF"
9323 CONFIGURE_TARGETS
=""
9326 wine_fn_append_file
()
9328 as_fn_append
$1 " \\$as_nl $2"
9331 wine_fn_append_rule
()
9333 as_fn_append wine_rules
"$as_nl$1"
9336 wine_fn_config_makefile
()
9338 wine_fn_append_file SUBDIRS
$1
9339 if eval test \"x\$
"$2"\" = x
"no"
9341 wine_fn_append_file DISABLED_SUBDIRS
$1
9345 wine_fn_config_symlink
()
9348 wine_fn_append_rule \
9350 @./config.status \$@"
9351 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
9355 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
9356 WINELOADER_PROGRAMS
="$wine_binary"
9358 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9362 if test -n "$ac_tool_prefix"; then
9363 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9364 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9366 printf %s
"checking for $ac_word... " >&6; }
9367 if test ${ac_cv_prog_DLLTOOL+y}
9369 printf %s
"(cached) " >&6
9371 if test -n "$DLLTOOL"; then
9372 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9378 case $as_dir in #(((
9381 *) as_dir
=$as_dir/ ;;
9383 for ac_exec_ext
in '' $ac_executable_extensions; do
9384 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9385 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9395 DLLTOOL
=$ac_cv_prog_DLLTOOL
9396 if test -n "$DLLTOOL"; then
9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9398 printf "%s\n" "$DLLTOOL" >&6; }
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9401 printf "%s\n" "no" >&6; }
9406 if test -z "$ac_cv_prog_DLLTOOL"; then
9407 ac_ct_DLLTOOL
=$DLLTOOL
9408 # Extract the first word of "dlltool", so it can be a program name with args.
9409 set dummy dlltool
; ac_word
=$2
9410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9411 printf %s
"checking for $ac_word... " >&6; }
9412 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9414 printf %s
"(cached) " >&6
9416 if test -n "$ac_ct_DLLTOOL"; then
9417 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9423 case $as_dir in #(((
9426 *) as_dir
=$as_dir/ ;;
9428 for ac_exec_ext
in '' $ac_executable_extensions; do
9429 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9430 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9440 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9441 if test -n "$ac_ct_DLLTOOL"; then
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9443 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9446 printf "%s\n" "no" >&6; }
9449 if test "x$ac_ct_DLLTOOL" = x
; then
9452 case $cross_compiling:$ac_tool_warned in
9454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9455 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9456 ac_tool_warned
=yes ;;
9458 DLLTOOL
=$ac_ct_DLLTOOL
9461 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9465 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9467 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9468 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9469 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9471 printf %s
"(cached) " >&6
9473 ac_wine_try_cflags_saved
=$CFLAGS
9474 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9477 int main(int argc, char **argv) { return 0; }
9479 if ac_fn_c_try_link
"$LINENO"
9481 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9483 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9485 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9486 conftest
$ac_exeext conftest.
$ac_ext
9487 CFLAGS
=$ac_wine_try_cflags_saved
9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9490 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9491 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9493 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9496 enable_loader
=${enable_loader:-no}
9497 enable_server
=${enable_server:-no}
9498 with_x
=${with_x:-no}
9499 with_pthread
=${with_pthread:-no}
9504 ac_cpp
='$OBJCPP $CPPFLAGS'
9505 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9506 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9507 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9510 ac_cpp
='$OBJCPP $CPPFLAGS'
9511 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9512 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9513 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9514 if test -n "$ac_tool_prefix"; then
9515 for ac_prog
in gcc objcc objc cc CC clang
9517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9518 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9520 printf %s
"checking for $ac_word... " >&6; }
9521 if test ${ac_cv_prog_OBJC+y}
9523 printf %s
"(cached) " >&6
9525 if test -n "$OBJC"; then
9526 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9532 case $as_dir in #(((
9535 *) as_dir
=$as_dir/ ;;
9537 for ac_exec_ext
in '' $ac_executable_extensions; do
9538 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9539 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9549 OBJC
=$ac_cv_prog_OBJC
9550 if test -n "$OBJC"; then
9551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9552 printf "%s\n" "$OBJC" >&6; }
9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9555 printf "%s\n" "no" >&6; }
9559 test -n "$OBJC" && break
9562 if test -z "$OBJC"; then
9564 for ac_prog
in gcc objcc objc cc CC clang
9566 # Extract the first word of "$ac_prog", so it can be a program name with args.
9567 set dummy
$ac_prog; ac_word
=$2
9568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9569 printf %s
"checking for $ac_word... " >&6; }
9570 if test ${ac_cv_prog_ac_ct_OBJC+y}
9572 printf %s
"(cached) " >&6
9574 if test -n "$ac_ct_OBJC"; then
9575 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9581 case $as_dir in #(((
9584 *) as_dir
=$as_dir/ ;;
9586 for ac_exec_ext
in '' $ac_executable_extensions; do
9587 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9588 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9598 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9599 if test -n "$ac_ct_OBJC"; then
9600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9601 printf "%s\n" "$ac_ct_OBJC" >&6; }
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9604 printf "%s\n" "no" >&6; }
9608 test -n "$ac_ct_OBJC" && break
9611 if test "x$ac_ct_OBJC" = x
; then
9614 case $cross_compiling:$ac_tool_warned in
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9617 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9618 ac_tool_warned
=yes ;;
9624 # Provide some information about the compiler.
9625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9628 for ac_option
in --version -v -V -qversion; do
9629 { { ac_try
="$ac_compiler $ac_option >&5"
9631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9632 *) ac_try_echo=$ac_try;;
9634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9635 printf "%s\n" "$ac_try_echo"; } >&5
9636 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9638 if test -s conftest.err; then
9640 ... rest of stderr output deleted ...
9641 10q' conftest.err >conftest.er1
9642 cat conftest.er1 >&5
9644 rm -f conftest.er1 conftest.err
9645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9646 test $ac_status = 0; }
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9650 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9651 if test ${ac_cv_objc_compiler_gnu+y}
9653 printf %s "(cached) " >&6
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9669 if ac_fn_objc_try_compile "$LINENO"
9675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9676 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9680 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9681 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9683 if test $ac_compiler_gnu = yes; then
9688 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9689 ac_save_OBJCFLAGS=$OBJCFLAGS
9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9691 printf %s "checking whether $OBJC accepts -g... " >&6; }
9692 if test ${ac_cv_prog_objc_g+y}
9694 printf %s "(cached) " >&6
9696 ac_save_objc_werror_flag=$ac_objc_werror_flag
9697 ac_objc_werror_flag=yes
9698 ac_cv_prog_objc_g=no
9700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701 /* end confdefs.h. */
9711 if ac_fn_objc_try_compile "$LINENO"
9713 ac_cv_prog_objc_g=yes
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9727 if ac_fn_objc_try_compile "$LINENO"
9731 ac_objc_werror_flag=$ac_save_objc_werror_flag
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9744 if ac_fn_objc_try_compile "$LINENO"
9746 ac_cv_prog_objc_g=yes
9748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9753 ac_objc_werror_flag=$ac_save_objc_werror_flag
9755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9756 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9757 if test $ac_test_OBJCFLAGS; then
9758 OBJCFLAGS=$ac_save_OBJCFLAGS
9759 elif test $ac_cv_prog_objc_g = yes; then
9760 if test "$GOBJC" = yes; then
9766 if test "$GOBJC" = yes; then
9773 ac_cpp='$OBJCPP $CPPFLAGS'
9774 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9775 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9776 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9779 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9780 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9782 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9787 ac_cpp='$CPP $CPPFLAGS'
9788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9793 DLLFLAGS="$DLLFLAGS -fPIC"
9795 COREFOUNDATION_LIBS="-framework CoreFoundation"
9797 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9799 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9801 CORESERVICES_LIBS="-framework CoreServices"
9803 APPKIT_LIBS="-framework AppKit"
9805 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9808 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9810 wine_can_build_preloader=yes
9811 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"
9812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9813 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9814 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9816 printf %s "(cached) " >&6
9818 ac_wine_try_cflags_saved=$CFLAGS
9819 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9822 int main(int argc, char **argv) { return 0; }
9824 if ac_fn_c_try_link "$LINENO"
9826 ac_cv_cflags__Wl__no_new_main__e__main=yes
9828 ac_cv_cflags__Wl__no_new_main__e__main=no
9830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9831 conftest$ac_exeext conftest.$ac_ext
9832 CFLAGS=$ac_wine_try_cflags_saved
9834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9835 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9836 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9838 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9839 { 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
9840 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9841 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9843 printf %s "(cached) " >&6
9845 ac_wine_try_cflags_saved=$CFLAGS
9846 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9849 int main(int argc, char **argv) { return 0; }
9851 if ac_fn_c_try_link "$LINENO"
9853 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9855 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9858 conftest$ac_exeext conftest.$ac_ext
9859 CFLAGS=$ac_wine_try_cflags_saved
9861 { 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
9862 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9863 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9865 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9867 wine_can_build_preloader=no
9870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9871 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9872 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9874 printf %s "(cached) " >&6
9876 ac_wine_try_cflags_saved=$CFLAGS
9877 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int main(int argc, char **argv) { return 0; }
9882 if ac_fn_c_try_link "$LINENO"
9884 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9886 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9889 conftest$ac_exeext conftest.$ac_ext
9890 CFLAGS=$ac_wine_try_cflags_saved
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9893 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9894 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9896 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9898 wine_can_build_preloader=no
9901 if test "$wine_can_build_preloader" = "yes"
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9904 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9905 if test ${ac_cv_cflags__Wl__no_pie+y}
9907 printf %s "(cached) " >&6
9909 ac_wine_try_cflags_saved=$CFLAGS
9910 CFLAGS="$CFLAGS -Wl,-no_pie"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9913 int main(int argc, char **argv) { return 0; }
9915 if ac_fn_c_try_link "$LINENO"
9917 ac_cv_cflags__Wl__no_pie=yes
9919 ac_cv_cflags__Wl__no_pie=no
9921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9922 conftest$ac_exeext conftest.$ac_ext
9923 CFLAGS=$ac_wine_try_cflags_saved
9925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9926 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9927 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9929 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9931 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9932 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9934 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9937 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9939 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9942 if test "$ac_cv_header_Security_Security_h" = "yes"
9944 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9947 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9949 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9951 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9953 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9955 OPENAL_LIBS="-framework OpenAL"
9958 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9960 ac_cv_lib_openal=yes
9962 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9964 OPENCL_LIBS="-framework OpenCL"
9966 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9968 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9970 ac_save_LIBS="$LIBS"
9971 LIBS="$LIBS $IOKIT_LIBS"
9972 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9973 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9975 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9979 LIBS="$ac_save_LIBS"
9982 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9984 CARBON_LIBS="-framework Carbon"
9987 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9989 METAL_LIBS="-framework Metal"
9993 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9996 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9998 ac_cpp='$OBJCPP $CPPFLAGS'
9999 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10000 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10001 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10005 #include <Metal/Metal.h>
10009 id<MTLDevice> device; device.registryID;
10014 if ac_fn_objc_try_compile "$LINENO"
10016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10017 printf "%s\n" "yes" >&6; }
10019 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10023 printf "%s\n" "no" >&6; }
10025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10027 ac_cpp='$CPP $CPPFLAGS'
10028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10034 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10036 ac_save_LIBS="$LIBS"
10037 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10038 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10039 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10041 enable_winemac_drv=${enable_winemac_drv:-yes}
10044 LIBS="$ac_save_LIBS"
10047 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10048 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10050 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10052 WINELOADER_DEPENDS="wine_info.plist"
10054 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10059 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10061 DLLFLAGS="$DLLFLAGS -fPIC"
10063 LDEXECFLAGS="-Wl,-pie"
10064 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10066 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10067 if test ${ac_cv_cflags__Wl__z_defs+y}
10069 printf %s "(cached) " >&6
10071 ac_wine_try_cflags_saved=$CFLAGS
10072 CFLAGS="$CFLAGS -Wl,-z,defs"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10075 int main(int argc, char **argv) { return 0; }
10077 if ac_fn_c_try_link "$LINENO"
10079 ac_cv_cflags__Wl__z_defs=yes
10081 ac_cv_cflags__Wl__z_defs=no
10083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10084 conftest$ac_exeext conftest.$ac_ext
10085 CFLAGS=$ac_wine_try_cflags_saved
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10088 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10089 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10091 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10094 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10095 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10097 printf %s "(cached) " >&6
10099 ac_wine_try_cflags_saved=$CFLAGS
10100 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10103 int main(int argc, char **argv) { return 0; }
10105 if ac_fn_c_try_link "$LINENO"
10107 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10109 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10112 conftest$ac_exeext conftest.$ac_ext
10113 CFLAGS=$ac_wine_try_cflags_saved
10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10116 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10117 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10119 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10121 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10124 printf %s "checking for -lEGL... " >&6; }
10125 if test ${ac_cv_lib_soname_EGL+y}
10127 printf %s "(cached) " >&6
10129 ac_check_soname_save_LIBS=$LIBS
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10134 /* Override any GCC internal prototype to avoid an error.
10135 Use char because int might match the return type of a GCC
10136 builtin and then its argument prototype would still apply. */
10137 char eglGetProcAddress ();
10141 return eglGetProcAddress ();
10146 if ac_fn_c_try_link "$LINENO"
10149 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10150 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'` ;;
10151 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10152 if ${ac_cv_lib_soname_EGL:+false} :
10154 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10158 ac_cv_lib_soname_EGL=
10160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10161 conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_soname_save_LIBS
10164 if ${ac_cv_lib_soname_EGL:+false} :
10166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10167 printf "%s\n" "not found" >&6; }
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10171 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10173 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10178 printf %s "checking for -lGLESv2... " >&6; }
10179 if test ${ac_cv_lib_soname_GLESv2+y}
10181 printf %s "(cached) " >&6
10183 ac_check_soname_save_LIBS=$LIBS
10184 LIBS="-lGLESv2 $LIBS"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10188 /* Override any GCC internal prototype to avoid an error.
10189 Use char because int might match the return type of a GCC
10190 builtin and then its argument prototype would still apply. */
10200 if ac_fn_c_try_link "$LINENO"
10203 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10204 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'` ;;
10205 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10206 if ${ac_cv_lib_soname_GLESv2:+false} :
10208 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10212 ac_cv_lib_soname_GLESv2=
10214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10215 conftest$ac_exeext conftest.$ac_ext
10216 LIBS=$ac_check_soname_save_LIBS
10218 if ${ac_cv_lib_soname_GLESv2:+false} :
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10221 printf "%s\n" "not found" >&6; }
10224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10225 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10227 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10232 if test "x$exec_prefix" = xNONE
10235 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10236 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10237 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10238 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10245 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10247 test "$ac_cv_sys_file_offset_bits" = 64 &&
10248 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10252 DLLFLAGS="$DLLFLAGS -fno-PIC"
10253 LDDLLFLAGS="-fno-PIC"
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10255 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10256 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10258 printf %s "(cached) " >&6
10260 ac_wine_try_cflags_saved=$CFLAGS
10261 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10264 int main(int argc, char **argv) { return 0; }
10266 if ac_fn_c_try_link "$LINENO"
10268 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10270 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10273 conftest$ac_exeext conftest.$ac_ext
10274 CFLAGS=$ac_wine_try_cflags_saved
10276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10277 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10278 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10280 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10284 DLLFLAGS="$DLLFLAGS -fPIC"
10285 LDDLLFLAGS="-fPIC" ;;
10287 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10289 echo '{ global: *; };' >conftest.map
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10291 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10292 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10294 printf %s "(cached) " >&6
10296 ac_wine_try_cflags_saved=$CFLAGS
10297 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10300 int main(int argc, char **argv) { return 0; }
10302 if ac_fn_c_try_link "$LINENO"
10304 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10306 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10309 conftest$ac_exeext conftest.$ac_ext
10310 CFLAGS=$ac_wine_try_cflags_saved
10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10313 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10314 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10316 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10321 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10322 if test ${ac_cv_cflags__Wl__z_defs+y}
10324 printf %s "(cached) " >&6
10326 ac_wine_try_cflags_saved=$CFLAGS
10327 CFLAGS="$CFLAGS -Wl,-z,defs"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10330 int main(int argc, char **argv) { return 0; }
10332 if ac_fn_c_try_link "$LINENO"
10334 ac_cv_cflags__Wl__z_defs=yes
10336 ac_cv_cflags__Wl__z_defs=no
10338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10339 conftest$ac_exeext conftest.$ac_ext
10340 CFLAGS=$ac_wine_try_cflags_saved
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10343 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10344 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10346 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10349 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10350 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10352 printf %s "(cached) " >&6
10354 ac_wine_try_cflags_saved=$CFLAGS
10355 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 int main(int argc, char **argv) { return 0; }
10360 if ac_fn_c_try_link "$LINENO"
10362 ac_cv_cflags__Wl___export_dynamic=yes
10364 ac_cv_cflags__Wl___export_dynamic=no
10366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10367 conftest$ac_exeext conftest.$ac_ext
10368 CFLAGS=$ac_wine_try_cflags_saved
10370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10371 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10372 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10374 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10376 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10379 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10381 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10382 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10384 printf %s "(cached) " >&6
10386 ac_wine_try_cflags_saved=$CFLAGS
10387 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 int main(int argc, char **argv) { return 0; }
10392 if ac_fn_c_try_link "$LINENO"
10394 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10396 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10399 conftest$ac_exeext conftest.$ac_ext
10400 CFLAGS=$ac_wine_try_cflags_saved
10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10403 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10404 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10407 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10408 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10412 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10413 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10415 printf %s "(cached) " >&6
10417 ac_wine_try_cflags_saved=$CFLAGS
10418 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 int main(int argc, char **argv) { return 0; }
10423 if ac_fn_c_try_link "$LINENO"
10425 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10427 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10430 conftest$ac_exeext conftest.$ac_ext
10431 CFLAGS=$ac_wine_try_cflags_saved
10433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10434 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10435 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10438 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10439 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10442 # Extract the first word of "prelink", so it can be a program name with args.
10443 set dummy prelink; ac_word=$2
10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10445 printf %s "checking for $ac_word... " >&6; }
10446 if test ${ac_cv_path_PRELINK+y}
10448 printf %s "(cached) " >&6
10452 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10456 for as_dir in /sbin /usr/sbin $PATH
10459 case $as_dir in #(((
10462 *) as_dir=$as_dir/ ;;
10464 for ac_exec_ext in '' $ac_executable_extensions; do
10465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10466 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10474 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10478 PRELINK=$ac_cv_path_PRELINK
10479 if test -n "$PRELINK"; then
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10481 printf "%s\n" "$PRELINK" >&6; }
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10484 printf "%s\n" "no" >&6; }
10488 if test "x$PRELINK" = xfalse
10490 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10494 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10495 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10497 printf %s "(cached) " >&6
10499 ac_wine_try_cflags_saved=$CFLAGS
10500 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10503 int main(int argc, char **argv) { return 0; }
10505 if ac_fn_c_try_link "$LINENO"
10507 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10509 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10512 conftest$ac_exeext conftest.$ac_ext
10513 CFLAGS=$ac_wine_try_cflags_saved
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10516 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10517 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10519 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10523 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10525 LIBWINE_DEPENDS="wine.map"
10527 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10531 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10532 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10533 enable_winemac_drv=${enable_winemac_drv:-no}
10536 if test "x$with_mingw" != xno
10538 case "x$with_mingw" in
10539 x|xyes) case "$host_cpu" in
10541 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10543 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10545 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
10546 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10547 mingw32-gcc clang" ;;
10549 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
10550 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10552 ac_prefix_list="" ;;
10554 for ac_prog in $ac_prefix_list
10556 # Extract the first word of "$ac_prog", so it can be a program name with args.
10557 set dummy $ac_prog; ac_word=$2
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10559 printf %s "checking for $ac_word... " >&6; }
10560 if test ${ac_cv_prog_CROSSCC+y}
10562 printf %s "(cached) " >&6
10564 if test -n "$CROSSCC"; then
10565 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10568 for as_dir in $PATH
10571 case $as_dir in #(((
10574 *) as_dir=$as_dir/ ;;
10576 for ac_exec_ext in '' $ac_executable_extensions; do
10577 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10578 ac_cv_prog_CROSSCC="$ac_prog"
10579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10588 CROSSCC=$ac_cv_prog_CROSSCC
10589 if test -n "$CROSSCC"; then
10590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10591 printf "%s\n" "$CROSSCC" >&6; }
10593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10594 printf "%s\n" "no" >&6; }
10598 test -n "$CROSSCC" && break
10600 test -n "$CROSSCC" || CROSSCC="false"
10602 *) CROSSCC=$with_mingw ;;
10604 if test "$CROSSCC" != "false"
10607 saved_CFLAGS=$CFLAGS
10608 saved_LDFLAGS=$LDFLAGS
10609 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10611 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10616 CFLAGS=$CROSSCFLAGS
10617 LDFLAGS=$CROSSLDFLAGS
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10619 printf %s "checking whether $CROSSCC works... " >&6; }
10620 if test ${wine_cv_crosscc+y}
10622 printf %s "(cached) " >&6
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10635 if ac_fn_c_try_compile "$LINENO"
10637 wine_cv_crosscc=yes
10641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10644 printf "%s\n" "$wine_cv_crosscc" >&6; }
10645 if test $wine_cv_crosscc = yes
10649 while test $# -ge 1
10652 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10653 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10658 llvm_target=$CROSSTARGET
10659 llvm_cflags="-fuse-ld=lld"
10660 if test -z "$llvm_target"
10663 *i[3456789]86*) llvm_target=i686-windows ;;
10664 *) llvm_target=$host_cpu-windows ;;
10667 case $llvm_target in
10668 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10670 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10672 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10673 if eval test \${$as_ac_var+y}
10675 printf %s "(cached) " >&6
10677 ac_wine_try_cflags_saved=$CFLAGS
10678 ac_wine_try_cflags_saved_cc=$CC
10679 ac_wine_try_cflags_saved_exeext=$ac_exeext
10680 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10685 int __cdecl mainCRTStartup(void) { return 0; }
10687 if ac_fn_c_try_link "$LINENO"
10689 eval "$as_ac_var=yes"
10691 eval "$as_ac_var=no"
10693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10694 conftest$ac_exeext conftest.$ac_ext
10695 CFLAGS=$ac_wine_try_cflags_saved
10696 CC=$ac_wine_try_cflags_saved_cc
10697 ac_exeext=$ac_wine_try_cflags_saved_exeext
10699 eval ac_res=\$$as_ac_var
10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10701 printf "%s\n" "$ac_res" >&6; }
10702 if eval test \"x\$"$as_ac_var"\" = x"yes"
10704 CROSSTARGET=$llvm_target
10705 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10706 DELAYLOADFLAG="-Wl,-delayload,"
10708 CFLAGS="$CFLAGS $llvm_cflags"
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10712 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10713 if test ${wine_cv_crosscc_c99+y}
10715 printf %s "(cached) " >&6
10717 wine_cv_crosscc_c99=no
10718 for arg in '' '-std=gnu99'
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10723 $ac_c_conftest_c99_program
10725 if ac_fn_c_try_compile "$LINENO"
10727 wine_cv_crosscc_c99=$arg
10729 wine_cv_crosscc_c99=no
10731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10732 test "x$wine_cv_crosscc_c99" != xno && break
10736 case "x$wine_cv_crosscc_c99" in
10737 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10738 printf "%s\n" "none needed" >&6; } ;;
10739 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10740 printf "%s\n" "unsupported" >&6; } ;;
10741 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10742 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10743 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10747 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10748 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10750 printf %s "(cached) " >&6
10752 ac_wine_try_cflags_saved=$CFLAGS
10753 ac_wine_try_cflags_saved_cc=$CC
10754 ac_wine_try_cflags_saved_exeext=$ac_exeext
10755 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 int __cdecl mainCRTStartup(void) { return 0; }
10762 if ac_fn_c_try_link "$LINENO"
10764 ac_cv_crosscflags__fno_strict_aliasing=yes
10766 ac_cv_crosscflags__fno_strict_aliasing=no
10768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10769 conftest$ac_exeext conftest.$ac_ext
10770 CFLAGS=$ac_wine_try_cflags_saved
10771 CC=$ac_wine_try_cflags_saved_cc
10772 ac_exeext=$ac_wine_try_cflags_saved_exeext
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10775 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10776 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10778 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10781 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10782 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10784 printf %s "(cached) " >&6
10786 ac_wine_try_cflags_saved=$CFLAGS
10787 ac_wine_try_cflags_saved_cc=$CC
10788 ac_wine_try_cflags_saved_exeext=$ac_exeext
10789 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10794 int __cdecl mainCRTStartup(void) { return 0; }
10796 if ac_fn_c_try_link "$LINENO"
10798 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10800 ac_cv_crosscflags__Werror_unknown_warning_option=no
10802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10803 conftest$ac_exeext conftest.$ac_ext
10804 CFLAGS=$ac_wine_try_cflags_saved
10805 CC=$ac_wine_try_cflags_saved_cc
10806 ac_exeext=$ac_wine_try_cflags_saved_exeext
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10809 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10810 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10812 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10815 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10816 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10818 printf %s "(cached) " >&6
10820 ac_wine_try_cflags_saved=$CFLAGS
10821 ac_wine_try_cflags_saved_cc=$CC
10822 ac_wine_try_cflags_saved_exeext=$ac_exeext
10823 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10828 int __cdecl mainCRTStartup(void) { return 0; }
10830 if ac_fn_c_try_link "$LINENO"
10832 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10834 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10837 conftest$ac_exeext conftest.$ac_ext
10838 CFLAGS=$ac_wine_try_cflags_saved
10839 CC=$ac_wine_try_cflags_saved_cc
10840 ac_exeext=$ac_wine_try_cflags_saved_exeext
10842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10843 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10844 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10846 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10849 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10850 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10852 printf %s "(cached) " >&6
10854 ac_wine_try_cflags_saved=$CFLAGS
10855 ac_wine_try_cflags_saved_cc=$CC
10856 ac_wine_try_cflags_saved_exeext=$ac_exeext
10857 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10862 int __cdecl mainCRTStartup(void) { return 0; }
10864 if ac_fn_c_try_link "$LINENO"
10866 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10868 ac_cv_crosscflags__Wdeclaration_after_statement=no
10870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10871 conftest$ac_exeext conftest.$ac_ext
10872 CFLAGS=$ac_wine_try_cflags_saved
10873 CC=$ac_wine_try_cflags_saved_cc
10874 ac_exeext=$ac_wine_try_cflags_saved_exeext
10876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10877 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10878 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10880 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10883 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10884 if test ${ac_cv_crosscflags__Wempty_body+y}
10886 printf %s "(cached) " >&6
10888 ac_wine_try_cflags_saved=$CFLAGS
10889 ac_wine_try_cflags_saved_cc=$CC
10890 ac_wine_try_cflags_saved_exeext=$ac_exeext
10891 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896 int __cdecl mainCRTStartup(void) { return 0; }
10898 if ac_fn_c_try_link "$LINENO"
10900 ac_cv_crosscflags__Wempty_body=yes
10902 ac_cv_crosscflags__Wempty_body=no
10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10905 conftest$ac_exeext conftest.$ac_ext
10906 CFLAGS=$ac_wine_try_cflags_saved
10907 CC=$ac_wine_try_cflags_saved_cc
10908 ac_exeext=$ac_wine_try_cflags_saved_exeext
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10911 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10912 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10914 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10917 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10918 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10920 printf %s "(cached) " >&6
10922 ac_wine_try_cflags_saved=$CFLAGS
10923 ac_wine_try_cflags_saved_cc=$CC
10924 ac_wine_try_cflags_saved_exeext=$ac_exeext
10925 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10930 int __cdecl mainCRTStartup(void) { return 0; }
10932 if ac_fn_c_try_link "$LINENO"
10934 ac_cv_crosscflags__Wignored_qualifiers=yes
10936 ac_cv_crosscflags__Wignored_qualifiers=no
10938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10939 conftest$ac_exeext conftest.$ac_ext
10940 CFLAGS=$ac_wine_try_cflags_saved
10941 CC=$ac_wine_try_cflags_saved_cc
10942 ac_exeext=$ac_wine_try_cflags_saved_exeext
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10945 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10946 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
10948 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10951 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
10952 if test ${ac_cv_crosscflags__Winit_self+y}
10954 printf %s "(cached) " >&6
10956 ac_wine_try_cflags_saved=$CFLAGS
10957 ac_wine_try_cflags_saved_cc=$CC
10958 ac_wine_try_cflags_saved_exeext=$ac_exeext
10959 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 int __cdecl mainCRTStartup(void) { return 0; }
10966 if ac_fn_c_try_link "$LINENO"
10968 ac_cv_crosscflags__Winit_self=yes
10970 ac_cv_crosscflags__Winit_self=no
10972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10973 conftest$ac_exeext conftest.$ac_ext
10974 CFLAGS=$ac_wine_try_cflags_saved
10975 CC=$ac_wine_try_cflags_saved_cc
10976 ac_exeext=$ac_wine_try_cflags_saved_exeext
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10979 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
10980 if test "x$ac_cv_crosscflags__Winit_self" = xyes
10982 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10985 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10986 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
10988 printf %s "(cached) " >&6
10990 ac_wine_try_cflags_saved=$CFLAGS
10991 ac_wine_try_cflags_saved_cc=$CC
10992 ac_wine_try_cflags_saved_exeext=$ac_exeext
10993 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10998 int __cdecl mainCRTStartup(void) { return 0; }
11000 if ac_fn_c_try_link "$LINENO"
11002 ac_cv_crosscflags__Wpacked_not_aligned=yes
11004 ac_cv_crosscflags__Wpacked_not_aligned=no
11006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11007 conftest$ac_exeext conftest.$ac_ext
11008 CFLAGS=$ac_wine_try_cflags_saved
11009 CC=$ac_wine_try_cflags_saved_cc
11010 ac_exeext=$ac_wine_try_cflags_saved_exeext
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11013 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11014 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11019 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11020 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11022 printf %s "(cached) " >&6
11024 ac_wine_try_cflags_saved=$CFLAGS
11025 ac_wine_try_cflags_saved_cc=$CC
11026 ac_wine_try_cflags_saved_exeext=$ac_exeext
11027 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11032 int __cdecl mainCRTStartup(void) { return 0; }
11034 if ac_fn_c_try_link "$LINENO"
11036 ac_cv_crosscflags__Wpragma_pack=yes
11038 ac_cv_crosscflags__Wpragma_pack=no
11040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11041 conftest$ac_exeext conftest.$ac_ext
11042 CFLAGS=$ac_wine_try_cflags_saved
11043 CC=$ac_wine_try_cflags_saved_cc
11044 ac_exeext=$ac_wine_try_cflags_saved_exeext
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11047 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11048 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11053 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11054 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11056 printf %s "(cached) " >&6
11058 ac_wine_try_cflags_saved=$CFLAGS
11059 ac_wine_try_cflags_saved_cc=$CC
11060 ac_wine_try_cflags_saved_exeext=$ac_exeext
11061 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11066 int __cdecl mainCRTStartup(void) { return 0; }
11068 if ac_fn_c_try_link "$LINENO"
11070 ac_cv_crosscflags__Wshift_overflow_2=yes
11072 ac_cv_crosscflags__Wshift_overflow_2=no
11074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11075 conftest$ac_exeext conftest.$ac_ext
11076 CFLAGS=$ac_wine_try_cflags_saved
11077 CC=$ac_wine_try_cflags_saved_cc
11078 ac_exeext=$ac_wine_try_cflags_saved_exeext
11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11081 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11082 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11084 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11087 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11088 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11090 printf %s "(cached) " >&6
11092 ac_wine_try_cflags_saved=$CFLAGS
11093 ac_wine_try_cflags_saved_cc=$CC
11094 ac_wine_try_cflags_saved_exeext=$ac_exeext
11095 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11100 int __cdecl mainCRTStartup(void) { return 0; }
11102 if ac_fn_c_try_link "$LINENO"
11104 ac_cv_crosscflags__Wstrict_prototypes=yes
11106 ac_cv_crosscflags__Wstrict_prototypes=no
11108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11109 conftest$ac_exeext conftest.$ac_ext
11110 CFLAGS=$ac_wine_try_cflags_saved
11111 CC=$ac_wine_try_cflags_saved_cc
11112 ac_exeext=$ac_wine_try_cflags_saved_exeext
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11115 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11116 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11118 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11121 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11122 if test ${ac_cv_crosscflags__Wtype_limits+y}
11124 printf %s "(cached) " >&6
11126 ac_wine_try_cflags_saved=$CFLAGS
11127 ac_wine_try_cflags_saved_cc=$CC
11128 ac_wine_try_cflags_saved_exeext=$ac_exeext
11129 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11134 int __cdecl mainCRTStartup(void) { return 0; }
11136 if ac_fn_c_try_link "$LINENO"
11138 ac_cv_crosscflags__Wtype_limits=yes
11140 ac_cv_crosscflags__Wtype_limits=no
11142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11143 conftest$ac_exeext conftest.$ac_ext
11144 CFLAGS=$ac_wine_try_cflags_saved
11145 CC=$ac_wine_try_cflags_saved_cc
11146 ac_exeext=$ac_wine_try_cflags_saved_exeext
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11149 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11150 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11152 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11155 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11156 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11158 printf %s "(cached) " >&6
11160 ac_wine_try_cflags_saved=$CFLAGS
11161 ac_wine_try_cflags_saved_cc=$CC
11162 ac_wine_try_cflags_saved_exeext=$ac_exeext
11163 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11168 int __cdecl mainCRTStartup(void) { return 0; }
11170 if ac_fn_c_try_link "$LINENO"
11172 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11174 ac_cv_crosscflags__Wunused_but_set_parameter=no
11176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11177 conftest$ac_exeext conftest.$ac_ext
11178 CFLAGS=$ac_wine_try_cflags_saved
11179 CC=$ac_wine_try_cflags_saved_cc
11180 ac_exeext=$ac_wine_try_cflags_saved_exeext
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11183 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11184 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11186 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11189 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11190 if test ${ac_cv_crosscflags__Wvla+y}
11192 printf %s "(cached) " >&6
11194 ac_wine_try_cflags_saved=$CFLAGS
11195 ac_wine_try_cflags_saved_cc=$CC
11196 ac_wine_try_cflags_saved_exeext=$ac_exeext
11197 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11202 int __cdecl mainCRTStartup(void) { return 0; }
11204 if ac_fn_c_try_link "$LINENO"
11206 ac_cv_crosscflags__Wvla=yes
11208 ac_cv_crosscflags__Wvla=no
11210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11211 conftest$ac_exeext conftest.$ac_ext
11212 CFLAGS=$ac_wine_try_cflags_saved
11213 CC=$ac_wine_try_cflags_saved_cc
11214 ac_exeext=$ac_wine_try_cflags_saved_exeext
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11217 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11218 if test "x$ac_cv_crosscflags__Wvla" = xyes
11220 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11223 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11224 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11226 printf %s "(cached) " >&6
11228 ac_wine_try_cflags_saved=$CFLAGS
11229 ac_wine_try_cflags_saved_cc=$CC
11230 ac_wine_try_cflags_saved_exeext=$ac_exeext
11231 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11236 int __cdecl mainCRTStartup(void) { return 0; }
11238 if ac_fn_c_try_link "$LINENO"
11240 ac_cv_crosscflags__Wwrite_strings=yes
11242 ac_cv_crosscflags__Wwrite_strings=no
11244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11245 conftest$ac_exeext conftest.$ac_ext
11246 CFLAGS=$ac_wine_try_cflags_saved
11247 CC=$ac_wine_try_cflags_saved_cc
11248 ac_exeext=$ac_wine_try_cflags_saved_exeext
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11251 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11252 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11254 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11257 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11258 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11260 printf %s "(cached) " >&6
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_cc=$CC
11264 ac_wine_try_cflags_saved_exeext=$ac_exeext
11265 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11270 int __cdecl mainCRTStartup(void) { return 0; }
11272 if ac_fn_c_try_link "$LINENO"
11274 ac_cv_crosscflags__Wpointer_arith=yes
11276 ac_cv_crosscflags__Wpointer_arith=no
11278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11279 conftest$ac_exeext conftest.$ac_ext
11280 CFLAGS=$ac_wine_try_cflags_saved
11281 CC=$ac_wine_try_cflags_saved_cc
11282 ac_exeext=$ac_wine_try_cflags_saved_exeext
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11285 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11286 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11288 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11291 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11292 if test ${ac_cv_crosscflags__Wlogical_op+y}
11294 printf %s "(cached) " >&6
11296 ac_wine_try_cflags_saved=$CFLAGS
11297 ac_wine_try_cflags_saved_cc=$CC
11298 ac_wine_try_cflags_saved_exeext=$ac_exeext
11299 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11304 int __cdecl mainCRTStartup(void) { return 0; }
11306 if ac_fn_c_try_link "$LINENO"
11308 ac_cv_crosscflags__Wlogical_op=yes
11310 ac_cv_crosscflags__Wlogical_op=no
11312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11313 conftest$ac_exeext conftest.$ac_ext
11314 CFLAGS=$ac_wine_try_cflags_saved
11315 CC=$ac_wine_try_cflags_saved_cc
11316 ac_exeext=$ac_wine_try_cflags_saved_exeext
11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11319 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11320 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11322 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11325 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11326 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11328 printf %s "(cached) " >&6
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_cc=$CC
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 int __cdecl mainCRTStartup(void) { return 0; }
11340 if ac_fn_c_try_link "$LINENO"
11342 ac_cv_crosscflags__Wabsolute_value=yes
11344 ac_cv_crosscflags__Wabsolute_value=no
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 CC=$ac_wine_try_cflags_saved_cc
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11353 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11354 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11360 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11361 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11362 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11364 printf %s "(cached) " >&6
11366 ac_wine_try_cflags_saved=$CFLAGS
11367 ac_wine_try_cflags_saved_cc=$CC
11368 ac_wine_try_cflags_saved_exeext=$ac_exeext
11369 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11374 int __cdecl mainCRTStartup(void) { return 0; }
11376 if ac_fn_c_try_link "$LINENO"
11378 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11380 ac_cv_crosscflags__fno_omit_frame_pointer=no
11382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11383 conftest$ac_exeext conftest.$ac_ext
11384 CFLAGS=$ac_wine_try_cflags_saved
11385 CC=$ac_wine_try_cflags_saved_cc
11386 ac_exeext=$ac_wine_try_cflags_saved_exeext
11388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11389 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11390 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11392 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11394 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11395 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11396 if test ${ac_cv_crosscflags__Wno_format+y}
11398 printf %s "(cached) " >&6
11400 ac_wine_try_cflags_saved=$CFLAGS
11401 ac_wine_try_cflags_saved_cc=$CC
11402 ac_wine_try_cflags_saved_exeext=$ac_exeext
11403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11408 int __cdecl mainCRTStartup(void) { return 0; }
11410 if ac_fn_c_try_link "$LINENO"
11412 ac_cv_crosscflags__Wno_format=yes
11414 ac_cv_crosscflags__Wno_format=no
11416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11417 conftest$ac_exeext conftest.$ac_ext
11418 CFLAGS=$ac_wine_try_cflags_saved
11419 CC=$ac_wine_try_cflags_saved_cc
11420 ac_exeext=$ac_wine_try_cflags_saved_exeext
11422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11423 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11424 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11429 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11430 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11432 printf %s "(cached) " >&6
11434 ac_wine_try_cflags_saved=$CFLAGS
11435 ac_wine_try_cflags_saved_cc=$CC
11436 ac_wine_try_cflags_saved_exeext=$ac_exeext
11437 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11442 int __cdecl mainCRTStartup(void) { return 0; }
11444 if ac_fn_c_try_link "$LINENO"
11446 ac_cv_crosscflags__Wformat_overflow=yes
11448 ac_cv_crosscflags__Wformat_overflow=no
11450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11451 conftest$ac_exeext conftest.$ac_ext
11452 CFLAGS=$ac_wine_try_cflags_saved
11453 CC=$ac_wine_try_cflags_saved_cc
11454 ac_exeext=$ac_wine_try_cflags_saved_exeext
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11457 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11458 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11460 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11463 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11464 if test ${ac_cv_crosscflags__Wnonnull+y}
11466 printf %s "(cached) " >&6
11468 ac_wine_try_cflags_saved=$CFLAGS
11469 ac_wine_try_cflags_saved_cc=$CC
11470 ac_wine_try_cflags_saved_exeext=$ac_exeext
11471 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11476 int __cdecl mainCRTStartup(void) { return 0; }
11478 if ac_fn_c_try_link "$LINENO"
11480 ac_cv_crosscflags__Wnonnull=yes
11482 ac_cv_crosscflags__Wnonnull=no
11484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11485 conftest$ac_exeext conftest.$ac_ext
11486 CFLAGS=$ac_wine_try_cflags_saved
11487 CC=$ac_wine_try_cflags_saved_cc
11488 ac_exeext=$ac_wine_try_cflags_saved_exeext
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11491 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11492 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11494 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11497 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11498 if test ${ac_cv_crosscflags__mcx16+y}
11500 printf %s "(cached) " >&6
11502 ac_wine_try_cflags_saved=$CFLAGS
11503 ac_wine_try_cflags_saved_cc=$CC
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11510 int __cdecl mainCRTStartup(void) { return 0; }
11512 if ac_fn_c_try_link "$LINENO"
11514 ac_cv_crosscflags__mcx16=yes
11516 ac_cv_crosscflags__mcx16=no
11518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11519 conftest$ac_exeext conftest.$ac_ext
11520 CFLAGS=$ac_wine_try_cflags_saved
11521 CC=$ac_wine_try_cflags_saved_cc
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11525 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11526 if test "x$ac_cv_crosscflags__mcx16" = xyes
11528 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11530 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11531 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11532 if test ${ac_cv_crosscflags__Wno_format+y}
11534 printf %s "(cached) " >&6
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_cc=$CC
11538 ac_wine_try_cflags_saved_exeext=$ac_exeext
11539 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11544 int __cdecl mainCRTStartup(void) { return 0; }
11546 if ac_fn_c_try_link "$LINENO"
11548 ac_cv_crosscflags__Wno_format=yes
11550 ac_cv_crosscflags__Wno_format=no
11552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11553 conftest$ac_exeext conftest.$ac_ext
11554 CFLAGS=$ac_wine_try_cflags_saved
11555 CC=$ac_wine_try_cflags_saved_cc
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11559 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11560 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11567 if test -z "$CROSSDEBUG"
11569 for ac_flag in $CROSSCFLAGS; do
11571 -gdwarf*) CROSSDEBUG=dwarf ;;
11572 -gcodeview) CROSSDEBUG=pdb ;;
11573 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11578 ac_debug_format_seen=""
11579 for ac_flag in $CROSSCFLAGS; do
11581 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11584 if test "x$ac_debug_format_seen" = x
11586 case $CROSSDEBUG in
11587 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11588 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11589 if test ${ac_cv_crosscflags__gdwarf_4+y}
11591 printf %s "(cached) " >&6
11593 ac_wine_try_cflags_saved=$CFLAGS
11594 ac_wine_try_cflags_saved_cc=$CC
11595 ac_wine_try_cflags_saved_exeext=$ac_exeext
11596 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11601 int __cdecl mainCRTStartup(void) { return 0; }
11603 if ac_fn_c_try_link "$LINENO"
11605 ac_cv_crosscflags__gdwarf_4=yes
11607 ac_cv_crosscflags__gdwarf_4=no
11609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11610 conftest$ac_exeext conftest.$ac_ext
11611 CFLAGS=$ac_wine_try_cflags_saved
11612 CC=$ac_wine_try_cflags_saved_cc
11613 ac_exeext=$ac_wine_try_cflags_saved_exeext
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11616 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11617 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11619 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11621 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11622 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11623 if test ${ac_cv_crosscflags__gcodeview+y}
11625 printf %s "(cached) " >&6
11627 ac_wine_try_cflags_saved=$CFLAGS
11628 ac_wine_try_cflags_saved_cc=$CC
11629 ac_wine_try_cflags_saved_exeext=$ac_exeext
11630 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11635 int __cdecl mainCRTStartup(void) { return 0; }
11637 if ac_fn_c_try_link "$LINENO"
11639 ac_cv_crosscflags__gcodeview=yes
11641 ac_cv_crosscflags__gcodeview=no
11643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11644 conftest$ac_exeext conftest.$ac_ext
11645 CFLAGS=$ac_wine_try_cflags_saved
11646 CC=$ac_wine_try_cflags_saved_cc
11647 ac_exeext=$ac_wine_try_cflags_saved_exeext
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11650 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11651 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11653 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11659 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11660 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11662 printf %s "(cached) " >&6
11664 ac_wine_try_cflags_saved=$CFLAGS
11665 ac_wine_try_cflags_saved_cc=$CC
11666 ac_wine_try_cflags_saved_exeext=$ac_exeext
11667 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11672 int __cdecl mainCRTStartup(void) { return 0; }
11674 if ac_fn_c_try_link "$LINENO"
11676 ac_cv_crosscflags__fexcess_precision_standard=yes
11678 ac_cv_crosscflags__fexcess_precision_standard=no
11680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11681 conftest$ac_exeext conftest.$ac_ext
11682 CFLAGS=$ac_wine_try_cflags_saved
11683 CC=$ac_wine_try_cflags_saved_cc
11684 ac_exeext=$ac_wine_try_cflags_saved_exeext
11686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11687 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11688 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11690 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11694 if test "x$enable_werror" = "xyes"
11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11697 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11698 if test ${ac_cv_crosscflags__Werror+y}
11700 printf %s "(cached) " >&6
11702 ac_wine_try_cflags_saved=$CFLAGS
11703 ac_wine_try_cflags_saved_cc=$CC
11704 ac_wine_try_cflags_saved_exeext=$ac_exeext
11705 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11710 int __cdecl mainCRTStartup(void) { return 0; }
11712 if ac_fn_c_try_link "$LINENO"
11714 ac_cv_crosscflags__Werror=yes
11716 ac_cv_crosscflags__Werror=no
11718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11719 conftest$ac_exeext conftest.$ac_ext
11720 CFLAGS=$ac_wine_try_cflags_saved
11721 CC=$ac_wine_try_cflags_saved_cc
11722 ac_exeext=$ac_wine_try_cflags_saved_exeext
11724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11725 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11726 if test "x$ac_cv_crosscflags__Werror" = xyes
11728 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11731 if test "x$enable_build_id" = "xyes"
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11734 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11735 if test ${ac_cv_crosscflags__Wl___build_id+y}
11737 printf %s "(cached) " >&6
11739 ac_wine_try_cflags_saved=$CFLAGS
11740 ac_wine_try_cflags_saved_cc=$CC
11741 ac_wine_try_cflags_saved_exeext=$ac_exeext
11742 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 int __cdecl mainCRTStartup(void) { return 0; }
11749 if ac_fn_c_try_link "$LINENO"
11751 ac_cv_crosscflags__Wl___build_id=yes
11753 ac_cv_crosscflags__Wl___build_id=no
11755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11756 conftest$ac_exeext conftest.$ac_ext
11757 CFLAGS=$ac_wine_try_cflags_saved
11758 CC=$ac_wine_try_cflags_saved_cc
11759 ac_exeext=$ac_wine_try_cflags_saved_exeext
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11762 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11763 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11765 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11766 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11770 CFLAGS=$saved_CFLAGS
11771 LDFLAGS=$saved_LDFLAGS
11775 if test "x$CROSSTARGET" = "x"
11777 case "x$with_mingw" in
11778 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11780 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11781 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11787 aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
11791 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11793 case "$host_cpu" in
11795 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11797 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11799 for ac_prog in $ac_prefix_list
11801 # Extract the first word of "$ac_prog", so it can be a program name with args.
11802 set dummy $ac_prog; ac_word=$2
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11804 printf %s "checking for $ac_word... " >&6; }
11805 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11807 printf %s "(cached) " >&6
11809 if test -n "$MINGW_PKG_CONFIG"; then
11810 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in $PATH
11816 case $as_dir in #(((
11819 *) as_dir=$as_dir/ ;;
11821 for ac_exec_ext in '' $ac_executable_extensions; do
11822 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11823 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11833 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11834 if test -n "$MINGW_PKG_CONFIG"; then
11835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11836 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 printf "%s\n" "no" >&6; }
11843 test -n "$MINGW_PKG_CONFIG" && break
11845 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11847 if ${FAUDIO_PE_CFLAGS:+false} :
11849 if test ${MINGW_PKG_CONFIG+y}
11851 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11854 if ${FAUDIO_PE_LIBS:+false} :
11856 if test ${MINGW_PKG_CONFIG+y}
11858 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11861 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11862 ac_save_CPPFLAGS=$CPPFLAGS
11863 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11865 printf %s "checking for MinGW FAudio.h... " >&6; }
11866 if test ${ac_cv_mingw_header_FAudio_h+y}
11868 printf %s "(cached) " >&6
11870 ac_wine_check_headers_saved_cc=$CC
11871 ac_wine_check_headers_saved_exeext=$ac_exeext
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 #include <FAudio.h>
11886 if ac_fn_c_try_compile "$LINENO"
11888 ac_cv_mingw_header_FAudio_h=yes
11890 ac_cv_mingw_header_FAudio_h=no
11892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11893 CC=$ac_wine_check_headers_saved_cc
11894 ac_exeext=$ac_wine_check_headers_saved_exeext
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11897 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11898 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11901 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11902 if test ${ac_cv_mingw_lib_FAudio+y}
11904 printf %s "(cached) " >&6
11906 ac_wine_check_headers_saved_cc=$CC
11907 ac_wine_check_headers_saved_exeext=$ac_exeext
11908 ac_wine_check_headers_saved_libs=$LIBS
11911 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11915 /* Override any GCC internal prototype to avoid an error.
11916 Use char because int might match the return type of a GCC
11917 builtin and then its argument prototype would still apply. */
11918 char FAudio_CommitOperationSet ();
11922 return FAudio_CommitOperationSet ();
11927 if ac_fn_c_try_link "$LINENO"
11929 ac_cv_mingw_lib_FAudio=yes
11931 ac_cv_mingw_lib_FAudio=no
11933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11934 conftest$ac_exeext conftest.$ac_ext
11935 CC=$ac_wine_check_headers_saved_cc
11936 ac_exeext=$ac_wine_check_headers_saved_exeext
11937 LIBS=$ac_wine_check_headers_saved_libs
11939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11940 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11941 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11945 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11948 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11950 CPPFLAGS=$ac_save_CPPFLAGS
11952 if test "x$FAUDIO_PE_LIBS" = "x"
11954 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11957 if ${JPEG_PE_CFLAGS:+false} :
11959 if test ${MINGW_PKG_CONFIG+y}
11961 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11964 if ${JPEG_PE_LIBS:+false} :
11966 if test ${MINGW_PKG_CONFIG+y}
11968 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11972 ac_save_CPPFLAGS=$CPPFLAGS
11973 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11975 printf %s "checking for MinGW jpeglib.h... " >&6; }
11976 if test ${ac_cv_mingw_header_jpeglib_h+y}
11978 printf %s "(cached) " >&6
11980 ac_wine_check_headers_saved_cc=$CC
11981 ac_wine_check_headers_saved_exeext=$ac_exeext
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 #include <stddef.h>
11988 #include <jpeglib.h>
11997 if ac_fn_c_try_compile "$LINENO"
11999 ac_cv_mingw_header_jpeglib_h=yes
12001 ac_cv_mingw_header_jpeglib_h=no
12003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12004 CC=$ac_wine_check_headers_saved_cc
12005 ac_exeext=$ac_wine_check_headers_saved_exeext
12007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12008 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12009 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12012 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12013 if test ${ac_cv_mingw_lib_jpeg+y}
12015 printf %s "(cached) " >&6
12017 ac_wine_check_headers_saved_cc=$CC
12018 ac_wine_check_headers_saved_exeext=$ac_exeext
12019 ac_wine_check_headers_saved_libs=$LIBS
12022 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12029 char jpeg_start_decompress ();
12033 return jpeg_start_decompress ();
12038 if ac_fn_c_try_link "$LINENO"
12040 ac_cv_mingw_lib_jpeg=yes
12042 ac_cv_mingw_lib_jpeg=no
12044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12045 conftest$ac_exeext conftest.$ac_ext
12046 CC=$ac_wine_check_headers_saved_cc
12047 ac_exeext=$ac_wine_check_headers_saved_exeext
12048 LIBS=$ac_wine_check_headers_saved_libs
12050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12051 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12052 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12056 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12059 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12061 CPPFLAGS=$ac_save_CPPFLAGS
12063 if test "x$JPEG_PE_LIBS" = "x"
12065 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12068 if ${LCMS2_PE_CFLAGS:+false} :
12070 if test ${MINGW_PKG_CONFIG+y}
12072 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12075 if ${LCMS2_PE_LIBS:+false} :
12077 if test ${MINGW_PKG_CONFIG+y}
12079 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12082 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12083 ac_save_CPPFLAGS=$CPPFLAGS
12084 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12086 printf %s "checking for MinGW lcms2.h... " >&6; }
12087 if test ${ac_cv_mingw_header_lcms2_h+y}
12089 printf %s "(cached) " >&6
12091 ac_wine_check_headers_saved_cc=$CC
12092 ac_wine_check_headers_saved_exeext=$ac_exeext
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h. */
12107 if ac_fn_c_try_compile "$LINENO"
12109 ac_cv_mingw_header_lcms2_h=yes
12111 ac_cv_mingw_header_lcms2_h=no
12113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12114 CC=$ac_wine_check_headers_saved_cc
12115 ac_exeext=$ac_wine_check_headers_saved_exeext
12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12118 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12119 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12122 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12123 if test ${ac_cv_mingw_lib_lcms2+y}
12125 printf %s "(cached) " >&6
12127 ac_wine_check_headers_saved_cc=$CC
12128 ac_wine_check_headers_saved_exeext=$ac_exeext
12129 ac_wine_check_headers_saved_libs=$LIBS
12132 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12139 char cmsOpenProfileFromFile ();
12143 return cmsOpenProfileFromFile ();
12148 if ac_fn_c_try_link "$LINENO"
12150 ac_cv_mingw_lib_lcms2=yes
12152 ac_cv_mingw_lib_lcms2=no
12154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12155 conftest$ac_exeext conftest.$ac_ext
12156 CC=$ac_wine_check_headers_saved_cc
12157 ac_exeext=$ac_wine_check_headers_saved_exeext
12158 LIBS=$ac_wine_check_headers_saved_libs
12160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12161 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12162 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12166 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12169 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12171 CPPFLAGS=$ac_save_CPPFLAGS
12173 if test "x$LCMS2_PE_LIBS" = "x"
12175 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12178 if ${MPG123_PE_CFLAGS:+false} :
12180 if test ${MINGW_PKG_CONFIG+y}
12182 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12185 if ${MPG123_PE_LIBS:+false} :
12187 if test ${MINGW_PKG_CONFIG+y}
12189 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12192 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12193 ac_save_CPPFLAGS=$CPPFLAGS
12194 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12196 printf %s "checking for MinGW mpg123.h... " >&6; }
12197 if test ${ac_cv_mingw_header_mpg123_h+y}
12199 printf %s "(cached) " >&6
12201 ac_wine_check_headers_saved_cc=$CC
12202 ac_wine_check_headers_saved_exeext=$ac_exeext
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 #include <mpg123.h>
12217 if ac_fn_c_try_compile "$LINENO"
12219 ac_cv_mingw_header_mpg123_h=yes
12221 ac_cv_mingw_header_mpg123_h=no
12223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12224 CC=$ac_wine_check_headers_saved_cc
12225 ac_exeext=$ac_wine_check_headers_saved_exeext
12227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12228 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12229 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12232 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12233 if test ${ac_cv_mingw_lib_mpg123+y}
12235 printf %s "(cached) " >&6
12237 ac_wine_check_headers_saved_cc=$CC
12238 ac_wine_check_headers_saved_exeext=$ac_exeext
12239 ac_wine_check_headers_saved_libs=$LIBS
12242 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 char mpg123_feed ();
12253 return mpg123_feed ();
12258 if ac_fn_c_try_link "$LINENO"
12260 ac_cv_mingw_lib_mpg123=yes
12262 ac_cv_mingw_lib_mpg123=no
12264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12265 conftest$ac_exeext conftest.$ac_ext
12266 CC=$ac_wine_check_headers_saved_cc
12267 ac_exeext=$ac_wine_check_headers_saved_exeext
12268 LIBS=$ac_wine_check_headers_saved_libs
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12271 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12272 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12276 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12279 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12281 CPPFLAGS=$ac_save_CPPFLAGS
12283 if test "x$MPG123_PE_LIBS" = "x"
12285 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12288 if ${PNG_PE_CFLAGS:+false} :
12290 if test ${MINGW_PKG_CONFIG+y}
12292 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12295 if ${PNG_PE_LIBS:+false} :
12297 if test ${MINGW_PKG_CONFIG+y}
12299 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12303 ac_save_CPPFLAGS=$CPPFLAGS
12304 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12306 printf %s "checking for MinGW png.h... " >&6; }
12307 if test ${ac_cv_mingw_header_png_h+y}
12309 printf %s "(cached) " >&6
12311 ac_wine_check_headers_saved_cc=$CC
12312 ac_wine_check_headers_saved_exeext=$ac_exeext
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12327 if ac_fn_c_try_compile "$LINENO"
12329 ac_cv_mingw_header_png_h=yes
12331 ac_cv_mingw_header_png_h=no
12333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12334 CC=$ac_wine_check_headers_saved_cc
12335 ac_exeext=$ac_wine_check_headers_saved_exeext
12337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12338 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12339 if test "x$ac_cv_mingw_header_png_h" = xyes
12341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12342 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12343 if test ${ac_cv_mingw_lib_png+y}
12345 printf %s "(cached) " >&6
12347 ac_wine_check_headers_saved_cc=$CC
12348 ac_wine_check_headers_saved_exeext=$ac_exeext
12349 ac_wine_check_headers_saved_libs=$LIBS
12352 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12356 /* Override any GCC internal prototype to avoid an error.
12357 Use char because int might match the return type of a GCC
12358 builtin and then its argument prototype would still apply. */
12359 char png_create_read_struct ();
12363 return png_create_read_struct ();
12368 if ac_fn_c_try_link "$LINENO"
12370 ac_cv_mingw_lib_png=yes
12372 ac_cv_mingw_lib_png=no
12374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12375 conftest$ac_exeext conftest.$ac_ext
12376 CC=$ac_wine_check_headers_saved_cc
12377 ac_exeext=$ac_wine_check_headers_saved_exeext
12378 LIBS=$ac_wine_check_headers_saved_libs
12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12381 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12382 if test "x$ac_cv_mingw_lib_png" = xyes
12386 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12389 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12391 CPPFLAGS=$ac_save_CPPFLAGS
12393 if test "x$PNG_PE_LIBS" = "x"
12395 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12398 if ${TIFF_PE_CFLAGS:+false} :
12400 if test ${MINGW_PKG_CONFIG+y}
12402 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12405 if ${TIFF_PE_LIBS:+false} :
12407 if test ${MINGW_PKG_CONFIG+y}
12409 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12413 ac_save_CPPFLAGS=$CPPFLAGS
12414 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12416 printf %s "checking for MinGW tiffio.h... " >&6; }
12417 if test ${ac_cv_mingw_header_tiffio_h+y}
12419 printf %s "(cached) " >&6
12421 ac_wine_check_headers_saved_cc=$CC
12422 ac_wine_check_headers_saved_exeext=$ac_exeext
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 #include <tiffio.h>
12437 if ac_fn_c_try_compile "$LINENO"
12439 ac_cv_mingw_header_tiffio_h=yes
12441 ac_cv_mingw_header_tiffio_h=no
12443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12444 CC=$ac_wine_check_headers_saved_cc
12445 ac_exeext=$ac_wine_check_headers_saved_exeext
12447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12448 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12449 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12452 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12453 if test ${ac_cv_mingw_lib_tiff+y}
12455 printf %s "(cached) " >&6
12457 ac_wine_check_headers_saved_cc=$CC
12458 ac_wine_check_headers_saved_exeext=$ac_exeext
12459 ac_wine_check_headers_saved_libs=$LIBS
12462 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 char TIFFClientOpen ();
12473 return TIFFClientOpen ();
12478 if ac_fn_c_try_link "$LINENO"
12480 ac_cv_mingw_lib_tiff=yes
12482 ac_cv_mingw_lib_tiff=no
12484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12485 conftest$ac_exeext conftest.$ac_ext
12486 CC=$ac_wine_check_headers_saved_cc
12487 ac_exeext=$ac_wine_check_headers_saved_exeext
12488 LIBS=$ac_wine_check_headers_saved_libs
12490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12491 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12492 if test "x$ac_cv_mingw_lib_tiff" = xyes
12496 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12499 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12501 CPPFLAGS=$ac_save_CPPFLAGS
12503 if test "x$TIFF_PE_LIBS" = "x"
12505 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12508 if ${XML2_PE_CFLAGS:+false} :
12510 if test ${MINGW_PKG_CONFIG+y}
12512 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12515 if ${XML2_PE_LIBS:+false} :
12517 if test ${MINGW_PKG_CONFIG+y}
12519 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12522 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12523 ac_save_CPPFLAGS=$CPPFLAGS
12524 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12526 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12527 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12529 printf %s "(cached) " >&6
12531 ac_wine_check_headers_saved_cc=$CC
12532 ac_wine_check_headers_saved_exeext=$ac_exeext
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 #include <libxml/parser.h>
12547 if ac_fn_c_try_compile "$LINENO"
12549 ac_cv_mingw_header_libxml_parser_h=yes
12551 ac_cv_mingw_header_libxml_parser_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_parser_h" >&5
12558 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12559 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12564 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12565 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12567 printf %s "(cached) " >&6
12569 ac_wine_check_headers_saved_cc=$CC
12570 ac_wine_check_headers_saved_exeext=$ac_exeext
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12576 #include <libxml/xmlsave.h>
12585 if ac_fn_c_try_compile "$LINENO"
12587 ac_cv_mingw_header_libxml_xmlsave_h=yes
12589 ac_cv_mingw_header_libxml_xmlsave_h=no
12591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12592 CC=$ac_wine_check_headers_saved_cc
12593 ac_exeext=$ac_wine_check_headers_saved_exeext
12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12596 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12597 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12602 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12603 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12605 printf %s "(cached) " >&6
12607 ac_wine_check_headers_saved_cc=$CC
12608 ac_wine_check_headers_saved_exeext=$ac_exeext
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 #include <libxml/SAX2.h>
12623 if ac_fn_c_try_compile "$LINENO"
12625 ac_cv_mingw_header_libxml_SAX2_h=yes
12627 ac_cv_mingw_header_libxml_SAX2_h=no
12629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12630 CC=$ac_wine_check_headers_saved_cc
12631 ac_exeext=$ac_wine_check_headers_saved_exeext
12633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12634 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12635 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12639 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"
12641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12642 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12643 if test ${ac_cv_mingw_lib_xml2+y}
12645 printf %s "(cached) " >&6
12647 ac_wine_check_headers_saved_cc=$CC
12648 ac_wine_check_headers_saved_exeext=$ac_exeext
12649 ac_wine_check_headers_saved_libs=$LIBS
12652 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12656 /* Override any GCC internal prototype to avoid an error.
12657 Use char because int might match the return type of a GCC
12658 builtin and then its argument prototype would still apply. */
12659 char xmlFirstElementChild ();
12663 return xmlFirstElementChild ();
12668 if ac_fn_c_try_link "$LINENO"
12670 ac_cv_mingw_lib_xml2=yes
12672 ac_cv_mingw_lib_xml2=no
12674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12675 conftest$ac_exeext conftest.$ac_ext
12676 CC=$ac_wine_check_headers_saved_cc
12677 ac_exeext=$ac_wine_check_headers_saved_exeext
12678 LIBS=$ac_wine_check_headers_saved_libs
12680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12681 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12682 if test "x$ac_cv_mingw_lib_xml2" = xyes
12686 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12692 CPPFLAGS=$ac_save_CPPFLAGS
12694 if test "x$XML2_PE_LIBS" = "x"
12696 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12699 if ${XSLT_PE_CFLAGS:+false} :
12701 if test ${MINGW_PKG_CONFIG+y}
12703 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12706 if ${XSLT_PE_LIBS:+false} :
12708 if test ${MINGW_PKG_CONFIG+y}
12710 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12713 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12714 ac_save_CPPFLAGS=$CPPFLAGS
12715 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12717 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12718 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12720 printf %s "(cached) " >&6
12722 ac_wine_check_headers_saved_cc=$CC
12723 ac_wine_check_headers_saved_exeext=$ac_exeext
12726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12727 /* end confdefs.h. */
12729 #include <libxslt/pattern.h>
12738 if ac_fn_c_try_compile "$LINENO"
12740 ac_cv_mingw_header_libxslt_pattern_h=yes
12742 ac_cv_mingw_header_libxslt_pattern_h=no
12744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12745 CC=$ac_wine_check_headers_saved_cc
12746 ac_exeext=$ac_wine_check_headers_saved_exeext
12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12749 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12750 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12755 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12756 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12758 printf %s "(cached) " >&6
12760 ac_wine_check_headers_saved_cc=$CC
12761 ac_wine_check_headers_saved_exeext=$ac_exeext
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 #include <libxslt/transform.h>
12776 if ac_fn_c_try_compile "$LINENO"
12778 ac_cv_mingw_header_libxslt_transform_h=yes
12780 ac_cv_mingw_header_libxslt_transform_h=no
12782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12783 CC=$ac_wine_check_headers_saved_cc
12784 ac_exeext=$ac_wine_check_headers_saved_exeext
12786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12787 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12788 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12792 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12795 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12796 if test ${ac_cv_mingw_lib_xslt+y}
12798 printf %s "(cached) " >&6
12800 ac_wine_check_headers_saved_cc=$CC
12801 ac_wine_check_headers_saved_exeext=$ac_exeext
12802 ac_wine_check_headers_saved_libs=$LIBS
12805 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h. */
12809 /* Override any GCC internal prototype to avoid an error.
12810 Use char because int might match the return type of a GCC
12811 builtin and then its argument prototype would still apply. */
12812 char xsltCompilePattern ();
12816 return xsltCompilePattern ();
12821 if ac_fn_c_try_link "$LINENO"
12823 ac_cv_mingw_lib_xslt=yes
12825 ac_cv_mingw_lib_xslt=no
12827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12828 conftest$ac_exeext conftest.$ac_ext
12829 CC=$ac_wine_check_headers_saved_cc
12830 ac_exeext=$ac_wine_check_headers_saved_exeext
12831 LIBS=$ac_wine_check_headers_saved_libs
12833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12834 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12835 if test "x$ac_cv_mingw_lib_xslt" = xyes
12839 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12845 CPPFLAGS=$ac_save_CPPFLAGS
12847 if test "x$XSLT_PE_LIBS" = "x"
12849 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12852 if ${VKD3D_PE_CFLAGS:+false} :
12854 if test ${MINGW_PKG_CONFIG+y}
12856 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12859 if ${VKD3D_PE_LIBS:+false} :
12861 if test ${MINGW_PKG_CONFIG+y}
12863 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12866 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12867 ac_save_CPPFLAGS=$CPPFLAGS
12868 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12870 printf %s "checking for MinGW vkd3d.h... " >&6; }
12871 if test ${ac_cv_mingw_header_vkd3d_h+y}
12873 printf %s "(cached) " >&6
12875 ac_wine_check_headers_saved_cc=$CC
12876 ac_wine_check_headers_saved_exeext=$ac_exeext
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12891 if ac_fn_c_try_compile "$LINENO"
12893 ac_cv_mingw_header_vkd3d_h=yes
12895 ac_cv_mingw_header_vkd3d_h=no
12897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12898 CC=$ac_wine_check_headers_saved_cc
12899 ac_exeext=$ac_wine_check_headers_saved_exeext
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12902 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12903 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12908 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12909 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12911 printf %s "(cached) " >&6
12913 ac_wine_check_headers_saved_cc=$CC
12914 ac_wine_check_headers_saved_exeext=$ac_exeext
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 #include <vkd3d_shader.h>
12929 if ac_fn_c_try_compile "$LINENO"
12931 ac_cv_mingw_header_vkd3d_shader_h=yes
12933 ac_cv_mingw_header_vkd3d_shader_h=no
12935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12936 CC=$ac_wine_check_headers_saved_cc
12937 ac_exeext=$ac_wine_check_headers_saved_exeext
12939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12940 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12941 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12945 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
12948 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
12949 if test ${ac_cv_mingw_lib_vkd3d+y}
12951 printf %s "(cached) " >&6
12953 ac_wine_check_headers_saved_cc=$CC
12954 ac_wine_check_headers_saved_exeext=$ac_exeext
12955 ac_wine_check_headers_saved_libs=$LIBS
12958 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12965 char vkd3d_serialize_versioned_root_signature ();
12969 return vkd3d_serialize_versioned_root_signature ();
12974 if ac_fn_c_try_link "$LINENO"
12976 ac_cv_mingw_lib_vkd3d=yes
12978 ac_cv_mingw_lib_vkd3d=no
12980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12981 conftest$ac_exeext conftest.$ac_ext
12982 CC=$ac_wine_check_headers_saved_cc
12983 ac_exeext=$ac_wine_check_headers_saved_exeext
12984 LIBS=$ac_wine_check_headers_saved_libs
12986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12987 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12988 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12995 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12996 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12998 printf %s "(cached) " >&6
13000 ac_wine_check_headers_saved_cc=$CC
13001 ac_wine_check_headers_saved_exeext=$ac_exeext
13002 ac_wine_check_headers_saved_libs=$LIBS
13005 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13012 char vkd3d_shader_compile ();
13016 return vkd3d_shader_compile ();
13021 if ac_fn_c_try_link "$LINENO"
13023 ac_cv_mingw_lib_vkd3d_shader=yes
13025 ac_cv_mingw_lib_vkd3d_shader=no
13027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13028 conftest$ac_exeext conftest.$ac_ext
13029 CC=$ac_wine_check_headers_saved_cc
13030 ac_exeext=$ac_wine_check_headers_saved_exeext
13031 LIBS=$ac_wine_check_headers_saved_libs
13033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13034 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13035 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13041 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13050 CPPFLAGS=$ac_save_CPPFLAGS
13052 if test "x$VKD3D_PE_LIBS" = "x"
13054 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13057 if ${ZLIB_PE_CFLAGS:+false} :
13059 if test ${MINGW_PKG_CONFIG+y}
13061 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13064 if ${ZLIB_PE_LIBS:+false} :
13066 if test ${MINGW_PKG_CONFIG+y}
13068 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13071 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13072 ac_save_CPPFLAGS=$CPPFLAGS
13073 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13075 printf %s "checking for MinGW zlib.h... " >&6; }
13076 if test ${ac_cv_mingw_header_zlib_h+y}
13078 printf %s "(cached) " >&6
13080 ac_wine_check_headers_saved_cc=$CC
13081 ac_wine_check_headers_saved_exeext=$ac_exeext
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13096 if ac_fn_c_try_compile "$LINENO"
13098 ac_cv_mingw_header_zlib_h=yes
13100 ac_cv_mingw_header_zlib_h=no
13102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13103 CC=$ac_wine_check_headers_saved_cc
13104 ac_exeext=$ac_wine_check_headers_saved_exeext
13106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13107 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13108 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13111 printf %s "checking for inflate in MinGW -lz... " >&6; }
13112 if test ${ac_cv_mingw_lib_z+y}
13114 printf %s "(cached) " >&6
13116 ac_wine_check_headers_saved_cc=$CC
13117 ac_wine_check_headers_saved_exeext=$ac_exeext
13118 ac_wine_check_headers_saved_libs=$LIBS
13121 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13137 if ac_fn_c_try_link "$LINENO"
13139 ac_cv_mingw_lib_z=yes
13141 ac_cv_mingw_lib_z=no
13143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13144 conftest$ac_exeext conftest.$ac_ext
13145 CC=$ac_wine_check_headers_saved_cc
13146 ac_exeext=$ac_wine_check_headers_saved_exeext
13147 LIBS=$ac_wine_check_headers_saved_libs
13149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13150 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13151 if test "x$ac_cv_mingw_lib_z" = xyes
13155 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13158 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13160 CPPFLAGS=$ac_save_CPPFLAGS
13162 if test "x$ZLIB_PE_LIBS" = "x"
13164 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13168 if ${FAUDIO_PE_LIBS:+false} :
13170 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13171 if ${FAUDIO_PE_CFLAGS:+false} :
13173 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13183 if ${GSM_PE_LIBS:+false} :
13186 if ${GSM_PE_CFLAGS:+false} :
13188 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13198 if ${JPEG_PE_LIBS:+false} :
13201 if ${JPEG_PE_CFLAGS:+false} :
13203 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13213 if ${JXR_PE_LIBS:+false} :
13216 if ${JXR_PE_CFLAGS:+false} :
13218 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13228 if ${LCMS2_PE_LIBS:+false} :
13230 LCMS2_PE_LIBS=lcms2
13231 if ${LCMS2_PE_CFLAGS:+false} :
13233 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13243 if ${MPG123_PE_LIBS:+false} :
13245 MPG123_PE_LIBS=mpg123
13246 if ${MPG123_PE_CFLAGS:+false} :
13248 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13258 if ${PNG_PE_LIBS:+false} :
13260 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13261 if ${PNG_PE_CFLAGS:+false} :
13263 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13273 if ${TIFF_PE_LIBS:+false} :
13275 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13276 if ${TIFF_PE_CFLAGS:+false} :
13278 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13288 if ${VKD3D_PE_LIBS:+false} :
13290 VKD3D_PE_LIBS=vkd3d
13291 if ${VKD3D_PE_CFLAGS:+false} :
13293 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13303 if ${XML2_PE_LIBS:+false} :
13306 if ${XML2_PE_CFLAGS:+false} :
13308 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13318 if ${XSLT_PE_LIBS:+false} :
13321 if ${XSLT_PE_CFLAGS:+false} :
13323 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13333 if ${ZLIB_PE_LIBS:+false} :
13336 if ${ZLIB_PE_CFLAGS:+false} :
13338 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13350 if test "$ac_cv_header_pthread_h" = "yes"
13352 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13353 if test "x$ac_cv_func_pthread_create" = xyes
13357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13358 printf %s "checking for pthread_create in -lpthread... " >&6; }
13359 if test ${ac_cv_lib_pthread_pthread_create+y}
13361 printf %s "(cached) " >&6
13363 ac_check_lib_save_LIBS=$LIBS
13364 LIBS="-lpthread $LIBS"
13365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13368 /* Override any GCC internal prototype to avoid an error.
13369 Use char because int might match the return type of a GCC
13370 builtin and then its argument prototype would still apply. */
13371 char pthread_create ();
13375 return pthread_create ();
13380 if ac_fn_c_try_link "$LINENO"
13382 ac_cv_lib_pthread_pthread_create=yes
13384 ac_cv_lib_pthread_pthread_create=no
13386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_lib_save_LIBS
13390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13391 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13392 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13394 PTHREAD_LIBS="-lpthread"
13401 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13403 case "x$with_pthread" in
13405 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13406 Wine cannot support threads without libpthread.
13407 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13414 ac_cpp='$CPP $CPPFLAGS'
13415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13419 printf %s "checking how to run the C preprocessor... " >&6; }
13420 # On Suns, sometimes $CPP names a directory.
13421 if test -n "$CPP" && test -d "$CPP"; then
13424 if test -z "$CPP"; then
13425 if test ${ac_cv_prog_CPP+y}
13427 printf %s "(cached) " >&6
13429 # Double quotes because $CC needs to be expanded
13430 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13432 ac_preproc_ok=false
13433 for ac_c_preproc_warn_flag in '' yes
13435 # Use a header file that comes with gcc, so configuring glibc
13436 # with a fresh cross-compiler works.
13437 # On the NeXT, cc -E runs the code through the compiler's parser,
13438 # not just through cpp. "Syntax error" is here to catch this case.
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13441 #include <limits.h>
13444 if ac_fn_c_try_cpp "$LINENO"
13448 # Broken: fails on valid input.
13451 rm -f conftest.err conftest.i conftest.$ac_ext
13453 # OK, works on sane cases. Now check whether nonexistent headers
13454 # can be detected and how.
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13457 #include <ac_nonexistent.h>
13459 if ac_fn_c_try_cpp "$LINENO"
13461 # Broken: success on invalid input.
13464 # Passes both tests.
13468 rm -f conftest.err conftest.i conftest.$ac_ext
13471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13472 rm -f conftest.i conftest.err conftest.
$ac_ext
13479 ac_cv_prog_CPP
=$CPP
13482 CPP
=$ac_cv_prog_CPP
13484 ac_cv_prog_CPP
=$CPP
13486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13487 printf "%s\n" "$CPP" >&6; }
13488 ac_preproc_ok
=false
13489 for ac_c_preproc_warn_flag
in '' yes
13491 # Use a header file that comes with gcc, so configuring glibc
13492 # with a fresh cross-compiler works.
13493 # On the NeXT, cc -E runs the code through the compiler's parser,
13494 # not just through cpp. "Syntax error" is here to catch this case.
13495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13497 #include <limits.h>
13500 if ac_fn_c_try_cpp
"$LINENO"
13504 # Broken: fails on valid input.
13507 rm -f conftest.err conftest.i conftest.
$ac_ext
13509 # OK, works on sane cases. Now check whether nonexistent headers
13510 # can be detected and how.
13511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13513 #include <ac_nonexistent.h>
13515 if ac_fn_c_try_cpp
"$LINENO"
13517 # Broken: success on invalid input.
13520 # Passes both tests.
13524 rm -f conftest.err conftest.i conftest.
$ac_ext
13527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13528 rm -f conftest.i conftest.err conftest.
$ac_ext
13533 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13534 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13535 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13536 See \`config.log' for more details" "$LINENO" 5; }
13540 ac_cpp
='$CPP $CPPFLAGS'
13541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13547 printf %s
"checking for X... " >&6; }
13550 # Check whether --with-x was given.
13551 if test ${with_x+y}
13556 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13557 if test "x$with_x" = xno
; then
13558 # The user explicitly disabled X.
13561 case $x_includes,$x_libraries in #(
13562 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13563 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13565 printf %s
"(cached) " >&6
13567 # One or both of the vars are not set, and there is no cached value.
13570 # Do we need to do anything special at all?
13573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 #include <X11/Xlib.h>
13584 if ac_fn_c_try_link
"$LINENO"
13586 # We can compile and link X programs with no special options.
13590 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13591 conftest
$ac_exeext conftest.
$ac_ext
13592 LIBS
="$ac_save_LIBS"
13593 # If that didn't work, only try xmkmf and file system searches
13594 # for native compilation.
13595 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13597 rm -f -r conftest.dir
13598 if mkdir conftest.dir
; then
13600 cat >Imakefile
<<'_ACEOF'
13602 @echo incroot='${INCROOT}'
13604 @echo usrlibdir='${USRLIBDIR}'
13606 @echo libdir='${LIBDIR}'
13608 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13610 for ac_var
in incroot usrlibdir libdir
; do
13611 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13613 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13614 for ac_extension
in a so sl dylib la dll
; do
13615 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13616 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13617 ac_im_usrlibdir
=$ac_im_libdir; break
13620 # Screen out bogus values from the imake configuration. They are
13621 # bogus both because they are the default anyway, and because
13622 # using them would break gcc on systems where it needs fixed includes.
13623 case $ac_im_incroot in
13624 /usr
/include
) ac_x_includes
= ;;
13625 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13627 case $ac_im_usrlibdir in
13628 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13629 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13633 rm -f -r conftest.dir
13636 # Standard set of common directories for X headers.
13637 # Check X11 before X11Rn because it is often a symlink to the current release.
13651 /usr/local/X11/include
13652 /usr/local/X11R7/include
13653 /usr/local/X11R6/include
13654 /usr/local/X11R5/include
13655 /usr/local/X11R4/include
13657 /usr/local/include/X11
13658 /usr/local/include/X11R7
13659 /usr/local/include/X11R6
13660 /usr/local/include/X11R5
13661 /usr/local/include/X11R4
13667 /usr/XFree86/include/X11
13671 /usr/unsupported/include
13672 /usr/athena/include
13673 /usr/local/x11r5/include
13674 /usr/lpp/Xamples/include
13676 /usr/openwin/include
13677 /usr/openwin/share/include'
13679 if test "$ac_x_includes" = no
; then
13680 # Guess where to find include files, by looking for Xlib.h.
13681 # First, try using that file with no special directory specified.
13682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13684 #include <X11/Xlib.h>
13686 if ac_fn_c_try_cpp
"$LINENO"
13688 # We can compile using X headers with no special include directory.
13691 for ac_dir
in $ac_x_header_dirs; do
13692 if test -r "$ac_dir/X11/Xlib.h"; then
13693 ac_x_includes
=$ac_dir
13698 rm -f conftest.err conftest.i conftest.
$ac_ext
13699 fi # $ac_x_includes = no
13701 if test "$ac_x_libraries" = no
; then
13702 # Check for the libraries.
13703 # See if we find them without any special options.
13704 # Don't add to $LIBS permanently.
13707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13709 #include <X11/Xlib.h>
13718 if ac_fn_c_try_link
"$LINENO"
13721 # We can link X programs with no special library path.
13725 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13727 # Don't even attempt the hair of trying to link an X program!
13728 for ac_extension
in a so sl dylib la dll
; do
13729 if test -r "$ac_dir/libX11.$ac_extension"; then
13730 ac_x_libraries
=$ac_dir
13736 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13737 conftest
$ac_exeext conftest.
$ac_ext
13738 fi # $ac_x_libraries = no
13741 # Record the results.
13742 case $ac_x_includes,$ac_x_libraries in #(
13743 no
,* |
*,no |
*\'*) :
13744 # Didn't find X, or a directory has "'" in its name.
13745 ac_cv_have_x
="have_x=no" ;; #(
13747 # Record where we found X for the cache.
13748 ac_cv_have_x
="have_x=yes\
13749 ac_x_includes='$ac_x_includes'\
13750 ac_x_libraries='$ac_x_libraries'" ;;
13756 eval "$ac_cv_have_x"
13759 if test "$have_x" != yes; then
13760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13761 printf "%s\n" "$have_x" >&6; }
13764 # If each of the values was on the command line, it overrides each guess.
13765 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13766 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13767 # Update the cache value to reflect the command line values.
13768 ac_cv_have_x
="have_x=yes\
13769 ac_x_includes='$x_includes'\
13770 ac_x_libraries='$x_libraries'"
13771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13772 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13775 if test "$no_x" = yes; then
13776 # Not all programs may use this symbol, but it does not hurt to define it.
13778 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13780 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13782 if test -n "$x_includes"; then
13783 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13786 # It would also be nice to do this for all -L options, not just this one.
13787 if test -n "$x_libraries"; then
13788 X_LIBS
="$X_LIBS -L$x_libraries"
13789 # For Solaris; some versions of Sun CC require a space after -R and
13790 # others require no space. Words are not sufficient . . . .
13791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13792 printf %s
"checking whether -R must be followed by a space... " >&6; }
13793 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13794 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13795 ac_c_werror_flag
=yes
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13807 if ac_fn_c_try_link
"$LINENO"
13809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13810 printf "%s\n" "no" >&6; }
13811 X_LIBS
="$X_LIBS -R$x_libraries"
13813 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13825 if ac_fn_c_try_link
"$LINENO"
13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13828 printf "%s\n" "yes" >&6; }
13829 X_LIBS
="$X_LIBS -R $x_libraries"
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13832 printf "%s\n" "neither works" >&6; }
13834 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13835 conftest
$ac_exeext conftest.
$ac_ext
13837 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13838 conftest
$ac_exeext conftest.
$ac_ext
13839 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13840 LIBS
=$ac_xsave_LIBS
13843 # Check for system-dependent libraries X programs must link with.
13844 # Do this before checking for the system-independent R6 libraries
13845 # (-lICE), since we may need -lsocket or whatever for X linking.
13847 if test "$ISC" = yes; then
13848 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13850 # Martyn Johnson says this is needed for Ultrix, if the X
13851 # libraries were built with DECnet support. And Karl Berry says
13852 # the Alpha needs dnet_stub (dnet does not exist).
13853 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13860 char XOpenDisplay ();
13864 return XOpenDisplay ();
13869 if ac_fn_c_try_link
"$LINENO"
13873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13874 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13875 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13877 printf %s
"(cached) " >&6
13879 ac_check_lib_save_LIBS
=$LIBS
13880 LIBS
="-ldnet $LIBS"
13881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13884 /* Override any GCC internal prototype to avoid an error.
13885 Use char because int might match the return type of a GCC
13886 builtin and then its argument prototype would still apply. */
13891 return dnet_ntoa ();
13896 if ac_fn_c_try_link
"$LINENO"
13898 ac_cv_lib_dnet_dnet_ntoa
=yes
13900 ac_cv_lib_dnet_dnet_ntoa
=no
13902 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13903 conftest
$ac_exeext conftest.
$ac_ext
13904 LIBS
=$ac_check_lib_save_LIBS
13906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13907 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13908 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13913 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13915 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13916 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13918 printf %s
"(cached) " >&6
13920 ac_check_lib_save_LIBS
=$LIBS
13921 LIBS
="-ldnet_stub $LIBS"
13922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13925 /* Override any GCC internal prototype to avoid an error.
13926 Use char because int might match the return type of a GCC
13927 builtin and then its argument prototype would still apply. */
13932 return dnet_ntoa ();
13937 if ac_fn_c_try_link
"$LINENO"
13939 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13941 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13943 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13944 conftest
$ac_exeext conftest.
$ac_ext
13945 LIBS
=$ac_check_lib_save_LIBS
13947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13948 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13949 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13951 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13956 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13957 conftest
$ac_exeext conftest.
$ac_ext
13958 LIBS
="$ac_xsave_LIBS"
13960 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13961 # to get the SysV transport functions.
13962 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13964 # The nsl library prevents programs from opening the X display
13965 # on Irix 5.2, according to T.E. Dickey.
13966 # The functions gethostbyname, getservbyname, and inet_addr are
13967 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13968 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13969 if test "x$ac_cv_func_gethostbyname" = xyes
13974 if test $ac_cv_func_gethostbyname = no
; then
13975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13976 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13977 if test ${ac_cv_lib_nsl_gethostbyname+y}
13979 printf %s
"(cached) " >&6
13981 ac_check_lib_save_LIBS
=$LIBS
13983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13986 /* Override any GCC internal prototype to avoid an error.
13987 Use char because int might match the return type of a GCC
13988 builtin and then its argument prototype would still apply. */
13989 char gethostbyname ();
13993 return gethostbyname ();
13998 if ac_fn_c_try_link
"$LINENO"
14000 ac_cv_lib_nsl_gethostbyname
=yes
14002 ac_cv_lib_nsl_gethostbyname
=no
14004 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14005 conftest
$ac_exeext conftest.
$ac_ext
14006 LIBS
=$ac_check_lib_save_LIBS
14008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14009 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14010 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14012 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14015 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14017 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14018 if test ${ac_cv_lib_bsd_gethostbyname+y}
14020 printf %s
"(cached) " >&6
14022 ac_check_lib_save_LIBS
=$LIBS
14024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14027 /* Override any GCC internal prototype to avoid an error.
14028 Use char because int might match the return type of a GCC
14029 builtin and then its argument prototype would still apply. */
14030 char gethostbyname ();
14034 return gethostbyname ();
14039 if ac_fn_c_try_link
"$LINENO"
14041 ac_cv_lib_bsd_gethostbyname
=yes
14043 ac_cv_lib_bsd_gethostbyname
=no
14045 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14046 conftest
$ac_exeext conftest.
$ac_ext
14047 LIBS
=$ac_check_lib_save_LIBS
14049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14050 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14051 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14053 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14059 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14060 # socket/setsockopt and other routines are undefined under SCO ODT
14061 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14062 # on later versions), says Simon Leinen: it contains gethostby*
14063 # variants that don't use the name server (or something). -lsocket
14064 # must be given before -lnsl if both are needed. We assume that
14065 # if connect needs -lnsl, so does gethostbyname.
14066 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14067 if test "x$ac_cv_func_connect" = xyes
14072 if test $ac_cv_func_connect = no
; then
14073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14074 printf %s
"checking for connect in -lsocket... " >&6; }
14075 if test ${ac_cv_lib_socket_connect+y}
14077 printf %s
"(cached) " >&6
14079 ac_check_lib_save_LIBS
=$LIBS
14080 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14096 if ac_fn_c_try_link
"$LINENO"
14098 ac_cv_lib_socket_connect
=yes
14100 ac_cv_lib_socket_connect
=no
14102 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14103 conftest
$ac_exeext conftest.
$ac_ext
14104 LIBS
=$ac_check_lib_save_LIBS
14106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14107 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14108 if test "x$ac_cv_lib_socket_connect" = xyes
14110 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14115 # Guillermo Gomez says -lposix is necessary on A/UX.
14116 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14117 if test "x$ac_cv_func_remove" = xyes
14122 if test $ac_cv_func_remove = no
; then
14123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14124 printf %s
"checking for remove in -lposix... " >&6; }
14125 if test ${ac_cv_lib_posix_remove+y}
14127 printf %s
"(cached) " >&6
14129 ac_check_lib_save_LIBS
=$LIBS
14130 LIBS
="-lposix $LIBS"
14131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14134 /* Override any GCC internal prototype to avoid an error.
14135 Use char because int might match the return type of a GCC
14136 builtin and then its argument prototype would still apply. */
14146 if ac_fn_c_try_link
"$LINENO"
14148 ac_cv_lib_posix_remove
=yes
14150 ac_cv_lib_posix_remove
=no
14152 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14153 conftest
$ac_exeext conftest.
$ac_ext
14154 LIBS
=$ac_check_lib_save_LIBS
14156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14157 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14158 if test "x$ac_cv_lib_posix_remove" = xyes
14160 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14165 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14166 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14167 if test "x$ac_cv_func_shmat" = xyes
14172 if test $ac_cv_func_shmat = no
; then
14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14174 printf %s
"checking for shmat in -lipc... " >&6; }
14175 if test ${ac_cv_lib_ipc_shmat+y}
14177 printf %s
"(cached) " >&6
14179 ac_check_lib_save_LIBS
=$LIBS
14181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14196 if ac_fn_c_try_link
"$LINENO"
14198 ac_cv_lib_ipc_shmat
=yes
14200 ac_cv_lib_ipc_shmat
=no
14202 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14203 conftest
$ac_exeext conftest.
$ac_ext
14204 LIBS
=$ac_check_lib_save_LIBS
14206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14207 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14208 if test "x$ac_cv_lib_ipc_shmat" = xyes
14210 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14216 # Check for libraries that X11R6 Xt/Xaw programs need.
14217 ac_save_LDFLAGS
=$LDFLAGS
14218 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14219 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14220 # check for ICE first), but we must link in the order -lSM -lICE or
14221 # we get undefined symbols. So assume we have SM if we have ICE.
14222 # These have to be linked with before -lX11, unlike the other
14223 # libraries we check for below, so use a different variable.
14224 # John Interrante, Karl Berry
14225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14226 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14227 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14229 printf %s
"(cached) " >&6
14231 ac_check_lib_save_LIBS
=$LIBS
14232 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14236 /* Override any GCC internal prototype to avoid an error.
14237 Use char because int might match the return type of a GCC
14238 builtin and then its argument prototype would still apply. */
14239 char IceConnectionNumber ();
14243 return IceConnectionNumber ();
14248 if ac_fn_c_try_link
"$LINENO"
14250 ac_cv_lib_ICE_IceConnectionNumber
=yes
14252 ac_cv_lib_ICE_IceConnectionNumber
=no
14254 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14255 conftest
$ac_exeext conftest.
$ac_ext
14256 LIBS
=$ac_check_lib_save_LIBS
14258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14259 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14260 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14262 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14265 LDFLAGS
=$ac_save_LDFLAGS
14270 if test "$have_x" = "yes"
14272 ac_save_CPPFLAGS
="$CPPFLAGS"
14273 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14276 printf %s
"checking for -lX11... " >&6; }
14277 if test ${ac_cv_lib_soname_X11+y}
14279 printf %s
"(cached) " >&6
14281 ac_check_soname_save_LIBS
=$LIBS
14282 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14289 char XCreateWindow ();
14293 return XCreateWindow ();
14298 if ac_fn_c_try_link
"$LINENO"
14301 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14302 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'` ;;
14303 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14304 if ${ac_cv_lib_soname_X11:+false} :
14306 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14310 ac_cv_lib_soname_X11
=
14312 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14313 conftest
$ac_exeext conftest.
$ac_ext
14314 LIBS
=$ac_check_soname_save_LIBS
14316 if ${ac_cv_lib_soname_X11:+false} :
14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14319 printf "%s\n" "not found" >&6; }
14322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14323 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14325 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14330 printf %s
"checking for -lXext... " >&6; }
14331 if test ${ac_cv_lib_soname_Xext+y}
14333 printf %s
"(cached) " >&6
14335 ac_check_soname_save_LIBS
=$LIBS
14336 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14340 /* Override any GCC internal prototype to avoid an error.
14341 Use char because int might match the return type of a GCC
14342 builtin and then its argument prototype would still apply. */
14343 char XextCreateExtension ();
14347 return XextCreateExtension ();
14352 if ac_fn_c_try_link
"$LINENO"
14355 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14356 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'` ;;
14357 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14358 if ${ac_cv_lib_soname_Xext:+false} :
14360 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14364 ac_cv_lib_soname_Xext
=
14366 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14367 conftest
$ac_exeext conftest.
$ac_ext
14368 LIBS
=$ac_check_soname_save_LIBS
14370 if ${ac_cv_lib_soname_Xext:+false} :
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14373 printf "%s\n" "not found" >&6; }
14376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14377 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14379 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14381 X_LIBS
="$X_LIBS -lXext"
14383 X_LIBS
="$X_LIBS -lX11"
14385 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14386 # include <X11/Xlib.h>
14388 #ifdef HAVE_X11_XUTIL_H
14389 # include <X11/Xutil.h>
14392 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14394 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14397 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14398 # include <X11/Xlib.h>
14400 #ifdef HAVE_X11_XUTIL_H
14401 # include <X11/Xutil.h>
14404 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14406 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14409 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14410 # include <X11/Xlib.h>
14412 #ifdef HAVE_X11_XUTIL_H
14413 # include <X11/Xutil.h>
14416 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14418 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14421 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14422 # include <X11/Xlib.h>
14424 #ifdef HAVE_X11_XUTIL_H
14425 # include <X11/Xutil.h>
14428 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14430 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14433 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14434 # include <X11/Xlib.h>
14436 #ifdef HAVE_X11_XUTIL_H
14437 # include <X11/Xutil.h>
14440 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14442 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14445 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14446 # include <X11/Xlib.h>
14448 #ifdef HAVE_X11_XUTIL_H
14449 # include <X11/Xutil.h>
14452 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14454 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14457 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14458 # include <X11/Xlib.h>
14460 #ifdef HAVE_X11_XUTIL_H
14461 # include <X11/Xutil.h>
14464 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14466 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14469 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14470 # include <X11/Xlib.h>
14472 #ifdef HAVE_X11_XUTIL_H
14473 # include <X11/Xutil.h>
14476 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14478 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14481 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14482 # include <X11/Xlib.h>
14484 #ifdef HAVE_X11_XUTIL_H
14485 # include <X11/Xutil.h>
14488 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14490 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14493 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14494 # include <X11/Xlib.h>
14496 #ifdef HAVE_X11_XUTIL_H
14497 # include <X11/Xutil.h>
14500 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14502 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14505 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14506 # include <X11/Xlib.h>
14508 #ifdef HAVE_X11_XUTIL_H
14509 # include <X11/Xutil.h>
14512 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14514 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14517 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14518 # include <X11/Xlib.h>
14520 #ifdef HAVE_X11_XUTIL_H
14521 # include <X11/Xutil.h>
14524 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14526 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14529 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14530 # include <X11/Xlib.h>
14532 #ifdef HAVE_X11_XUTIL_H
14533 # include <X11/Xutil.h>
14536 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14538 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14541 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14542 # include <X11/Xlib.h>
14544 #ifdef HAVE_X11_XUTIL_H
14545 # include <X11/Xutil.h>
14548 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14550 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14553 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14554 # include <X11/Xlib.h>
14556 #ifdef HAVE_X11_XUTIL_H
14557 # include <X11/Xutil.h>
14560 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14562 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14567 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14570 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14571 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14573 printf %s
"(cached) " >&6
14575 ac_check_lib_save_LIBS
=$LIBS
14576 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14580 /* Override any GCC internal prototype to avoid an error.
14581 Use char because int might match the return type of a GCC
14582 builtin and then its argument prototype would still apply. */
14583 char XkbQueryExtension ();
14587 return XkbQueryExtension ();
14592 if ac_fn_c_try_link
"$LINENO"
14594 ac_cv_lib_X11_XkbQueryExtension
=yes
14596 ac_cv_lib_X11_XkbQueryExtension
=no
14598 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14599 conftest
$ac_exeext conftest.
$ac_ext
14600 LIBS
=$ac_check_lib_save_LIBS
14602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14603 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14604 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14607 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14613 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14616 printf %s
"checking for -lXcursor... " >&6; }
14617 if test ${ac_cv_lib_soname_Xcursor+y}
14619 printf %s
"(cached) " >&6
14621 ac_check_soname_save_LIBS
=$LIBS
14622 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14626 /* Override any GCC internal prototype to avoid an error.
14627 Use char because int might match the return type of a GCC
14628 builtin and then its argument prototype would still apply. */
14629 char XcursorImageLoadCursor ();
14633 return XcursorImageLoadCursor ();
14638 if ac_fn_c_try_link
"$LINENO"
14641 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14642 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'` ;;
14643 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14644 if ${ac_cv_lib_soname_Xcursor:+false} :
14646 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14650 ac_cv_lib_soname_Xcursor
=
14652 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14653 conftest
$ac_exeext conftest.
$ac_ext
14654 LIBS
=$ac_check_soname_save_LIBS
14656 if ${ac_cv_lib_soname_Xcursor:+false} :
14658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14659 printf "%s\n" "not found" >&6; }
14662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14663 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14665 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14670 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14672 case "x$with_xcursor" in
14673 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14675 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14676 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14681 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14684 printf %s
"checking for -lXi... " >&6; }
14685 if test ${ac_cv_lib_soname_Xi+y}
14687 printf %s
"(cached) " >&6
14689 ac_check_soname_save_LIBS
=$LIBS
14690 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14692 /* end confdefs.h. */
14694 /* Override any GCC internal prototype to avoid an error.
14695 Use char because int might match the return type of a GCC
14696 builtin and then its argument prototype would still apply. */
14697 char XOpenDevice ();
14701 return XOpenDevice ();
14706 if ac_fn_c_try_link
"$LINENO"
14709 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14710 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'` ;;
14711 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14712 if ${ac_cv_lib_soname_Xi:+false} :
14714 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14718 ac_cv_lib_soname_Xi
=
14720 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14721 conftest
$ac_exeext conftest.
$ac_ext
14722 LIBS
=$ac_check_soname_save_LIBS
14724 if ${ac_cv_lib_soname_Xi:+false} :
14726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14727 printf "%s\n" "not found" >&6; }
14730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14731 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14733 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14738 if test "x$ac_cv_lib_soname_Xi" = "x"
14740 case "x$with_xinput" in
14741 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14743 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14744 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14749 if test "x$ac_cv_lib_soname_Xi" != x
14751 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14753 case "x$with_xinput2" in
14754 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14756 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14757 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14763 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14766 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14767 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14769 printf %s
"(cached) " >&6
14771 ac_check_lib_save_LIBS
=$LIBS
14772 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14776 /* Override any GCC internal prototype to avoid an error.
14777 Use char because int might match the return type of a GCC
14778 builtin and then its argument prototype would still apply. */
14779 char XShmQueryExtension ();
14783 return XShmQueryExtension ();
14788 if ac_fn_c_try_link
"$LINENO"
14790 ac_cv_lib_Xext_XShmQueryExtension
=yes
14792 ac_cv_lib_Xext_XShmQueryExtension
=no
14794 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14795 conftest
$ac_exeext conftest.
$ac_ext
14796 LIBS
=$ac_check_lib_save_LIBS
14798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14799 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14800 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14803 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14808 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14810 case "x$with_xshm" in
14811 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14813 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14814 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14819 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14822 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14823 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14825 printf %s
"(cached) " >&6
14827 ac_check_lib_save_LIBS
=$LIBS
14828 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14830 /* end confdefs.h. */
14832 /* Override any GCC internal prototype to avoid an error.
14833 Use char because int might match the return type of a GCC
14834 builtin and then its argument prototype would still apply. */
14835 char XShapeQueryExtension ();
14839 return XShapeQueryExtension ();
14844 if ac_fn_c_try_link
"$LINENO"
14846 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14848 ac_cv_lib_Xext_XShapeQueryExtension
=no
14850 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14851 conftest
$ac_exeext conftest.
$ac_ext
14852 LIBS
=$ac_check_lib_save_LIBS
14854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14855 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14856 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14859 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14864 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14866 case "x$with_xshape" in
14867 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14869 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14870 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14875 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14878 printf %s
"checking for -lXxf86vm... " >&6; }
14879 if test ${ac_cv_lib_soname_Xxf86vm+y}
14881 printf %s
"(cached) " >&6
14883 ac_check_soname_save_LIBS
=$LIBS
14884 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14891 char XF86VidModeQueryExtension ();
14895 return XF86VidModeQueryExtension ();
14900 if ac_fn_c_try_link
"$LINENO"
14903 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14904 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'` ;;
14905 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14906 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14908 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14912 ac_cv_lib_soname_Xxf86vm
=
14914 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14915 conftest
$ac_exeext conftest.
$ac_ext
14916 LIBS
=$ac_check_soname_save_LIBS
14918 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14921 printf "%s\n" "not found" >&6; }
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14925 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14927 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14932 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14934 case "x$with_xxf86vm" in
14935 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14937 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14938 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14943 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14946 printf %s
"checking for -lXrender... " >&6; }
14947 if test ${ac_cv_lib_soname_Xrender+y}
14949 printf %s
"(cached) " >&6
14951 ac_check_soname_save_LIBS
=$LIBS
14952 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14959 char XRenderQueryExtension ();
14963 return XRenderQueryExtension ();
14968 if ac_fn_c_try_link
"$LINENO"
14971 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14972 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'` ;;
14973 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14974 if ${ac_cv_lib_soname_Xrender:+false} :
14976 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14980 ac_cv_lib_soname_Xrender
=
14982 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14983 conftest
$ac_exeext conftest.
$ac_ext
14984 LIBS
=$ac_check_soname_save_LIBS
14986 if ${ac_cv_lib_soname_Xrender:+false} :
14988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14989 printf "%s\n" "not found" >&6; }
14992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14993 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14995 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14998 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14999 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15001 printf %s
"(cached) " >&6
15003 ac_check_lib_save_LIBS
=$LIBS
15004 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15011 char XRenderSetPictureTransform ();
15015 return XRenderSetPictureTransform ();
15020 if ac_fn_c_try_link
"$LINENO"
15022 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15024 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15026 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15027 conftest
$ac_exeext conftest.
$ac_ext
15028 LIBS
=$ac_check_lib_save_LIBS
15030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15031 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15032 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15035 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15040 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15041 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15043 printf %s
"(cached) " >&6
15045 ac_check_lib_save_LIBS
=$LIBS
15046 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15053 char XRenderCreateLinearGradient ();
15057 return XRenderCreateLinearGradient ();
15062 if ac_fn_c_try_link
"$LINENO"
15064 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15066 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15068 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15069 conftest
$ac_exeext conftest.
$ac_ext
15070 LIBS
=$ac_check_lib_save_LIBS
15072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15073 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15074 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15077 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15084 if test "x$ac_cv_lib_soname_Xrender" = "x"
15086 case "x$with_xrender" in
15087 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15089 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15090 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15095 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15098 /* end confdefs.h. */
15099 #include <X11/Xlib.h>
15100 #include <X11/extensions/Xrandr.h>
15104 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15109 if ac_fn_c_try_compile
"$LINENO"
15111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15112 printf %s
"checking for -lXrandr... " >&6; }
15113 if test ${ac_cv_lib_soname_Xrandr+y}
15115 printf %s
"(cached) " >&6
15117 ac_check_soname_save_LIBS
=$LIBS
15118 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15122 /* Override any GCC internal prototype to avoid an error.
15123 Use char because int might match the return type of a GCC
15124 builtin and then its argument prototype would still apply. */
15125 char XRRQueryExtension ();
15129 return XRRQueryExtension ();
15134 if ac_fn_c_try_link
"$LINENO"
15137 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15138 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'` ;;
15139 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15140 if ${ac_cv_lib_soname_Xrandr:+false} :
15142 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15146 ac_cv_lib_soname_Xrandr
=
15148 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15149 conftest
$ac_exeext conftest.
$ac_ext
15150 LIBS
=$ac_check_soname_save_LIBS
15152 if ${ac_cv_lib_soname_Xrandr:+false} :
15154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15155 printf "%s\n" "not found" >&6; }
15158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15159 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15161 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 #include <X11/Xlib.h>
15166 #include <X11/extensions/Xrandr.h>
15170 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15175 if ac_fn_c_try_compile
"$LINENO"
15178 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15181 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15183 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15186 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15188 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15190 case "x$with_xrandr" in
15191 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15193 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15194 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15199 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15203 #include <X11/Xlib.h>
15204 #include <X11/extensions/Xfixes.h>
15208 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15213 if ac_fn_c_try_compile
"$LINENO"
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15216 printf %s
"checking for -lXfixes... " >&6; }
15217 if test ${ac_cv_lib_soname_Xfixes+y}
15219 printf %s
"(cached) " >&6
15221 ac_check_soname_save_LIBS
=$LIBS
15222 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15226 /* Override any GCC internal prototype to avoid an error.
15227 Use char because int might match the return type of a GCC
15228 builtin and then its argument prototype would still apply. */
15229 char XFixesQueryVersion ();
15233 return XFixesQueryVersion ();
15238 if ac_fn_c_try_link
"$LINENO"
15241 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15242 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'` ;;
15243 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15244 if ${ac_cv_lib_soname_Xfixes:+false} :
15246 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15250 ac_cv_lib_soname_Xfixes
=
15252 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15253 conftest
$ac_exeext conftest.
$ac_ext
15254 LIBS
=$ac_check_soname_save_LIBS
15256 if ${ac_cv_lib_soname_Xfixes:+false} :
15258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15259 printf "%s\n" "not found" >&6; }
15262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15263 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15265 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15270 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15272 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15274 case "x$with_xfixes" in
15275 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15277 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15278 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15283 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287 #include <X11/Xlib.h>
15288 #include <X11/extensions/Xinerama.h>
15292 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15297 if ac_fn_c_try_compile
"$LINENO"
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15300 printf %s
"checking for -lXinerama... " >&6; }
15301 if test ${ac_cv_lib_soname_Xinerama+y}
15303 printf %s
"(cached) " >&6
15305 ac_check_soname_save_LIBS
=$LIBS
15306 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 char XineramaQueryScreens ();
15317 return XineramaQueryScreens ();
15322 if ac_fn_c_try_link
"$LINENO"
15325 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15326 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'` ;;
15327 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15328 if ${ac_cv_lib_soname_Xinerama:+false} :
15330 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 ac_cv_lib_soname_Xinerama
=
15336 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15337 conftest
$ac_exeext conftest.
$ac_ext
15338 LIBS
=$ac_check_soname_save_LIBS
15340 if ${ac_cv_lib_soname_Xinerama:+false} :
15342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 printf "%s\n" "not found" >&6; }
15346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15347 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15349 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15354 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15356 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15358 case "x$with_xinerama" in
15359 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15361 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15362 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15367 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15370 printf %s
"checking for -lXcomposite... " >&6; }
15371 if test ${ac_cv_lib_soname_Xcomposite+y}
15373 printf %s
"(cached) " >&6
15375 ac_check_soname_save_LIBS
=$LIBS
15376 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15383 char XCompositeRedirectWindow ();
15387 return XCompositeRedirectWindow ();
15392 if ac_fn_c_try_link
"$LINENO"
15395 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15396 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'` ;;
15397 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15398 if ${ac_cv_lib_soname_Xcomposite:+false} :
15400 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15404 ac_cv_lib_soname_Xcomposite
=
15406 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15407 conftest
$ac_exeext conftest.
$ac_ext
15408 LIBS
=$ac_check_soname_save_LIBS
15410 if ${ac_cv_lib_soname_Xcomposite:+false} :
15412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15413 printf "%s\n" "not found" >&6; }
15416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15417 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15419 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15424 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15426 case "x$with_xcomposite" in
15427 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15429 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15430 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15435 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15436 #include <X11/Xlib.h>
15439 if test "x$ac_cv_member_XICCallback_callback" = xyes
15442 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15446 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15447 #include <X11/Xlib.h>
15450 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15453 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15461 if test "x$with_opengl" != "xno"
15463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15464 printf %s
"checking for -lGL... " >&6; }
15465 if test ${ac_cv_lib_soname_GL+y}
15467 printf %s
"(cached) " >&6
15469 ac_check_soname_save_LIBS
=$LIBS
15470 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15474 /* Override any GCC internal prototype to avoid an error.
15475 Use char because int might match the return type of a GCC
15476 builtin and then its argument prototype would still apply. */
15477 char glXCreateContext ();
15481 return glXCreateContext ();
15486 if ac_fn_c_try_link
"$LINENO"
15489 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15490 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'` ;;
15491 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15492 if ${ac_cv_lib_soname_GL:+false} :
15494 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15498 ac_cv_lib_soname_GL
=
15500 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15501 conftest
$ac_exeext conftest.
$ac_ext
15502 LIBS
=$ac_check_soname_save_LIBS
15504 if ${ac_cv_lib_soname_GL:+false} :
15506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15507 printf "%s\n" "not found" >&6; }
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15509 printf %s
"checking for -lGL... " >&6; }
15510 if test ${ac_cv_lib_soname_GL+y}
15512 printf %s
"(cached) " >&6
15514 ac_check_soname_save_LIBS
=$LIBS
15515 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"
15516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15519 /* Override any GCC internal prototype to avoid an error.
15520 Use char because int might match the return type of a GCC
15521 builtin and then its argument prototype would still apply. */
15522 char glXCreateContext ();
15526 return glXCreateContext ();
15531 if ac_fn_c_try_link
"$LINENO"
15534 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15535 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'` ;;
15536 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15537 if ${ac_cv_lib_soname_GL:+false} :
15539 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15543 ac_cv_lib_soname_GL
=
15545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15546 conftest
$ac_exeext conftest.
$ac_ext
15547 LIBS
=$ac_check_soname_save_LIBS
15549 if ${ac_cv_lib_soname_GL:+false} :
15551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15552 printf "%s\n" "not found" >&6; }
15553 if test -f /usr
/X11R
6/lib
/libGL.a
15555 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15556 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15558 opengl_msg
="No OpenGL library found on this system."
15561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15562 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15564 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15566 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"
15569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15570 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15572 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15576 if test "x$with_osmesa" != "xno"
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15579 printf %s
"checking for -lOSMesa... " >&6; }
15580 if test ${ac_cv_lib_soname_OSMesa+y}
15582 printf %s
"(cached) " >&6
15584 ac_check_soname_save_LIBS
=$LIBS
15585 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15589 /* Override any GCC internal prototype to avoid an error.
15590 Use char because int might match the return type of a GCC
15591 builtin and then its argument prototype would still apply. */
15592 char OSMesaGetProcAddress ();
15596 return OSMesaGetProcAddress ();
15601 if ac_fn_c_try_link
"$LINENO"
15604 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15605 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'` ;;
15606 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15607 if ${ac_cv_lib_soname_OSMesa:+false} :
15609 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15613 ac_cv_lib_soname_OSMesa
=
15615 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15616 conftest
$ac_exeext conftest.
$ac_ext
15617 LIBS
=$ac_check_soname_save_LIBS
15619 if ${ac_cv_lib_soname_OSMesa:+false} :
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15622 printf "%s\n" "not found" >&6; }
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15626 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15628 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15632 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15634 case "x$with_osmesa" in
15635 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15637 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15638 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15644 if test -n "$opengl_msg"
15646 case "x$with_opengl" in
15647 x
) as_fn_append wine_warnings
"|$opengl_msg
15648 OpenGL and Direct3D won't be supported." ;;
15650 *) as_fn_error $?
"$opengl_msg
15651 OpenGL and Direct3D won't be supported.
15652 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15657 CPPFLAGS
="$ac_save_CPPFLAGS"
15663 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15665 if test "x$X_LIBS" = "x"
15669 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15670 without X support, which probably isn't what you want. You will need
15671 to install ${notice_platform}development packages of Xlib at the very least.
15672 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15674 enable_winex11_drv
=${enable_winex11_drv:-no}
15677 if test "x$X_LIBS" = "x"
15680 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15682 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15683 This is an error since --with-x was requested." "$LINENO" 5 ;;
15685 enable_winex11_drv
=${enable_winex11_drv:-no}
15689 if test "$ac_cv_header_CL_cl_h" = "yes"
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15692 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15693 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15695 printf %s
"(cached) " >&6
15697 ac_check_lib_save_LIBS
=$LIBS
15698 LIBS
="-lOpenCL $LIBS"
15699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 char clGetPlatformInfo ();
15709 return clGetPlatformInfo ();
15714 if ac_fn_c_try_link
"$LINENO"
15716 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15718 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15720 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15721 conftest
$ac_exeext conftest.
$ac_ext
15722 LIBS
=$ac_check_lib_save_LIBS
15724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15725 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15726 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15728 OPENCL_LIBS
="-lOpenCL"
15733 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15735 case "x$with_opencl" in
15736 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15738 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15739 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15741 enable_opencl
=${enable_opencl:-no}
15744 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15747 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15748 if test ${ac_cv_lib_pcap_pcap_create+y}
15750 printf %s
"(cached) " >&6
15752 ac_check_lib_save_LIBS
=$LIBS
15753 LIBS
="-lpcap $LIBS"
15754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15757 /* Override any GCC internal prototype to avoid an error.
15758 Use char because int might match the return type of a GCC
15759 builtin and then its argument prototype would still apply. */
15760 char pcap_create ();
15764 return pcap_create ();
15769 if ac_fn_c_try_link
"$LINENO"
15771 ac_cv_lib_pcap_pcap_create
=yes
15773 ac_cv_lib_pcap_pcap_create
=no
15775 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15776 conftest
$ac_exeext conftest.
$ac_ext
15777 LIBS
=$ac_check_lib_save_LIBS
15779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15780 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15781 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15788 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15790 case "x$with_pcap" in
15791 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15793 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15794 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15796 enable_wpcap
=${enable_wpcap:-no}
15799 if test "x$with_inotify" != "xno"
15801 if ${INOTIFY_CFLAGS:+false} :
15803 if test ${PKG_CONFIG+y}
15805 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15809 if ${INOTIFY_LIBS:+false} :
15811 if test ${PKG_CONFIG+y}
15813 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15820 ac_save_CPPFLAGS
=$CPPFLAGS
15821 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15822 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15823 if test "x$ac_cv_header_sys_inotify_h" = xyes
15825 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15830 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15831 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15833 printf %s
"(cached) " >&6
15835 ac_check_lib_save_LIBS
=$LIBS
15836 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15840 /* Override any GCC internal prototype to avoid an error.
15841 Use char because int might match the return type of a GCC
15842 builtin and then its argument prototype would still apply. */
15843 char inotify_add_watch ();
15847 return inotify_add_watch ();
15852 if ac_fn_c_try_link
"$LINENO"
15854 ac_cv_lib_inotify_inotify_add_watch
=yes
15856 ac_cv_lib_inotify_inotify_add_watch
=no
15858 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15859 conftest
$ac_exeext conftest.
$ac_ext
15860 LIBS
=$ac_check_lib_save_LIBS
15862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15863 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15864 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15871 CPPFLAGS
=$ac_save_CPPFLAGS
15874 if test "$ac_cv_header_sys_inotify_h" != "yes"
15876 case "x$with_inotify" in
15877 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15879 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15880 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15885 if test "x$with_dbus" != "xno"
15887 if ${DBUS_CFLAGS:+false} :
15889 if test ${PKG_CONFIG+y}
15891 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15895 if ${DBUS_LIBS:+false} :
15897 if test ${PKG_CONFIG+y}
15899 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15906 ac_save_CPPFLAGS
=$CPPFLAGS
15907 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15908 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15909 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15912 printf %s
"checking for -ldbus-1... " >&6; }
15913 if test ${ac_cv_lib_soname_dbus_1+y}
15915 printf %s
"(cached) " >&6
15917 ac_check_soname_save_LIBS
=$LIBS
15918 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15922 /* Override any GCC internal prototype to avoid an error.
15923 Use char because int might match the return type of a GCC
15924 builtin and then its argument prototype would still apply. */
15925 char dbus_connection_close ();
15929 return dbus_connection_close ();
15934 if ac_fn_c_try_link
"$LINENO"
15937 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15938 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'` ;;
15939 *) 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'`
15940 if ${ac_cv_lib_soname_dbus_1:+false} :
15942 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15946 ac_cv_lib_soname_dbus_1
=
15948 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15949 conftest
$ac_exeext conftest.
$ac_ext
15950 LIBS
=$ac_check_soname_save_LIBS
15952 if ${ac_cv_lib_soname_dbus_1:+false} :
15954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15955 printf "%s\n" "not found" >&6; }
15958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15959 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15961 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15969 CPPFLAGS
=$ac_save_CPPFLAGS
15972 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15973 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15975 case "x$with_dbus" in
15976 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15978 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
15979 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15984 if test "x$with_gnutls" != "xno"
15986 if ${GNUTLS_CFLAGS:+false} :
15988 if test ${PKG_CONFIG+y}
15990 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15994 if ${GNUTLS_LIBS:+false} :
15996 if test ${PKG_CONFIG+y}
15998 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16002 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16005 ac_save_CPPFLAGS
=$CPPFLAGS
16006 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16007 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16008 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16012 #include <gnutls/gnutls.h>
16013 #include <gnutls/crypto.h>
16017 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16022 if ac_fn_c_try_compile
"$LINENO"
16024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16025 printf %s
"checking for -lgnutls... " >&6; }
16026 if test ${ac_cv_lib_soname_gnutls+y}
16028 printf %s
"(cached) " >&6
16030 ac_check_soname_save_LIBS
=$LIBS
16031 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16033 /* end confdefs.h. */
16035 /* Override any GCC internal prototype to avoid an error.
16036 Use char because int might match the return type of a GCC
16037 builtin and then its argument prototype would still apply. */
16038 char gnutls_global_init ();
16042 return gnutls_global_init ();
16047 if ac_fn_c_try_link
"$LINENO"
16050 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16051 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'` ;;
16052 *) 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'`
16053 if ${ac_cv_lib_soname_gnutls:+false} :
16055 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'`
16059 ac_cv_lib_soname_gnutls
=
16061 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16062 conftest
$ac_exeext conftest.
$ac_ext
16063 LIBS
=$ac_check_soname_save_LIBS
16065 if ${ac_cv_lib_soname_gnutls:+false} :
16067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16068 printf "%s\n" "not found" >&6; }
16071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16072 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16074 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16078 ac_wine_check_funcs_save_LIBS
="$LIBS"
16079 LIBS
="$LIBS $GNUTLS_LIBS"
16081 for ac_func
in gnutls_cipher_init
16083 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16084 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16086 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16089 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16093 LIBS
="$ac_wine_check_funcs_save_LIBS"
16095 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16100 CPPFLAGS
=$ac_save_CPPFLAGS
16103 if test "x$ac_cv_lib_soname_gnutls" = "x"
16105 case "x$with_gnutls" in
16106 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16108 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16109 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16114 if test "x$with_sane" != "xno"
16116 if ${SANE_CFLAGS:+false} :
16118 if test ${PKG_CONFIG+y}
16120 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16123 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16124 if ${SANE_LIBS:+false} :
16126 if test ${PKG_CONFIG+y}
16128 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16131 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16135 ac_save_CPPFLAGS
=$CPPFLAGS
16136 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16137 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16138 if test "x$ac_cv_header_sane_sane_h" = xyes
16140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16141 printf %s
"checking for sane_init in -lsane... " >&6; }
16142 if test ${ac_cv_lib_sane_sane_init+y}
16144 printf %s
"(cached) " >&6
16146 ac_check_lib_save_LIBS
=$LIBS
16147 LIBS
="-lsane $SANE_LIBS $LIBS"
16148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16151 /* Override any GCC internal prototype to avoid an error.
16152 Use char because int might match the return type of a GCC
16153 builtin and then its argument prototype would still apply. */
16158 return sane_init ();
16163 if ac_fn_c_try_link
"$LINENO"
16165 ac_cv_lib_sane_sane_init
=yes
16167 ac_cv_lib_sane_sane_init
=no
16169 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16170 conftest
$ac_exeext conftest.
$ac_ext
16171 LIBS
=$ac_check_lib_save_LIBS
16173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16174 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16175 if test "x$ac_cv_lib_sane_sane_init" = xyes
16182 CPPFLAGS
=$ac_save_CPPFLAGS
16185 if test "$ac_cv_lib_sane_sane_init" != "yes"
16187 case "x$with_sane" in
16188 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16190 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16191 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16193 enable_sane_ds
=${enable_sane_ds:-no}
16196 if test "x$with_usb" != "xno"
16198 if ${USB_CFLAGS:+false} :
16200 if test ${PKG_CONFIG+y}
16202 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16206 if ${USB_LIBS:+false} :
16208 if test ${PKG_CONFIG+y}
16210 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16214 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16217 ac_save_CPPFLAGS
=$CPPFLAGS
16218 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16219 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16220 if test "x$ac_cv_header_libusb_h" = xyes
16222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16223 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16224 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16226 printf %s
"(cached) " >&6
16228 ac_check_lib_save_LIBS
=$LIBS
16229 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16231 /* end confdefs.h. */
16233 /* Override any GCC internal prototype to avoid an error.
16234 Use char because int might match the return type of a GCC
16235 builtin and then its argument prototype would still apply. */
16236 char libusb_interrupt_event_handler ();
16240 return libusb_interrupt_event_handler ();
16245 if ac_fn_c_try_link
"$LINENO"
16247 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16249 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16251 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16252 conftest
$ac_exeext conftest.
$ac_ext
16253 LIBS
=$ac_check_lib_save_LIBS
16255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16256 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16257 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16268 CPPFLAGS
=$ac_save_CPPFLAGS
16271 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16273 case "x$with_usb" in
16274 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16276 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16277 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16279 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16282 if test "x$with_v4l2" != "xno"
16284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16285 printf %s
"checking for -lv4l2... " >&6; }
16286 if test ${ac_cv_lib_soname_v4l2+y}
16288 printf %s
"(cached) " >&6
16290 ac_check_soname_save_LIBS
=$LIBS
16291 LIBS
="-lv4l2 $LIBS"
16292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h. */
16295 /* Override any GCC internal prototype to avoid an error.
16296 Use char because int might match the return type of a GCC
16297 builtin and then its argument prototype would still apply. */
16302 return v4l2_open ();
16307 if ac_fn_c_try_link
"$LINENO"
16310 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16311 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'` ;;
16312 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16313 if ${ac_cv_lib_soname_v4l2:+false} :
16315 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16319 ac_cv_lib_soname_v4l2
=
16321 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16322 conftest
$ac_exeext conftest.
$ac_ext
16323 LIBS
=$ac_check_soname_save_LIBS
16325 if ${ac_cv_lib_soname_v4l2:+false} :
16327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16328 printf "%s\n" "not found" >&6; }
16331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16332 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16334 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16339 if test "x$ac_cv_lib_soname_v4l2" = "x"
16341 case "x$with_v4l2" in
16342 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16344 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16345 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16350 if test "x$with_gphoto" != "xno"
16352 if ${GPHOTO2_CFLAGS:+false} :
16354 if test ${PKG_CONFIG+y}
16356 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16359 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16360 if ${GPHOTO2_LIBS:+false} :
16362 if test ${PKG_CONFIG+y}
16364 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16367 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16368 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16371 ac_save_CPPFLAGS
=$CPPFLAGS
16372 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16373 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16377 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16378 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16380 printf %s
"(cached) " >&6
16382 ac_check_lib_save_LIBS
=$LIBS
16383 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16387 /* Override any GCC internal prototype to avoid an error.
16388 Use char because int might match the return type of a GCC
16389 builtin and then its argument prototype would still apply. */
16390 char gp_camera_new ();
16394 return gp_camera_new ();
16399 if ac_fn_c_try_link
"$LINENO"
16401 ac_cv_lib_gphoto2_gp_camera_new
=yes
16403 ac_cv_lib_gphoto2_gp_camera_new
=no
16405 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16406 conftest
$ac_exeext conftest.
$ac_ext
16407 LIBS
=$ac_check_lib_save_LIBS
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16410 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16411 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16418 CPPFLAGS
=$ac_save_CPPFLAGS
16420 if ${GPHOTO2_PORT_CFLAGS:+false} :
16422 if test ${PKG_CONFIG+y}
16424 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16427 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16428 if ${GPHOTO2_PORT_LIBS:+false} :
16430 if test ${PKG_CONFIG+y}
16432 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16435 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16436 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16439 ac_save_CPPFLAGS
=$CPPFLAGS
16440 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16441 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16442 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16445 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16446 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16448 printf %s
"(cached) " >&6
16450 ac_check_lib_save_LIBS
=$LIBS
16451 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16458 char gp_port_info_list_new ();
16462 return gp_port_info_list_new ();
16467 if ac_fn_c_try_link
"$LINENO"
16469 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16471 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16473 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16474 conftest
$ac_exeext conftest.
$ac_ext
16475 LIBS
=$ac_check_lib_save_LIBS
16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16478 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16479 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16482 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16485 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16489 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16492 CPPFLAGS
=$ac_save_CPPFLAGS
16495 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16497 case "x$with_gphoto" in
16498 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16500 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16501 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16503 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16505 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16507 case "x$with_gphoto" in
16508 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16510 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16511 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16517 if test "$ac_cv_header_resolv_h" = "yes"
16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16520 printf %s
"checking for resolver library... " >&6; }
16521 if test ${ac_cv_have_resolv+y}
16523 printf %s
"(cached) " >&6
16525 ac_save_LIBS
="$LIBS"
16526 for lib
in '' -lresolv
16528 LIBS
="$lib $ac_save_LIBS"
16529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #ifdef HAVE_NETINET_IN_H
16532 #include <netinet/in.h>
16534 #include <resolv.h>
16538 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16543 if ac_fn_c_try_link
"$LINENO"
16545 ac_cv_have_resolv
=${lib:-"none required"}
16547 ac_cv_have_resolv
="not found"
16549 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16550 conftest
$ac_exeext conftest.
$ac_ext
16551 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16553 LIBS
="$ac_save_LIBS"
16555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16556 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16558 case "$ac_cv_have_resolv" in
16562 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16565 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16567 RESOLV_LIBS
=$ac_cv_have_resolv
16571 if test "x$ac_cv_have_resolv" != "xnot found"
16573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16574 printf %s
"checking for res_getservers... " >&6; }
16575 if test ${ac_cv_have_res_getservers+y}
16577 printf %s
"(cached) " >&6
16579 ac_save_LIBS
="$LIBS"
16580 LIBS
="$RESOLV_LIBS $LIBS"
16581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16583 #include <resolv.h>
16587 res_getservers(NULL, NULL, 0);
16592 if ac_fn_c_try_link
"$LINENO"
16594 ac_cv_have_res_getservers
=yes
16596 ac_cv_have_res_getservers
=no
16598 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16599 conftest
$ac_exeext conftest.
$ac_ext
16600 LIBS
="$ac_save_LIBS"
16602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16603 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16604 if test "$ac_cv_have_res_getservers" = "yes"
16607 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16613 if test "x$with_freetype" != "xno"
16615 if ${FREETYPE_CFLAGS:+false} :
16617 if test ${PKG_CONFIG+y}
16619 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16622 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16623 if ${FREETYPE_LIBS:+false} :
16625 if test ${PKG_CONFIG+y}
16627 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16630 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16631 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16634 ac_save_CPPFLAGS
=$CPPFLAGS
16635 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16636 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16637 if test "x$ac_cv_header_ft2build_h" = xyes
16639 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16643 if test "$ac_cv_header_ft2build_h" = "yes"
16645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16646 printf %s
"checking for -lfreetype... " >&6; }
16647 if test ${ac_cv_lib_soname_freetype+y}
16649 printf %s
"(cached) " >&6
16651 ac_check_soname_save_LIBS
=$LIBS
16652 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16656 /* Override any GCC internal prototype to avoid an error.
16657 Use char because int might match the return type of a GCC
16658 builtin and then its argument prototype would still apply. */
16659 char FT_Init_FreeType ();
16663 return FT_Init_FreeType ();
16668 if ac_fn_c_try_link
"$LINENO"
16671 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16672 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'` ;;
16673 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16674 if ${ac_cv_lib_soname_freetype:+false} :
16676 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16680 ac_cv_lib_soname_freetype
=
16682 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16683 conftest
$ac_exeext conftest.
$ac_ext
16684 LIBS
=$ac_check_soname_save_LIBS
16686 if ${ac_cv_lib_soname_freetype:+false} :
16688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16689 printf "%s\n" "not found" >&6; }
16692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16693 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16695 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16698 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16700 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16701 #include FT_MODULE_H
16703 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16706 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16716 CPPFLAGS
=$ac_save_CPPFLAGS
16719 if test "x$ac_cv_lib_soname_freetype" = x
16721 case "x$with_freetype" in
16723 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16724 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16726 enable_fonts
=${enable_fonts:-no}
16729 ac_wine_check_funcs_save_LIBS
="$LIBS"
16730 LIBS
="$LIBS $PTHREAD_LIBS"
16731 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16732 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16734 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16738 LIBS
="$ac_wine_check_funcs_save_LIBS"
16740 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16742 if test "$ac_cv_header_gettext_po_h" = "yes"
16744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16745 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16746 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16748 printf %s
"(cached) " >&6
16750 ac_check_lib_save_LIBS
=$LIBS
16751 LIBS
="-lgettextpo $LIBS"
16752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16755 /* Override any GCC internal prototype to avoid an error.
16756 Use char because int might match the return type of a GCC
16757 builtin and then its argument prototype would still apply. */
16758 char po_message_msgctxt ();
16762 return po_message_msgctxt ();
16767 if ac_fn_c_try_link
"$LINENO"
16769 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16771 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16773 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16774 conftest
$ac_exeext conftest.
$ac_ext
16775 LIBS
=$ac_check_lib_save_LIBS
16777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16778 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16779 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16782 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16784 GETTEXTPO_LIBS
="-lgettextpo"
16789 if test "x$GETTEXTPO_LIBS" = "x"
16791 case "x$with_gettextpo" in
16792 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16794 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16795 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16799 if test "$srcdir" != .
16801 case "x$with_gettextpo" in
16802 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16804 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16805 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16811 if test "x$with_pulse" != "xno";
16813 if ${PULSE_CFLAGS:+false} :
16815 if test ${PKG_CONFIG+y}
16817 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16821 if ${PULSE_LIBS:+false} :
16823 if test ${PKG_CONFIG+y}
16825 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16832 ac_save_CPPFLAGS
=$CPPFLAGS
16833 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16834 for ac_header
in pulse
/pulseaudio.h
16836 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16837 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16839 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16841 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16842 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16844 printf %s
"(cached) " >&6
16846 ac_check_lib_save_LIBS
=$LIBS
16847 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16851 /* Override any GCC internal prototype to avoid an error.
16852 Use char because int might match the return type of a GCC
16853 builtin and then its argument prototype would still apply. */
16854 char pa_stream_is_corked ();
16858 return pa_stream_is_corked ();
16863 if ac_fn_c_try_link
"$LINENO"
16865 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16867 ac_cv_lib_pulse_pa_stream_is_corked
=no
16869 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16870 conftest
$ac_exeext conftest.
$ac_ext
16871 LIBS
=$ac_check_lib_save_LIBS
16873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16874 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16875 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16887 CPPFLAGS
=$ac_save_CPPFLAGS
16890 if test -z "$PULSE_LIBS"
16892 case "x$with_pulse" in
16893 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16895 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16896 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16898 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16901 if test "x$with_gstreamer" != "xno"
16903 if ${GSTREAMER_CFLAGS:+false} :
16905 if test ${PKG_CONFIG+y}
16907 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16911 if ${GSTREAMER_LIBS:+false} :
16913 if test ${PKG_CONFIG+y}
16915 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16922 ac_save_CPPFLAGS
=$CPPFLAGS
16923 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
16924 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16925 if test "x$ac_cv_header_gst_gst_h" = xyes
16927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16928 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <gst/gst.h>
16935 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16940 if ac_fn_c_try_compile
"$LINENO"
16942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16943 printf "%s\n" "yes" >&6; }
16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16945 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16946 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16948 printf %s
"(cached) " >&6
16950 ac_check_lib_save_LIBS
=$LIBS
16951 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16955 /* Override any GCC internal prototype to avoid an error.
16956 Use char because int might match the return type of a GCC
16957 builtin and then its argument prototype would still apply. */
16958 char gst_pad_new ();
16962 return gst_pad_new ();
16967 if ac_fn_c_try_link
"$LINENO"
16969 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
16971 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
16973 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16974 conftest
$ac_exeext conftest.
$ac_ext
16975 LIBS
=$ac_check_lib_save_LIBS
16977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16978 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16979 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16986 printf "%s\n" "no" >&6; }
16987 ac_glib2_broken
=yes
16988 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16990 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16993 CPPFLAGS
=$ac_save_CPPFLAGS
16996 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16998 case "x$with_gstreamer" in
16999 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17001 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17002 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17004 enable_winegstreamer
=${enable_winegstreamer:-no}
17009 if test "x$with_alsa" != "xno"
17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17012 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17013 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17015 printf %s
"(cached) " >&6
17017 ac_check_lib_save_LIBS
=$LIBS
17018 LIBS
="-lasound $LIBS"
17019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17022 /* Override any GCC internal prototype to avoid an error.
17023 Use char because int might match the return type of a GCC
17024 builtin and then its argument prototype would still apply. */
17025 char snd_pcm_hw_params_get_access_mask ();
17029 return snd_pcm_hw_params_get_access_mask ();
17034 if ac_fn_c_try_link
"$LINENO"
17036 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17038 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17040 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17041 conftest
$ac_exeext conftest.
$ac_ext
17042 LIBS
=$ac_check_lib_save_LIBS
17044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17045 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17046 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050 #include <alsa/asoundlib.h>
17054 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17059 if ac_fn_c_try_compile
"$LINENO"
17061 ALSA_LIBS
="-lasound"
17063 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17067 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17069 if test "x$with_oss" != xno
17071 ac_save_CPPFLAGS
="$CPPFLAGS"
17072 if test -f /etc
/oss.conf
17076 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17077 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17078 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17079 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17081 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17083 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17086 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17088 OSS4_CFLAGS
="$ac_oss_incl"
17090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17091 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17092 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17094 printf %s
"(cached) " >&6
17096 ac_check_lib_save_LIBS
=$LIBS
17097 LIBS
="-lossaudio $LIBS"
17098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17101 /* Override any GCC internal prototype to avoid an error.
17102 Use char because int might match the return type of a GCC
17103 builtin and then its argument prototype would still apply. */
17104 char _oss_ioctl ();
17108 return _oss_ioctl ();
17113 if ac_fn_c_try_link
"$LINENO"
17115 ac_cv_lib_ossaudio__oss_ioctl
=yes
17117 ac_cv_lib_ossaudio__oss_ioctl
=no
17119 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17120 conftest
$ac_exeext conftest.
$ac_ext
17121 LIBS
=$ac_check_lib_save_LIBS
17123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17124 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17125 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17127 OSS4_LIBS
="-lossaudio"
17135 CPPFLAGS
="$ac_save_CPPFLAGS"
17137 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17139 case "x$with_oss" in
17140 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17142 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17143 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17145 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17148 if test "x$with_udev" != "xno"
17150 if ${UDEV_CFLAGS:+false} :
17152 if test ${PKG_CONFIG+y}
17154 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17158 if ${UDEV_LIBS:+false} :
17160 if test ${PKG_CONFIG+y}
17162 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17166 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17169 ac_save_CPPFLAGS
=$CPPFLAGS
17170 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17171 for ac_header
in libudev.h
17173 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17174 if test "x$ac_cv_header_libudev_h" = xyes
17176 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17178 printf %s
"checking for udev_new in -ludev... " >&6; }
17179 if test ${ac_cv_lib_udev_udev_new+y}
17181 printf %s
"(cached) " >&6
17183 ac_check_lib_save_LIBS
=$LIBS
17184 LIBS
="-ludev $UDEV_LIBS $LIBS"
17185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17188 /* Override any GCC internal prototype to avoid an error.
17189 Use char because int might match the return type of a GCC
17190 builtin and then its argument prototype would still apply. */
17195 return udev_new ();
17200 if ac_fn_c_try_link
"$LINENO"
17202 ac_cv_lib_udev_udev_new
=yes
17204 ac_cv_lib_udev_udev_new
=no
17206 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17207 conftest
$ac_exeext conftest.
$ac_ext
17208 LIBS
=$ac_check_lib_save_LIBS
17210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17211 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17212 if test "x$ac_cv_lib_udev_udev_new" = xyes
17215 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17226 CPPFLAGS
=$ac_save_CPPFLAGS
17229 if test "x$UDEV_LIBS" = "x"
17231 case "x$with_udev" in
17232 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17234 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17235 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17240 if test "x$with_unwind" != xno
17242 if ${UNWIND_CFLAGS:+false} :
17244 if test ${PKG_CONFIG+y}
17246 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17250 if ${UNWIND_LIBS:+false} :
17252 if test ${PKG_CONFIG+y}
17254 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17258 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17261 ac_save_CPPFLAGS
=$CPPFLAGS
17262 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17264 printf %s
"checking for unw_step... " >&6; }
17265 if test ${wine_cv_have_unw_step+y}
17267 printf %s
"(cached) " >&6
17269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17271 #define UNW_LOCAL_ONLY
17272 #include <libunwind.h>
17276 unw_cursor_t cursor; unw_step( &cursor );
17281 if ac_fn_c_try_link
"$LINENO"
17283 wine_cv_have_unw_step
="yes"
17285 wine_cv_have_unw_step
="no"
17287 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17288 conftest
$ac_exeext conftest.
$ac_ext
17290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17291 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17292 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17295 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17296 LIBS
="$UNWIND_LIBS $LIBS"
17297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17298 printf %s
"checking for unw_step in libunwind... " >&6; }
17299 if test ${wine_cv_have_libunwind_unw_step+y}
17301 printf %s
"(cached) " >&6
17303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 #define UNW_LOCAL_ONLY
17306 #include <libunwind.h>
17310 unw_cursor_t cursor; unw_step( &cursor );
17315 if ac_fn_c_try_link
"$LINENO"
17317 wine_cv_have_libunwind_unw_step
="yes"
17319 wine_cv_have_libunwind_unw_step
="no"
17321 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17322 conftest
$ac_exeext conftest.
$ac_ext
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17325 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17328 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17329 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17332 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17335 CPPFLAGS
=$ac_save_CPPFLAGS
17339 aarch64
*|
*-darwin*)
17340 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17342 case "x$with_unwind" in
17343 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17345 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17346 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17352 if test "x$with_sdl" != "xno"
17354 if ${SDL2_CFLAGS:+false} :
17356 if test ${PKG_CONFIG+y}
17358 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17362 if ${SDL2_LIBS:+false} :
17364 if test ${PKG_CONFIG+y}
17366 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17370 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17373 ac_save_CPPFLAGS
=$CPPFLAGS
17374 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17375 for ac_header
in SDL.h
17377 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17378 if test "x$ac_cv_header_SDL_h" = xyes
17380 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17382 printf %s
"checking for -lSDL2... " >&6; }
17383 if test ${ac_cv_lib_soname_SDL2+y}
17385 printf %s
"(cached) " >&6
17387 ac_check_soname_save_LIBS
=$LIBS
17388 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17392 /* Override any GCC internal prototype to avoid an error.
17393 Use char because int might match the return type of a GCC
17394 builtin and then its argument prototype would still apply. */
17399 return SDL_Init ();
17404 if ac_fn_c_try_link
"$LINENO"
17407 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17408 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'` ;;
17409 *) 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'`
17410 if ${ac_cv_lib_soname_SDL2:+false} :
17412 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17416 ac_cv_lib_soname_SDL2
=
17418 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17419 conftest
$ac_exeext conftest.
$ac_ext
17420 LIBS
=$ac_check_soname_save_LIBS
17422 if ${ac_cv_lib_soname_SDL2:+false} :
17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17425 printf "%s\n" "not found" >&6; }
17428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17429 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17431 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17438 CPPFLAGS
=$ac_save_CPPFLAGS
17441 if test "x$ac_cv_lib_soname_SDL2" = "x"
17443 case "x$with_sdl" in
17444 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17446 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17447 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17452 if test "x$with_capi" != "xno"
17454 if ${CAPI20_CFLAGS:+false} :
17456 if test ${PKG_CONFIG+y}
17458 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17462 if ${CAPI20_LIBS:+false} :
17464 if test ${PKG_CONFIG+y}
17466 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17473 ac_save_CPPFLAGS
=$CPPFLAGS
17474 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17475 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17477 if test "x$ac_cv_header_capi20_h" = xyes
17479 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17482 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17484 if test "x$ac_cv_header_linux_capi_h" = xyes
17486 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17490 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17493 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17494 if test ${ac_cv_lib_capi20_capi20_register+y}
17496 printf %s
"(cached) " >&6
17498 ac_check_lib_save_LIBS
=$LIBS
17499 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17503 /* Override any GCC internal prototype to avoid an error.
17504 Use char because int might match the return type of a GCC
17505 builtin and then its argument prototype would still apply. */
17506 char capi20_register ();
17510 return capi20_register ();
17515 if ac_fn_c_try_link
"$LINENO"
17517 ac_cv_lib_capi20_capi20_register
=yes
17519 ac_cv_lib_capi20_capi20_register
=no
17521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17522 conftest
$ac_exeext conftest.
$ac_ext
17523 LIBS
=$ac_check_lib_save_LIBS
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17526 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17527 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17535 CPPFLAGS
=$ac_save_CPPFLAGS
17538 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17540 case "x$with_capi" in
17541 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17543 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17544 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17546 enable_capi2032
=${enable_capi2032:-no}
17549 if test "x$with_cups" != "xno"
17551 if ${CUPS_CFLAGS:+false} :
17553 if test ${PKG_CONFIG+y}
17555 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17558 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17559 if ${CUPS_LIBS:+false} :
17561 if test ${PKG_CONFIG+y}
17563 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17566 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17567 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17570 ac_save_CPPFLAGS
=$CPPFLAGS
17571 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17572 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17573 if test "x$ac_cv_header_cups_cups_h" = xyes
17575 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17578 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17579 if test "x$ac_cv_header_cups_ppd_h" = xyes
17581 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17585 if test "$ac_cv_header_cups_cups_h" = "yes"
17587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17588 printf %s
"checking for -lcups... " >&6; }
17589 if test ${ac_cv_lib_soname_cups+y}
17591 printf %s
"(cached) " >&6
17593 ac_check_soname_save_LIBS
=$LIBS
17594 LIBS
="-lcups $CUPS_LIBS $LIBS"
17595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17598 /* Override any GCC internal prototype to avoid an error.
17599 Use char because int might match the return type of a GCC
17600 builtin and then its argument prototype would still apply. */
17601 char cupsGetDefault ();
17605 return cupsGetDefault ();
17610 if ac_fn_c_try_link
"$LINENO"
17613 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17614 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'` ;;
17615 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17616 if ${ac_cv_lib_soname_cups:+false} :
17618 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17622 ac_cv_lib_soname_cups
=
17624 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17625 conftest
$ac_exeext conftest.
$ac_ext
17626 LIBS
=$ac_check_soname_save_LIBS
17628 if ${ac_cv_lib_soname_cups:+false} :
17630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17631 printf "%s\n" "not found" >&6; }
17634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17635 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17637 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17645 CPPFLAGS
=$ac_save_CPPFLAGS
17648 if test "x$ac_cv_lib_soname_cups" = "x"
17650 case "x$with_cups" in
17651 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17653 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17654 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17659 if test "x$with_fontconfig" != "xno"
17661 if ${FONTCONFIG_CFLAGS:+false} :
17663 if test ${PKG_CONFIG+y}
17665 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17668 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17669 if ${FONTCONFIG_LIBS:+false} :
17671 if test ${PKG_CONFIG+y}
17673 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17676 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17680 ac_save_CPPFLAGS
=$CPPFLAGS
17681 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17682 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17683 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17685 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17689 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17692 printf %s
"checking for -lfontconfig... " >&6; }
17693 if test ${ac_cv_lib_soname_fontconfig+y}
17695 printf %s
"(cached) " >&6
17697 ac_check_soname_save_LIBS
=$LIBS
17698 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17700 /* end confdefs.h. */
17702 /* Override any GCC internal prototype to avoid an error.
17703 Use char because int might match the return type of a GCC
17704 builtin and then its argument prototype would still apply. */
17714 if ac_fn_c_try_link
"$LINENO"
17717 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17718 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'` ;;
17719 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17720 if ${ac_cv_lib_soname_fontconfig:+false} :
17722 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17726 ac_cv_lib_soname_fontconfig
=
17728 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17729 conftest
$ac_exeext conftest.
$ac_ext
17730 LIBS
=$ac_check_soname_save_LIBS
17732 if ${ac_cv_lib_soname_fontconfig:+false} :
17734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17735 printf "%s\n" "not found" >&6; }
17736 FONTCONFIG_CFLAGS
=""
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17739 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17741 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17746 FONTCONFIG_CFLAGS
=""
17748 CPPFLAGS
=$ac_save_CPPFLAGS
17751 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17753 case "x$with_fontconfig" in
17754 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17756 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17757 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17762 if test "x$with_krb5" != "xno"
17764 if ${KRB5_CFLAGS:+false} :
17766 if test ${PKG_CONFIG+y}
17768 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17771 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17772 if ${KRB5_LIBS:+false} :
17774 if test ${PKG_CONFIG+y}
17776 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17779 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17783 ac_save_CPPFLAGS
=$CPPFLAGS
17784 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17785 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17786 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17788 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17792 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17795 printf %s
"checking for -lkrb5... " >&6; }
17796 if test ${ac_cv_lib_soname_krb5+y}
17798 printf %s
"(cached) " >&6
17800 ac_check_soname_save_LIBS
=$LIBS
17801 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17805 /* Override any GCC internal prototype to avoid an error.
17806 Use char because int might match the return type of a GCC
17807 builtin and then its argument prototype would still apply. */
17808 char krb5_is_config_principal ();
17812 return krb5_is_config_principal ();
17817 if ac_fn_c_try_link
"$LINENO"
17820 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17821 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'` ;;
17822 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17823 if ${ac_cv_lib_soname_krb5:+false} :
17825 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17829 ac_cv_lib_soname_krb5
=
17831 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17832 conftest
$ac_exeext conftest.
$ac_ext
17833 LIBS
=$ac_check_soname_save_LIBS
17835 if ${ac_cv_lib_soname_krb5:+false} :
17837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17838 printf "%s\n" "not found" >&6; }
17841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17842 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17844 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17851 CPPFLAGS
=$ac_save_CPPFLAGS
17854 if test "x$ac_cv_lib_soname_krb5" = "x"
17856 case "x$with_krb5" in
17857 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17859 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17860 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17864 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17866 if test "x$with_gssapi" != "xno"
17868 if ${GSSAPI_CFLAGS:+false} :
17870 if test ${PKG_CONFIG+y}
17872 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17875 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17876 if ${GSSAPI_LIBS:+false} :
17878 if test ${PKG_CONFIG+y}
17880 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17883 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17887 ac_save_CPPFLAGS
=$CPPFLAGS
17888 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
17889 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17890 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17892 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17895 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17896 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17898 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17902 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17905 printf %s
"checking for -lgssapi_krb5... " >&6; }
17906 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17908 printf %s
"(cached) " >&6
17910 ac_check_soname_save_LIBS
=$LIBS
17911 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17915 /* Override any GCC internal prototype to avoid an error.
17916 Use char because int might match the return type of a GCC
17917 builtin and then its argument prototype would still apply. */
17918 char gss_init_sec_context ();
17922 return gss_init_sec_context ();
17927 if ac_fn_c_try_link
"$LINENO"
17930 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17931 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'` ;;
17932 *) 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'`
17933 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17935 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17939 ac_cv_lib_soname_gssapi_krb5
=
17941 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17942 conftest
$ac_exeext conftest.
$ac_ext
17943 LIBS
=$ac_check_soname_save_LIBS
17945 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17948 printf "%s\n" "not found" >&6; }
17951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17952 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17954 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17961 CPPFLAGS
=$ac_save_CPPFLAGS
17964 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17966 case "x$with_gssapi" in
17967 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17969 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17970 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17975 if test "$ac_cv_header_AL_al_h" = "yes"
17977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17978 printf %s
"checking for -lopenal... " >&6; }
17979 if test ${ac_cv_lib_soname_openal+y}
17981 printf %s
"(cached) " >&6
17983 ac_check_soname_save_LIBS
=$LIBS
17984 LIBS
="-lopenal $LIBS"
17985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 /* Override any GCC internal prototype to avoid an error.
17989 Use char because int might match the return type of a GCC
17990 builtin and then its argument prototype would still apply. */
17991 char alGetSource3i ();
17995 return alGetSource3i ();
18000 if ac_fn_c_try_link
"$LINENO"
18003 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18004 dylib
) ac_cv_lib_soname_openal
=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18005 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18006 if ${ac_cv_lib_soname_openal:+false} :
18008 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18012 ac_cv_lib_soname_openal
=
18014 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18015 conftest
$ac_exeext conftest.
$ac_ext
18016 LIBS
=$ac_check_soname_save_LIBS
18018 if ${ac_cv_lib_soname_openal:+false} :
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18021 printf "%s\n" "not found" >&6; }
18024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18025 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18027 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18029 OPENAL_LIBS
="-lopenal"
18031 ac_cv_lib_openal
=yes
18033 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18037 if test "x$ac_cv_lib_openal" != xyes
18039 case "x$with_openal" in
18040 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18042 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18043 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18045 enable_openal32
=${enable_openal32:-no}
18048 if test "$ac_cv_header_libprocstat_h" = "yes"
18050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18051 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18052 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18054 printf %s
"(cached) " >&6
18056 ac_check_lib_save_LIBS
=$LIBS
18057 LIBS
="-lprocstat $LIBS"
18058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18061 /* Override any GCC internal prototype to avoid an error.
18062 Use char because int might match the return type of a GCC
18063 builtin and then its argument prototype would still apply. */
18064 char procstat_open_sysctl ();
18068 return procstat_open_sysctl ();
18073 if ac_fn_c_try_link
"$LINENO"
18075 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18077 ac_cv_lib_procstat_procstat_open_sysctl
=no
18079 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18080 conftest
$ac_exeext conftest.
$ac_ext
18081 LIBS
=$ac_check_lib_save_LIBS
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18084 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18085 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18088 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18090 PROCSTAT_LIBS
="-lprocstat"
18096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18097 printf %s
"checking for -lodbc... " >&6; }
18098 if test ${ac_cv_lib_soname_odbc+y}
18100 printf %s
"(cached) " >&6
18102 ac_check_soname_save_LIBS
=$LIBS
18103 LIBS
="-lodbc $LIBS"
18104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 /* Override any GCC internal prototype to avoid an error.
18108 Use char because int might match the return type of a GCC
18109 builtin and then its argument prototype would still apply. */
18110 char SQLConnect ();
18114 return SQLConnect ();
18119 if ac_fn_c_try_link
"$LINENO"
18122 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18123 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'` ;;
18124 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18125 if ${ac_cv_lib_soname_odbc:+false} :
18127 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18131 ac_cv_lib_soname_odbc
=
18133 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18134 conftest
$ac_exeext conftest.
$ac_ext
18135 LIBS
=$ac_check_soname_save_LIBS
18137 if ${ac_cv_lib_soname_odbc:+false} :
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18140 printf "%s\n" "not found" >&6; }
18141 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18145 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18147 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18152 if test "x$with_netapi" != "xno"
18154 if ${NETAPI_CFLAGS:+false} :
18156 if test ${PKG_CONFIG+y}
18158 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18162 if ${NETAPI_LIBS:+false} :
18164 if test ${PKG_CONFIG+y}
18166 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18173 ac_save_CPPFLAGS
=$CPPFLAGS
18174 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18176 printf %s
"checking for -lnetapi... " >&6; }
18177 if test ${ac_cv_lib_soname_netapi+y}
18179 printf %s
"(cached) " >&6
18181 ac_check_soname_save_LIBS
=$LIBS
18182 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18186 /* Override any GCC internal prototype to avoid an error.
18187 Use char because int might match the return type of a GCC
18188 builtin and then its argument prototype would still apply. */
18189 char libnetapi_init ();
18193 return libnetapi_init ();
18198 if ac_fn_c_try_link
"$LINENO"
18201 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18202 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'` ;;
18203 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18204 if ${ac_cv_lib_soname_netapi:+false} :
18206 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18210 ac_cv_lib_soname_netapi
=
18212 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18213 conftest
$ac_exeext conftest.
$ac_ext
18214 LIBS
=$ac_check_soname_save_LIBS
18216 if ${ac_cv_lib_soname_netapi:+false} :
18218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18219 printf "%s\n" "not found" >&6; }
18220 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18224 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18226 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18230 CPPFLAGS
=$ac_save_CPPFLAGS
18233 if test "x$ac_cv_lib_soname_netapi" = "x"
18235 case "x$with_netapi" in
18236 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18238 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18239 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18241 enable_netapi
=${enable_netapi:-no}
18245 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18246 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18248 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18251 if test "x$with_vulkan" != "xno"
18253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18254 printf %s
"checking for -lvulkan... " >&6; }
18255 if test ${ac_cv_lib_soname_vulkan+y}
18257 printf %s
"(cached) " >&6
18259 ac_check_soname_save_LIBS
=$LIBS
18260 LIBS
="-lvulkan $LIBS"
18261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18264 /* Override any GCC internal prototype to avoid an error.
18265 Use char because int might match the return type of a GCC
18266 builtin and then its argument prototype would still apply. */
18267 char vkGetInstanceProcAddr ();
18271 return vkGetInstanceProcAddr ();
18276 if ac_fn_c_try_link
"$LINENO"
18279 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18280 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'` ;;
18281 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18282 if ${ac_cv_lib_soname_vulkan:+false} :
18284 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18288 ac_cv_lib_soname_vulkan
=
18290 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18291 conftest
$ac_exeext conftest.
$ac_ext
18292 LIBS
=$ac_check_soname_save_LIBS
18294 if ${ac_cv_lib_soname_vulkan:+false} :
18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18297 printf "%s\n" "not found" >&6; }
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18301 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18303 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18307 if test "x$ac_cv_lib_soname_vulkan" = "x"
18309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18310 printf %s
"checking for -lMoltenVK... " >&6; }
18311 if test ${ac_cv_lib_soname_MoltenVK+y}
18313 printf %s
"(cached) " >&6
18315 ac_check_soname_save_LIBS
=$LIBS
18316 LIBS
="-lMoltenVK $LIBS"
18317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18320 /* Override any GCC internal prototype to avoid an error.
18321 Use char because int might match the return type of a GCC
18322 builtin and then its argument prototype would still apply. */
18323 char vkGetInstanceProcAddr ();
18327 return vkGetInstanceProcAddr ();
18332 if ac_fn_c_try_link
"$LINENO"
18335 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18336 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'` ;;
18337 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18338 if ${ac_cv_lib_soname_MoltenVK:+false} :
18340 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18344 ac_cv_lib_soname_MoltenVK
=
18346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18347 conftest
$ac_exeext conftest.
$ac_ext
18348 LIBS
=$ac_check_soname_save_LIBS
18350 if ${ac_cv_lib_soname_MoltenVK:+false} :
18352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18353 printf "%s\n" "not found" >&6; }
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18357 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18359 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18365 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18367 case "x$with_vulkan" in
18368 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18370 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18371 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18377 if test "x${GCC}" = "xyes"
18379 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18381 saved_CFLAGS
=$CFLAGS
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18383 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18384 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18386 printf %s
"(cached) " >&6
18388 ac_wine_try_cflags_saved
=$CFLAGS
18389 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18392 int main(int argc, char **argv) { return 0; }
18394 if ac_fn_c_try_link
"$LINENO"
18396 ac_cv_cflags__Werror_unknown_warning_option
=yes
18398 ac_cv_cflags__Werror_unknown_warning_option
=no
18400 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18401 conftest
$ac_exeext conftest.
$ac_ext
18402 CFLAGS
=$ac_wine_try_cflags_saved
18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18405 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18406 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18408 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18411 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18412 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18414 printf %s
"(cached) " >&6
18416 ac_wine_try_cflags_saved
=$CFLAGS
18417 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18419 /* end confdefs.h. */
18420 int main(int argc, char **argv) { return 0; }
18422 if ac_fn_c_try_link
"$LINENO"
18424 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18426 ac_cv_cflags__Werror_unused_command_line_argument
=no
18428 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18429 conftest
$ac_exeext conftest.
$ac_ext
18430 CFLAGS
=$ac_wine_try_cflags_saved
18432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18433 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18434 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18436 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18439 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18440 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18442 printf %s
"(cached) " >&6
18444 ac_wine_try_cflags_saved
=$CFLAGS
18445 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18448 int main(int argc, char **argv) { return 0; }
18450 if ac_fn_c_try_link
"$LINENO"
18452 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18454 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18456 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18457 conftest
$ac_exeext conftest.
$ac_ext
18458 CFLAGS
=$ac_wine_try_cflags_saved
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18461 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18462 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18464 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18467 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18468 if test ${ac_cv_cflags__fcf_protection_none+y}
18470 printf %s
"(cached) " >&6
18472 ac_wine_try_cflags_saved
=$CFLAGS
18473 CFLAGS
="$CFLAGS -fcf-protection=none"
18474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18476 int main(int argc, char **argv) { return 0; }
18478 if ac_fn_c_try_link
"$LINENO"
18480 ac_cv_cflags__fcf_protection_none
=yes
18482 ac_cv_cflags__fcf_protection_none
=no
18484 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18485 conftest
$ac_exeext conftest.
$ac_ext
18486 CFLAGS
=$ac_wine_try_cflags_saved
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18489 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18490 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18492 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18495 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18496 if test ${ac_cv_cflags__fno_stack_protector+y}
18498 printf %s
"(cached) " >&6
18500 ac_wine_try_cflags_saved
=$CFLAGS
18501 CFLAGS
="$CFLAGS -fno-stack-protector"
18502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18504 int main(int argc, char **argv) { return 0; }
18506 if ac_fn_c_try_link
"$LINENO"
18508 ac_cv_cflags__fno_stack_protector
=yes
18510 ac_cv_cflags__fno_stack_protector
=no
18512 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18513 conftest
$ac_exeext conftest.
$ac_ext
18514 CFLAGS
=$ac_wine_try_cflags_saved
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18517 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18518 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18520 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18523 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18524 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18526 printf %s
"(cached) " >&6
18528 ac_wine_try_cflags_saved
=$CFLAGS
18529 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 int main(int argc, char **argv) { return 0; }
18534 if ac_fn_c_try_link
"$LINENO"
18536 ac_cv_cflags__fno_strict_aliasing
=yes
18538 ac_cv_cflags__fno_strict_aliasing
=no
18540 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18541 conftest
$ac_exeext conftest.
$ac_ext
18542 CFLAGS
=$ac_wine_try_cflags_saved
18544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18545 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18546 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18548 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18551 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18552 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18554 printf %s
"(cached) " >&6
18556 ac_wine_try_cflags_saved
=$CFLAGS
18557 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18559 /* end confdefs.h. */
18560 int main(int argc, char **argv) { return 0; }
18562 if ac_fn_c_try_link
"$LINENO"
18564 ac_cv_cflags__Wdeclaration_after_statement
=yes
18566 ac_cv_cflags__Wdeclaration_after_statement
=no
18568 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18569 conftest
$ac_exeext conftest.
$ac_ext
18570 CFLAGS
=$ac_wine_try_cflags_saved
18572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18573 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18574 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18576 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18579 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18580 if test ${ac_cv_cflags__Wempty_body+y}
18582 printf %s
"(cached) " >&6
18584 ac_wine_try_cflags_saved
=$CFLAGS
18585 CFLAGS
="$CFLAGS -Wempty-body"
18586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18588 int main(int argc, char **argv) { return 0; }
18590 if ac_fn_c_try_link
"$LINENO"
18592 ac_cv_cflags__Wempty_body
=yes
18594 ac_cv_cflags__Wempty_body
=no
18596 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18597 conftest
$ac_exeext conftest.
$ac_ext
18598 CFLAGS
=$ac_wine_try_cflags_saved
18600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18601 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18602 if test "x$ac_cv_cflags__Wempty_body" = xyes
18604 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18607 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18608 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18610 printf %s
"(cached) " >&6
18612 ac_wine_try_cflags_saved
=$CFLAGS
18613 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18615 /* end confdefs.h. */
18616 int main(int argc, char **argv) { return 0; }
18618 if ac_fn_c_try_link
"$LINENO"
18620 ac_cv_cflags__Wignored_qualifiers
=yes
18622 ac_cv_cflags__Wignored_qualifiers
=no
18624 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18625 conftest
$ac_exeext conftest.
$ac_ext
18626 CFLAGS
=$ac_wine_try_cflags_saved
18628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18629 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18630 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18632 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18635 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18636 if test ${ac_cv_cflags__Winit_self+y}
18638 printf %s
"(cached) " >&6
18640 ac_wine_try_cflags_saved
=$CFLAGS
18641 CFLAGS
="$CFLAGS -Winit-self"
18642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 int main(int argc, char **argv) { return 0; }
18646 if ac_fn_c_try_link
"$LINENO"
18648 ac_cv_cflags__Winit_self
=yes
18650 ac_cv_cflags__Winit_self
=no
18652 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18653 conftest
$ac_exeext conftest.
$ac_ext
18654 CFLAGS
=$ac_wine_try_cflags_saved
18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18657 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18658 if test "x$ac_cv_cflags__Winit_self" = xyes
18660 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18663 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18664 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18666 printf %s
"(cached) " >&6
18668 ac_wine_try_cflags_saved
=$CFLAGS
18669 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 int main(int argc, char **argv) { return 0; }
18674 if ac_fn_c_try_link
"$LINENO"
18676 ac_cv_cflags__Wpacked_not_aligned
=yes
18678 ac_cv_cflags__Wpacked_not_aligned
=no
18680 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18681 conftest
$ac_exeext conftest.
$ac_ext
18682 CFLAGS
=$ac_wine_try_cflags_saved
18684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18685 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18686 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18688 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18691 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18692 if test ${ac_cv_cflags__Wpragma_pack+y}
18694 printf %s
"(cached) " >&6
18696 ac_wine_try_cflags_saved
=$CFLAGS
18697 CFLAGS
="$CFLAGS -Wpragma-pack"
18698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700 int main(int argc, char **argv) { return 0; }
18702 if ac_fn_c_try_link
"$LINENO"
18704 ac_cv_cflags__Wpragma_pack
=yes
18706 ac_cv_cflags__Wpragma_pack
=no
18708 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18709 conftest
$ac_exeext conftest.
$ac_ext
18710 CFLAGS
=$ac_wine_try_cflags_saved
18712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18713 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18714 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18716 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18719 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18720 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18722 printf %s
"(cached) " >&6
18724 ac_wine_try_cflags_saved
=$CFLAGS
18725 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18728 int main(int argc, char **argv) { return 0; }
18730 if ac_fn_c_try_link
"$LINENO"
18732 ac_cv_cflags__Wshift_overflow_2
=yes
18734 ac_cv_cflags__Wshift_overflow_2
=no
18736 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18737 conftest
$ac_exeext conftest.
$ac_ext
18738 CFLAGS
=$ac_wine_try_cflags_saved
18740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18741 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18742 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18744 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18747 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18748 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18750 printf %s
"(cached) " >&6
18752 ac_wine_try_cflags_saved
=$CFLAGS
18753 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18755 /* end confdefs.h. */
18756 int main(int argc, char **argv) { return 0; }
18758 if ac_fn_c_try_link
"$LINENO"
18760 ac_cv_cflags__Wstrict_prototypes
=yes
18762 ac_cv_cflags__Wstrict_prototypes
=no
18764 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18765 conftest
$ac_exeext conftest.
$ac_ext
18766 CFLAGS
=$ac_wine_try_cflags_saved
18768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18769 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18770 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18772 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18775 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18776 if test ${ac_cv_cflags__Wtype_limits+y}
18778 printf %s
"(cached) " >&6
18780 ac_wine_try_cflags_saved
=$CFLAGS
18781 CFLAGS
="$CFLAGS -Wtype-limits"
18782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18784 int main(int argc, char **argv) { return 0; }
18786 if ac_fn_c_try_link
"$LINENO"
18788 ac_cv_cflags__Wtype_limits
=yes
18790 ac_cv_cflags__Wtype_limits
=no
18792 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18793 conftest
$ac_exeext conftest.
$ac_ext
18794 CFLAGS
=$ac_wine_try_cflags_saved
18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18797 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18798 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18800 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18803 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18804 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18806 printf %s
"(cached) " >&6
18808 ac_wine_try_cflags_saved
=$CFLAGS
18809 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h. */
18812 int main(int argc, char **argv) { return 0; }
18814 if ac_fn_c_try_link
"$LINENO"
18816 ac_cv_cflags__Wunused_but_set_parameter
=yes
18818 ac_cv_cflags__Wunused_but_set_parameter
=no
18820 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18821 conftest
$ac_exeext conftest.
$ac_ext
18822 CFLAGS
=$ac_wine_try_cflags_saved
18824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18825 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18826 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18828 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18831 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18832 if test ${ac_cv_cflags__Wvla+y}
18834 printf %s
"(cached) " >&6
18836 ac_wine_try_cflags_saved
=$CFLAGS
18837 CFLAGS
="$CFLAGS -Wvla"
18838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18840 int main(int argc, char **argv) { return 0; }
18842 if ac_fn_c_try_link
"$LINENO"
18844 ac_cv_cflags__Wvla
=yes
18846 ac_cv_cflags__Wvla
=no
18848 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18849 conftest
$ac_exeext conftest.
$ac_ext
18850 CFLAGS
=$ac_wine_try_cflags_saved
18852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18853 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18854 if test "x$ac_cv_cflags__Wvla" = xyes
18856 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18859 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18860 if test ${ac_cv_cflags__Wwrite_strings+y}
18862 printf %s
"(cached) " >&6
18864 ac_wine_try_cflags_saved
=$CFLAGS
18865 CFLAGS
="$CFLAGS -Wwrite-strings"
18866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18867 /* end confdefs.h. */
18868 int main(int argc, char **argv) { return 0; }
18870 if ac_fn_c_try_link
"$LINENO"
18872 ac_cv_cflags__Wwrite_strings
=yes
18874 ac_cv_cflags__Wwrite_strings
=no
18876 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18877 conftest
$ac_exeext conftest.
$ac_ext
18878 CFLAGS
=$ac_wine_try_cflags_saved
18880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18881 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18882 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18884 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18887 if test -z "$CROSSTARGET"
18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18890 printf %s
"checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18891 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18893 printf %s
"(cached) " >&6
18895 ac_wine_try_cflags_saved
=$CFLAGS
18896 CFLAGS
="$CFLAGS -fexcess-precision=standard"
18897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 int main(int argc, char **argv) { return 0; }
18901 if ac_fn_c_try_link
"$LINENO"
18903 ac_cv_cflags__fexcess_precision_standard
=yes
18905 ac_cv_cflags__fexcess_precision_standard
=no
18907 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18908 conftest
$ac_exeext conftest.
$ac_ext
18909 CFLAGS
=$ac_wine_try_cflags_saved
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18912 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18913 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18915 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
18920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18921 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18922 if test ${ac_cv_cflags__Wpointer_arith+y}
18924 printf %s
"(cached) " >&6
18926 ac_wine_try_cflags_saved
=$CFLAGS
18927 CFLAGS
="$CFLAGS -Wpointer-arith"
18928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18930 int main(int argc, char **argv) { return 0; }
18932 if ac_fn_c_try_link
"$LINENO"
18934 ac_cv_cflags__Wpointer_arith
=yes
18936 ac_cv_cflags__Wpointer_arith
=no
18938 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18939 conftest
$ac_exeext conftest.
$ac_ext
18940 CFLAGS
=$ac_wine_try_cflags_saved
18942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18943 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18944 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18946 saved_string_h_CFLAGS
=$CFLAGS
18947 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18949 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18950 if test ${ac_cv_c_string_h_warnings+y}
18952 printf %s
"(cached) " >&6
18954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18956 #include <string.h>
18965 if ac_fn_c_try_compile
"$LINENO"
18967 ac_cv_c_string_h_warnings
=no
18969 ac_cv_c_string_h_warnings
=yes
18971 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18974 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18975 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
18976 CFLAGS
=$saved_string_h_CFLAGS
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18980 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
18981 if test ${ac_cv_cflags__Wlogical_op+y}
18983 printf %s
"(cached) " >&6
18985 ac_wine_try_cflags_saved
=$CFLAGS
18986 CFLAGS
="$CFLAGS -Wlogical-op"
18987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 int main(int argc, char **argv) { return 0; }
18991 if ac_fn_c_try_link
"$LINENO"
18993 ac_cv_cflags__Wlogical_op
=yes
18995 ac_cv_cflags__Wlogical_op
=no
18997 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18998 conftest
$ac_exeext conftest.
$ac_ext
18999 CFLAGS
=$ac_wine_try_cflags_saved
19001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19002 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19003 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19005 saved_string_h_CFLAGS
=$CFLAGS
19006 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19008 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19009 if test ${ac_cv_c_logicalop_noisy+y}
19011 printf %s
"(cached) " >&6
19013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19015 #include <string.h>
19016 char*f(const char *h,char n) {return strchr(h,n);}
19025 if ac_fn_c_try_compile
"$LINENO"
19027 ac_cv_c_logicalop_noisy
=no
19029 ac_cv_c_logicalop_noisy
=yes
19031 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19034 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19035 CFLAGS
=$saved_string_h_CFLAGS
19036 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19040 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19041 if test ${wine_cv_64bit_compare_swap+y}
19043 printf %s
"(cached) " >&6
19045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19058 if ac_fn_c_try_compile
"$LINENO"
19060 wine_cv_64bit_compare_swap
="none needed"
19063 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19064 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19065 *) wine_cv_64bit_compare_swap
="unknown" ;;
19067 if test "x$wine_cv_64bit_compare_swap" != xunknown
19069 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h. */
19072 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19083 if ac_fn_c_try_compile
"$LINENO"
19087 wine_cv_64bit_compare_swap
="unknown"
19089 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19090 CFLAGS
=$saved_CFLAGS
19093 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19096 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19097 case "$wine_cv_64bit_compare_swap" in
19098 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19100 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19103 ac_debug_format_seen
=""
19104 for ac_flag
in $CFLAGS; do
19106 -gdwarf*) ac_debug_format_seen
=yes ;;
19107 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19110 if test "x$ac_debug_format_seen" = xdefault
19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19113 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19114 if test ${ac_cv_cflags__gdwarf_4+y}
19116 printf %s
"(cached) " >&6
19118 ac_wine_try_cflags_saved
=$CFLAGS
19119 CFLAGS
="$CFLAGS -gdwarf-4"
19120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h. */
19122 int main(int argc, char **argv) { return 0; }
19124 if ac_fn_c_try_link
"$LINENO"
19126 ac_cv_cflags__gdwarf_4
=yes
19128 ac_cv_cflags__gdwarf_4
=no
19130 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19131 conftest
$ac_exeext conftest.
$ac_ext
19132 CFLAGS
=$ac_wine_try_cflags_saved
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19135 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19136 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19138 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19145 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19146 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19147 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19149 printf %s
"(cached) " >&6
19151 ac_wine_try_cflags_saved
=$CFLAGS
19152 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19155 int main(int argc, char **argv) { return 0; }
19157 if ac_fn_c_try_link
"$LINENO"
19159 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19161 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19163 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19164 conftest
$ac_exeext conftest.
$ac_ext
19165 CFLAGS
=$ac_wine_try_cflags_saved
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19168 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19169 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19171 DELAYLOADFLAG
="-Wl,-delayload,"
19174 *) MSVCRTFLAGS
="-D_WIN32"
19175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19176 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19177 if test ${ac_cv_cflags__fno_builtin+y}
19179 printf %s
"(cached) " >&6
19181 ac_wine_try_cflags_saved
=$CFLAGS
19182 CFLAGS
="$CFLAGS -fno-builtin"
19183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19185 int main(int argc, char **argv) { return 0; }
19187 if ac_fn_c_try_link
"$LINENO"
19189 ac_cv_cflags__fno_builtin
=yes
19191 ac_cv_cflags__fno_builtin
=no
19193 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19194 conftest
$ac_exeext conftest.
$ac_ext
19195 CFLAGS
=$ac_wine_try_cflags_saved
19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19198 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19199 if test "x$ac_cv_cflags__fno_builtin" = xyes
19201 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19204 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19205 if test ${ac_cv_cflags__fshort_wchar+y}
19207 printf %s
"(cached) " >&6
19209 ac_wine_try_cflags_saved
=$CFLAGS
19210 CFLAGS
="$CFLAGS -fshort-wchar"
19211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19213 int main(int argc, char **argv) { return 0; }
19215 if ac_fn_c_try_link
"$LINENO"
19217 ac_cv_cflags__fshort_wchar
=yes
19219 ac_cv_cflags__fshort_wchar
=no
19221 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19222 conftest
$ac_exeext conftest.
$ac_ext
19223 CFLAGS
=$ac_wine_try_cflags_saved
19225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19226 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19227 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19229 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19232 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19233 if test ${ac_cv_cflags__Wno_format+y}
19235 printf %s
"(cached) " >&6
19237 ac_wine_try_cflags_saved
=$CFLAGS
19238 CFLAGS
="$CFLAGS -Wno-format"
19239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 int main(int argc, char **argv) { return 0; }
19243 if ac_fn_c_try_link
"$LINENO"
19245 ac_cv_cflags__Wno_format
=yes
19247 ac_cv_cflags__Wno_format
=no
19249 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19250 conftest
$ac_exeext conftest.
$ac_ext
19251 CFLAGS
=$ac_wine_try_cflags_saved
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19254 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19255 if test "x$ac_cv_cflags__Wno_format" = xyes
19257 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19262 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19263 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19264 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19266 printf %s
"(cached) " >&6
19268 ac_wine_try_cflags_saved
=$CFLAGS
19269 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 int main(int argc, char **argv) { return 0; }
19274 if ac_fn_c_try_link
"$LINENO"
19276 ac_cv_cflags__fno_omit_frame_pointer
=yes
19278 ac_cv_cflags__fno_omit_frame_pointer
=no
19280 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19281 conftest
$ac_exeext conftest.
$ac_ext
19282 CFLAGS
=$ac_wine_try_cflags_saved
19284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19285 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19286 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19288 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19292 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19293 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19294 if test ${ac_cv_cflags__Wno_format+y}
19296 printf %s
"(cached) " >&6
19298 ac_wine_try_cflags_saved
=$CFLAGS
19299 CFLAGS
="$CFLAGS -Wno-format"
19300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 int main(int argc, char **argv) { return 0; }
19304 if ac_fn_c_try_link
"$LINENO"
19306 ac_cv_cflags__Wno_format
=yes
19308 ac_cv_cflags__Wno_format
=no
19310 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19311 conftest
$ac_exeext conftest.
$ac_ext
19312 CFLAGS
=$ac_wine_try_cflags_saved
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19315 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19316 if test "x$ac_cv_cflags__Wno_format" = xyes
19318 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19320 *) if test -z "$CROSSTARGET"
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19323 printf %s
"checking for working -mabi=ms... " >&6; }
19324 if test ${ac_cv_mabi_ms+y}
19326 printf %s
"(cached) " >&6
19328 CFLAGS
="$CFLAGS -mabi=ms"
19329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <stdarg.h>
19332 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19341 if ac_fn_c_try_compile
"$LINENO"
19347 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19348 CFLAGS
=$saved_CFLAGS
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19351 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19352 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
19354 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19358 CFLAGS
=$saved_CFLAGS
19360 if test "x$enable_werror" = "xyes"
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19363 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19364 if test ${ac_cv_cflags__Werror+y}
19366 printf %s
"(cached) " >&6
19368 ac_wine_try_cflags_saved
=$CFLAGS
19369 CFLAGS
="$CFLAGS -Werror"
19370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19374 if ac_fn_c_try_link
"$LINENO"
19376 ac_cv_cflags__Werror
=yes
19378 ac_cv_cflags__Werror
=no
19380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19381 conftest
$ac_exeext conftest.
$ac_ext
19382 CFLAGS
=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19385 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19386 if test "x$ac_cv_cflags__Werror" = xyes
19388 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19391 if test "x$enable_build_id" = "xyes"
19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19394 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19395 if test ${ac_cv_cflags__Wl___build_id+y}
19397 printf %s
"(cached) " >&6
19399 ac_wine_try_cflags_saved
=$CFLAGS
19400 CFLAGS
="$CFLAGS -Wl,--build-id"
19401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 int main(int argc, char **argv) { return 0; }
19405 if ac_fn_c_try_link
"$LINENO"
19407 ac_cv_cflags__Wl___build_id
=yes
19409 ac_cv_cflags__Wl___build_id
=no
19411 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19412 conftest
$ac_exeext conftest.
$ac_ext
19413 CFLAGS
=$ac_wine_try_cflags_saved
19415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19416 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19417 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19419 CFLAGS
="$CFLAGS -Wl,--build-id"
19420 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19427 printf %s
"checking for the need to disable Fortify... " >&6; }
19428 if test ${ac_cv_c_fortify_enabled+y}
19430 printf %s
"(cached) " >&6
19432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 #include <string.h>
19438 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19439 #error Fortify enabled
19445 if ac_fn_c_try_compile
"$LINENO"
19447 ac_cv_c_fortify_enabled
=no
19449 ac_cv_c_fortify_enabled
=yes
19451 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19454 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19455 if test "$ac_cv_c_fortify_enabled" = yes
19457 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19462 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19463 if test ${ac_cv_c_cfi_support+y}
19465 printf %s
"(cached) " >&6
19467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19478 if ac_fn_c_try_compile
"$LINENO"
19480 ac_cv_c_cfi_support
="yes"
19482 ac_cv_c_cfi_support
="no"
19484 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19487 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19488 if test "$ac_cv_c_cfi_support" = "yes"
19490 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19491 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19492 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19494 if test "x$enable_win64" = "xyes"
19496 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19504 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19505 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
19506 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19513 ac_save_CFLAGS
="$CFLAGS"
19514 CFLAGS
="$CFLAGS $BUILTINFLAG"
19515 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19516 if test "x$ac_cv_func_epoll_create" = xyes
19518 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19521 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19522 if test "x$ac_cv_func_fstatfs" = xyes
19524 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19527 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19528 if test "x$ac_cv_func_futimens" = xyes
19530 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19533 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19534 if test "x$ac_cv_func_futimes" = xyes
19536 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19539 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19540 if test "x$ac_cv_func_futimesat" = xyes
19542 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19545 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19546 if test "x$ac_cv_func_getattrlist" = xyes
19548 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19551 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19552 if test "x$ac_cv_func_getauxval" = xyes
19554 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19557 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19558 if test "x$ac_cv_func_getifaddrs" = xyes
19560 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19563 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19564 if test "x$ac_cv_func_getrandom" = xyes
19566 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19569 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19570 if test "x$ac_cv_func_kqueue" = xyes
19572 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19575 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19576 if test "x$ac_cv_func_mach_continuous_time" = xyes
19578 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19581 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19582 if test "x$ac_cv_func_pipe2" = xyes
19584 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19587 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19588 if test "x$ac_cv_func_port_create" = xyes
19590 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19593 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19594 if test "x$ac_cv_func_posix_fadvise" = xyes
19596 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19599 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19600 if test "x$ac_cv_func_posix_fallocate" = xyes
19602 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19605 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19606 if test "x$ac_cv_func_prctl" = xyes
19608 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19611 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19612 if test "x$ac_cv_func_proc_pidinfo" = xyes
19614 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19617 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19618 if test "x$ac_cv_func_sched_yield" = xyes
19620 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19623 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19624 if test "x$ac_cv_func_setproctitle" = xyes
19626 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19629 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19630 if test "x$ac_cv_func_setprogname" = xyes
19632 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19635 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19636 if test "x$ac_cv_func_sigprocmask" = xyes
19638 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19641 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19642 if test "x$ac_cv_func_sysinfo" = xyes
19644 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19647 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19648 if test "x$ac_cv_func_tcdrain" = xyes
19650 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19653 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19654 if test "x$ac_cv_func_thr_kill2" = xyes
19656 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19660 CFLAGS
="$ac_save_CFLAGS"
19662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19663 printf %s
"checking for library containing dlopen... " >&6; }
19664 if test ${ac_cv_search_dlopen+y}
19666 printf %s
"(cached) " >&6
19668 ac_func_search_save_LIBS
=$LIBS
19669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19672 /* Override any GCC internal prototype to avoid an error.
19673 Use char because int might match the return type of a GCC
19674 builtin and then its argument prototype would still apply. */
19684 for ac_lib
in '' dl
19686 if test -z "$ac_lib"; then
19687 ac_res
="none required"
19690 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19692 if ac_fn_c_try_link
"$LINENO"
19694 ac_cv_search_dlopen
=$ac_res
19696 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19698 if test ${ac_cv_search_dlopen+y}
19703 if test ${ac_cv_search_dlopen+y}
19707 ac_cv_search_dlopen
=no
19709 rm conftest.
$ac_ext
19710 LIBS
=$ac_func_search_save_LIBS
19712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19713 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19714 ac_res
=$ac_cv_search_dlopen
19715 if test "$ac_res" != no
19717 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19721 ac_wine_check_funcs_save_LIBS
="$LIBS"
19722 LIBS
="$LIBS $DL_LIBS"
19723 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19724 if test "x$ac_cv_func_dlinfo" = xyes
19726 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19730 LIBS
="$ac_wine_check_funcs_save_LIBS"
19732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19733 printf %s
"checking for library containing gethostbyname... " >&6; }
19734 if test ${ac_cv_search_gethostbyname+y}
19736 printf %s
"(cached) " >&6
19738 ac_func_search_save_LIBS
=$LIBS
19739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19742 /* Override any GCC internal prototype to avoid an error.
19743 Use char because int might match the return type of a GCC
19744 builtin and then its argument prototype would still apply. */
19745 char gethostbyname ();
19749 return gethostbyname ();
19754 for ac_lib
in '' nsl
19756 if test -z "$ac_lib"; then
19757 ac_res
="none required"
19760 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19762 if ac_fn_c_try_link
"$LINENO"
19764 ac_cv_search_gethostbyname
=$ac_res
19766 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19768 if test ${ac_cv_search_gethostbyname+y}
19773 if test ${ac_cv_search_gethostbyname+y}
19777 ac_cv_search_gethostbyname
=no
19779 rm conftest.
$ac_ext
19780 LIBS
=$ac_func_search_save_LIBS
19782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19783 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19784 ac_res
=$ac_cv_search_gethostbyname
19785 if test "$ac_res" != no
19787 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19793 printf %s
"checking for library containing connect... " >&6; }
19794 if test ${ac_cv_search_connect+y}
19796 printf %s
"(cached) " >&6
19798 ac_func_search_save_LIBS
=$LIBS
19799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19802 /* Override any GCC internal prototype to avoid an error.
19803 Use char because int might match the return type of a GCC
19804 builtin and then its argument prototype would still apply. */
19814 for ac_lib
in '' socket
19816 if test -z "$ac_lib"; then
19817 ac_res
="none required"
19820 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19822 if ac_fn_c_try_link
"$LINENO"
19824 ac_cv_search_connect
=$ac_res
19826 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19828 if test ${ac_cv_search_connect+y}
19833 if test ${ac_cv_search_connect+y}
19837 ac_cv_search_connect
=no
19839 rm conftest.
$ac_ext
19840 LIBS
=$ac_func_search_save_LIBS
19842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19843 printf "%s\n" "$ac_cv_search_connect" >&6; }
19844 ac_res
=$ac_cv_search_connect
19845 if test "$ac_res" != no
19847 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19853 printf %s
"checking for library containing inet_aton... " >&6; }
19854 if test ${ac_cv_search_inet_aton+y}
19856 printf %s
"(cached) " >&6
19858 ac_func_search_save_LIBS
=$LIBS
19859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19862 /* Override any GCC internal prototype to avoid an error.
19863 Use char because int might match the return type of a GCC
19864 builtin and then its argument prototype would still apply. */
19869 return inet_aton ();
19874 for ac_lib
in '' resolv
19876 if test -z "$ac_lib"; then
19877 ac_res
="none required"
19880 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19882 if ac_fn_c_try_link
"$LINENO"
19884 ac_cv_search_inet_aton
=$ac_res
19886 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19888 if test ${ac_cv_search_inet_aton+y}
19893 if test ${ac_cv_search_inet_aton+y}
19897 ac_cv_search_inet_aton
=no
19899 rm conftest.
$ac_ext
19900 LIBS
=$ac_func_search_save_LIBS
19902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19903 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19904 ac_res
=$ac_cv_search_inet_aton
19905 if test "$ac_res" != no
19907 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19912 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19913 if test "x$ac_cv_func_getaddrinfo" = xyes
19915 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19921 darwin
*|macosx
*) ;;
19922 *) ac_save_LIBS
=$LIBS
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19924 printf %s
"checking for library containing clock_gettime... " >&6; }
19925 if test ${ac_cv_search_clock_gettime+y}
19927 printf %s
"(cached) " >&6
19929 ac_func_search_save_LIBS
=$LIBS
19930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19931 /* end confdefs.h. */
19933 /* Override any GCC internal prototype to avoid an error.
19934 Use char because int might match the return type of a GCC
19935 builtin and then its argument prototype would still apply. */
19936 char clock_gettime ();
19940 return clock_gettime ();
19945 for ac_lib
in '' rt
19947 if test -z "$ac_lib"; then
19948 ac_res
="none required"
19951 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19953 if ac_fn_c_try_link
"$LINENO"
19955 ac_cv_search_clock_gettime
=$ac_res
19957 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19959 if test ${ac_cv_search_clock_gettime+y}
19964 if test ${ac_cv_search_clock_gettime+y}
19968 ac_cv_search_clock_gettime
=no
19970 rm conftest.
$ac_ext
19971 LIBS
=$ac_func_search_save_LIBS
19973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19974 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19975 ac_res
=$ac_cv_search_clock_gettime
19976 if test "$ac_res" != no
19978 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19980 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19982 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
19990 if test "x$with_ldap" != "xno"
19992 if ${LDAP_CFLAGS:+false} :
19994 if test ${PKG_CONFIG+y}
19996 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20000 if ${LDAP_LIBS:+false} :
20002 if test ${PKG_CONFIG+y}
20004 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20008 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20011 ac_save_CPPFLAGS
=$CPPFLAGS
20012 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20013 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20014 if test "x$ac_cv_header_ldap_h" = xyes
20016 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20019 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20020 if test "x$ac_cv_header_lber_h" = xyes
20022 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20026 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20028 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20030 if test "x$ac_cv_type_LDAPSortKey" = xyes
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20033 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20034 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20036 printf %s
"(cached) " >&6
20038 ac_check_lib_save_LIBS
=$LIBS
20039 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20043 /* Override any GCC internal prototype to avoid an error.
20044 Use char because int might match the return type of a GCC
20045 builtin and then its argument prototype would still apply. */
20046 char ldap_initialize ();
20050 return ldap_initialize ();
20055 if ac_fn_c_try_link
"$LINENO"
20057 ac_cv_lib_ldap_ldap_initialize
=yes
20059 ac_cv_lib_ldap_ldap_initialize
=no
20061 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20062 conftest
$ac_exeext conftest.
$ac_ext
20063 LIBS
=$ac_check_lib_save_LIBS
20065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20066 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20067 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20070 printf %s
"checking for ber_init in -llber... " >&6; }
20071 if test ${ac_cv_lib_lber_ber_init+y}
20073 printf %s
"(cached) " >&6
20075 ac_check_lib_save_LIBS
=$LIBS
20076 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20080 /* Override any GCC internal prototype to avoid an error.
20081 Use char because int might match the return type of a GCC
20082 builtin and then its argument prototype would still apply. */
20087 return ber_init ();
20092 if ac_fn_c_try_link
"$LINENO"
20094 ac_cv_lib_lber_ber_init
=yes
20096 ac_cv_lib_lber_ber_init
=no
20098 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20099 conftest
$ac_exeext conftest.
$ac_ext
20100 LIBS
=$ac_check_lib_save_LIBS
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20103 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20104 if test "x$ac_cv_lib_lber_ber_init" = xyes
20107 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20124 CPPFLAGS
=$ac_save_CPPFLAGS
20127 if test "x$LDAP_LIBS" = "x"
20129 case "x$with_ldap" in
20130 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20132 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20133 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20139 printf %s
"checking for sched_setaffinity... " >&6; }
20140 if test ${wine_cv_have_sched_setaffinity+y}
20142 printf %s
"(cached) " >&6
20144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20150 sched_setaffinity(0, 0, 0);
20155 if ac_fn_c_try_link
"$LINENO"
20157 wine_cv_have_sched_setaffinity
=yes
20159 wine_cv_have_sched_setaffinity
=no
20161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20162 conftest
$ac_exeext conftest.
$ac_ext
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20165 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20166 if test "$wine_cv_have_sched_setaffinity" = "yes"
20169 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20175 printf %s
"checking for inline... " >&6; }
20176 if test ${ac_cv_c_inline+y}
20178 printf %s
"(cached) " >&6
20181 for ac_kw
in inline __inline__ __inline
; do
20182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20183 /* end confdefs.h. */
20184 #ifndef __cplusplus
20186 static $ac_kw foo_t static_foo (void) {return 0; }
20187 $ac_kw foo_t foo (void) {return 0; }
20191 if ac_fn_c_try_compile
"$LINENO"
20193 ac_cv_c_inline
=$ac_kw
20195 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20196 test "$ac_cv_c_inline" != no
&& break
20200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20201 printf "%s\n" "$ac_cv_c_inline" >&6; }
20203 case $ac_cv_c_inline in
20206 case $ac_cv_c_inline in
20208 *) ac_val
=$ac_cv_c_inline;;
20210 cat >>confdefs.h
<<_ACEOF
20211 #ifndef __cplusplus
20212 #define inline $ac_val
20218 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20219 #include <signal.h>
20221 if test "x$ac_cv_type_sigset_t" = xyes
20224 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20229 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20231 if test "x$ac_cv_type_request_sense" = xyes
20234 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20240 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20241 #include <sys/socket.h>
20242 #ifdef HAVE_SYS_SOCKETVAR_H
20243 #include <sys/socketvar.h>
20245 #ifdef HAVE_NET_ROUTE_H
20246 #include <net/route.h>
20248 #ifdef HAVE_NETINET_IN_H
20249 #include <netinet/in.h>
20251 #ifdef HAVE_NETINET_IN_SYSTM_H
20252 #include <netinet/in_systm.h>
20254 #ifdef HAVE_NETINET_IP_H
20255 #include <netinet/ip.h>
20257 #ifdef HAVE_NETINET_IN_PCB_H
20258 #include <netinet/in_pcb.h>
20261 if test "x$ac_cv_type_struct_xinpgen" = xyes
20264 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20271 printf %s
"checking for sigaddset... " >&6; }
20272 if test ${wine_cv_have_sigaddset+y}
20274 printf %s
"(cached) " >&6
20276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20278 #include <signal.h>
20282 sigset_t set; sigaddset(&set,SIGTERM);
20287 if ac_fn_c_try_link
"$LINENO"
20289 wine_cv_have_sigaddset
=yes
20291 wine_cv_have_sigaddset
=no
20293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20294 conftest
$ac_exeext conftest.
$ac_ext
20296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20297 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20298 if test "$wine_cv_have_sigaddset" = "yes"
20301 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20307 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20308 if test ${wine_cv_linux_gethostbyname_r_6+y}
20310 printf %s
"(cached) " >&6
20312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20321 struct hostent *result;
20328 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20329 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20335 if ac_fn_c_try_link
"$LINENO"
20337 wine_cv_linux_gethostbyname_r_6
=yes
20339 wine_cv_linux_gethostbyname_r_6
=no
20342 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20343 conftest
$ac_exeext conftest.
$ac_ext
20346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20347 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20348 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20351 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20355 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20356 #include <sys/socket.h>
20357 #ifdef HAVE_SYS_UN_H
20358 # include <sys/un.h>
20361 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20364 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20368 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20369 #include <sys/socket.h>
20370 #ifdef HAVE_SYS_UN_H
20371 # include <sys/un.h>
20374 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20377 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20383 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20384 #ifdef HAVE_SCSI_SG_H
20385 #include <scsi/sg.h>
20388 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20391 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20395 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>
20396 #ifdef HAVE_SCSI_SG_H
20397 #include <scsi/sg.h>
20400 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20403 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20409 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20411 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20414 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20420 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20421 #ifdef HAVE_SYS_MTIO_H
20422 #include <sys/mtio.h>
20425 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20428 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20432 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20433 #ifdef HAVE_SYS_MTIO_H
20434 #include <sys/mtio.h>
20437 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20440 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20444 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20445 #ifdef HAVE_SYS_MTIO_H
20446 #include <sys/mtio.h>
20449 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20452 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20458 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20459 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20466 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20467 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20470 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20474 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20475 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20478 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20482 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20483 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20486 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20490 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20491 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20494 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20498 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20499 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20502 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20506 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20507 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20510 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20514 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20515 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20518 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20522 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20523 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20526 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20530 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20531 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20534 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20538 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20539 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20542 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20548 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>
20549 #ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20553 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20556 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20562 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
20563 #include <resolv.h>
20566 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20569 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20575 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20576 #include <netinet/in.h>
20579 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20582 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20588 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20589 #ifdef HAVE_SYS_SOCKETVAR_H
20590 #include <sys/socketvar.h>
20592 #ifdef HAVE_NETINET_IN_H
20593 #include <netinet/in.h>
20595 #ifdef HAVE_NETINET_IP_VAR_H
20596 #include <netinet/ip_var.h>
20599 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20602 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20608 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
20609 #include <netinet/ip_var.h>
20612 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20615 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20621 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20622 #ifdef HAVE_SYS_SOCKETVAR_H
20623 #include <sys/socketvar.h>
20625 #ifdef HAVE_NETINET_IN_H
20626 #include <netinet/in.h>
20628 #ifdef HAVE_NETINET_TCP_H
20629 #include <netinet/tcp.h>
20631 #ifdef HAVE_NETINET_TCP_VAR_H
20632 #include <netinet/tcp_var.h>
20635 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20638 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20644 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
20645 #include <netinet/tcp_var.h>
20648 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20651 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20657 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20658 #ifdef HAVE_NETINET_IN_H
20659 #include <netinet/in.h>
20661 #ifdef HAVE_NETINET_IP_VAR_H
20662 #include <netinet/ip_var.h>
20664 #ifdef HAVE_NETINET_UDP_H
20665 #include <netinet/udp.h>
20667 #ifdef HAVE_NETINET_UDP_VAR_H
20668 #include <netinet/udp_var.h>
20671 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20674 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20680 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20681 #ifdef HAVE_NET_IF_H
20682 # include <net/if.h>
20685 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20688 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20694 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20695 # include <sys/sysinfo.h>
20698 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20701 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20705 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20706 # include <sys/sysinfo.h>
20709 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20712 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20718 LIBS
="$ac_save_LIBS"
20720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20721 printf %s
"checking for __builtin_popcount... " >&6; }
20722 if test ${ac_cv_have___builtin_popcount+y}
20724 printf %s
"(cached) " >&6
20726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20727 /* end confdefs.h. */
20732 return __builtin_popcount(1)
20737 if ac_fn_c_try_link
"$LINENO"
20739 ac_cv_have___builtin_popcount
="yes"
20741 ac_cv_have___builtin_popcount
="no"
20743 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20744 conftest
$ac_exeext conftest.
$ac_ext
20746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20747 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20748 if test "$ac_cv_have___builtin_popcount" = "yes"
20751 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20756 printf %s
"checking for __clear_cache... " >&6; }
20757 if test ${ac_cv_have___clear_cache+y}
20759 printf %s
"(cached) " >&6
20761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20762 /* end confdefs.h. */
20767 __clear_cache((void*)0, (void*)0); return 0;
20772 if ac_fn_c_try_link
"$LINENO"
20774 ac_cv_have___clear_cache
="yes"
20776 ac_cv_have___clear_cache
="no"
20778 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20779 conftest
$ac_exeext conftest.
$ac_ext
20781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20782 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20783 if test "$ac_cv_have___clear_cache" = "yes"
20786 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20792 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20793 printf %s
"checking whether we need to define __i386__... " >&6; }
20794 if test ${ac_cv_cpp_def___i386__+y}
20796 printf %s
"(cached) " >&6
20798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20805 $EGREP "yes" >/dev
/null
2>&1
20807 ac_cv_cpp_def___i386__
=yes
20809 ac_cv_cpp_def___i386__
=no
20814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20815 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20816 if test "x$ac_cv_cpp_def___i386__" = xyes
20818 CFLAGS
="$CFLAGS -D__i386__"
20819 LINTFLAGS
="$LINTFLAGS -D__i386__"
20821 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20822 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20823 if test ${ac_cv_cpp_def___x86_64__+y}
20825 printf %s
"(cached) " >&6
20827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20834 $EGREP "yes" >/dev
/null
2>&1
20836 ac_cv_cpp_def___x86_64__
=yes
20838 ac_cv_cpp_def___x86_64__
=no
20843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20844 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20845 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20847 CFLAGS
="$CFLAGS -D__x86_64__"
20848 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20850 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20851 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20852 if test ${ac_cv_cpp_def___sparc64__+y}
20854 printf %s
"(cached) " >&6
20856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20858 #ifndef __sparc64__
20862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20863 $EGREP "yes" >/dev
/null
2>&1
20865 ac_cv_cpp_def___sparc64__
=yes
20867 ac_cv_cpp_def___sparc64__
=no
20872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20873 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20874 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20876 CFLAGS
="$CFLAGS -D__sparc64__"
20877 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20879 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20880 printf %s
"checking whether we need to define __sparc__... " >&6; }
20881 if test ${ac_cv_cpp_def___sparc__+y}
20883 printf %s
"(cached) " >&6
20885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20886 /* end confdefs.h. */
20891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20892 $EGREP "yes" >/dev
/null
2>&1
20894 ac_cv_cpp_def___sparc__
=yes
20896 ac_cv_cpp_def___sparc__
=no
20901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20902 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20903 if test "x$ac_cv_cpp_def___sparc__" = xyes
20905 CFLAGS
="$CFLAGS -D__sparc__"
20906 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20908 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20909 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20910 if test ${ac_cv_cpp_def___powerpc64__+y}
20912 printf %s
"(cached) " >&6
20914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20915 /* end confdefs.h. */
20916 #ifndef __powerpc64__
20920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20921 $EGREP "yes" >/dev
/null
2>&1
20923 ac_cv_cpp_def___powerpc64__
=yes
20925 ac_cv_cpp_def___powerpc64__
=no
20930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20931 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20932 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20934 CFLAGS
="$CFLAGS -D__powerpc64__"
20935 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20937 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20938 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20939 if test ${ac_cv_cpp_def___powerpc__+y}
20941 printf %s
"(cached) " >&6
20943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20944 /* end confdefs.h. */
20945 #ifndef __powerpc__
20949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20950 $EGREP "yes" >/dev
/null
2>&1
20952 ac_cv_cpp_def___powerpc__
=yes
20954 ac_cv_cpp_def___powerpc__
=no
20959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20960 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20961 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20963 CFLAGS
="$CFLAGS -D__powerpc__"
20964 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20966 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20967 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20968 if test ${ac_cv_cpp_def___aarch64__+y}
20970 printf %s
"(cached) " >&6
20972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20974 #ifndef __aarch64__
20978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20979 $EGREP "yes" >/dev
/null
2>&1
20981 ac_cv_cpp_def___aarch64__
=yes
20983 ac_cv_cpp_def___aarch64__
=no
20988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20989 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20990 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20992 CFLAGS
="$CFLAGS -D__aarch64__"
20993 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20995 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20996 printf %s
"checking whether we need to define __arm__... " >&6; }
20997 if test ${ac_cv_cpp_def___arm__+y}
20999 printf %s
"(cached) " >&6
21001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21008 $EGREP "yes" >/dev
/null
2>&1
21010 ac_cv_cpp_def___arm__
=yes
21012 ac_cv_cpp_def___arm__
=no
21017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21018 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21019 if test "x$ac_cv_cpp_def___arm__" = xyes
21021 CFLAGS
="$CFLAGS -D__arm__"
21022 LINTFLAGS
="$LINTFLAGS -D__arm__"
21026 case $host_vendor in
21027 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21028 printf %s
"checking whether we need to define __sun__... " >&6; }
21029 if test ${ac_cv_cpp_def___sun__+y}
21031 printf %s
"(cached) " >&6
21033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21034 /* end confdefs.h. */
21039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21040 $EGREP "yes" >/dev
/null
2>&1
21042 ac_cv_cpp_def___sun__
=yes
21044 ac_cv_cpp_def___sun__
=no
21049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21050 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21051 if test "x$ac_cv_cpp_def___sun__" = xyes
21053 CFLAGS
="$CFLAGS -D__sun__"
21054 LINTFLAGS
="$LINTFLAGS -D__sun__"
21062 ac_config_commands
="$ac_config_commands include/stamp-h"
21064 printf %s
"creating Makefile rules..." >&6
21067 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21070 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21072 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21073 wine_fn_config_symlink wine
21074 if test "x$enable_win64" != xno
-o -n "$with_wine64"; then
21075 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21076 wine_fn_config_symlink wine64
21079 wine_fn_config_makefile dlls
/acledit enable_acledit
21080 wine_fn_config_makefile dlls
/aclui enable_aclui
21081 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21082 wine_fn_config_makefile dlls
/activeds enable_activeds
21083 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21084 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21085 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21086 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21087 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21088 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21089 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21090 wine_fn_config_makefile dlls
/advpack enable_advpack
21091 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21092 wine_fn_config_makefile dlls
/amsi enable_amsi
21093 wine_fn_config_makefile dlls
/amstream enable_amstream
21094 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21095 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21096 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21097 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21098 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21099 wine_fn_config_makefile dlls
/atl enable_atl
21100 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21101 wine_fn_config_makefile dlls
/atl100 enable_atl100
21102 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21103 wine_fn_config_makefile dlls
/atl110 enable_atl110
21104 wine_fn_config_makefile dlls
/atl80 enable_atl80
21105 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21106 wine_fn_config_makefile dlls
/atl90 enable_atl90
21107 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21108 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21109 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21110 wine_fn_config_makefile dlls
/authz enable_authz
21111 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21112 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21113 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21114 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21115 wine_fn_config_makefile dlls
/avrt enable_avrt
21116 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21117 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21118 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21119 wine_fn_config_makefile dlls
/browseui enable_browseui
21120 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21121 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21122 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21123 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21124 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21125 wine_fn_config_makefile dlls
/cards enable_cards
21126 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21127 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21128 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21129 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21130 wine_fn_config_makefile dlls
/combase enable_combase
21131 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21132 wine_fn_config_makefile dlls
/comcat enable_comcat
21133 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21134 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21135 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21136 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21137 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21138 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21139 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21140 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21141 wine_fn_config_makefile dlls
/compstui enable_compstui
21142 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21143 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21144 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21145 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21146 wine_fn_config_makefile dlls
/connect enable_connect
21147 wine_fn_config_makefile dlls
/credui enable_credui
21148 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21149 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21150 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21151 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21152 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21153 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21154 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21155 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21156 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21157 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21158 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21159 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21160 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21161 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21162 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21163 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21164 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21165 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21166 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21167 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21168 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21169 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21170 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21171 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21172 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21173 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21174 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21175 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21176 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21177 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21178 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21179 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21180 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21181 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21182 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21183 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21184 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21185 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21186 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21187 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21188 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21189 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21190 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21191 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21192 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21193 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21194 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21195 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21196 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21197 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21198 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21199 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21200 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21201 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21202 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21203 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21204 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21205 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21206 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21207 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21208 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21209 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21210 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21211 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21212 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21213 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21214 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21215 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21216 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21217 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21218 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21219 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21220 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21221 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21222 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21223 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21224 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21225 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21226 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21227 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21228 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21229 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21230 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21231 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21232 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21233 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21234 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21235 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21236 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21237 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21238 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21239 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21240 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21241 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21242 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21243 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21244 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21245 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21246 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21247 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21248 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21249 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21250 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21251 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21252 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21253 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21254 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21255 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21256 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21257 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21258 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21259 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21260 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21261 wine_fn_config_makefile dlls
/devenum enable_devenum
21262 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21263 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21264 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21265 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21266 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21267 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21268 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21269 wine_fn_config_makefile dlls
/dinput enable_dinput
21270 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21271 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21272 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21273 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21274 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21275 wine_fn_config_makefile dlls
/dispex enable_dispex
21276 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21277 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21278 wine_fn_config_makefile dlls
/dmband enable_dmband
21279 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21280 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21281 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21282 wine_fn_config_makefile dlls
/dmime enable_dmime
21283 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21284 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21285 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21286 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21287 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21288 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21289 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21290 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21291 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21292 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21293 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21294 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21295 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21296 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21297 wine_fn_config_makefile dlls
/dplay enable_dplay
21298 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21299 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21300 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21301 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21302 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21303 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21304 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21305 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21306 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21307 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21308 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21309 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21310 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21311 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21312 wine_fn_config_makefile dlls
/dsound enable_dsound
21313 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21314 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21315 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21316 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21317 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21318 wine_fn_config_makefile dlls
/dswave enable_dswave
21319 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21320 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21321 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21322 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21323 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21324 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21325 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21326 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21327 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21328 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21329 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21330 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21331 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21332 wine_fn_config_makefile dlls
/esent enable_esent
21333 wine_fn_config_makefile dlls
/evr enable_evr
21334 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21335 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21336 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21337 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21338 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21339 wine_fn_config_makefile dlls
/feclient enable_feclient
21340 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21341 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21342 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21343 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21344 wine_fn_config_makefile dlls
/fusion enable_fusion
21345 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21346 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21347 wine_fn_config_makefile dlls
/gameux enable_gameux
21348 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21349 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21350 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21351 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21352 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21353 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21354 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21355 wine_fn_config_makefile dlls
/glu32 enable_glu32
21356 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21357 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21358 wine_fn_config_makefile dlls
/hal enable_hal
21359 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21360 wine_fn_config_makefile dlls
/hid enable_hid
21361 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21362 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21363 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21364 wine_fn_config_makefile dlls
/hlink enable_hlink
21365 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21366 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21367 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21368 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21369 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21370 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21371 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21372 wine_fn_config_makefile dlls
/icmp enable_icmp
21373 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21374 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21375 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21376 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21377 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21378 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21379 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21380 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21381 wine_fn_config_makefile dlls
/imm32 enable_imm32
21382 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21383 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21384 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21385 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21386 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21387 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21388 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21389 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21390 wine_fn_config_makefile dlls
/initpki enable_initpki
21391 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21392 wine_fn_config_makefile dlls
/inseng enable_inseng
21393 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21394 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21395 wine_fn_config_makefile dlls
/iprop enable_iprop
21396 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21397 wine_fn_config_makefile dlls
/itircl enable_itircl
21398 wine_fn_config_makefile dlls
/itss enable_itss
21399 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21400 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21401 wine_fn_config_makefile dlls
/jscript enable_jscript
21402 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21403 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21404 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21405 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21406 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21407 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21408 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21409 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21410 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21411 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21412 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21413 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21414 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21415 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21416 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21417 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21418 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21419 wine_fn_config_makefile dlls
/localspl enable_localspl
21420 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21421 wine_fn_config_makefile dlls
/localui enable_localui
21422 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21423 wine_fn_config_makefile dlls
/lz32 enable_lz32
21424 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21425 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21426 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21427 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21428 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21429 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21430 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21431 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21432 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21433 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21434 wine_fn_config_makefile dlls
/mf enable_mf
21435 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21436 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21437 wine_fn_config_makefile dlls
/mferror enable_mferror
21438 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21439 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21440 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21441 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21442 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21443 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21444 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21445 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21446 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21447 wine_fn_config_makefile dlls
/midimap enable_midimap
21448 wine_fn_config_makefile dlls
/mlang enable_mlang
21449 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21450 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21451 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21452 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21453 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21454 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21455 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21456 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21457 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21458 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21459 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21460 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21461 wine_fn_config_makefile dlls
/mpr enable_mpr
21462 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21463 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21464 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21465 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21466 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21467 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21468 wine_fn_config_makefile dlls
/msado15 enable_msado15
21469 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21470 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21471 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21472 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21473 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21474 wine_fn_config_makefile dlls
/mscms enable_mscms
21475 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21476 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21477 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21478 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21479 wine_fn_config_makefile dlls
/msctf enable_msctf
21480 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21481 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21482 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21483 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21484 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21485 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21486 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21487 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21488 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21489 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21490 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21491 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21492 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21493 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21494 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21495 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21496 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21497 wine_fn_config_makefile dlls
/msi enable_msi
21498 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21499 wine_fn_config_makefile dlls
/msident enable_msident
21500 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21501 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21502 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21503 wine_fn_config_makefile dlls
/msisip enable_msisip
21504 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21505 wine_fn_config_makefile dlls
/msls31 enable_msls31
21506 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21507 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21508 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21509 wine_fn_config_makefile dlls
/msports enable_msports
21510 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21511 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21512 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21513 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21514 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21515 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21516 wine_fn_config_makefile dlls
/mstask enable_mstask
21517 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21518 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21519 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21520 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21521 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21522 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21523 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21524 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21525 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21526 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21527 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21528 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21529 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21530 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21531 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21532 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21533 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21534 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21535 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21536 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21537 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21538 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21539 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21540 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21541 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21542 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21543 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21544 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21545 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21546 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21547 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21548 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21549 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21550 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21551 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21552 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21553 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21554 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21555 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21556 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21557 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21558 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21559 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21560 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21561 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21562 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21563 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21564 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21565 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21566 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21567 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21568 wine_fn_config_makefile dlls
/msxml enable_msxml
21569 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21570 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21571 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21572 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21573 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21574 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21575 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21576 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21577 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21578 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21579 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21580 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21581 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21582 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21583 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21584 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21585 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21586 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21587 wine_fn_config_makefile dlls
/netutils enable_netutils
21588 wine_fn_config_makefile dlls
/newdev enable_newdev
21589 wine_fn_config_makefile dlls
/ninput enable_ninput
21590 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21591 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21592 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21593 wine_fn_config_makefile dlls
/npptools enable_npptools
21594 wine_fn_config_makefile dlls
/nsi enable_nsi
21595 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21596 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21597 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21598 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21599 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21600 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21601 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21602 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21603 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21604 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21605 wine_fn_config_makefile dlls
/objsel enable_objsel
21606 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21607 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21608 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21609 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21610 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21611 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21612 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21613 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21614 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21615 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21616 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21617 wine_fn_config_makefile dlls
/ole32 enable_ole32
21618 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21619 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21620 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21621 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21622 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21623 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21624 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21625 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21626 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21627 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21628 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21629 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21630 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21631 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21632 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21633 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21634 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21635 wine_fn_config_makefile dlls
/openal32 enable_openal32
21636 wine_fn_config_makefile dlls
/opencl enable_opencl
21637 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21638 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21639 wine_fn_config_makefile dlls
/packager enable_packager
21640 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21641 wine_fn_config_makefile dlls
/pdh enable_pdh
21642 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21643 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21644 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21645 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21646 wine_fn_config_makefile dlls
/printui enable_printui
21647 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21648 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21649 wine_fn_config_makefile dlls
/propsys enable_propsys
21650 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21651 wine_fn_config_makefile dlls
/psapi enable_psapi
21652 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21653 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21654 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21655 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21656 wine_fn_config_makefile dlls
/qasf enable_qasf
21657 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21658 wine_fn_config_makefile dlls
/qcap enable_qcap
21659 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21660 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21661 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21662 wine_fn_config_makefile dlls
/qedit enable_qedit
21663 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21664 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21665 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21666 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21667 wine_fn_config_makefile dlls
/quartz enable_quartz
21668 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21669 wine_fn_config_makefile dlls
/query enable_query
21670 wine_fn_config_makefile dlls
/qwave enable_qwave
21671 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21672 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21673 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21674 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21675 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21676 wine_fn_config_makefile dlls
/regapi enable_regapi
21677 wine_fn_config_makefile dlls
/resutils enable_resutils
21678 wine_fn_config_makefile dlls
/riched20 enable_riched20
21679 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21680 wine_fn_config_makefile dlls
/riched32 enable_riched32
21681 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21682 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21683 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21684 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21685 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21686 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21687 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21688 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21689 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21690 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21691 wine_fn_config_makefile dlls
/samlib enable_samlib
21692 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21693 wine_fn_config_makefile dlls
/sapi enable_sapi
21694 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21695 wine_fn_config_makefile dlls
/sas enable_sas
21696 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21697 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21698 wine_fn_config_makefile dlls
/schannel enable_schannel
21699 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21700 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21701 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21702 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21703 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21704 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21705 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21706 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21707 wine_fn_config_makefile dlls
/sechost enable_sechost
21708 wine_fn_config_makefile dlls
/secur32 enable_secur32
21709 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21710 wine_fn_config_makefile dlls
/security enable_security
21711 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21712 wine_fn_config_makefile dlls
/serialui enable_serialui
21713 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21714 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21715 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21716 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21717 wine_fn_config_makefile dlls
/sfc enable_sfc
21718 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21719 wine_fn_config_makefile dlls
/shcore enable_shcore
21720 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21721 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21722 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21723 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21724 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21725 wine_fn_config_makefile dlls
/shell32 enable_shell32
21726 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21727 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21728 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21729 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21730 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21731 wine_fn_config_makefile dlls
/slc enable_slc
21732 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21733 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21734 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21735 wine_fn_config_makefile dlls
/softpub enable_softpub
21736 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21737 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21738 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21739 wine_fn_config_makefile dlls
/sppc enable_sppc
21740 wine_fn_config_makefile dlls
/srclient enable_srclient
21741 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21742 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21743 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21744 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21745 wine_fn_config_makefile dlls
/sti enable_sti
21746 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21747 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21748 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21749 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21750 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21751 wine_fn_config_makefile dlls
/sxs enable_sxs
21752 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21753 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21754 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21755 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21756 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21757 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21758 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21759 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21760 wine_fn_config_makefile dlls
/tbs enable_tbs
21761 wine_fn_config_makefile dlls
/tdh enable_tdh
21762 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21763 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21764 wine_fn_config_makefile dlls
/traffic enable_traffic
21765 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21766 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21767 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21768 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21769 wine_fn_config_makefile dlls
/tzres enable_tzres
21770 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21771 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21772 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21773 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21774 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21775 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21776 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21777 wine_fn_config_makefile dlls
/unicows enable_unicows
21778 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21779 wine_fn_config_makefile dlls
/url enable_url
21780 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21781 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21782 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21783 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21784 wine_fn_config_makefile dlls
/user32 enable_user32
21785 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21786 wine_fn_config_makefile dlls
/userenv enable_userenv
21787 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21788 wine_fn_config_makefile dlls
/usp10 enable_usp10
21789 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21790 wine_fn_config_makefile dlls
/utildll enable_utildll
21791 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21792 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21793 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21794 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21795 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21796 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21797 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21798 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21799 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21800 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21801 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21802 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21803 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21804 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21805 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21806 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21807 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21808 wine_fn_config_makefile dlls
/version enable_version
21809 wine_fn_config_makefile dlls
/version
/tests enable_tests
21810 wine_fn_config_makefile dlls
/vga enable_vga
21811 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21812 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21813 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21814 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21815 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21816 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21817 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21818 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21819 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21820 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21821 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21822 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21823 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21824 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21825 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21826 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21827 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21828 wine_fn_config_makefile dlls
/webservices enable_webservices
21829 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21830 wine_fn_config_makefile dlls
/websocket enable_websocket
21831 wine_fn_config_makefile dlls
/wer enable_wer
21832 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21833 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21834 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21835 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21836 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21837 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21838 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21839 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21840 wine_fn_config_makefile dlls
/win32u enable_win32u
21841 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21842 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21843 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21844 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21845 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21846 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21847 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21848 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21849 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21850 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21851 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21852 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21853 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21854 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21855 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21856 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21857 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21858 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21859 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21860 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21861 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21862 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21863 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21864 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21865 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21866 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21867 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21868 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21869 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21870 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21871 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21872 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21873 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21874 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21875 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21876 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21877 wine_fn_config_makefile dlls
/wing32 enable_wing32
21878 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21879 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21880 wine_fn_config_makefile dlls
/wininet enable_wininet
21881 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21882 wine_fn_config_makefile dlls
/winmm enable_winmm
21883 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21884 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21885 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21886 wine_fn_config_makefile dlls
/winscard enable_winscard
21887 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21888 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21889 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21890 wine_fn_config_makefile dlls
/winsta enable_winsta
21891 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21892 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21893 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21894 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21895 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21896 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21897 wine_fn_config_makefile dlls
/winusb enable_winusb
21898 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21899 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21900 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21901 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21902 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21903 wine_fn_config_makefile dlls
/wmadmod enable_wmadmod
21904 wine_fn_config_makefile dlls
/wmadmod
/tests enable_tests
21905 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21906 wine_fn_config_makefile dlls
/wmi enable_wmi
21907 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21908 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21909 wine_fn_config_makefile dlls
/wmp enable_wmp
21910 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21911 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21912 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21913 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21914 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21915 wine_fn_config_makefile dlls
/wow32 enable_win16
21916 wine_fn_config_makefile dlls
/wow64 enable_wow64
21917 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21918 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21919 wine_fn_config_makefile dlls
/wpc enable_wpc
21920 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21921 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21922 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21923 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21924 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21925 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21926 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21927 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21928 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21929 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21930 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21931 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21932 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21933 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21934 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21935 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21936 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21937 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21938 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21939 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21940 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21941 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21942 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21943 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21944 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21945 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21946 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21947 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21948 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21949 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21950 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21951 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21952 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21953 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21954 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21955 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21956 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21957 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21958 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21959 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21960 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21961 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21962 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21963 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21964 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21965 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21966 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21967 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21968 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21969 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21970 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21971 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21972 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21973 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21974 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21975 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21976 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21977 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21978 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21979 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21980 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21981 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21982 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21983 wine_fn_config_makefile fonts enable_fonts
21984 wine_fn_config_makefile include enable_include
21985 wine_fn_config_makefile libs
/adsiid enable_adsiid
21986 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
21987 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
21988 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
21989 wine_fn_config_makefile libs
/dxguid enable_dxguid
21990 wine_fn_config_makefile libs
/faudio enable_faudio
21991 wine_fn_config_makefile libs
/gsm enable_gsm
21992 wine_fn_config_makefile libs
/jpeg enable_jpeg
21993 wine_fn_config_makefile libs
/jxr enable_jxr
21994 wine_fn_config_makefile libs
/lcms2 enable_lcms2
21995 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
21996 wine_fn_config_makefile libs
/mpg123 enable_mpg123
21997 wine_fn_config_makefile libs
/png enable_png
21998 wine_fn_config_makefile libs
/strmbase enable_strmbase
21999 wine_fn_config_makefile libs
/strmiids enable_strmiids
22000 wine_fn_config_makefile libs
/tiff enable_tiff
22001 wine_fn_config_makefile libs
/uuid enable_uuid
22002 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22003 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22004 wine_fn_config_makefile libs
/wine enable_wine
22005 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22006 wine_fn_config_makefile libs
/xml2 enable_xml2
22007 wine_fn_config_makefile libs
/xslt enable_xslt
22008 wine_fn_config_makefile libs
/zlib enable_zlib
22009 wine_fn_config_makefile loader enable_loader
22010 wine_fn_config_makefile nls enable_nls
22011 wine_fn_config_makefile po enable_po
22012 wine_fn_config_makefile programs
/arp enable_arp
22013 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22014 wine_fn_config_makefile programs
/attrib enable_attrib
22015 wine_fn_config_makefile programs
/cabarc enable_cabarc
22016 wine_fn_config_makefile programs
/cacls enable_cacls
22017 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22018 wine_fn_config_makefile programs
/clock enable_clock
22019 wine_fn_config_makefile programs
/cmd enable_cmd
22020 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22021 wine_fn_config_makefile programs
/conhost enable_conhost
22022 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22023 wine_fn_config_makefile programs
/control enable_control
22024 wine_fn_config_makefile programs
/cscript enable_cscript
22025 wine_fn_config_makefile programs
/dism enable_dism
22026 wine_fn_config_makefile programs
/dllhost enable_dllhost
22027 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22028 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22029 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22030 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22031 wine_fn_config_makefile programs
/eject enable_eject
22032 wine_fn_config_makefile programs
/expand enable_expand
22033 wine_fn_config_makefile programs
/explorer enable_explorer
22034 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22035 wine_fn_config_makefile programs
/fc enable_fc
22036 wine_fn_config_makefile programs
/find enable_find
22037 wine_fn_config_makefile programs
/find
/tests enable_tests
22038 wine_fn_config_makefile programs
/findstr enable_findstr
22039 wine_fn_config_makefile programs
/fsutil enable_fsutil
22040 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22041 wine_fn_config_makefile programs
/hh enable_hh
22042 wine_fn_config_makefile programs
/hostname enable_hostname
22043 wine_fn_config_makefile programs
/icacls enable_icacls
22044 wine_fn_config_makefile programs
/icinfo enable_icinfo
22045 wine_fn_config_makefile programs
/iexplore enable_iexplore
22046 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22047 wine_fn_config_makefile programs
/lodctr enable_lodctr
22048 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22049 wine_fn_config_makefile programs
/mshta enable_mshta
22050 wine_fn_config_makefile programs
/msidb enable_msidb
22051 wine_fn_config_makefile programs
/msiexec enable_msiexec
22052 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22053 wine_fn_config_makefile programs
/net enable_net
22054 wine_fn_config_makefile programs
/netsh enable_netsh
22055 wine_fn_config_makefile programs
/netstat enable_netstat
22056 wine_fn_config_makefile programs
/ngen enable_ngen
22057 wine_fn_config_makefile programs
/notepad enable_notepad
22058 wine_fn_config_makefile programs
/oleview enable_oleview
22059 wine_fn_config_makefile programs
/ping enable_ping
22060 wine_fn_config_makefile programs
/plugplay enable_plugplay
22061 wine_fn_config_makefile programs
/powershell enable_powershell
22062 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22063 wine_fn_config_makefile programs
/progman enable_progman
22064 wine_fn_config_makefile programs
/reg enable_reg
22065 wine_fn_config_makefile programs
/reg
/tests enable_tests
22066 wine_fn_config_makefile programs
/regasm enable_regasm
22067 wine_fn_config_makefile programs
/regedit enable_regedit
22068 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22069 wine_fn_config_makefile programs
/regini enable_regini
22070 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22071 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22072 wine_fn_config_makefile programs
/robocopy enable_robocopy
22073 wine_fn_config_makefile programs
/rpcss enable_rpcss
22074 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22075 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22076 wine_fn_config_makefile programs
/sc enable_sc
22077 wine_fn_config_makefile programs
/schtasks enable_schtasks
22078 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22079 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22080 wine_fn_config_makefile programs
/secedit enable_secedit
22081 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22082 wine_fn_config_makefile programs
/services enable_services
22083 wine_fn_config_makefile programs
/services
/tests enable_tests
22084 wine_fn_config_makefile programs
/shutdown enable_shutdown
22085 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22086 wine_fn_config_makefile programs
/start enable_start
22087 wine_fn_config_makefile programs
/subst enable_subst
22088 wine_fn_config_makefile programs
/svchost enable_svchost
22089 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22090 wine_fn_config_makefile programs
/taskkill enable_taskkill
22091 wine_fn_config_makefile programs
/tasklist enable_tasklist
22092 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22093 wine_fn_config_makefile programs
/termsv enable_termsv
22094 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22095 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22096 wine_fn_config_makefile programs
/view enable_view
22097 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22098 wine_fn_config_makefile programs
/where enable_where
22099 wine_fn_config_makefile programs
/whoami enable_whoami
22100 wine_fn_config_makefile programs
/wineboot enable_wineboot
22101 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22102 wine_fn_config_makefile programs
/winecfg enable_winecfg
22103 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22104 wine_fn_config_makefile programs
/winedbg enable_winedbg
22105 wine_fn_config_makefile programs
/winedevice enable_winedevice
22106 wine_fn_config_makefile programs
/winefile enable_winefile
22107 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22108 wine_fn_config_makefile programs
/winemine enable_winemine
22109 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22110 wine_fn_config_makefile programs
/winepath enable_winepath
22111 wine_fn_config_makefile programs
/winetest enable_winetest
22112 wine_fn_config_makefile programs
/winevdm enable_win16
22113 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22114 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22115 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22116 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22117 wine_fn_config_makefile programs
/winver enable_winver
22118 wine_fn_config_makefile programs
/wmic enable_wmic
22119 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22120 wine_fn_config_makefile programs
/wordpad enable_wordpad
22121 wine_fn_config_makefile programs
/write enable_write
22122 wine_fn_config_makefile programs
/wscript enable_wscript
22123 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22124 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22125 wine_fn_config_makefile programs
/wusa enable_wusa
22126 wine_fn_config_makefile programs
/xcopy enable_xcopy
22127 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22128 wine_fn_config_makefile server enable_server
22129 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22130 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22131 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22132 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22133 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22134 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22135 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22136 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22137 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22140 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
22141 wine_fn_append_file CONFIGURE_TARGETS
"tags"
22142 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
22143 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
22144 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
22145 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
22146 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
22147 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
22149 if test "x$enable_tools" != xno
22151 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
22152 ac_config_commands
="$ac_config_commands tools/makedep"
22156 ac_config_commands
="$ac_config_commands Makefile"
22163 wine_fn_append_rule
"all: wine
22164 @echo \"Wine build complete.\"
22168 Makefile: config.status \$(MAKEDEP)
22169 @./config.status Makefile
22170 depend: \$(MAKEDEP)
22171 \$(MAKEDEP)$makedep_flags"
22174 wine_fn_append_rule
"config.status: ${wine_srcdir}configure
22175 @./config.status --recheck
22176 include/config.h: include/stamp-h
22177 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22178 @./config.status include/config.h include/stamp-h"
22180 if test "x$enable_maintainer_mode" = xyes
22182 wine_fn_append_rule
"configure: configure.ac aclocal.m4
22183 autoconf --warnings=all
22184 include/config.h.in: include/stamp-h.in
22185 include/stamp-h.in: configure.ac aclocal.m4
22186 autoheader --warnings=all
22187 @echo timestamp > \$@"
22190 if test "x$enable_tools" != xno
22192 wine_fn_append_rule
"tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22193 @./config.status tools/makedep
22194 Makefile: tools/makedep$ac_exeext"
22196 wine_fn_append_rule
"\$(MAKEDEP):
22197 @echo \"You need to run make in $toolsdir first\" && false"
22201 if test -n "$with_wine64"
22203 case "$with_wine64" in
22207 rm -f fonts server
2>/dev
/null
22208 wine_fn_append_rule
"all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22209 loader/wine64 loader/wine64-preloader:
22210 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22211 $with_wine64/loader/wine:
22212 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22213 $with_wine64/loader/wine-preloader:
22214 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22216 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22218 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22219 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22223 programs/msidb/msidb \
22224 programs/msiexec/msiexec \
22225 programs/notepad/notepad \
22226 programs/regedit/regedit \
22227 programs/regsvr32/regsvr32 \
22228 programs/wineboot/wineboot \
22229 programs/winecfg/winecfg \
22230 programs/wineconsole/wineconsole \
22231 programs/winedbg/winedbg \
22232 programs/winefile/winefile \
22233 programs/winemine/winemine \
22234 programs/winepath/winepath \
22238 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22239 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22244 wine_fn_append_rule
"distclean:: clean
22245 rm -rf autom4te.cache
22247 rm -f configure include/config.h.in"
22250 wine_fn_append_rule
"dlls/ntdll/unix/version.c: dummy
22251 @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)
22252 programs/winetest/build.rc: dummy
22253 @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)
22254 programs/winetest/build.nfo:
22256 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
22257 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22258 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22261 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22263 wine_fn_append_rule
"TAGS etags:
22265 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22268 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22270 .PHONY: depend dummy install-manpages"
22272 printf "%s\n" " done" >&6
22273 cat >confcache
<<\_ACEOF
22274 # This file is a shell script that caches the results of configure
22275 # tests run on this system so they can be shared between configure
22276 # scripts and configure runs, see configure's option --config-cache.
22277 # It is not useful on other systems. If it contains results you don't
22278 # want to keep, you may remove or edit it.
22280 # config.status only pays attention to the cache file if you give it
22281 # the --recheck option to rerun configure.
22283 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22284 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22285 # following values.
22289 # The following way of writing the cache mishandles newlines in values,
22290 # but we know of no workaround that is simple, portable, and efficient.
22291 # So, we kill variables containing newlines.
22292 # Ultrix sh set writes to stderr and can't be redirected directly,
22293 # and sets the high bit in the cache file unless we assign to the vars.
22295 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22296 eval ac_val
=\$
$ac_var
22300 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22301 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22304 _ | IFS | as_nl
) ;; #(
22305 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22306 *) { eval $ac_var=; unset $ac_var;} ;;
22312 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22313 *${as_nl}ac_space
=\
*)
22314 # `set' does not quote correctly, so add quotes: double-quote
22315 # substitution turns \\\\ into \\, and sed turns \\ into \.
22318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22321 # `set' quotes correctly as required by POSIX, so do not add quotes.
22322 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22331 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22333 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22335 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22336 if test -w "$cache_file"; then
22337 if test "x$cache_file" != "x/dev/null"; then
22338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22339 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22340 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22341 cat confcache
>"$cache_file"
22343 case $cache_file in #(
22345 mv -f confcache
"$cache_file"$$
&&
22346 mv -f "$cache_file"$$
"$cache_file" ;; #(
22348 mv -f confcache
"$cache_file" ;;
22353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22354 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22359 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22360 # Let make expand exec_prefix.
22361 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22363 DEFS
=-DHAVE_CONFIG_H
22368 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22369 # 1. Remove the extension, and $U if already installed.
22370 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22371 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22372 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22373 # will be set to the directory where LIBOBJS objects are built.
22374 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22375 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22377 LIBOBJS
=$ac_libobjs
22379 LTLIBOBJS
=$ac_ltlibobjs
22383 : "${CONFIG_STATUS=./config.status}"
22385 ac_clean_files_save
=$ac_clean_files
22386 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22388 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22390 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22392 # Generated by $as_me.
22393 # Run this file to recreate the current configuration.
22394 # Compiler output produced by configure, useful for debugging
22395 # configure, is in config.log if it exists.
22398 ac_cs_recheck=false
22401 SHELL=\${CONFIG_SHELL-$SHELL}
22404 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22405 ## -------------------- ##
22406 ## M4sh Initialization. ##
22407 ## -------------------- ##
22409 # Be more Bourne compatible
22410 DUALCASE
=1; export DUALCASE
# for MKS sh
22412 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22416 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22417 # is contrary to our usage. Disable this feature.
22418 alias -g '${1+"$@"}'='"$@"'
22419 setopt NO_GLOB_SUBST
22421 case `(set -o) 2>/dev/null` in #(
22431 # Reset variables that may have inherited troublesome values from
22434 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22435 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22436 # side effect of setting IFS to empty, thus disabling word splitting.)
22437 # Quoting is to prevent editors from complaining about space-tab.
22447 # Ensure predictable behavior from utilities with locale-dependent output.
22453 # We cannot yet rely on "unset" to work, but we need these variables
22454 # to be unset--not just set to an empty or harmless value--now, to
22455 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22456 # also avoids known problems related to "unset" and subshell syntax
22457 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22458 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22459 do eval test \
${$as_var+y} \
22460 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22463 # Ensure that fds 0, 1, and 2 are open.
22464 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22465 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22466 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22468 # The user is always right.
22469 if ${PATH_SEPARATOR+false} :; then
22471 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22472 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22478 # Find who we are. Look in the path if we contain no directory separator.
22481 *[\\/]* ) as_myself
=$0 ;;
22482 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22483 for as_dir
in $PATH
22486 case $as_dir in #(((
22489 *) as_dir
=$as_dir/ ;;
22491 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22497 # We did not find ourselves, most probably we were run as `sh COMMAND'
22498 # in which case we are not to be found in the path.
22499 if test "x$as_myself" = x
; then
22502 if test ! -f "$as_myself"; then
22503 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22509 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22510 # ----------------------------------------
22511 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22512 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22513 # script with STATUS, using 1 if that was 0.
22516 as_status
=$1; test $as_status -eq 0 && as_status
=1
22518 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22521 printf "%s\n" "$as_me: error: $2" >&2
22522 as_fn_exit
$as_status
22527 # as_fn_set_status STATUS
22528 # -----------------------
22529 # Set $? to STATUS, without forking.
22530 as_fn_set_status
()
22533 } # as_fn_set_status
22535 # as_fn_exit STATUS
22536 # -----------------
22537 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22541 as_fn_set_status
$1
22547 # Portably unset VAR.
22550 { eval $1=; unset $1;}
22552 as_unset
=as_fn_unset
22554 # as_fn_append VAR VALUE
22555 # ----------------------
22556 # Append the text in VALUE to the end of the definition contained in VAR. Take
22557 # advantage of any shell optimizations that allow amortized linear growth over
22558 # repeated appends, instead of the typical quadratic growth present in naive
22560 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22562 eval 'as_fn_append ()
22573 # as_fn_arith ARG...
22574 # ------------------
22575 # Perform arithmetic evaluation on the ARGs, and store the result in the
22576 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22577 # must be portable across $(()) and expr.
22578 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22580 eval 'as_fn_arith ()
22587 as_val
=`expr "$@" || test $? -eq 1`
22592 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22593 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22599 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22600 as_basename
=basename
22605 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22611 as_me
=`$as_basename -- "$0" ||
22612 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22613 X"$0" : 'X\(//\)$' \| \
22614 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22615 printf "%s\n" X/"$0" |
22616 sed '/^.*\/\([^/][^/]*\)\/*$/{
22630 # Avoid depending upon Character Ranges.
22631 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22632 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22633 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22634 as_cr_digits
='0123456789'
22635 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22638 # Determine whether it's possible to make 'echo' print without a newline.
22639 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22640 # for compatibility with existing Makefiles.
22641 ECHO_C
= ECHO_N
= ECHO_T
=
22642 case `echo -n x` in #(((((
22644 case `echo 'xy\c'` in
22645 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22647 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22654 # For backward compatibility with old third-party macros, we provide
22655 # the shell variables $as_echo and $as_echo_n. New code should use
22656 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22657 as_echo
='printf %s\n'
22658 as_echo_n
='printf %s'
22660 rm -f conf$$ conf$$.exe conf$$.
file
22661 if test -d conf$$.dir
; then
22662 rm -f conf$$.dir
/conf$$.
file
22665 mkdir conf$$.dir
2>/dev
/null
22667 if (echo >conf$$.
file) 2>/dev
/null
; then
22668 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22670 # ... but there are two gotchas:
22671 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22672 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22673 # In both cases, we have to default to `cp -pR'.
22674 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22676 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22684 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22685 rmdir conf$$.dir
2>/dev
/null
22690 # Create "$as_dir" as a directory, including parents if necessary.
22695 -*) as_dir
=.
/$as_dir;;
22697 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22701 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22702 *) as_qdir
=$as_dir;;
22704 as_dirs
="'$as_qdir' $as_dirs"
22705 as_dir
=`$as_dirname -- "$as_dir" ||
22706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22707 X"$as_dir" : 'X\(//\)[^/]' \| \
22708 X"$as_dir" : 'X\(//\)$' \| \
22709 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22710 printf "%s\n" X"$as_dir" |
22711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22715 /^X\(\/\/\)[^/].*/{
22728 test -d "$as_dir" && break
22730 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22731 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22735 if mkdir
-p .
2>/dev
/null
; then
22736 as_mkdir_p
='mkdir -p "$as_dir"'
22738 test -d .
/-p && rmdir .
/-p
22743 # as_fn_executable_p FILE
22744 # -----------------------
22745 # Test if FILE is an executable regular file.
22746 as_fn_executable_p
()
22748 test -f "$1" && test -x "$1"
22749 } # as_fn_executable_p
22750 as_test_x
='test -x'
22751 as_executable_p
=as_fn_executable_p
22753 # Sed expression to map a string onto a valid CPP name.
22754 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22756 # Sed expression to map a string onto a valid variable name.
22757 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22761 ## ----------------------------------- ##
22762 ## Main body of $CONFIG_STATUS script. ##
22763 ## ----------------------------------- ##
22765 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22768 # Save the log message, to keep $0 and so on meaningful, and to
22769 # report actual input values of CONFIG_FILES etc. instead of their
22770 # values after options handling.
22772 This file was extended by Wine $as_me 7.7, which was
22773 generated by GNU Autoconf 2.71. Invocation command line was
22775 CONFIG_FILES = $CONFIG_FILES
22776 CONFIG_HEADERS = $CONFIG_HEADERS
22777 CONFIG_LINKS = $CONFIG_LINKS
22778 CONFIG_COMMANDS = $CONFIG_COMMANDS
22781 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22787 case $ac_config_headers in *"
22788 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22793 # Files that config.status was made for.
22794 config_headers="$ac_config_headers"
22795 config_links="$ac_config_links"
22796 config_commands="$ac_config_commands"
22800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22802 \`$as_me' instantiates files and other configuration actions
22803 from templates according to the current configuration. Unless the files
22804 and actions are specified as TAGs, all are instantiated by default.
22806 Usage: $0 [OPTION]... [TAG]...
22808 -h, --help print this help, then exit
22809 -V, --version print version number and configuration settings, then exit
22810 --config print configuration, then exit
22811 -q, --quiet, --silent
22812 do not print progress messages
22813 -d, --debug don't remove temporary files
22814 --recheck update $as_me by reconfiguring in the same conditions
22815 --header=FILE[:TEMPLATE]
22816 instantiate the configuration header FILE
22818 Configuration headers:
22821 Configuration links:
22824 Configuration commands:
22827 Report bugs to <wine-devel@winehq.org>.
22828 Wine home page: <https://www.winehq.org>."
22831 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22832 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22834 ac_cs_config='$ac_cs_config_escaped'
22836 Wine config.status 7.7
22837 configured by $0, generated by GNU Autoconf 2.71,
22838 with options \\"\$ac_cs_config\\"
22840 Copyright (C) 2021 Free Software Foundation, Inc.
22841 This config.status script is free software; the Free Software Foundation
22842 gives unlimited permission to copy, distribute and modify it."
22846 test -n "\$AWK" || AWK=awk
22849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22850 # The default lists apply if the user does not specify any file.
22856 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22857 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22861 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22873 # Handling of the options.
22874 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22876 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22877 printf "%s\n" "$ac_cs_version"; exit ;;
22878 --config |
--confi |
--conf |
--con |
--co |
--c )
22879 printf "%s\n" "$ac_cs_config"; exit ;;
22880 --debug |
--debu |
--deb |
--de |
--d |
-d )
22882 --header |
--heade |
--head |
--hea )
22885 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22887 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22888 ac_need_defaults
=false
;;
22890 # Conflict between --help and --header
22891 as_fn_error $?
"ambiguous option: \`$1'
22892 Try \`$0 --help' for more information.";;
22893 --help |
--hel |
-h )
22894 printf "%s\n" "$ac_cs_usage"; exit ;;
22895 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22896 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22899 # This is an error.
22900 -*) as_fn_error $?
"unrecognized option: \`$1'
22901 Try \`$0 --help' for more information." ;;
22903 *) as_fn_append ac_config_targets
" $1"
22904 ac_need_defaults
=false
;;
22910 ac_configure_extra_args
=
22912 if $ac_cs_silent; then
22914 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22919 if \$ac_cs_recheck; then
22920 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22922 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22923 CONFIG_SHELL='$SHELL'
22924 export CONFIG_SHELL
22929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22934 ## Running $as_me. ##
22936 printf "%s\n" "$ac_log"
22940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22944 wine_fn_output_makedep ()
22946 as_dir=tools; as_fn_mkdir_p
22947 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22949 wine_fn_output_makefile ()
22951 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22952 # This Makefile understands the following targets:
22954 # all (default): build wine
22955 # clean: remove all intermediate files
22956 # distclean: also remove all files created by configure
22958 # testclean: clean test results to force running all tests again
22959 # install-lib: install libraries needed to run applications
22960 # install-dev: install development environment
22961 # install: install everything
22962 # uninstall: uninstall everything
22963 # ctags: create a tags file for vim and others.
22964 # etags: create a TAGS file for Emacs.
22967 PATH_SEPARATOR = $PATH_SEPARATOR
22968 PACKAGE_NAME = $PACKAGE_NAME
22969 PACKAGE_TARNAME = $PACKAGE_TARNAME
22970 PACKAGE_VERSION = $PACKAGE_VERSION
22971 PACKAGE_STRING = $PACKAGE_STRING
22972 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22973 PACKAGE_URL = $PACKAGE_URL
22974 exec_prefix = $exec_prefix
22976 program_transform_name = $program_transform_name
22979 libexecdir = $libexecdir
22980 datarootdir = $datarootdir
22982 sysconfdir = $sysconfdir
22983 sharedstatedir = $sharedstatedir
22984 localstatedir = $localstatedir
22985 runstatedir = $runstatedir
22986 includedir = $includedir
22987 oldincludedir = $oldincludedir
22995 localedir = $localedir
23002 build_alias = $build_alias
23003 host_alias = $host_alias
23004 target_alias = $target_alias
23005 system_dllpath = $system_dllpath
23007 build_cpu = $build_cpu
23008 build_vendor = $build_vendor
23009 build_os = $build_os
23011 host_cpu = $host_cpu
23012 host_vendor = $host_vendor
23018 SET_MAKE = $SET_MAKE
23022 CPPFLAGS = $CPPFLAGS
23023 ac_ct_CC = $ac_ct_CC
23027 CXXFLAGS = $CXXFLAGS
23028 ac_ct_CXX = $ac_ct_CXX
23031 TARGETFLAGS = $TARGETFLAGS
23032 toolsext = $toolsext
23033 toolsdir = $toolsdir
23035 RUNTESTFLAGS = $RUNTESTFLAGS
23040 ac_ct_AR = $ac_ct_AR
23046 LDCONFIG = $LDCONFIG
23048 PKG_CONFIG = $PKG_CONFIG
23049 FONTFORGE = $FONTFORGE
23053 I386_LIBS = $I386_LIBS
23054 OPENGL_LIBS = $OPENGL_LIBS
23055 DLLFLAGS = $DLLFLAGS
23056 LDDLLFLAGS = $LDDLLFLAGS
23057 LDEXECFLAGS = $LDEXECFLAGS
23058 EXTRACFLAGS = $EXTRACFLAGS
23059 UNIXDLLFLAGS = $UNIXDLLFLAGS
23060 UNIXLDFLAGS = $UNIXLDFLAGS
23061 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23062 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23063 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23064 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23069 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23070 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23071 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23074 OBJCFLAGS = $OBJCFLAGS
23075 ac_ct_OBJC = $ac_ct_OBJC
23076 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23077 IOKIT_LIBS = $IOKIT_LIBS
23078 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23079 CORESERVICES_LIBS = $CORESERVICES_LIBS
23080 APPKIT_LIBS = $APPKIT_LIBS
23081 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23082 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23083 SECURITY_LIBS = $SECURITY_LIBS
23084 COREAUDIO_LIBS = $COREAUDIO_LIBS
23085 OPENAL_LIBS = $OPENAL_LIBS
23086 OPENCL_LIBS = $OPENCL_LIBS
23087 CARBON_LIBS = $CARBON_LIBS
23088 METAL_LIBS = $METAL_LIBS
23089 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23090 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23091 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23093 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23094 CROSSTARGET = $CROSSTARGET
23096 CROSSCFLAGS = $CROSSCFLAGS
23097 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23098 CROSSLDFLAGS = $CROSSLDFLAGS
23099 DELAYLOADFLAG = $DELAYLOADFLAG
23100 CROSSDEBUG = $CROSSDEBUG
23101 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23102 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23103 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23104 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23105 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23106 GSM_PE_LIBS = $GSM_PE_LIBS
23107 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23108 JPEG_PE_LIBS = $JPEG_PE_LIBS
23109 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23110 JXR_PE_LIBS = $JXR_PE_LIBS
23111 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23112 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23113 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23114 MPG123_PE_LIBS = $MPG123_PE_LIBS
23115 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23116 PNG_PE_LIBS = $PNG_PE_LIBS
23117 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23118 TIFF_PE_LIBS = $TIFF_PE_LIBS
23119 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23120 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23121 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23122 XML2_PE_LIBS = $XML2_PE_LIBS
23123 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23124 XSLT_PE_LIBS = $XSLT_PE_LIBS
23125 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23126 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23127 PTHREAD_LIBS = $PTHREAD_LIBS
23130 X_CFLAGS = $X_CFLAGS
23131 X_PRE_LIBS = $X_PRE_LIBS
23133 X_EXTRA_LIBS = $X_EXTRA_LIBS
23134 PCAP_LIBS = $PCAP_LIBS
23135 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23136 INOTIFY_LIBS = $INOTIFY_LIBS
23137 DBUS_CFLAGS = $DBUS_CFLAGS
23138 DBUS_LIBS = $DBUS_LIBS
23139 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23140 GNUTLS_LIBS = $GNUTLS_LIBS
23141 SANE_CFLAGS = $SANE_CFLAGS
23142 SANE_LIBS = $SANE_LIBS
23143 USB_CFLAGS = $USB_CFLAGS
23144 USB_LIBS = $USB_LIBS
23145 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23146 GPHOTO2_LIBS = $GPHOTO2_LIBS
23147 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23148 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23149 RESOLV_LIBS = $RESOLV_LIBS
23150 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23151 FREETYPE_LIBS = $FREETYPE_LIBS
23152 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23153 PULSE_CFLAGS = $PULSE_CFLAGS
23154 PULSE_LIBS = $PULSE_LIBS
23155 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23156 GSTREAMER_LIBS = $GSTREAMER_LIBS
23157 ALSA_LIBS = $ALSA_LIBS
23158 OSS4_CFLAGS = $OSS4_CFLAGS
23159 OSS4_LIBS = $OSS4_LIBS
23160 UDEV_CFLAGS = $UDEV_CFLAGS
23161 UDEV_LIBS = $UDEV_LIBS
23162 UNWIND_CFLAGS = $UNWIND_CFLAGS
23163 UNWIND_LIBS = $UNWIND_LIBS
23164 SDL2_CFLAGS = $SDL2_CFLAGS
23165 SDL2_LIBS = $SDL2_LIBS
23166 CAPI20_CFLAGS = $CAPI20_CFLAGS
23167 CAPI20_LIBS = $CAPI20_LIBS
23168 CUPS_CFLAGS = $CUPS_CFLAGS
23169 CUPS_LIBS = $CUPS_LIBS
23170 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23171 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23172 KRB5_CFLAGS = $KRB5_CFLAGS
23173 KRB5_LIBS = $KRB5_LIBS
23174 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23175 GSSAPI_LIBS = $GSSAPI_LIBS
23176 PROCSTAT_LIBS = $PROCSTAT_LIBS
23177 NETAPI_CFLAGS = $NETAPI_CFLAGS
23178 NETAPI_LIBS = $NETAPI_LIBS
23179 MSVCRTFLAGS = $MSVCRTFLAGS
23181 LDAP_CFLAGS = $LDAP_CFLAGS
23182 LDAP_LIBS = $LDAP_LIBS
23183 TAGSFLAGS = $TAGSFLAGS
23185 LTLIBOBJS = $LTLIBOBJS
23189 as_fn_error $? "could not create Makefile" "$LINENO" 5
23194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23196 # Handling of arguments.
23197 for ac_config_target
in $ac_config_targets
23199 case $ac_config_target in
23200 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23201 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23202 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23203 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23204 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23205 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23207 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23212 # If the user did not use the arguments to specify the items to instantiate,
23213 # then the envvar interface is used. Set only those that are not.
23214 # We use the long form for the default assignment because of an extremely
23215 # bizarre bug on SunOS 4.1.3.
23216 if $ac_need_defaults; then
23217 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23218 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23219 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23222 # Have a temporary directory for convenience. Make it in the build tree
23223 # simply because there is no reason against having it here, and in addition,
23224 # creating and moving files from /tmp can sometimes cause problems.
23225 # Hook for its removal unless debugging.
23226 # Note that there is a small window in which the directory will not be cleaned:
23227 # after its creation but before its name has been assigned to `$tmp'.
23231 trap 'exit_status=$?
23232 : "${ac_tmp:=$tmp}"
23233 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23235 trap 'as_fn_exit 1' 1 2 13 15
23237 # Create a (secure) tmp directory for tmp files.
23240 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23244 tmp
=.
/conf$$
-$RANDOM
23245 (umask 077 && mkdir
"$tmp")
23246 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23249 # Set up the scripts for CONFIG_HEADERS section.
23250 # No need to generate them if there are no CONFIG_HEADERS.
23251 # This happens for instance with `./config.status Makefile'.
23252 if test -n "$CONFIG_HEADERS"; then
23253 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23257 # Transform confdefs.h into an awk script `defines.awk', embedded as
23258 # here-document in config.status, that substitutes the proper values into
23259 # config.h.in to produce config.h.
23261 # Create a delimiter string that does not exist in confdefs.h, to ease
23262 # handling of long lines.
23264 for ac_last_try
in false false
:; do
23265 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23266 if test -z "$ac_tt"; then
23268 elif $ac_last_try; then
23269 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23271 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23275 # For the awk script, D is an array of macro values keyed by name,
23276 # likewise P contains macro parameters if any. Preserve backslash
23277 # newline sequences.
23279 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23281 s/.\{148\}/&'"$ac_delim"'/g
23284 s/^[ ]*#[ ]*define[ ][ ]*/ /
23291 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23293 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23297 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23298 D["\1"]=" \3\\\\\\n"\\/p
23300 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23305 s/.\{148\}/&'"$ac_delim"'/g
23310 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23313 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23315 ' <confdefs.h |
sed '
23316 s/'"$ac_delim"'/"\\\
23317 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23320 for (key in D) D_is_set[key] = 1
23323 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23325 split(line, arg, " ")
23326 if (arg[1] == "#") {
23330 defundef = substr(arg[1], 2)
23333 split(mac1, mac2, "(") #)
23335 prefix = substr(line, 1, index(line, defundef) - 1)
23336 if (D_is_set[macro]) {
23337 # Preserve the white space surrounding the "#".
23338 print prefix "define", macro P[macro] D[macro]
23341 # Replace #undef with comments. This is necessary, for example,
23342 # in the case of _POSIX_SOURCE, which is predefined and required
23343 # on some systems where configure will not decide to define it.
23344 if (defundef == "undef") {
23345 print "/*", prefix defundef, macro, "*/"
23353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23354 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23355 fi # test -n "$CONFIG_HEADERS"
23358 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23363 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23365 case $ac_mode$ac_tag in
23367 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23368 :[FH
]-) ac_tag
=-:-;;
23369 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23386 -) ac_f
="$ac_tmp/stdin";;
23387 *) # Look for the file first in the build tree, then in the source tree
23388 # (if the path is not absolute). The absolute path cannot be DOS-style,
23389 # because $ac_f cannot contain `:'.
23393 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23395 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23397 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23398 as_fn_append ac_file_inputs
" '$ac_f'"
23401 # Let's still pretend it is `configure' which instantiates (i.e., don't
23402 # use $as_me), people would be surprised to read:
23403 # /* config.h. Generated by config.status. */
23404 configure_input
='Generated from '`
23405 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23407 if test x
"$ac_file" != x-
; then
23408 configure_input
="$ac_file. $configure_input"
23409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23410 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23412 # Neutralize special characters interpreted by sed in replacement strings.
23413 case $configure_input in #(
23414 *\
&* |
*\|
* |
*\\* )
23415 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23416 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23417 *) ac_sed_conf_input
=$configure_input;;
23421 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23422 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23427 ac_dir
=`$as_dirname -- "$ac_file" ||
23428 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23429 X"$ac_file" : 'X\(//\)[^/]' \| \
23430 X"$ac_file" : 'X\(//\)$' \| \
23431 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23432 printf "%s\n" X"$ac_file" |
23433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23437 /^X\(\/\/\)[^/].*/{
23450 as_dir
="$ac_dir"; as_fn_mkdir_p
23454 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23456 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23457 # A ".." for each directory in $ac_dir_suffix.
23458 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23459 case $ac_top_builddir_sub in
23460 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23461 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23464 ac_abs_top_builddir
=$ac_pwd
23465 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23466 # for backward compatibility:
23467 ac_top_builddir
=$ac_top_build_prefix
23470 .
) # We are building in place.
23472 ac_top_srcdir
=$ac_top_builddir_sub
23473 ac_abs_top_srcdir
=$ac_pwd ;;
23474 [\\/]* | ?
:[\\/]* ) # Absolute name.
23475 ac_srcdir
=$srcdir$ac_dir_suffix;
23476 ac_top_srcdir
=$srcdir
23477 ac_abs_top_srcdir
=$srcdir ;;
23478 *) # Relative name.
23479 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23480 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23481 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23483 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23492 if test x
"$ac_file" != x-
; then
23494 printf "%s\n" "/* $configure_input */" >&1 \
23495 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23496 } >"$ac_tmp/config.h" \
23497 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23498 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23500 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23503 mv "$ac_tmp/config.h" "$ac_file" \
23504 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23507 printf "%s\n" "/* $configure_input */" >&1 \
23508 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23509 || as_fn_error $?
"could not create -" "$LINENO" 5
23517 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23520 # Prefer the file from the source tree if names are identical.
23521 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23522 ac_source
=$srcdir/$ac_source
23525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23526 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23528 if test ! -r "$ac_source"; then
23529 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23533 # Try a relative symlink, then a hard link, then a copy.
23535 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23536 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23538 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23539 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23540 cp -p "$ac_source" "$ac_file" ||
23541 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23544 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23545 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23550 case $ac_file$ac_mode in
23551 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23552 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23553 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23561 ac_clean_files
=$ac_clean_files_save
23563 test $ac_write_fail = 0 ||
23564 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23567 # configure is writing to config.log, and then calls config.status.
23568 # config.status does its own redirection, appending to config.log.
23569 # Unfortunately, on DOS this fails, as config.log is still kept open
23570 # by configure, so config.status won't be able to write to it; its
23571 # output is simply discarded. So we exec the FD to /dev/null,
23572 # effectively closing config.log, so it can be properly (re)opened and
23573 # appended to by config.status. When coming back to configure, we
23574 # need to make the FD available again.
23575 if test "$no_create" != yes; then
23577 ac_config_status_args
=
23578 test "$silent" = yes &&
23579 ac_config_status_args
="$ac_config_status_args --quiet"
23581 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23583 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23584 # would make configure fail if this is the last instruction.
23585 $ac_cs_success || as_fn_exit
1
23587 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23589 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23593 if test "$no_create" = "yes"
23599 if test "x$wine_notices" != x
; then
23602 for msg
in $wine_notices; do
23608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23609 printf "%s\n" "$as_me: $msg" >&6;}
23614 for msg
in $wine_warnings; do
23621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23622 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23628 $as_me: Finished. Do '${ac_make}' to compile Wine.