2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.20.
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.20'
615 PACKAGE_STRING
='Wine 7.20'
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
750 SYSTEMCONFIGURATION_LIBS
753 APPLICATIONSERVICES_LIBS
766 WINEPRELOADER_LDFLAGS
798 x86_64_DISABLED_SUBDIRS
806 i386_DISABLED_SUBDIRS
822 aarch64_DISABLED_SUBDIRS
823 aarch64_DELAYLOADFLAG
887 program_transform_name
900 enable_option_checking
906 enable_maintainer_mode
1024 enable_d3dcompiler_33
1025 enable_d3dcompiler_34
1026 enable_d3dcompiler_35
1027 enable_d3dcompiler_36
1028 enable_d3dcompiler_37
1029 enable_d3dcompiler_38
1030 enable_d3dcompiler_39
1031 enable_d3dcompiler_40
1032 enable_d3dcompiler_41
1033 enable_d3dcompiler_42
1034 enable_d3dcompiler_43
1035 enable_d3dcompiler_46
1036 enable_d3dcompiler_47
1089 enable_directmanipulation
1126 enable_explorerframe
1182 enable_light_msstyles
1197 enable_mfmediaengine
1260 enable_msvcp140_atomic_wait
1327 enable_photometadatahandler
1403 enable_threadpoolwinrt
1409 enable_uiautomationcore
1429 enable_vcruntime140_1
1447 enable_windows_devices_enumeration
1448 enable_windows_gaming_input
1449 enable_windows_gaming_ui_gamebar
1450 enable_windows_globalization
1451 enable_windows_media_devices
1452 enable_windows_media_speech
1453 enable_windows_networking
1454 enable_windowscodecs
1455 enable_windowscodecsext
1457 enable_wineandroid_drv
1459 enable_winecoreaudio_drv
1462 enable_winegstreamer
1468 enable_winepulse_drv
1472 enable_winexinput_sys
1516 enable_xactengine2_0
1517 enable_xactengine2_4
1518 enable_xactengine2_7
1519 enable_xactengine2_9
1520 enable_xactengine3_0
1521 enable_xactengine3_1
1522 enable_xactengine3_2
1523 enable_xactengine3_3
1524 enable_xactengine3_4
1525 enable_xactengine3_5
1526 enable_xactengine3_6
1527 enable_xactengine3_7
1574 enable_wmcodecdspuuid
1582 enable_aspnet_regiis
1627 enable_presentationfontcache
1642 enable_servicemodelreg
1667 enable_winemenubuilder
1669 enable_winemsibuilder
1694 ac_precious_vars
='build_alias
1775 # Initialize some variables set by options.
1777 ac_init_version
=false
1778 ac_unrecognized_opts
=
1779 ac_unrecognized_sep
=
1780 # The variables have the same names as the options, with
1781 # dashes changed to underlines.
1782 cache_file
=/dev
/null
1789 program_transform_name
=s
,x
,x
,
1797 # Installation directory options.
1798 # These are left unexpanded so users can "make install exec_prefix=/foo"
1799 # and all the variables that are supposed to be based on exec_prefix
1800 # by default will actually change.
1801 # Use braces instead of parens because sh, perl, etc. also accept them.
1802 # (The list follows the same order as the GNU Coding Standards.)
1803 bindir
='${exec_prefix}/bin'
1804 sbindir
='${exec_prefix}/sbin'
1805 libexecdir
='${exec_prefix}/libexec'
1806 datarootdir
='${prefix}/share'
1807 datadir
='${datarootdir}'
1808 sysconfdir
='${prefix}/etc'
1809 sharedstatedir
='${prefix}/com'
1810 localstatedir
='${prefix}/var'
1811 runstatedir
='${localstatedir}/run'
1812 includedir
='${prefix}/include'
1813 oldincludedir
='/usr/include'
1814 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1815 infodir
='${datarootdir}/info'
1820 libdir
='${exec_prefix}/lib'
1821 localedir
='${datarootdir}/locale'
1822 mandir
='${datarootdir}/man'
1828 # If the previous option needs an argument, assign it.
1829 if test -n "$ac_prev"; then
1830 eval $ac_prev=\
$ac_option
1836 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1841 case $ac_dashdash$ac_option in
1845 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1847 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1848 bindir
=$ac_optarg ;;
1850 -build |
--build |
--buil |
--bui |
--bu)
1851 ac_prev
=build_alias
;;
1852 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1853 build_alias
=$ac_optarg ;;
1855 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1856 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1857 ac_prev
=cache_file
;;
1858 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1859 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1860 cache_file
=$ac_optarg ;;
1862 --config-cache |
-C)
1863 cache_file
=config.cache
;;
1865 -datadir |
--datadir |
--datadi |
--datad)
1867 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1868 datadir
=$ac_optarg ;;
1870 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1871 |
--dataroo |
--dataro |
--datar)
1872 ac_prev
=datarootdir
;;
1873 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1874 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1875 datarootdir
=$ac_optarg ;;
1877 -disable-* |
--disable-*)
1878 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1879 # Reject names that are not valid shell variable names.
1880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1881 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1882 ac_useropt_orig
=$ac_useropt
1883 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1884 case $ac_user_opts in
1886 "enable_
$ac_useropt"
1888 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1889 ac_unrecognized_sep
=', ';;
1891 eval enable_
$ac_useropt=no
;;
1893 -docdir |
--docdir |
--docdi |
--doc |
--do)
1895 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1896 docdir
=$ac_optarg ;;
1898 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1900 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1901 dvidir
=$ac_optarg ;;
1903 -enable-* |
--enable-*)
1904 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1905 # Reject names that are not valid shell variable names.
1906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1907 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1908 ac_useropt_orig
=$ac_useropt
1909 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1910 case $ac_user_opts in
1912 "enable_
$ac_useropt"
1914 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1915 ac_unrecognized_sep
=', ';;
1917 eval enable_
$ac_useropt=\
$ac_optarg ;;
1919 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1920 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1921 |
--exec |
--exe |
--ex)
1922 ac_prev
=exec_prefix
;;
1923 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1924 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1925 |
--exec=* |
--exe=* |
--ex=*)
1926 exec_prefix
=$ac_optarg ;;
1928 -gas |
--gas |
--ga |
--g)
1929 # Obsolete; use --with-gas.
1932 -help |
--help |
--hel |
--he |
-h)
1933 ac_init_help
=long
;;
1934 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1935 ac_init_help
=recursive
;;
1936 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1937 ac_init_help
=short
;;
1939 -host |
--host |
--hos |
--ho)
1940 ac_prev
=host_alias
;;
1941 -host=* |
--host=* |
--hos=* |
--ho=*)
1942 host_alias
=$ac_optarg ;;
1944 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1946 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1948 htmldir
=$ac_optarg ;;
1950 -includedir |
--includedir |
--includedi |
--included |
--include \
1951 |
--includ |
--inclu |
--incl |
--inc)
1952 ac_prev
=includedir
;;
1953 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1954 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1955 includedir
=$ac_optarg ;;
1957 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1959 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1960 infodir
=$ac_optarg ;;
1962 -libdir |
--libdir |
--libdi |
--libd)
1964 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1965 libdir
=$ac_optarg ;;
1967 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1968 |
--libexe |
--libex |
--libe)
1969 ac_prev
=libexecdir
;;
1970 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1971 |
--libexe=* |
--libex=* |
--libe=*)
1972 libexecdir
=$ac_optarg ;;
1974 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1975 ac_prev
=localedir
;;
1976 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1977 localedir
=$ac_optarg ;;
1979 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1980 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1981 ac_prev
=localstatedir
;;
1982 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1983 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1984 localstatedir
=$ac_optarg ;;
1986 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1988 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1989 mandir
=$ac_optarg ;;
1991 -nfp |
--nfp |
--nf)
1992 # Obsolete; use --without-fp.
1995 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1996 |
--no-cr |
--no-c |
-n)
1999 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2000 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2003 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2004 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2005 |
--oldin |
--oldi |
--old |
--ol |
--o)
2006 ac_prev
=oldincludedir
;;
2007 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2008 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2009 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2010 oldincludedir
=$ac_optarg ;;
2012 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2014 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2015 prefix
=$ac_optarg ;;
2017 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2018 |
--program-pre |
--program-pr |
--program-p)
2019 ac_prev
=program_prefix
;;
2020 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2021 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2022 program_prefix
=$ac_optarg ;;
2024 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2025 |
--program-suf |
--program-su |
--program-s)
2026 ac_prev
=program_suffix
;;
2027 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2028 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2029 program_suffix
=$ac_optarg ;;
2031 -program-transform-name |
--program-transform-name \
2032 |
--program-transform-nam |
--program-transform-na \
2033 |
--program-transform-n |
--program-transform- \
2034 |
--program-transform |
--program-transfor \
2035 |
--program-transfo |
--program-transf \
2036 |
--program-trans |
--program-tran \
2037 |
--progr-tra |
--program-tr |
--program-t)
2038 ac_prev
=program_transform_name
;;
2039 -program-transform-name=* |
--program-transform-name=* \
2040 |
--program-transform-nam=* |
--program-transform-na=* \
2041 |
--program-transform-n=* |
--program-transform-=* \
2042 |
--program-transform=* |
--program-transfor=* \
2043 |
--program-transfo=* |
--program-transf=* \
2044 |
--program-trans=* |
--program-tran=* \
2045 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2046 program_transform_name
=$ac_optarg ;;
2048 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2050 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2051 pdfdir
=$ac_optarg ;;
2053 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2055 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2058 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2059 |
-silent |
--silent |
--silen |
--sile |
--sil)
2062 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2063 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2064 |
--run |
--ru |
--r)
2065 ac_prev
=runstatedir
;;
2066 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2067 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2068 |
--run=* |
--ru=* |
--r=*)
2069 runstatedir
=$ac_optarg ;;
2071 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2073 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2075 sbindir
=$ac_optarg ;;
2077 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2078 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2079 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2081 ac_prev
=sharedstatedir
;;
2082 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2083 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2084 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2086 sharedstatedir
=$ac_optarg ;;
2088 -site |
--site |
--sit)
2090 -site=* |
--site=* |
--sit=*)
2093 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2095 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2096 srcdir
=$ac_optarg ;;
2098 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2099 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2100 ac_prev
=sysconfdir
;;
2101 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2102 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2103 sysconfdir
=$ac_optarg ;;
2105 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2106 ac_prev
=target_alias
;;
2107 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2108 target_alias
=$ac_optarg ;;
2110 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2113 -version |
--version |
--versio |
--versi |
--vers |
-V)
2114 ac_init_version
=: ;;
2117 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2118 # Reject names that are not valid shell variable names.
2119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2120 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2121 ac_useropt_orig
=$ac_useropt
2122 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2123 case $ac_user_opts in
2127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2128 ac_unrecognized_sep
=', ';;
2130 eval with_
$ac_useropt=\
$ac_optarg ;;
2132 -without-* |
--without-*)
2133 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2134 # Reject names that are not valid shell variable names.
2135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2136 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2137 ac_useropt_orig
=$ac_useropt
2138 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2139 case $ac_user_opts in
2143 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2144 ac_unrecognized_sep
=', ';;
2146 eval with_
$ac_useropt=no
;;
2149 # Obsolete; use --with-x.
2152 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2153 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2154 ac_prev
=x_includes
;;
2155 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2156 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2157 x_includes
=$ac_optarg ;;
2159 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2160 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2161 ac_prev
=x_libraries
;;
2162 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2163 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2164 x_libraries
=$ac_optarg ;;
2166 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2167 Try \`$0 --help' for more information"
2171 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2172 # Reject names that are not valid shell variable names.
2173 case $ac_envvar in #(
2174 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2175 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2177 eval $ac_envvar=\
$ac_optarg
2178 export $ac_envvar ;;
2181 # FIXME: should be removed in autoconf 3.0.
2182 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2184 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2191 if test -n "$ac_prev"; then
2192 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2193 as_fn_error $?
"missing argument to $ac_option"
2196 if test -n "$ac_unrecognized_opts"; then
2197 case $enable_option_checking in
2199 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2200 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2204 # Check all directory arguments for consistency.
2205 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2206 datadir sysconfdir sharedstatedir localstatedir includedir \
2207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2208 libdir localedir mandir runstatedir
2210 eval ac_val
=\$
$ac_var
2211 # Remove trailing slashes.
2214 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2215 eval $ac_var=\
$ac_val;;
2217 # Be sure to have absolute directory names.
2219 [\\/$
]* | ?
:[\\/]* ) continue;;
2220 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2222 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2225 # There might be people who depend on the old broken behavior: `$host'
2226 # used to hold the argument of --host etc.
2227 # FIXME: To remove some day.
2230 target
=$target_alias
2232 # FIXME: To remove some day.
2233 if test "x$host_alias" != x
; then
2234 if test "x$build_alias" = x
; then
2235 cross_compiling
=maybe
2236 elif test "x$build_alias" != "x$host_alias"; then
2242 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2244 test "$silent" = yes && exec 6>/dev
/null
2247 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2248 ac_ls_di
=`ls -di .` &&
2249 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2250 as_fn_error $?
"working directory cannot be determined"
2251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2252 as_fn_error $?
"pwd does not report name of working directory"
2255 # Find the source files, if location was not specified.
2256 if test -z "$srcdir"; then
2257 ac_srcdir_defaulted
=yes
2258 # Try the directory containing this script, then the parent directory.
2259 ac_confdir
=`$as_dirname -- "$as_myself" ||
2260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2261 X"$as_myself" : 'X\(//\)[^/]' \| \
2262 X"$as_myself" : 'X\(//\)$' \| \
2263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2264 printf "%s\n" X"$as_myself" |
2265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2283 if test ! -r "$srcdir/$ac_unique_file"; then
2287 ac_srcdir_defaulted
=no
2289 if test ! -r "$srcdir/$ac_unique_file"; then
2290 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2291 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2293 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2297 # When building in place, set srcdir=.
2298 if test "$ac_abs_confdir" = "$ac_pwd"; then
2301 # Remove unnecessary trailing slashes from srcdir.
2302 # Double slashes in file names in object file debugging info
2303 # mess up M-x gdb in Emacs.
2305 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2307 for ac_var
in $ac_precious_vars; do
2308 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2309 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2310 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2311 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2315 # Report the --help message.
2317 if test "$ac_init_help" = "long"; then
2318 # Omit some internal or obsolete options to make the list less imposing.
2319 # This message is too long to be a string in the A/UX 3.1 sh.
2321 \`configure' configures Wine 7.20 to adapt to many kinds of systems.
2323 Usage: $0 [OPTION]... [VAR=VALUE]...
2325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2326 VAR=VALUE. See below for descriptions of some of the useful variables.
2328 Defaults for the options are specified in brackets.
2331 -h, --help display this help and exit
2332 --help=short display options specific to this package
2333 --help=recursive display the short help of all the included packages
2334 -V, --version display version information and exit
2335 -q, --quiet, --silent do not print \`checking ...' messages
2336 --cache-file=FILE cache test results in FILE [disabled]
2337 -C, --config-cache alias for \`--cache-file=config.cache'
2338 -n, --no-create do not create output files
2339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2341 Installation directories:
2342 --prefix=PREFIX install architecture-independent files in PREFIX
2343 [$ac_default_prefix]
2344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2347 By default, \`make install' will install all the files in
2348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2350 for instance \`--prefix=\$HOME'.
2352 For better control, use the options below.
2354 Fine tuning of the installation directories:
2355 --bindir=DIR user executables [EPREFIX/bin]
2356 --sbindir=DIR system admin executables [EPREFIX/sbin]
2357 --libexecdir=DIR program executables [EPREFIX/libexec]
2358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2361 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2362 --libdir=DIR object code libraries [EPREFIX/lib]
2363 --includedir=DIR C header files [PREFIX/include]
2364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2367 --infodir=DIR info documentation [DATAROOTDIR/info]
2368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2369 --mandir=DIR man documentation [DATAROOTDIR/man]
2370 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2371 --htmldir=DIR html documentation [DOCDIR]
2372 --dvidir=DIR dvi documentation [DOCDIR]
2373 --pdfdir=DIR pdf documentation [DOCDIR]
2374 --psdir=DIR ps documentation [DOCDIR]
2380 --x-includes=DIR X include files are
in DIR
2381 --x-libraries=DIR X library files are
in DIR
2384 --build=BUILD configure
for building on BUILD
[guessed
]
2385 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2389 if test -n "$ac_init_help"; then
2390 case $ac_init_help in
2391 short | recursive
) echo "Configuration of Wine 7.20:";;
2396 --disable-option-checking ignore unrecognized
--enable/--with options
2397 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2398 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2399 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2400 enable multiple architectures
for PE compilation
2401 --disable-win16 do not include Win16 support
2402 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2404 --disable-tests do not build the regression tests
2405 --enable-build-id include .buildid section in output objects
2406 --enable-maintainer-mode
2407 enable maintainer-specific build rules
2408 --enable-silent-rules use silent build rules (override: "make V=1")
2409 --enable-werror treat compilation warnings as errors
2410 --disable-largefile omit support for large files
2413 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2414 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2415 --without-alsa do not use the Alsa sound support
2416 --without-capi do not use CAPI (ISDN support)
2417 --without-coreaudio do not use the CoreAudio sound support
2418 --without-cups do not use CUPS
2419 --without-dbus do not use DBus (dynamic device support)
2420 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2421 --without-fontconfig do not use fontconfig
2422 --without-freetype do not use the FreeType library
2423 --without-gettext do not use gettext
2424 --with-gettextpo use the GetTextPO library to rebuild po files
2425 --without-gphoto do not use gphoto (Digital Camera support)
2426 --without-gnutls do not use GnuTLS (schannel support)
2427 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2428 --without-gstreamer do not use GStreamer (codecs support)
2429 --without-inotify do not use inotify (filesystem change notifications)
2430 --without-krb5 do not use krb5 (Kerberos)
2431 --without-ldap do not use LDAP
2432 --without-mingw do not use the MinGW cross-compiler
2433 --without-netapi do not use the Samba NetAPI library
2434 --without-openal do not use OpenAL
2435 --without-opencl do not use OpenCL
2436 --without-opengl do not use OpenGL
2437 --without-osmesa do not use the OSMesa library
2438 --without-oss do not use the OSS sound support
2439 --without-pcap do not use the Packet Capture library
2440 --without-pthread do not use the pthread library
2441 --without-pulse do not use PulseAudio sound support
2442 --without-sane do not use SANE (scanner support)
2443 --without-sdl do not use SDL
2444 --without-udev do not use udev (plug and play support)
2445 --without-unwind do not use the libunwind library (exception
2447 --without-usb do not use the libusb library
2448 --without-v4l2 do not use v4l2 (video capture)
2449 --without-vulkan do not use Vulkan
2450 --without-xcomposite do not use the Xcomposite extension
2451 --without-xcursor do not use the Xcursor extension
2452 --without-xfixes do not use Xfixes for clipboard change notifications
2453 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2454 --without-xinput do not use the Xinput extension
2455 --without-xinput2 do not use the Xinput 2 extension
2456 --without-xrandr do not use Xrandr (multi-monitor support)
2457 --without-xrender do not use the Xrender extension
2458 --without-xshape do not use the Xshape extension
2459 --without-xshm do not use XShm (shared memory extension)
2460 --without-xxf86vm do not use XFree video mode extension
2461 --with-system-dllpath=PATH
2462 load external PE dependencies from colon-separated
2464 --with-wine-tools=DIR use Wine tools from directory DIR
2465 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2466 --with-x use the X Window System
2468 Some influential environment variables:
2469 CC C compiler command
2470 CFLAGS C compiler flags
2471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2472 nonstandard directory <lib dir>
2473 LIBS libraries to pass to the linker, e.g. -l<library>
2474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2475 you have headers in a nonstandard directory <include dir>
2476 CXX C++ compiler command
2477 CXXFLAGS C++ compiler flags
2478 OBJC Objective C compiler command
2479 OBJCFLAGS Objective C compiler flags
2481 C compiler flags for the PE faudio, overriding the bundled
2484 Linker flags for the PE faudio, overriding the bundled version
2486 C compiler flags for the PE gsm, overriding the bundled version
2487 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2489 C compiler flags for the PE jpeg, overriding the bundled version
2491 Linker flags for the PE jpeg, overriding the bundled version
2493 C compiler flags for the PE jxr, overriding the bundled version
2494 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2496 C compiler flags for the PE lcms2, overriding the bundled
2499 Linker flags for the PE lcms2, overriding the bundled version
2501 C compiler flags for the PE mpg123, overriding the bundled
2504 Linker flags for the PE mpg123, overriding the bundled version
2506 C compiler flags for the PE png, overriding the bundled version
2507 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2509 C compiler flags for the PE tiff, overriding the bundled version
2511 Linker flags for the PE tiff, overriding the bundled version
2513 C compiler flags for the PE vkd3d, overriding the bundled
2516 Linker flags for the PE vkd3d, overriding the bundled version
2518 C compiler flags for the PE xml2, overriding the bundled version
2520 Linker flags for the PE xml2, overriding the bundled version
2522 C compiler flags for the PE xslt, overriding the bundled version
2524 Linker flags for the PE xslt, overriding the bundled version
2526 C compiler flags for the PE zlib, overriding the bundled version
2528 Linker flags for the PE zlib, overriding the bundled version
2529 XMKMF Path to xmkmf, Makefile generator for X Window System
2532 C compiler flags for libinotify, overriding pkg-config
2534 Linker flags for libinotify, overriding pkg-config
2535 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2536 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2538 C compiler flags for gnutls, overriding pkg-config
2539 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2540 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2541 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2542 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2543 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2545 C compiler flags for libgphoto2, overriding pkg-config
2547 Linker flags for libgphoto2, overriding pkg-config
2549 C compiler flags for libgphoto2_port, overriding pkg-config
2551 Linker flags for libgphoto2_port, overriding pkg-config
2553 C compiler flags for freetype2, overriding pkg-config
2555 Linker flags for freetype2, overriding pkg-config
2557 C compiler flags for libpulse, overriding pkg-config
2558 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2560 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2561 gstreamer-audio-1.0, overriding pkg-config
2563 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2564 gstreamer-audio-1.0, overriding pkg-config
2565 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2566 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2568 C compiler flags for libunwind, overriding pkg-config
2569 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2570 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2571 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2573 C compiler flags for capi20, overriding pkg-config
2574 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2575 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2576 CUPS_LIBS Linker flags for cups, overriding pkg-config
2578 C compiler flags for fontconfig, overriding pkg-config
2580 Linker flags for fontconfig, overriding pkg-config
2581 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2582 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2584 C compiler flags for krb5-gssapi, overriding pkg-config
2585 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2587 C compiler flags for netapi, overriding pkg-config
2588 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2589 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2590 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2592 Use these variables to override the choices made by `configure' or to
help
2593 it to
find libraries and programs with nonstandard names
/locations.
2595 Report bugs to
<wine-devel@winehq.org
>.
2596 Wine home page
: <https
://www.winehq.org
>.
2601 if test "$ac_init_help" = "recursive"; then
2602 # If there are subdirs, report their specific --help.
2603 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2604 test -d "$ac_dir" ||
2605 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2610 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2612 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2613 # A ".." for each directory in $ac_dir_suffix.
2614 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2615 case $ac_top_builddir_sub in
2616 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2617 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2620 ac_abs_top_builddir
=$ac_pwd
2621 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2622 # for backward compatibility:
2623 ac_top_builddir
=$ac_top_build_prefix
2626 .
) # We are building in place.
2628 ac_top_srcdir
=$ac_top_builddir_sub
2629 ac_abs_top_srcdir
=$ac_pwd ;;
2630 [\\/]* | ?
:[\\/]* ) # Absolute name.
2631 ac_srcdir
=$srcdir$ac_dir_suffix;
2632 ac_top_srcdir
=$srcdir
2633 ac_abs_top_srcdir
=$srcdir ;;
2635 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2636 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2637 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2639 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2641 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2642 # Check for configure.gnu first; this name is used for a wrapper for
2643 # Metaconfig's "Configure" on case-insensitive file systems.
2644 if test -f "$ac_srcdir/configure.gnu"; then
2646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2647 elif test -f "$ac_srcdir/configure"; then
2649 $SHELL "$ac_srcdir/configure" --help=recursive
2651 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2653 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2657 test -n "$ac_init_help" && exit $ac_status
2658 if $ac_init_version; then
2661 generated by GNU Autoconf
2.71
2663 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2664 This configure
script is free software
; the Free Software Foundation
2665 gives unlimited permission to copy
, distribute and modify it.
2670 ## ------------------------ ##
2671 ## Autoconf initialization. ##
2672 ## ------------------------ ##
2674 # ac_fn_c_try_compile LINENO
2675 # --------------------------
2676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2677 ac_fn_c_try_compile
()
2679 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2680 rm -f conftest.
$ac_objext conftest.beam
2681 if { { ac_try
="$ac_compile"
2683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 printf "%s\n" "$ac_try_echo"; } >&5
2688 (eval "$ac_compile") 2>conftest.err
2690 if test -s conftest.err; then
2691 grep -v '^ *+' conftest.err >conftest.er1
2692 cat conftest.er1 >&5
2693 mv -f conftest.er1 conftest.err
2695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; } && {
2697 test -z "$ac_c_werror_flag" ||
2698 test ! -s conftest.err
2699 } && test -s conftest.$ac_objext
2703 printf "%s\n" "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2709 as_fn_set_status $ac_retval
2711 } # ac_fn_c_try_compile
2713 # ac_fn_cxx_try_compile LINENO
2714 # ----------------------------
2715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2716 ac_fn_cxx_try_compile ()
2718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2719 rm -f conftest.$ac_objext conftest.beam
2720 if { { ac_try="$ac_compile"
2722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2723 *) ac_try_echo
=$ac_try;;
2725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 printf "%s\n" "$ac_try_echo"; } >&5
2727 (eval "$ac_compile") 2>conftest.err
2729 if test -s conftest.err
; then
2730 grep -v '^ *+' conftest.err
>conftest.er1
2731 cat conftest.er1
>&5
2732 mv -f conftest.er1 conftest.err
2734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2735 test $ac_status = 0; } && {
2736 test -z "$ac_cxx_werror_flag" ||
2737 test ! -s conftest.err
2738 } && test -s conftest.
$ac_objext
2742 printf "%s\n" "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.
$ac_ext >&5
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 as_fn_set_status
$ac_retval
2750 } # ac_fn_cxx_try_compile
2752 # ac_fn_c_try_link LINENO
2753 # -----------------------
2754 # Try to link conftest.$ac_ext, and return whether this succeeded.
2757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2758 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2759 if { { ac_try
="$ac_link"
2761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2762 *) ac_try_echo=$ac_try;;
2764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2765 printf "%s\n" "$ac_try_echo"; } >&5
2766 (eval "$ac_link") 2>conftest.err
2768 if test -s conftest.err; then
2769 grep -v '^ *+' conftest.err >conftest.er1
2770 cat conftest.er1 >&5
2771 mv -f conftest.er1 conftest.err
2773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2774 test $ac_status = 0; } && {
2775 test -z "$ac_c_werror_flag" ||
2776 test ! -s conftest.err
2777 } && test -s conftest$ac_exeext && {
2778 test "$cross_compiling" = yes ||
2779 test -x conftest$ac_exeext
2784 printf "%s\n" "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.$ac_ext >&5
2789 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2790 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2791 # interfere with the next link command; also delete a directory that is
2792 # left behind by Apple's compiler. We do this before executing the actions.
2793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 as_fn_set_status $ac_retval
2797 } # ac_fn_c_try_link
2799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2800 # -------------------------------------------------------
2801 # Tests whether HEADER exists and can be compiled using the include files in
2802 # INCLUDES, setting the cache variable VAR accordingly.
2803 ac_fn_c_check_header_compile ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2807 printf %s "checking for $2... " >&6; }
2808 if eval test \${$3+y}
2810 printf %s "(cached) " >&6
2812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2813 /* end confdefs.h. */
2817 if ac_fn_c_try_compile "$LINENO"
2823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2827 printf "%s\n" "$ac_res" >&6; }
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 } # ac_fn_c_check_header_compile
2832 # ac_fn_objc_try_compile LINENO
2833 # -----------------------------
2834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2835 ac_fn_objc_try_compile ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 rm -f conftest.$ac_objext conftest.beam
2839 if { { ac_try="$ac_compile"
2841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2842 *) ac_try_echo
=$ac_try;;
2844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 printf "%s\n" "$ac_try_echo"; } >&5
2846 (eval "$ac_compile") 2>conftest.err
2848 if test -s conftest.err
; then
2849 grep -v '^ *+' conftest.err
>conftest.er1
2850 cat conftest.er1
>&5
2851 mv -f conftest.er1 conftest.err
2853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2854 test $ac_status = 0; } && {
2855 test -z "$ac_objc_werror_flag" ||
2856 test ! -s conftest.err
2857 } && test -s conftest.
$ac_objext
2861 printf "%s\n" "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 as_fn_set_status
$ac_retval
2869 } # ac_fn_objc_try_compile
2871 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2872 # ----------------------------------------------------------
2873 # Tests whether HEADER exists and can be compiled using the include files in
2874 # INCLUDES, setting the cache variable VAR accordingly.
2875 ac_fn_objc_check_header_compile
()
2877 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2879 printf %s
"checking for $2... " >&6; }
2880 if eval test \
${$3+y}
2882 printf %s
"(cached) " >&6
2884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2889 if ac_fn_objc_try_compile
"$LINENO"
2895 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2899 printf "%s\n" "$ac_res" >&6; }
2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 } # ac_fn_objc_check_header_compile
2904 # ac_fn_c_check_func LINENO FUNC VAR
2905 # ----------------------------------
2906 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2907 ac_fn_c_check_func
()
2909 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2911 printf %s
"checking for $2... " >&6; }
2912 if eval test \
${$3+y}
2914 printf %s
"(cached) " >&6
2916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2917 /* end confdefs.h. */
2918 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2920 #define $2 innocuous_$2
2922 /* System header to define __stub macros and hopefully few prototypes,
2923 which can conflict with char $2 (); below. */
2928 /* Override any GCC internal prototype to avoid an error.
2929 Use char because int might match the return type of a GCC
2930 builtin and then its argument prototype would still apply. */
2935 /* The GNU C library defines this for functions which it implements
2936 to always fail with ENOSYS. Some functions are actually named
2937 something starting with __ and the normal name is an alias. */
2938 #if defined __stub_$2 || defined __stub___$2
2950 if ac_fn_c_try_link
"$LINENO"
2956 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2957 conftest
$ac_exeext conftest.
$ac_ext
2960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2961 printf "%s\n" "$ac_res" >&6; }
2962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2964 } # ac_fn_c_check_func
2966 # ac_fn_c_try_cpp LINENO
2967 # ----------------------
2968 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2971 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2972 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978 printf "%s\n" "$ac_try_echo"; } >&5
2979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2981 if test -s conftest.err; then
2982 grep -v '^ *+' conftest.err >conftest.er1
2983 cat conftest.er1 >&5
2984 mv -f conftest.er1 conftest.err
2986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 test $ac_status = 0; } > conftest.i && {
2988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2989 test ! -s conftest.err
2994 printf "%s\n" "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3000 as_fn_set_status $ac_retval
3004 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3005 # ----------------------------------------------------
3006 # Tries to find if the field MEMBER exists in type AGGR, after including
3007 # INCLUDES, setting cache variable VAR accordingly.
3008 ac_fn_c_check_member ()
3010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3012 printf %s "checking for $2.$3... " >&6; }
3013 if eval test \${$4+y}
3015 printf %s "(cached) " >&6
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3030 if ac_fn_c_try_compile "$LINENO"
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3041 if (sizeof ac_aggr.$3)
3047 if ac_fn_c_try_compile "$LINENO"
3053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3059 printf "%s\n" "$ac_res" >&6; }
3060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3062 } # ac_fn_c_check_member
3064 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3065 # -------------------------------------------
3066 # Tests whether TYPE exists after having included INCLUDES, setting cache
3067 # variable VAR accordingly.
3068 ac_fn_c_check_type ()
3070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3072 printf %s "checking for $2... " >&6; }
3073 if eval test \${$3+y}
3075 printf %s "(cached) " >&6
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3090 if ac_fn_c_try_compile "$LINENO"
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3104 if ac_fn_c_try_compile "$LINENO"
3110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 printf "%s\n" "$ac_res" >&6; }
3117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3119 } # ac_fn_c_check_type
3120 ac_configure_args_raw=
3125 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3127 as_fn_append ac_configure_args_raw " '$ac_arg'"
3130 case $ac_configure_args_raw in
3134 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3135 ac_unsafe_a="$ac_unsafe_z#~
"
3136 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3137 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3140 cat >config.log <<_ACEOF
3141 This file contains any messages produced by compilers while
3142 running configure, to aid debugging if configure makes a mistake.
3144 It was created by Wine $as_me 7.20, which was
3145 generated by GNU Autoconf 2.71. Invocation command line was
3147 $ $0$ac_configure_args_raw
3157 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3158 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3159 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3160 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3161 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3163 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3164 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3166 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3167 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3168 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3169 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3170 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3171 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3172 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180 case $as_dir in #(((
3183 *) as_dir=$as_dir/ ;;
3185 printf "%s
\n" "PATH
: $as_dir"
3201 # Keep a trace of the command line.
3202 # Strip out --no-create and --no-recursion so they do not pile up.
3203 # Strip out --silent because we don't want to record it for future runs.
3204 # Also quote any args containing shell meta-characters.
3205 # Make two passes to allow for proper duplicate-argument suppression.
3209 ac_must_keep_next=false
3215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3217 | -silent | --silent | --silen | --sile | --sil)
3220 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3223 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3225 as_fn_append ac_configure_args1 " '$ac_arg'"
3226 if test $ac_must_keep_next = true; then
3227 ac_must_keep_next=false # Got value, back to normal.
3230 *=* | --config-cache | -C | -disable-* | --disable-* \
3231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3233 | -with-* | --with-* | -without-* | --without-* | --x)
3234 case "$ac_configure_args0 " in
3235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3238 -* ) ac_must_keep_next=true ;;
3241 as_fn_append ac_configure_args " '$ac_arg'"
3246 { ac_configure_args0=; unset ac_configure_args0;}
3247 { ac_configure_args1=; unset ac_configure_args1;}
3249 # When interrupted or exit'd, cleanup temporary files, and complete
3250 # config.log. We remove comments because anyway the quotes in there
3251 # would cause problems or look ugly.
3252 # WARNING: Use '\'' to represent an apostrophe within the trap.
3253 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3254 trap 'exit_status=$?
3257 # Save into config.log some information that might help in debugging.
3261 printf "%s
\n" "## ---------------- ##
3262 ## Cache variables. ##
3263 ## ---------------- ##"
3265 # The following way of writing the cache mishandles newlines in values,
3267 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3268 eval ac_val
=\$
$ac_var
3272 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3273 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3276 _ | IFS | as_nl
) ;; #(
3277 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3278 *) { eval $ac_var=; unset $ac_var;} ;;
3283 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3284 *${as_nl}ac_space
=\
*)
3286 "s/'\''/'\''\\\\'\'''\''/g;
3287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3297 printf "%s\n" "## ----------------- ##
3298 ## Output variables. ##
3299 ## ----------------- ##"
3301 for ac_var
in $ac_subst_vars
3303 eval ac_val
=\$
$ac_var
3305 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3307 printf "%s\n" "$ac_var='\''$ac_val'\''"
3311 if test -n "$ac_subst_files"; then
3312 printf "%s\n" "## ------------------- ##
3313 ## File substitutions. ##
3314 ## ------------------- ##"
3316 for ac_var in $ac_subst_files
3318 eval ac_val=\$$ac_var
3320 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3322 printf "%s\n" "$ac_var='\''$ac_val'\''"
3327 if test -s confdefs.h
; then
3328 printf "%s\n" "## ----------- ##
3335 test "$ac_signal" != 0 &&
3336 printf "%s\n" "$as_me: caught signal $ac_signal"
3337 printf "%s\n" "$as_me: exit $exit_status"
3339 rm -f core
*.core core.conftest.
* &&
3340 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3343 for ac_signal in 1 2 13 15; do
3344 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3348 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3349 rm -f -r conftest* confdefs.h
3351 printf "%s\n" "/* confdefs.h */" > confdefs.h
3353 # Predefined preprocessor variables.
3355 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3357 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3359 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3361 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3363 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3365 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3368 # Let the site file select an alternate cache file if it wants to.
3369 # Prefer an explicitly selected file to automatically selected ones.
3370 if test -n "$CONFIG_SITE"; then
3371 ac_site_files="$CONFIG_SITE"
3372 elif test "x$prefix" != xNONE; then
3373 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3375 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3378 for ac_site_file in $ac_site_files
3380 case $ac_site_file in #(
3384 ac_site_file=./$ac_site_file ;;
3386 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3388 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3389 sed 's
/^
/|
/' "$ac_site_file" >&5
3391 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3392 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3393 as_fn_error $? "failed to load site script $ac_site_file
3394 See \`config.log
' for more details" "$LINENO" 5; }
3398 if test -r "$cache_file"; then
3399 # Some versions of bash will fail to source /dev/null (special files
3400 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3401 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3403 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3405 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3406 *) . "./$cache_file";;
3410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3411 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3415 # Test code for whether the C compiler supports C89 (global declarations)
3416 ac_c_conftest_c89_globals='
3417 /* Does the compiler advertise C89 conformance?
3418 Do not
test the value of __STDC__
, because some compilers
set it to
0
3419 while being otherwise adequately conformant.
*/
3420 #if !defined __STDC__
3421 # error "Compiler does not advertise C89 conformance"
3427 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3428 struct buf
{ int x
; };
3429 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3430 static char
*e
(p
, i
)
3436 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3441 s
= g
(p
, va_arg
(v
,int
));
3446 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3447 function prototypes and stuff
, but not \xHH hex character constants.
3448 These
do not provoke an error unfortunately
, instead are silently treated
3449 as an
"x". The following induces an error
, until -std is added to get
3450 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3451 array size
at least. It is necessary to
write \x00 == 0 to get something
3452 that is true only with
-std.
*/
3453 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3455 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3456 inside
strings and character constants.
*/
3457 #define FOO(x) '\''x'\''
3458 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3460 int
test (int i
, double x
);
3461 struct s1
{int
(*f
) (int a
);};
3462 struct s2
{int
(*f
) (double a
);};
3463 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3466 # Test code for whether the C compiler supports C89 (body of main).
3467 ac_c_conftest_c89_main='
3468 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3471 # Test code for whether the C compiler supports C99 (global declarations)
3472 ac_c_conftest_c99_globals='
3473 // Does the compiler advertise C99 conformance?
3474 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3475 # error "Compiler does not advertise C99 conformance"
3478 #include <stdbool.h>
3479 extern int puts
(const char
*);
3480 extern int
printf (const char
*, ...
);
3481 extern int dprintf
(int
, const char
*, ...
);
3482 extern void
*malloc
(size_t
);
3484 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3485 // dprintf is used instead of fprintf to avoid needing to
declare
3487 #define debug(...) dprintf (2, __VA_ARGS__)
3488 #define showlist(...) puts (#__VA_ARGS__)
3489 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3491 test_varargs_macros
(void
)
3496 debug
("X = %d\n", x
);
3497 showlist
(The first
, second
, and third items.
);
3498 report
(x
>y
, "x is %d but y is %d", x
, y
);
3501 // Check long long types.
3502 #define BIG64 18446744073709551615ull
3503 #define BIG32 4294967295ul
3504 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3506 #error "your preprocessor is broken"
3510 #error "your preprocessor is broken"
3512 static long long int bignum
= -9223372036854775807LL;
3513 static unsigned long long int ubignum
= BIG64
;
3515 struct incomplete_array
3523 const wchar_t
*name
;
3527 typedef const char
*ccp
;
3530 test_restrict
(ccp restrict text
)
3532 // See
if C
++-style comments work.
3533 // Iterate through items via the restricted pointer.
3534 // Also check
for declarations
in for loops.
3535 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3540 // Check varargs and va_copy.
3542 test_varargs
(const char
*format
, ...
)
3545 va_start
(args
, format
);
3547 va_copy
(args_copy
, args
);
3549 const char
*str
= "";
3557 case '\''s
'\'': // string
3558 str
= va_arg
(args_copy
, const char
*);
3560 case '\''d
'\'': // int
3561 number
= va_arg
(args_copy
, int
);
3563 case '\''f
'\'': // float
3564 fnumber
= va_arg
(args_copy
, double
);
3573 return *str
&& number
&& fnumber
;
3577 # Test code for whether the C compiler supports C99 (body of main).
3578 ac_c_conftest_c99_main='
3580 _Bool success
= false
;
3581 success |
= (argc
!= 0);
3584 if (test_restrict
("String literal") == 0)
3586 char
*restrict newvar
= "Another string";
3589 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3590 test_varargs_macros
();
3592 // Check flexible array members.
3593 struct incomplete_array
*ia
=
3594 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3596 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3597 ia-
>data
[i
] = i
* 1.234;
3599 // Check named initializers.
3600 struct named_init ni
= {
3602 .name
= L
"Test wide string",
3603 .average
= 543.34343,
3608 int dynamic_array
[ni.number
];
3609 dynamic_array
[0] = argv
[0][0];
3610 dynamic_array
[ni.number
- 1] = 543;
3612 // work around unused variable warnings
3613 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3614 || dynamic_array
[ni.number
- 1] != 543);
3617 # Test code for whether the C compiler supports C11 (global declarations)
3618 ac_c_conftest_c11_globals='
3619 // Does the compiler advertise C11 conformance?
3620 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3621 # error "Compiler does not advertise C11 conformance"
3625 char _Alignas
(double
) aligned_as_double
;
3626 char _Alignas
(0) no_special_alignment
;
3627 extern char aligned_as_int
;
3628 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3633 int_alignment
= _Alignof
(int
),
3634 int_array_alignment
= _Alignof
(int
[100]),
3635 char_alignment
= _Alignof
(char
)
3637 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3640 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3642 // Check _Static_assert.
3643 struct test_static_assert
3646 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3647 "_Static_assert does not work in struct");
3651 // Check UTF-8 literals.
3652 #define u8 syntax error!
3653 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3655 // Check duplicate typedefs.
3656 typedef long
*long_ptr
;
3657 typedef long int
*long_ptr
;
3658 typedef long_ptr long_ptr
;
3660 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3664 struct
{ int i
; int j
; };
3665 struct
{ int k
; long int l
; } w
;
3671 # Test code for whether the C compiler supports C11 (body of main).
3672 ac_c_conftest_c11_main='
3673 _Static_assert
((offsetof
(struct anonymous
, i
)
3674 == offsetof
(struct anonymous
, w.k
)),
3675 "Anonymous union alignment botch");
3681 # Test code for whether the C compiler supports C11 (complete).
3682 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3683 ${ac_c_conftest_c99_globals}
3684 ${ac_c_conftest_c11_globals}
3687 main (int argc, char **argv)
3690 ${ac_c_conftest_c89_main}
3691 ${ac_c_conftest_c99_main}
3692 ${ac_c_conftest_c11_main}
3697 # Test code for whether the C compiler supports C99 (complete).
3698 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3699 ${ac_c_conftest_c99_globals}
3702 main (int argc, char **argv)
3705 ${ac_c_conftest_c89_main}
3706 ${ac_c_conftest_c99_main}
3711 # Test code for whether the C compiler supports C89 (complete).
3712 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3715 main (int argc, char **argv)
3718 ${ac_c_conftest_c89_main}
3723 # Test code for whether the C++ compiler supports C++98 (global declarations)
3724 ac_cxx_conftest_cxx98_globals='
3725 // Does the compiler advertise C
++98 conformance?
3726 #if !defined __cplusplus || __cplusplus < 199711L
3727 # error "Compiler does not advertise C++98 conformance"
3730 // These inclusions are to reject old compilers that
3731 // lack the unsuffixed header files.
3733 #include <exception>
3735 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3736 extern void assert
(int
);
3738 extern int strcmp
(const char
*, const char
*);
3741 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3742 using std
::exception
;
3747 void test_exception_syntax
()
3751 } catch
(const char
*s
) {
3752 // Extra parentheses suppress a warning when building autoconf itself
,
3753 // due to lint rules shared with
more typical C programs.
3754 assert
(!(strcmp
) (s
, "test"));
3758 template
<typename T
> struct test_template
3761 explicit test_template
(T t
) : val
(t
) {}
3762 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3765 } // anonymous namespace
3768 # Test code for whether the C++ compiler supports C++98 (body of main)
3769 ac_cxx_conftest_cxx98_main='
3773 test_exception_syntax
();
3774 test_template
<double
> tt
(2.0);
3775 assert
(tt.add
(4) == 6.0);
3776 assert
(true
&& !false
);
3780 # Test code for whether the C++ compiler supports C++11 (global declarations)
3781 ac_cxx_conftest_cxx11_globals='
3782 // Does the compiler advertise C
++ 2011 conformance?
3783 #if !defined __cplusplus || __cplusplus < 201103L
3784 # error "Compiler does not advertise C++11 conformance"
3789 constexpr int get_val
() { return 20; }
3800 delegate
(int n
) : n
(n
) {}
3801 delegate
(): delegate
(2354) {}
3803 virtual int getval
() { return this-
>n
; };
3808 class overridden
: public delegate
3811 overridden
(int n
): delegate
(n
) {}
3812 virtual int getval
() override final
{ return this-
>n
* 2; }
3818 nocopy
(int i
): i
(i
) {}
3820 nocopy
(const nocopy
&) = delete
;
3821 nocopy
& operator
=(const nocopy
&) = delete
;
3826 // for testing lambda expressions
3827 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3832 // for testing variadic templates and trailing
return types
3833 template
<typename V
> auto
sum(V first
) -> V
3837 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3839 return first
+ sum(rest...
);
3844 # Test code for whether the C++ compiler supports C++11 (body of main)
3845 ac_cxx_conftest_cxx11_main='
3847 // Test auto and decltype
3849 auto a2
= 48573953.4;
3850 auto a3
= "String literal";
3853 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3855 decltype
(a2
) a4
= 34895.034;
3859 short sa
[cxx11test
::get_val
()] = { 0 };
3862 // Test initializer lists
3863 cxx11test
::testinit il
= { 4323, 435234.23544 };
3866 // Test range-based
for
3867 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3868 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3869 for (auto
&x
: array
) { x
+= 23; }
3872 // Test lambda expressions
3873 using cxx11test
::eval;
3874 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3876 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3878 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3882 // Test use of variadic templates
3883 using cxx11test
::sum;
3886 auto c
= sum(1.0, 2.0, 3.0);
3889 // Test constructor delegation
3890 cxx11test
::delegate d1
;
3891 cxx11test
::delegate d2
();
3892 cxx11test
::delegate d3
(45);
3895 // Test override and final
3896 cxx11test
::overridden o1
(55464);
3903 // Test template brackets
3904 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3908 char const
*utf8
= u8
"UTF-8 string \u2500";
3909 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3910 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3914 # Test code for whether the C compiler supports C++11 (complete).
3915 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3916 ${ac_cxx_conftest_cxx11_globals}
3919 main (int argc, char **argv)
3922 ${ac_cxx_conftest_cxx98_main}
3923 ${ac_cxx_conftest_cxx11_main}
3928 # Test code for whether the C compiler supports C++98 (complete).
3929 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3931 main (int argc, char **argv)
3934 ${ac_cxx_conftest_cxx98_main}
3939 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3940 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3941 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3942 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3943 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3944 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3945 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3946 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3947 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3949 # Auxiliary files required by this configure script.
3950 ac_aux_files="config.guess config.sub"
3952 # Locations in which to look for auxiliary files.
3953 ac_aux_dir_candidates="${srcdir}/tools"
3955 # Search for a directory containing all of the required auxiliary files,
3956 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3957 # If we don't
find one directory that contains all the files we need
,
3958 # we report the set of missing files from the *first* directory in
3959 # $ac_aux_dir_candidates and give up.
3960 ac_missing_aux_files
=""
3961 ac_first_candidate
=:
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3965 for as_dir
in $ac_aux_dir_candidates
3968 case $as_dir in #(((
3971 *) as_dir
=$as_dir/ ;;
3975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3976 ac_aux_dir_found
=yes
3978 for ac_aux
in $ac_aux_files
3980 # As a special case, if "install-sh" is required, that requirement
3981 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3982 # and $ac_install_sh is set appropriately for whichever one is found.
3983 if test x
"$ac_aux" = x
"install-sh"
3985 if test -f "${as_dir}install-sh"; then
3986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3987 ac_install_sh
="${as_dir}install-sh -c"
3988 elif test -f "${as_dir}install.sh"; then
3989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3990 ac_install_sh
="${as_dir}install.sh -c"
3991 elif test -f "${as_dir}shtool"; then
3992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3993 ac_install_sh
="${as_dir}shtool install -c"
3996 if $ac_first_candidate; then
3997 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4003 if test -f "${as_dir}${ac_aux}"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4007 if $ac_first_candidate; then
4008 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4015 if test "$ac_aux_dir_found" = yes; then
4016 ac_aux_dir
="$as_dir"
4019 ac_first_candidate
=false
4028 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4032 # These three variables are undocumented and unsupported,
4033 # and are intended to be withdrawn in a future Autoconf release.
4034 # They can cause serious problems if a builder's source tree is in a directory
4035 # whose full name contains unusual characters.
4036 if test -f "${ac_aux_dir}config.guess"; then
4037 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4039 if test -f "${ac_aux_dir}config.sub"; then
4040 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4042 if test -f "$ac_aux_dir/configure"; then
4043 ac_configure
="$SHELL ${ac_aux_dir}configure"
4046 # Check that the precious variables saved in the cache have kept the same
4048 ac_cache_corrupted
=false
4049 for ac_var
in $ac_precious_vars; do
4050 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4051 eval ac_new_set
=\
$ac_env_${ac_var}_set
4052 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4053 eval ac_new_val
=\
$ac_env_${ac_var}_value
4054 case $ac_old_set,$ac_new_set in
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4057 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4058 ac_cache_corrupted
=: ;;
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4061 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4062 ac_cache_corrupted
=: ;;
4065 if test "x$ac_old_val" != "x$ac_new_val"; then
4066 # differences in whitespace do not lead to failure.
4067 ac_old_val_w
=`echo x $ac_old_val`
4068 ac_new_val_w
=`echo x $ac_new_val`
4069 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4071 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4072 ac_cache_corrupted
=:
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4075 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4076 eval $ac_var=\
$ac_old_val
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4079 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4081 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4084 # Pass precious variables to config.status.
4085 if test "$ac_new_set" = set; then
4087 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4088 *) ac_arg
=$ac_var=$ac_new_val ;;
4090 case " $ac_configure_args " in
4091 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4092 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4096 if $ac_cache_corrupted; then
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4100 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4101 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4102 and start over" "$LINENO" 5
4104 ## -------------------- ##
4105 ## Main body of script. ##
4106 ## -------------------- ##
4109 ac_cpp
='$CPP $CPPFLAGS'
4110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4116 ac_config_headers
="$ac_config_headers include/config.h"
4120 libwine_version
="1.0"
4123 # Check whether --enable-archs was given.
4124 if test ${enable_archs+y}
4126 enableval
=$enable_archs;
4129 # Check whether --enable-win16 was given.
4130 if test ${enable_win16+y}
4132 enableval
=$enable_win16;
4135 # Check whether --enable-win64 was given.
4136 if test ${enable_win64+y}
4138 enableval
=$enable_win64;
4141 # Check whether --enable-tests was given.
4142 if test ${enable_tests+y}
4144 enableval
=$enable_tests;
4147 # Check whether --enable-build-id was given.
4148 if test ${enable_build_id+y}
4150 enableval
=$enable_build_id;
4153 # Check whether --enable-maintainer-mode was given.
4154 if test ${enable_maintainer_mode+y}
4156 enableval
=$enable_maintainer_mode;
4159 # Check whether --enable-silent-rules was given.
4160 if test ${enable_silent_rules+y}
4162 enableval
=$enable_silent_rules;
4165 # Check whether --enable-werror was given.
4166 if test ${enable_werror+y}
4168 enableval
=$enable_werror;
4173 # Check whether --with-alsa was given.
4174 if test ${with_alsa+y}
4180 # Check whether --with-capi was given.
4181 if test ${with_capi+y}
4187 # Check whether --with-coreaudio was given.
4188 if test ${with_coreaudio+y}
4190 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
4194 # Check whether --with-cups was given.
4195 if test ${with_cups+y}
4201 # Check whether --with-dbus was given.
4202 if test ${with_dbus+y}
4208 # Check whether --with-float-abi was given.
4209 if test ${with_float_abi+y}
4211 withval
=$with_float_abi;
4215 # Check whether --with-fontconfig was given.
4216 if test ${with_fontconfig+y}
4218 withval
=$with_fontconfig;
4222 # Check whether --with-freetype was given.
4223 if test ${with_freetype+y}
4225 withval
=$with_freetype;
4229 # Check whether --with-gettext was given.
4230 if test ${with_gettext+y}
4232 withval
=$with_gettext;
4236 # Check whether --with-gettextpo was given.
4237 if test ${with_gettextpo+y}
4239 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4243 # Check whether --with-gphoto was given.
4244 if test ${with_gphoto+y}
4246 withval
=$with_gphoto;
4250 # Check whether --with-gnutls was given.
4251 if test ${with_gnutls+y}
4253 withval
=$with_gnutls;
4257 # Check whether --with-gssapi was given.
4258 if test ${with_gssapi+y}
4260 withval
=$with_gssapi;
4264 # Check whether --with-gstreamer was given.
4265 if test ${with_gstreamer+y}
4267 withval
=$with_gstreamer;
4271 # Check whether --with-inotify was given.
4272 if test ${with_inotify+y}
4274 withval
=$with_inotify;
4278 # Check whether --with-krb5 was given.
4279 if test ${with_krb5+y}
4285 # Check whether --with-ldap was given.
4286 if test ${with_ldap+y}
4288 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
4292 # Check whether --with-mingw was given.
4293 if test ${with_mingw+y}
4295 withval
=$with_mingw;
4299 # Check whether --with-netapi was given.
4300 if test ${with_netapi+y}
4302 withval
=$with_netapi;
4306 # Check whether --with-openal was given.
4307 if test ${with_openal+y}
4309 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
4313 # Check whether --with-opencl was given.
4314 if test ${with_opencl+y}
4316 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4320 # Check whether --with-opengl was given.
4321 if test ${with_opengl+y}
4323 withval
=$with_opengl;
4327 # Check whether --with-osmesa was given.
4328 if test ${with_osmesa+y}
4330 withval
=$with_osmesa;
4334 # Check whether --with-oss was given.
4335 if test ${with_oss+y}
4341 # Check whether --with-pcap was given.
4342 if test ${with_pcap+y}
4344 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4348 # Check whether --with-pthread was given.
4349 if test ${with_pthread+y}
4351 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4355 # Check whether --with-pulse was given.
4356 if test ${with_pulse+y}
4358 withval
=$with_pulse;
4362 # Check whether --with-sane was given.
4363 if test ${with_sane+y}
4369 # Check whether --with-sdl was given.
4370 if test ${with_sdl+y}
4376 # Check whether --with-udev was given.
4377 if test ${with_udev+y}
4383 # Check whether --with-unwind was given.
4384 if test ${with_unwind+y}
4386 withval
=$with_unwind;
4390 # Check whether --with-usb was given.
4391 if test ${with_usb+y}
4397 # Check whether --with-v4l2 was given.
4398 if test ${with_v4l2+y}
4404 # Check whether --with-vulkan was given.
4405 if test ${with_vulkan+y}
4407 withval
=$with_vulkan;
4411 # Check whether --with-xcomposite was given.
4412 if test ${with_xcomposite+y}
4414 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4418 # Check whether --with-xcursor was given.
4419 if test ${with_xcursor+y}
4421 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4425 # Check whether --with-xfixes was given.
4426 if test ${with_xfixes+y}
4428 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4432 # Check whether --with-xinerama was given.
4433 if test ${with_xinerama+y}
4435 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4439 # Check whether --with-xinput was given.
4440 if test ${with_xinput+y}
4442 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4446 # Check whether --with-xinput2 was given.
4447 if test ${with_xinput2+y}
4449 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4453 # Check whether --with-xrandr was given.
4454 if test ${with_xrandr+y}
4456 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4460 # Check whether --with-xrender was given.
4461 if test ${with_xrender+y}
4463 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4467 # Check whether --with-xshape was given.
4468 if test ${with_xshape+y}
4470 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4474 # Check whether --with-xshm was given.
4475 if test ${with_xshm+y}
4477 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4481 # Check whether --with-xxf86vm was given.
4482 if test ${with_xxf86vm+y}
4484 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
4489 # Check whether --with-system-dllpath was given.
4490 if test ${with_system_dllpath+y}
4492 withval
=$with_system_dllpath; system_dllpath
=$withval
4497 # Check whether --with-wine-tools was given.
4498 if test ${with_wine_tools+y}
4500 withval
=$with_wine_tools;
4504 # Check whether --with-wine64 was given.
4505 if test ${with_wine64+y}
4507 withval
=$with_wine64;
4514 # Make sure we can run config.sub.
4515 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4516 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4519 printf %s
"checking build system type... " >&6; }
4520 if test ${ac_cv_build+y}
4522 printf %s
"(cached) " >&6
4524 ac_build_alias
=$build_alias
4525 test "x$ac_build_alias" = x
&&
4526 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4527 test "x$ac_build_alias" = x
&&
4528 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4529 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4530 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4534 printf "%s\n" "$ac_cv_build" >&6; }
4535 case $ac_cv_build in
4537 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4540 ac_save_IFS
=$IFS; IFS
='-'
4546 # Remember, the first character of IFS is used to create $*,
4547 # except with old shells:
4550 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4554 printf %s
"checking host system type... " >&6; }
4555 if test ${ac_cv_host+y}
4557 printf %s
"(cached) " >&6
4559 if test "x$host_alias" = x
; then
4560 ac_cv_host
=$ac_cv_build
4562 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4563 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4568 printf "%s\n" "$ac_cv_host" >&6; }
4571 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4574 ac_save_IFS
=$IFS; IFS
='-'
4580 # Remember, the first character of IFS is used to create $*,
4581 # except with old shells:
4584 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4588 dlldir
=\
${libdir}/wine
4590 fontdir
=\
${datadir}/wine
/fonts
4592 nlsdir
=\
${datadir}/wine
/nls
4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4598 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4600 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4601 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4603 printf %s
"(cached) " >&6
4605 cat >conftest.
make <<\_ACEOF
4608 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4610 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4611 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4613 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4615 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4619 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4621 printf "%s\n" "yes" >&6; }
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 printf "%s\n" "no" >&6; }
4626 SET_MAKE
="MAKE=${MAKE-make}"
4639 ac_cpp
='$CPP $CPPFLAGS'
4640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4643 if test -n "$ac_tool_prefix"; then
4644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4645 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 printf %s
"checking for $ac_word... " >&6; }
4648 if test ${ac_cv_prog_CC+y}
4650 printf %s
"(cached) " >&6
4652 if test -n "$CC"; then
4653 ac_cv_prog_CC
="$CC" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 case $as_dir in #(((
4662 *) as_dir
=$as_dir/ ;;
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4677 if test -n "$CC"; then
4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4679 printf "%s\n" "$CC" >&6; }
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 printf "%s\n" "no" >&6; }
4687 if test -z "$ac_cv_prog_CC"; then
4689 # Extract the first word of "gcc", so it can be a program name with args.
4690 set dummy gcc
; ac_word
=$2
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4692 printf %s
"checking for $ac_word... " >&6; }
4693 if test ${ac_cv_prog_ac_ct_CC+y}
4695 printf %s
"(cached) " >&6
4697 if test -n "$ac_ct_CC"; then
4698 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 case $as_dir in #(((
4707 *) as_dir
=$as_dir/ ;;
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4711 ac_cv_prog_ac_ct_CC
="gcc"
4712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4721 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4722 if test -n "$ac_ct_CC"; then
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4724 printf "%s\n" "$ac_ct_CC" >&6; }
4726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 printf "%s\n" "no" >&6; }
4730 if test "x$ac_ct_CC" = x
; then
4733 case $cross_compiling:$ac_tool_warned in
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4736 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4737 ac_tool_warned
=yes ;;
4745 if test -z "$CC"; then
4746 if test -n "$ac_tool_prefix"; then
4747 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4748 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4750 printf %s
"checking for $ac_word... " >&6; }
4751 if test ${ac_cv_prog_CC+y}
4753 printf %s
"(cached) " >&6
4755 if test -n "$CC"; then
4756 ac_cv_prog_CC
="$CC" # Let the user override the test.
4758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4762 case $as_dir in #(((
4765 *) as_dir
=$as_dir/ ;;
4767 for ac_exec_ext
in '' $ac_executable_extensions; do
4768 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4769 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4780 if test -n "$CC"; then
4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4782 printf "%s\n" "$CC" >&6; }
4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 printf "%s\n" "no" >&6; }
4791 if test -z "$CC"; then
4792 # Extract the first word of "cc", so it can be a program name with args.
4793 set dummy cc
; ac_word
=$2
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 printf %s
"checking for $ac_word... " >&6; }
4796 if test ${ac_cv_prog_CC+y}
4798 printf %s
"(cached) " >&6
4800 if test -n "$CC"; then
4801 ac_cv_prog_CC
="$CC" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 case $as_dir in #(((
4811 *) as_dir
=$as_dir/ ;;
4813 for ac_exec_ext
in '' $ac_executable_extensions; do
4814 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4815 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4816 ac_prog_rejected
=yes
4820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4827 if test $ac_prog_rejected = yes; then
4828 # We found a bogon in the path, so make sure we never use it.
4829 set dummy
$ac_cv_prog_CC
4831 if test $# != 0; then
4832 # We chose a different compiler from the bogus one.
4833 # However, it has the same basename, so the bogon will be chosen
4834 # first if we set CC to just the basename; use the full file name.
4836 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4842 if test -n "$CC"; then
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4844 printf "%s\n" "$CC" >&6; }
4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 printf "%s\n" "no" >&6; }
4852 if test -z "$CC"; then
4853 if test -n "$ac_tool_prefix"; then
4854 for ac_prog
in cl.exe
4856 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4857 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 printf %s
"checking for $ac_word... " >&6; }
4860 if test ${ac_cv_prog_CC+y}
4862 printf %s
"(cached) " >&6
4864 if test -n "$CC"; then
4865 ac_cv_prog_CC
="$CC" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 case $as_dir in #(((
4874 *) as_dir
=$as_dir/ ;;
4876 for ac_exec_ext
in '' $ac_executable_extensions; do
4877 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4878 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4889 if test -n "$CC"; then
4890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4891 printf "%s\n" "$CC" >&6; }
4893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 printf "%s\n" "no" >&6; }
4898 test -n "$CC" && break
4901 if test -z "$CC"; then
4903 for ac_prog
in cl.exe
4905 # Extract the first word of "$ac_prog", so it can be a program name with args.
4906 set dummy
$ac_prog; ac_word
=$2
4907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 printf %s
"checking for $ac_word... " >&6; }
4909 if test ${ac_cv_prog_ac_ct_CC+y}
4911 printf %s
"(cached) " >&6
4913 if test -n "$ac_ct_CC"; then
4914 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4920 case $as_dir in #(((
4923 *) as_dir
=$as_dir/ ;;
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_ac_ct_CC
="$ac_prog"
4928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4937 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4938 if test -n "$ac_ct_CC"; then
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4940 printf "%s\n" "$ac_ct_CC" >&6; }
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 printf "%s\n" "no" >&6; }
4947 test -n "$ac_ct_CC" && break
4950 if test "x$ac_ct_CC" = x
; then
4953 case $cross_compiling:$ac_tool_warned in
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4956 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4957 ac_tool_warned
=yes ;;
4964 if test -z "$CC"; then
4965 if test -n "$ac_tool_prefix"; then
4966 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4967 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 printf %s
"checking for $ac_word... " >&6; }
4970 if test ${ac_cv_prog_CC+y}
4972 printf %s
"(cached) " >&6
4974 if test -n "$CC"; then
4975 ac_cv_prog_CC
="$CC" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 case $as_dir in #(((
4984 *) as_dir
=$as_dir/ ;;
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4999 if test -n "$CC"; then
5000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5001 printf "%s\n" "$CC" >&6; }
5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 printf "%s\n" "no" >&6; }
5009 if test -z "$ac_cv_prog_CC"; then
5011 # Extract the first word of "clang", so it can be a program name with args.
5012 set dummy clang
; ac_word
=$2
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 printf %s
"checking for $ac_word... " >&6; }
5015 if test ${ac_cv_prog_ac_ct_CC+y}
5017 printf %s
"(cached) " >&6
5019 if test -n "$ac_ct_CC"; then
5020 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5026 case $as_dir in #(((
5029 *) as_dir
=$as_dir/ ;;
5031 for ac_exec_ext
in '' $ac_executable_extensions; do
5032 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_ac_ct_CC
="clang"
5034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5043 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5044 if test -n "$ac_ct_CC"; then
5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5046 printf "%s\n" "$ac_ct_CC" >&6; }
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 printf "%s\n" "no" >&6; }
5052 if test "x$ac_ct_CC" = x
; then
5055 case $cross_compiling:$ac_tool_warned in
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned
=yes ;;
5070 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5071 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5072 as_fn_error $?
"no acceptable C compiler found in \$PATH
5073 See \`config.log' for more details" "$LINENO" 5; }
5075 # Provide some information about the compiler.
5076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5079 for ac_option
in --version -v -V -qversion -version; do
5080 { { ac_try
="$ac_compiler $ac_option >&5"
5082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5083 *) ac_try_echo=$ac_try;;
5085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5086 printf "%s\n" "$ac_try_echo"; } >&5
5087 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5089 if test -s conftest.err; then
5091 ... rest of stderr output deleted ...
5092 10q' conftest.err >conftest.er1
5093 cat conftest.er1 >&5
5095 rm -f conftest.er1 conftest.err
5096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5097 test $ac_status = 0; }
5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101 /* end confdefs.h. */
5111 ac_clean_files_save=$ac_clean_files
5112 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5113 # Try to create an executable without -o first, disregard a.out.
5114 # It will help us diagnose broken compilers, and finding out an intuition
5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5117 printf %s "checking whether the C compiler works... " >&6; }
5118 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5120 # The possible output files:
5121 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5124 for ac_file in $ac_files
5127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5128 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5133 if { { ac_try="$ac_link_default"
5135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5136 *) ac_try_echo
=$ac_try;;
5138 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5139 printf "%s\n" "$ac_try_echo"; } >&5
5140 (eval "$ac_link_default") 2>&5
5142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5143 test $ac_status = 0; }
5145 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5146 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5147 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5148 # so that the user can short-circuit this test for compilers unknown to
5150 for ac_file
in $ac_files ''
5152 test -f "$ac_file" ||
continue
5154 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5157 # We found the default executable, but exeext='' is most
5161 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5163 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5165 # We set ac_cv_exeext here because the later test for it is not
5166 # safe: cross compilers may not add the suffix if given an `-o'
5167 # argument, so we may need to know it at that point already.
5168 # Even if this section looks crufty: it has the advantage of
5175 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5180 if test -z "$ac_file"
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 printf "%s\n" "no" >&6; }
5184 printf "%s\n" "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.
$ac_ext >&5
5187 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5188 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5189 as_fn_error
77 "C compiler cannot create executables
5190 See \`config.log' for more details" "$LINENO" 5; }
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5193 printf "%s\n" "yes" >&6; }
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5196 printf %s
"checking for C compiler default output file name... " >&6; }
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5198 printf "%s\n" "$ac_file" >&6; }
5199 ac_exeext
=$ac_cv_exeext
5201 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5202 ac_clean_files
=$ac_clean_files_save
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5204 printf %s
"checking for suffix of executables... " >&6; }
5205 if { { ac_try
="$ac_link"
5207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5208 *) ac_try_echo=$ac_try;;
5210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5211 printf "%s\n" "$ac_try_echo"; } >&5
5212 (eval "$ac_link") 2>&5
5214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5215 test $ac_status = 0; }
5217 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5218 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5219 # work properly (i.e., refer to `conftest.exe'), while it won't with
5221 for ac_file
in conftest.exe conftest conftest.
*; do
5222 test -f "$ac_file" ||
continue
5224 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5225 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5231 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5232 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5233 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5234 See \`config.log' for more details" "$LINENO" 5; }
5236 rm -f conftest conftest
$ac_cv_exeext
5237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5238 printf "%s\n" "$ac_cv_exeext" >&6; }
5240 rm -f conftest.
$ac_ext
5241 EXEEXT
=$ac_cv_exeext
5243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5249 FILE *f = fopen ("conftest.out", "w");
5250 return ferror (f) || fclose (f) != 0;
5256 ac_clean_files
="$ac_clean_files conftest.out"
5257 # Check that the compiler produces executables we can run. If not, either
5258 # the compiler is broken, or we cross compile.
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5260 printf %s
"checking whether we are cross compiling... " >&6; }
5261 if test "$cross_compiling" != yes; then
5262 { { ac_try
="$ac_link"
5264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5268 printf "%s\n" "$ac_try_echo"; } >&5
5269 (eval "$ac_link") 2>&5
5271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5272 test $ac_status = 0; }
5273 if { ac_try='./conftest$ac_cv_exeext'
5274 { { case "(($ac_try" in
5275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5276 *) ac_try_echo
=$ac_try;;
5278 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5279 printf "%s\n" "$ac_try_echo"; } >&5
5280 (eval "$ac_try") 2>&5
5282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5283 test $ac_status = 0; }; }; then
5286 if test "$cross_compiling" = maybe
; then
5289 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5290 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5291 as_fn_error
77 "cannot run C compiled programs.
5292 If you meant to cross compile, use \`--host'.
5293 See \`config.log' for more details" "$LINENO" 5; }
5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5298 printf "%s\n" "$cross_compiling" >&6; }
5300 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5301 ac_clean_files
=$ac_clean_files_save
5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5303 printf %s
"checking for suffix of object files... " >&6; }
5304 if test ${ac_cv_objext+y}
5306 printf %s
"(cached) " >&6
5308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5319 rm -f conftest.o conftest.obj
5320 if { { ac_try
="$ac_compile"
5322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5323 *) ac_try_echo=$ac_try;;
5325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5326 printf "%s\n" "$ac_try_echo"; } >&5
5327 (eval "$ac_compile") 2>&5
5329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5330 test $ac_status = 0; }
5332 for ac_file in conftest.o conftest.obj conftest.*; do
5333 test -f "$ac_file" || continue;
5335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5336 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5341 printf "%s\n" "$as_me: failed program was:" >&5
5342 sed 's/^/| /' conftest.$ac_ext >&5
5344 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5345 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5346 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5347 See \
`config.log' for more details" "$LINENO" 5; }
5349 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5352 printf "%s\n" "$ac_cv_objext" >&6; }
5353 OBJEXT=$ac_cv_objext
5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5356 printf %s "checking whether the compiler supports GNU C... " >&6; }
5357 if test ${ac_cv_c_compiler_gnu+y}
5359 printf %s "(cached) " >&6
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5375 if ac_fn_c_try_compile "$LINENO"
5381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5382 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5386 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5389 if test $ac_compiler_gnu = yes; then
5394 ac_test_CFLAGS=${CFLAGS+y}
5395 ac_save_CFLAGS=$CFLAGS
5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5397 printf %s "checking whether $CC accepts -g... " >&6; }
5398 if test ${ac_cv_prog_cc_g+y}
5400 printf %s "(cached) " >&6
5402 ac_save_c_werror_flag=$ac_c_werror_flag
5403 ac_c_werror_flag=yes
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5417 if ac_fn_c_try_compile "$LINENO"
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5433 if ac_fn_c_try_compile "$LINENO"
5437 ac_c_werror_flag=$ac_save_c_werror_flag
5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5440 /* end confdefs.h. */
5450 if ac_fn_c_try_compile "$LINENO"
5454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5459 ac_c_werror_flag=$ac_save_c_werror_flag
5461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5462 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5463 if test $ac_test_CFLAGS; then
5464 CFLAGS=$ac_save_CFLAGS
5465 elif test $ac_cv_prog_cc_g = yes; then
5466 if test "$GCC" = yes; then
5472 if test "$GCC" = yes; then
5479 if test x$ac_prog_cc_stdc = xno
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5482 printf %s "checking for $CC option to enable C11 features... " >&6; }
5483 if test ${ac_cv_prog_cc_c11+y}
5485 printf %s "(cached) " >&6
5487 ac_cv_prog_cc_c11=no
5489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5490 /* end confdefs.h. */
5491 $ac_c_conftest_c11_program
5493 for ac_arg in '' -std=gnu11
5495 CC="$ac_save_CC $ac_arg"
5496 if ac_fn_c_try_compile "$LINENO"
5498 ac_cv_prog_cc_c11=$ac_arg
5500 rm -f core conftest.err conftest.$ac_objext conftest.beam
5501 test "x$ac_cv_prog_cc_c11" != "xno" && break
5503 rm -f conftest.$ac_ext
5507 if test "x$ac_cv_prog_cc_c11" = xno
5509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5510 printf "%s\n" "unsupported" >&6; }
5512 if test "x$ac_cv_prog_cc_c11" = x
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5515 printf "%s\n" "none needed" >&6; }
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5518 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5519 CC="$CC $ac_cv_prog_cc_c11"
5521 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5525 if test x$ac_prog_cc_stdc = xno
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5528 printf %s "checking for $CC option to enable C99 features... " >&6; }
5529 if test ${ac_cv_prog_cc_c99+y}
5531 printf %s "(cached) " >&6
5533 ac_cv_prog_cc_c99=no
5535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536 /* end confdefs.h. */
5537 $ac_c_conftest_c99_program
5539 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5541 CC="$ac_save_CC $ac_arg"
5542 if ac_fn_c_try_compile "$LINENO"
5544 ac_cv_prog_cc_c99=$ac_arg
5546 rm -f core conftest.err conftest.$ac_objext conftest.beam
5547 test "x$ac_cv_prog_cc_c99" != "xno" && break
5549 rm -f conftest.$ac_ext
5553 if test "x$ac_cv_prog_cc_c99" = xno
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5556 printf "%s\n" "unsupported" >&6; }
5558 if test "x$ac_cv_prog_cc_c99" = x
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5561 printf "%s\n" "none needed" >&6; }
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5564 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5565 CC="$CC $ac_cv_prog_cc_c99"
5567 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5571 if test x$ac_prog_cc_stdc = xno
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5574 printf %s "checking for $CC option to enable C89 features... " >&6; }
5575 if test ${ac_cv_prog_cc_c89+y}
5577 printf %s "(cached) " >&6
5579 ac_cv_prog_cc_c89=no
5581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5583 $ac_c_conftest_c89_program
5585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5587 CC="$ac_save_CC $ac_arg"
5588 if ac_fn_c_try_compile "$LINENO"
5590 ac_cv_prog_cc_c89=$ac_arg
5592 rm -f core conftest.err conftest.$ac_objext conftest.beam
5593 test "x$ac_cv_prog_cc_c89" != "xno" && break
5595 rm -f conftest.$ac_ext
5599 if test "x$ac_cv_prog_cc_c89" = xno
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5602 printf "%s\n" "unsupported" >&6; }
5604 if test "x$ac_cv_prog_cc_c89" = x
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5607 printf "%s\n" "none needed" >&6; }
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5610 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5611 CC="$CC $ac_cv_prog_cc_c89"
5613 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5619 ac_cpp='$CPP $CPPFLAGS'
5620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5631 ac_cpp='$CXXCPP $CPPFLAGS'
5632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5635 if test -z "$CXX"; then
5636 if test -n "$CCC"; then
5639 if test -n "$ac_tool_prefix"; then
5640 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5642 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5643 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 printf %s "checking for $ac_word... " >&6; }
5646 if test ${ac_cv_prog_CXX+y}
5648 printf %s "(cached) " >&6
5650 if test -n "$CXX"; then
5651 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 case $as_dir in #(((
5660 *) as_dir=$as_dir/ ;;
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5675 if test -n "$CXX"; then
5676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5677 printf "%s\n" "$CXX" >&6; }
5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 printf "%s\n" "no" >&6; }
5684 test -n "$CXX" && break
5687 if test -z "$CXX"; then
5689 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5691 # Extract the first word of "$ac_prog", so it can be a program name with args.
5692 set dummy $ac_prog; ac_word=$2
5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 printf %s "checking for $ac_word... " >&6; }
5695 if test ${ac_cv_prog_ac_ct_CXX+y}
5697 printf %s "(cached) " >&6
5699 if test -n "$ac_ct_CXX"; then
5700 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 case $as_dir in #(((
5709 *) as_dir=$as_dir/ ;;
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_ac_ct_CXX="$ac_prog"
5714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5723 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5724 if test -n "$ac_ct_CXX"; then
5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5726 printf "%s\n" "$ac_ct_CXX" >&6; }
5728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 printf "%s\n" "no" >&6; }
5733 test -n "$ac_ct_CXX" && break
5736 if test "x$ac_ct_CXX" = x; then
5739 case $cross_compiling:$ac_tool_warned in
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5742 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5743 ac_tool_warned=yes ;;
5751 # Provide some information about the compiler.
5752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5755 for ac_option in --version -v -V -qversion; do
5756 { { ac_try="$ac_compiler $ac_option >&5"
5758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5759 *) ac_try_echo
=$ac_try;;
5761 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5762 printf "%s\n" "$ac_try_echo"; } >&5
5763 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5765 if test -s conftest.err
; then
5767 ... rest of stderr output deleted ...
5768 10q' conftest.err
>conftest.er1
5769 cat conftest.er1
>&5
5771 rm -f conftest.er1 conftest.err
5772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5773 test $ac_status = 0; }
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5777 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5778 if test ${ac_cv_cxx_compiler_gnu+y}
5780 printf %s
"(cached) " >&6
5782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5796 if ac_fn_cxx_try_compile
"$LINENO"
5802 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5803 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5807 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5808 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5810 if test $ac_compiler_gnu = yes; then
5815 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5816 ac_save_CXXFLAGS
=$CXXFLAGS
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5818 printf %s
"checking whether $CXX accepts -g... " >&6; }
5819 if test ${ac_cv_prog_cxx_g+y}
5821 printf %s
"(cached) " >&6
5823 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5824 ac_cxx_werror_flag
=yes
5827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5838 if ac_fn_cxx_try_compile
"$LINENO"
5840 ac_cv_prog_cxx_g
=yes
5843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5854 if ac_fn_cxx_try_compile
"$LINENO"
5858 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5861 /* end confdefs.h. */
5871 if ac_fn_cxx_try_compile
"$LINENO"
5873 ac_cv_prog_cxx_g
=yes
5875 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5877 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5879 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5880 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5883 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5884 if test $ac_test_CXXFLAGS; then
5885 CXXFLAGS
=$ac_save_CXXFLAGS
5886 elif test $ac_cv_prog_cxx_g = yes; then
5887 if test "$GXX" = yes; then
5893 if test "$GXX" = yes; then
5899 ac_prog_cxx_stdcxx
=no
5900 if test x
$ac_prog_cxx_stdcxx = xno
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5903 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5904 if test ${ac_cv_prog_cxx_11+y}
5906 printf %s
"(cached) " >&6
5908 ac_cv_prog_cxx_11
=no
5910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5912 $ac_cxx_conftest_cxx11_program
5914 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5916 CXX
="$ac_save_CXX $ac_arg"
5917 if ac_fn_cxx_try_compile
"$LINENO"
5919 ac_cv_prog_cxx_cxx11
=$ac_arg
5921 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5922 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5924 rm -f conftest.
$ac_ext
5928 if test "x$ac_cv_prog_cxx_cxx11" = xno
5930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5931 printf "%s\n" "unsupported" >&6; }
5933 if test "x$ac_cv_prog_cxx_cxx11" = x
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5936 printf "%s\n" "none needed" >&6; }
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5939 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5940 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5942 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5943 ac_prog_cxx_stdcxx
=cxx11
5946 if test x
$ac_prog_cxx_stdcxx = xno
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5949 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5950 if test ${ac_cv_prog_cxx_98+y}
5952 printf %s
"(cached) " >&6
5954 ac_cv_prog_cxx_98
=no
5956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5957 /* end confdefs.h. */
5958 $ac_cxx_conftest_cxx98_program
5960 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5962 CXX
="$ac_save_CXX $ac_arg"
5963 if ac_fn_cxx_try_compile
"$LINENO"
5965 ac_cv_prog_cxx_cxx98
=$ac_arg
5967 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5968 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5970 rm -f conftest.
$ac_ext
5974 if test "x$ac_cv_prog_cxx_cxx98" = xno
5976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5977 printf "%s\n" "unsupported" >&6; }
5979 if test "x$ac_cv_prog_cxx_cxx98" = x
5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5982 printf "%s\n" "none needed" >&6; }
5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5985 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5986 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5988 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5989 ac_prog_cxx_stdcxx
=cxx98
5994 ac_cpp
='$CPP $CPPFLAGS'
5995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5999 if test -n "$ac_tool_prefix"; then
6000 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6001 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 printf %s
"checking for $ac_word... " >&6; }
6004 if test ${ac_cv_prog_CPPBIN+y}
6006 printf %s
"(cached) " >&6
6008 if test -n "$CPPBIN"; then
6009 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6015 case $as_dir in #(((
6018 *) as_dir
=$as_dir/ ;;
6020 for ac_exec_ext
in '' $ac_executable_extensions; do
6021 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6032 CPPBIN
=$ac_cv_prog_CPPBIN
6033 if test -n "$CPPBIN"; then
6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6035 printf "%s\n" "$CPPBIN" >&6; }
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 printf "%s\n" "no" >&6; }
6043 if test -z "$ac_cv_prog_CPPBIN"; then
6044 ac_ct_CPPBIN
=$CPPBIN
6045 # Extract the first word of "cpp", so it can be a program name with args.
6046 set dummy cpp
; ac_word
=$2
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 printf %s
"checking for $ac_word... " >&6; }
6049 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6051 printf %s
"(cached) " >&6
6053 if test -n "$ac_ct_CPPBIN"; then
6054 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6060 case $as_dir in #(((
6063 *) as_dir
=$as_dir/ ;;
6065 for ac_exec_ext
in '' $ac_executable_extensions; do
6066 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6077 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6078 if test -n "$ac_ct_CPPBIN"; then
6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6080 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 printf "%s\n" "no" >&6; }
6086 if test "x$ac_ct_CPPBIN" = x
; then
6089 case $cross_compiling:$ac_tool_warned in
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned
=yes ;;
6095 CPPBIN
=$ac_ct_CPPBIN
6098 CPPBIN
="$ac_cv_prog_CPPBIN"
6102 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6106 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 printf %s
"checking for $ac_word... " >&6; }
6109 if test ${ac_cv_prog_LD+y}
6111 printf %s
"(cached) " >&6
6113 if test -n "$LD"; then
6114 ac_cv_prog_LD
="$LD" # Let the user override the test.
6116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6120 case $as_dir in #(((
6123 *) as_dir
=$as_dir/ ;;
6125 for ac_exec_ext
in '' $ac_executable_extensions; do
6126 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6138 if test -n "$LD"; then
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6140 printf "%s\n" "$LD" >&6; }
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 printf "%s\n" "no" >&6; }
6148 if test -z "$ac_cv_prog_LD"; then
6150 # Extract the first word of "ld", so it can be a program name with args.
6151 set dummy ld
; ac_word
=$2
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 printf %s
"checking for $ac_word... " >&6; }
6154 if test ${ac_cv_prog_ac_ct_LD+y}
6156 printf %s
"(cached) " >&6
6158 if test -n "$ac_ct_LD"; then
6159 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6165 case $as_dir in #(((
6168 *) as_dir
=$as_dir/ ;;
6170 for ac_exec_ext
in '' $ac_executable_extensions; do
6171 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6172 ac_cv_prog_ac_ct_LD
="ld"
6173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6182 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6183 if test -n "$ac_ct_LD"; then
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6185 printf "%s\n" "$ac_ct_LD" >&6; }
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6188 printf "%s\n" "no" >&6; }
6191 if test "x$ac_ct_LD" = x
; then
6194 case $cross_compiling:$ac_tool_warned in
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6197 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6198 ac_tool_warned
=yes ;;
6209 with_fontconfig
=${with_fontconfig:-no}
6211 *-mingw32*|
*-cygwin*)
6212 enable_win16
=${enable_win16:-no}
6213 with_mingw
=${with_mingw:-no}
6220 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6226 printf %s
"checking whether $CC works... " >&6; }
6227 if test ${wine_cv_cc_m32+y}
6229 printf %s
"(cached) " >&6
6231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6242 if ac_fn_c_try_link
"$LINENO"
6248 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6249 conftest
$ac_exeext conftest.
$ac_ext
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6252 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6253 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
6255 notice_platform
="32-bit "
6256 TARGETFLAGS
="$TARGETFLAGS -m32"
6257 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6258 export PKG_CONFIG_PATH
6259 with_unwind
=${with_unwind:-no}
6261 if test "x${GCC}" = "xyes"
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6264 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6265 if test ${wine_cv_builtin_ms_va_list+y}
6267 printf %s
"(cached) " >&6
6269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6275 void func(__builtin_ms_va_list *args);
6280 if ac_fn_c_try_compile
"$LINENO"
6282 wine_cv_builtin_ms_va_list
=yes
6284 wine_cv_builtin_ms_va_list
=no
6286 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6289 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6290 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
6295 notice_platform
="64-bit "
6296 TARGETFLAGS
="$TARGETFLAGS -m64"
6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6301 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6302 if test ${wine_cv_thumb2+y}
6304 printf %s
"(cached) " >&6
6306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6307 /* end confdefs.h. */
6312 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6317 if ac_fn_c_try_link
"$LINENO"
6323 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6324 conftest
$ac_exeext conftest.
$ac_ext
6326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6327 printf "%s\n" "$wine_cv_thumb2" >&6; }
6328 if test x
"$wine_cv_thumb2" = xyes
6330 CFLAGS
="$CFLAGS -mthumb"
6331 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6333 CFLAGS
="$CFLAGS -marm"
6334 TARGETFLAGS
="$TARGETFLAGS -marm"
6336 case $with_float_abi in
6338 float_abi
=$with_float_abi ;;
6345 saved_CFLAGS
=$CFLAGS
6346 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6348 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6349 if test ${wine_cv_float_abi+y}
6351 printf %s
"(cached) " >&6
6353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6359 asm("vmrs r2,fpscr");
6364 if ac_fn_c_try_link
"$LINENO"
6366 wine_cv_float_abi
=yes
6368 wine_cv_float_abi
=no
6370 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6371 conftest
$ac_exeext conftest.
$ac_ext
6373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6374 printf "%s\n" "$wine_cv_float_abi" >&6; }
6375 if test $wine_cv_float_abi = no
6378 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6380 CFLAGS
=$saved_CFLAGS
6384 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6385 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6388 with_unwind
=${with_unwind:-no}
6392 enable_win16
=${enable_win16:-i386}
6393 enable_win64
=${enable_win64:-no}
6394 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6395 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6396 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6398 enable_winetest
=${enable_winetest:-$enable_tests}
6400 if test "x$enable_win64" = "xyes"
6402 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6403 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6407 cygwin
*|mingw32
*) toolsext
=".exe"
6415 aarch64
*) HOST_ARCH
=aarch64
;;
6416 arm
*) HOST_ARCH
=arm
;;
6417 i
[3456789]86*) HOST_ARCH
=i386
;;
6418 x86_64
) HOST_ARCH
=x86_64
;;
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6423 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6424 if test ${wine_cv_toolsdir+y}
6426 printf %s
"(cached) " >&6
6428 wine_cv_toolsdir
="$with_wine_tools"
6429 if test -z "$with_wine_tools"; then
6430 if test "$cross_compiling" = "yes"; then
6431 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6432 elif test -n "$with_wine64"; then
6433 wine_cv_toolsdir
="$with_wine64"
6437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6438 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6439 if test -z "$wine_cv_toolsdir"; then
6440 wine_makedep
=tools
/makedep
$toolsext
6441 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6442 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6443 enable_tools
=${enable_tools:-no}
6444 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6446 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6448 toolsdir
=$wine_cv_toolsdir
6450 MAKEDEP
=$wine_makedep
6452 RUNTESTFLAGS
="-q -P wine"
6454 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'"
6457 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6459 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6464 # Extract the first word of "$ac_prog", so it can be a program name with args.
6465 set dummy
$ac_prog; ac_word
=$2
6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 printf %s
"checking for $ac_word... " >&6; }
6468 if test ${ac_cv_prog_FLEX+y}
6470 printf %s
"(cached) " >&6
6472 if test -n "$FLEX"; then
6473 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6479 case $as_dir in #(((
6482 *) as_dir
=$as_dir/ ;;
6484 for ac_exec_ext
in '' $ac_executable_extensions; do
6485 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6486 ac_cv_prog_FLEX
="$ac_prog"
6487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6496 FLEX
=$ac_cv_prog_FLEX
6497 if test -n "$FLEX"; then
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6499 printf "%s\n" "$FLEX" >&6; }
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 printf "%s\n" "no" >&6; }
6506 test -n "$FLEX" && break
6508 test -n "$FLEX" || FLEX
="none"
6510 if test "$FLEX" = "none"
6512 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6515 printf %s
"checking whether flex is recent enough... " >&6; }
6516 if test ${wine_cv_recent_flex+y}
6518 printf %s
"(cached) " >&6
6520 cat >conftest.l
<<EOF
6522 #include "prediluvian.h"
6526 if $FLEX -t conftest.l
>/dev
/null
2>&5
6528 wine_cv_recent_flex
=yes
6530 wine_cv_recent_flex
=no
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6534 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6535 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
6537 for ac_prog
in bison
6539 # Extract the first word of "$ac_prog", so it can be a program name with args.
6540 set dummy
$ac_prog; ac_word
=$2
6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 printf %s
"checking for $ac_word... " >&6; }
6543 if test ${ac_cv_prog_BISON+y}
6545 printf %s
"(cached) " >&6
6547 if test -n "$BISON"; then
6548 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6554 case $as_dir in #(((
6557 *) as_dir
=$as_dir/ ;;
6559 for ac_exec_ext
in '' $ac_executable_extensions; do
6560 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_BISON
="$ac_prog"
6562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6571 BISON
=$ac_cv_prog_BISON
6572 if test -n "$BISON"; then
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6574 printf "%s\n" "$BISON" >&6; }
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 printf "%s\n" "no" >&6; }
6581 test -n "$BISON" && break
6583 test -n "$BISON" || BISON
="none"
6585 if test "$BISON" = "none"
6587 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6590 printf %s
"checking whether bison is recent enough... " >&6; }
6591 if test ${wine_cv_recent_bison+y}
6593 printf %s
"(cached) " >&6
6595 cat >conftest.y
<<EOF
6596 %define parse.error verbose
6600 if $BISON conftest.y
>/dev
/null
2>&5
6602 wine_cv_recent_bison
=yes
6604 wine_cv_recent_bison
=no
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6608 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6609 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
6611 if test -n "$ac_tool_prefix"; then
6612 for ac_prog
in ar gar
6614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6615 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 printf %s
"checking for $ac_word... " >&6; }
6618 if test ${ac_cv_prog_AR+y}
6620 printf %s
"(cached) " >&6
6622 if test -n "$AR"; then
6623 ac_cv_prog_AR
="$AR" # Let the user override the test.
6625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6629 case $as_dir in #(((
6632 *) as_dir
=$as_dir/ ;;
6634 for ac_exec_ext
in '' $ac_executable_extensions; do
6635 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6647 if test -n "$AR"; then
6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6649 printf "%s\n" "$AR" >&6; }
6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 printf "%s\n" "no" >&6; }
6656 test -n "$AR" && break
6659 if test -z "$AR"; then
6661 for ac_prog
in ar gar
6663 # Extract the first word of "$ac_prog", so it can be a program name with args.
6664 set dummy
$ac_prog; ac_word
=$2
6665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 printf %s
"checking for $ac_word... " >&6; }
6667 if test ${ac_cv_prog_ac_ct_AR+y}
6669 printf %s
"(cached) " >&6
6671 if test -n "$ac_ct_AR"; then
6672 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6678 case $as_dir in #(((
6681 *) as_dir
=$as_dir/ ;;
6683 for ac_exec_ext
in '' $ac_executable_extensions; do
6684 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6685 ac_cv_prog_ac_ct_AR
="$ac_prog"
6686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6695 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6696 if test -n "$ac_ct_AR"; then
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6698 printf "%s\n" "$ac_ct_AR" >&6; }
6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 printf "%s\n" "no" >&6; }
6705 test -n "$ac_ct_AR" && break
6708 if test "x$ac_ct_AR" = x
; then
6711 case $cross_compiling:$ac_tool_warned in
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6715 ac_tool_warned
=yes ;;
6721 if test -n "$ac_tool_prefix"; then
6722 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6723 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 printf %s
"checking for $ac_word... " >&6; }
6726 if test ${ac_cv_prog_STRIP+y}
6728 printf %s
"(cached) " >&6
6730 if test -n "$STRIP"; then
6731 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6737 case $as_dir in #(((
6740 *) as_dir
=$as_dir/ ;;
6742 for ac_exec_ext
in '' $ac_executable_extensions; do
6743 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6754 STRIP
=$ac_cv_prog_STRIP
6755 if test -n "$STRIP"; then
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6757 printf "%s\n" "$STRIP" >&6; }
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 printf "%s\n" "no" >&6; }
6765 if test -z "$ac_cv_prog_STRIP"; then
6767 # Extract the first word of "strip", so it can be a program name with args.
6768 set dummy strip
; ac_word
=$2
6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 printf %s
"checking for $ac_word... " >&6; }
6771 if test ${ac_cv_prog_ac_ct_STRIP+y}
6773 printf %s
"(cached) " >&6
6775 if test -n "$ac_ct_STRIP"; then
6776 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6782 case $as_dir in #(((
6785 *) as_dir
=$as_dir/ ;;
6787 for ac_exec_ext
in '' $ac_executable_extensions; do
6788 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_ac_ct_STRIP
="strip"
6790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6799 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6800 if test -n "$ac_ct_STRIP"; then
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6802 printf "%s\n" "$ac_ct_STRIP" >&6; }
6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 printf "%s\n" "no" >&6; }
6808 if test "x$ac_ct_STRIP" = x
; then
6811 case $cross_compiling:$ac_tool_warned in
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6814 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6815 ac_tool_warned
=yes ;;
6820 STRIP
="$ac_cv_prog_STRIP"
6823 if test -n "$ac_tool_prefix"; then
6824 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6825 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 printf %s
"checking for $ac_word... " >&6; }
6828 if test ${ac_cv_prog_RANLIB+y}
6830 printf %s
"(cached) " >&6
6832 if test -n "$RANLIB"; then
6833 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6839 case $as_dir in #(((
6842 *) as_dir
=$as_dir/ ;;
6844 for ac_exec_ext
in '' $ac_executable_extensions; do
6845 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6846 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6856 RANLIB
=$ac_cv_prog_RANLIB
6857 if test -n "$RANLIB"; then
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6859 printf "%s\n" "$RANLIB" >&6; }
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 printf "%s\n" "no" >&6; }
6867 if test -z "$ac_cv_prog_RANLIB"; then
6868 ac_ct_RANLIB
=$RANLIB
6869 # Extract the first word of "ranlib", so it can be a program name with args.
6870 set dummy ranlib
; ac_word
=$2
6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 printf %s
"checking for $ac_word... " >&6; }
6873 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6875 printf %s
"(cached) " >&6
6877 if test -n "$ac_ct_RANLIB"; then
6878 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6884 case $as_dir in #(((
6887 *) as_dir
=$as_dir/ ;;
6889 for ac_exec_ext
in '' $ac_executable_extensions; do
6890 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6891 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6901 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6902 if test -n "$ac_ct_RANLIB"; then
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6904 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6907 printf "%s\n" "no" >&6; }
6910 if test "x$ac_ct_RANLIB" = x
; then
6913 case $cross_compiling:$ac_tool_warned in
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6917 ac_tool_warned
=yes ;;
6919 RANLIB
=$ac_ct_RANLIB
6922 RANLIB
="$ac_cv_prog_RANLIB"
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6926 printf %s
"checking whether ln -s works... " >&6; }
6928 if test "$LN_S" = "ln -s"; then
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6930 printf "%s\n" "yes" >&6; }
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6933 printf "%s\n" "no, using $LN_S" >&6; }
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6937 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6938 if test ${ac_cv_path_GREP+y}
6940 printf %s
"(cached) " >&6
6942 if test -z "$GREP"; then
6943 ac_path_GREP_found
=false
6944 # Loop through the user's path and test for each of PROGNAME-LIST
6945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6946 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6949 case $as_dir in #(((
6952 *) as_dir
=$as_dir/ ;;
6954 for ac_prog
in grep ggrep
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6958 as_fn_executable_p
"$ac_path_GREP" ||
continue
6959 # Check for GNU ac_path_GREP and select it if it is found.
6960 # Check for GNU $ac_path_GREP
6961 case `"$ac_path_GREP" --version 2>&1` in
6963 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6966 printf %s
0123456789 >"conftest.in"
6969 cat "conftest.in" "conftest.in" >"conftest.tmp"
6970 mv "conftest.tmp" "conftest.in"
6971 cp "conftest.in" "conftest.nl"
6972 printf "%s\n" 'GREP' >> "conftest.nl"
6973 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6974 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6975 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6976 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6977 # Best one so far, save it but keep looking for a better one
6978 ac_cv_path_GREP
="$ac_path_GREP"
6979 ac_path_GREP_max
=$ac_count
6981 # 10*(2^10) chars as input seems more than enough
6982 test $ac_count -gt 10 && break
6984 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6987 $ac_path_GREP_found && break 3
6992 if test -z "$ac_cv_path_GREP"; then
6993 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6996 ac_cv_path_GREP
=$GREP
7000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7001 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7002 GREP
="$ac_cv_path_GREP"
7005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7006 printf %s
"checking for egrep... " >&6; }
7007 if test ${ac_cv_path_EGREP+y}
7009 printf %s
"(cached) " >&6
7011 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7012 then ac_cv_path_EGREP
="$GREP -E"
7014 if test -z "$EGREP"; then
7015 ac_path_EGREP_found
=false
7016 # Loop through the user's path and test for each of PROGNAME-LIST
7017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7018 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7021 case $as_dir in #(((
7024 *) as_dir
=$as_dir/ ;;
7026 for ac_prog
in egrep
7028 for ac_exec_ext
in '' $ac_executable_extensions; do
7029 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7030 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7031 # Check for GNU ac_path_EGREP and select it if it is found.
7032 # Check for GNU $ac_path_EGREP
7033 case `"$ac_path_EGREP" --version 2>&1` in
7035 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7038 printf %s
0123456789 >"conftest.in"
7041 cat "conftest.in" "conftest.in" >"conftest.tmp"
7042 mv "conftest.tmp" "conftest.in"
7043 cp "conftest.in" "conftest.nl"
7044 printf "%s\n" 'EGREP' >> "conftest.nl"
7045 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7046 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7047 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7048 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7049 # Best one so far, save it but keep looking for a better one
7050 ac_cv_path_EGREP
="$ac_path_EGREP"
7051 ac_path_EGREP_max
=$ac_count
7053 # 10*(2^10) chars as input seems more than enough
7054 test $ac_count -gt 10 && break
7056 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7059 $ac_path_EGREP_found && break 3
7064 if test -z "$ac_cv_path_EGREP"; then
7065 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7068 ac_cv_path_EGREP
=$EGREP
7073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7074 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7075 EGREP
="$ac_cv_path_EGREP"
7078 # Extract the first word of "ldconfig", so it can be a program name with args.
7079 set dummy ldconfig
; ac_word
=$2
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 printf %s
"checking for $ac_word... " >&6; }
7082 if test ${ac_cv_path_LDCONFIG+y}
7084 printf %s
"(cached) " >&6
7088 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7092 for as_dir
in /sbin
/usr
/sbin
$PATH
7095 case $as_dir in #(((
7098 *) as_dir
=$as_dir/ ;;
7100 for ac_exec_ext
in '' $ac_executable_extensions; do
7101 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7102 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7110 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7114 LDCONFIG
=$ac_cv_path_LDCONFIG
7115 if test -n "$LDCONFIG"; then
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7117 printf "%s\n" "$LDCONFIG" >&6; }
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 printf "%s\n" "no" >&6; }
7124 for ac_prog
in msgfmt
7126 # Extract the first word of "$ac_prog", so it can be a program name with args.
7127 set dummy
$ac_prog; ac_word
=$2
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 printf %s
"checking for $ac_word... " >&6; }
7130 if test ${ac_cv_prog_MSGFMT+y}
7132 printf %s
"(cached) " >&6
7134 if test -n "$MSGFMT"; then
7135 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7141 case $as_dir in #(((
7144 *) as_dir
=$as_dir/ ;;
7146 for ac_exec_ext
in '' $ac_executable_extensions; do
7147 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_MSGFMT
="$ac_prog"
7149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7158 MSGFMT
=$ac_cv_prog_MSGFMT
7159 if test -n "$MSGFMT"; then
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7161 printf "%s\n" "$MSGFMT" >&6; }
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 printf "%s\n" "no" >&6; }
7168 test -n "$MSGFMT" && break
7170 test -n "$MSGFMT" || MSGFMT
="false"
7172 if test ${ac_tool_prefix+y}
7174 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7175 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177 printf %s
"checking for $ac_word... " >&6; }
7178 if test ${ac_cv_prog_PKG_CONFIG+y}
7180 printf %s
"(cached) " >&6
7182 if test -n "$PKG_CONFIG"; then
7183 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7189 case $as_dir in #(((
7192 *) as_dir
=$as_dir/ ;;
7194 for ac_exec_ext
in '' $ac_executable_extensions; do
7195 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7196 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7206 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7207 if test -n "$PKG_CONFIG"; then
7208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7209 printf "%s\n" "$PKG_CONFIG" >&6; }
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7212 printf "%s\n" "no" >&6; }
7217 if ${ac_cv_prog_PKG_CONFIG:+false} :
7219 if test "x$cross_compiling" = xyes
7223 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7224 # Extract the first word of "pkg-config", so it can be a program name with args.
7225 set dummy pkg-config
; ac_word
=$2
7226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 printf %s
"checking for $ac_word... " >&6; }
7228 if test ${ac_cv_prog_PKG_CONFIG+y}
7230 printf %s
"(cached) " >&6
7232 if test -n "$PKG_CONFIG"; then
7233 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7239 case $as_dir in #(((
7242 *) as_dir
=$as_dir/ ;;
7244 for ac_exec_ext
in '' $ac_executable_extensions; do
7245 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_PKG_CONFIG
="pkg-config"
7247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7256 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7257 if test -n "$PKG_CONFIG"; then
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7259 printf "%s\n" "$PKG_CONFIG" >&6; }
7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 printf "%s\n" "no" >&6; }
7268 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7271 if test "x$enable_maintainer_mode" != "xyes"
7278 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7279 for ac_prog
in fontforge
7281 # Extract the first word of "$ac_prog", so it can be a program name with args.
7282 set dummy
$ac_prog; ac_word
=$2
7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 printf %s
"checking for $ac_word... " >&6; }
7285 if test ${ac_cv_prog_FONTFORGE+y}
7287 printf %s
"(cached) " >&6
7289 if test -n "$FONTFORGE"; then
7290 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7296 case $as_dir in #(((
7299 *) as_dir
=$as_dir/ ;;
7301 for ac_exec_ext
in '' $ac_executable_extensions; do
7302 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7303 ac_cv_prog_FONTFORGE
="$ac_prog"
7304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7313 FONTFORGE
=$ac_cv_prog_FONTFORGE
7314 if test -n "$FONTFORGE"; then
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7316 printf "%s\n" "$FONTFORGE" >&6; }
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 printf "%s\n" "no" >&6; }
7323 test -n "$FONTFORGE" && break
7325 test -n "$FONTFORGE" || FONTFORGE
="false"
7327 for ac_prog
in rsvg-convert rsvg
7329 # Extract the first word of "$ac_prog", so it can be a program name with args.
7330 set dummy
$ac_prog; ac_word
=$2
7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332 printf %s
"checking for $ac_word... " >&6; }
7333 if test ${ac_cv_prog_RSVG+y}
7335 printf %s
"(cached) " >&6
7337 if test -n "$RSVG"; then
7338 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7344 case $as_dir in #(((
7347 *) as_dir
=$as_dir/ ;;
7349 for ac_exec_ext
in '' $ac_executable_extensions; do
7350 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7351 ac_cv_prog_RSVG
="$ac_prog"
7352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7361 RSVG
=$ac_cv_prog_RSVG
7362 if test -n "$RSVG"; then
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7364 printf "%s\n" "$RSVG" >&6; }
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 printf "%s\n" "no" >&6; }
7371 test -n "$RSVG" && break
7373 test -n "$RSVG" || RSVG
="false"
7375 for ac_prog
in convert
7377 # Extract the first word of "$ac_prog", so it can be a program name with args.
7378 set dummy
$ac_prog; ac_word
=$2
7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 printf %s
"checking for $ac_word... " >&6; }
7381 if test ${ac_cv_prog_CONVERT+y}
7383 printf %s
"(cached) " >&6
7385 if test -n "$CONVERT"; then
7386 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7392 case $as_dir in #(((
7395 *) as_dir
=$as_dir/ ;;
7397 for ac_exec_ext
in '' $ac_executable_extensions; do
7398 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7399 ac_cv_prog_CONVERT
="$ac_prog"
7400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7409 CONVERT
=$ac_cv_prog_CONVERT
7410 if test -n "$CONVERT"; then
7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7412 printf "%s\n" "$CONVERT" >&6; }
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415 printf "%s\n" "no" >&6; }
7419 test -n "$CONVERT" && break
7421 test -n "$CONVERT" || CONVERT
="false"
7423 for ac_prog
in icotool
7425 # Extract the first word of "$ac_prog", so it can be a program name with args.
7426 set dummy
$ac_prog; ac_word
=$2
7427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 printf %s
"checking for $ac_word... " >&6; }
7429 if test ${ac_cv_prog_ICOTOOL+y}
7431 printf %s
"(cached) " >&6
7433 if test -n "$ICOTOOL"; then
7434 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7440 case $as_dir in #(((
7443 *) as_dir
=$as_dir/ ;;
7445 for ac_exec_ext
in '' $ac_executable_extensions; do
7446 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_ICOTOOL
="$ac_prog"
7448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7457 ICOTOOL
=$ac_cv_prog_ICOTOOL
7458 if test -n "$ICOTOOL"; then
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7460 printf "%s\n" "$ICOTOOL" >&6; }
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 printf "%s\n" "no" >&6; }
7467 test -n "$ICOTOOL" && break
7469 test -n "$ICOTOOL" || ICOTOOL
="false"
7471 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7472 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7474 if test "$CONVERT" = false
7476 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7479 printf %s
"checking for recent enough imagemagick... " >&6; }
7480 convert_version
=`convert --version | head -n1`
7481 if test "x$convert_version" != "x"
7483 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7484 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7485 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7490 if test "$CONVERT" = false
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7493 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7494 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7497 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7501 if test "$ICOTOOL" = false
7503 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7506 printf %s
"checking for recent enough icotool... " >&6; }
7507 icotool_version
=`icotool --version | head -n1`
7508 if test "x$icotool_version" != "x"
7510 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7511 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7512 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7515 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7518 if test "$ICOTOOL" = false
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7521 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7522 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7525 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7535 test "x$with_gettext" != xno || MSGFMT
=false
7536 if test "$MSGFMT" != "false"
7538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7539 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7540 if test ${wine_cv_msgfmt_contexts+y}
7542 printf %s
"(cached) " >&6
7544 cat >conftest.po
<<EOF
7550 if $MSGFMT -o /dev
/null conftest.po
2>&5
7552 wine_cv_msgfmt_contexts
=yes
7554 wine_cv_msgfmt_contexts
=no
7557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7558 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7559 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7561 if test "$MSGFMT" = false
7563 case "x$with_gettext" in
7564 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7566 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7567 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7569 enable_po
=${enable_po:-no}
7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7574 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7575 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7577 printf %s
"(cached) " >&6
7579 ac_check_lib_save_LIBS
=$LIBS
7581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7582 /* end confdefs.h. */
7584 /* Override any GCC internal prototype to avoid an error.
7585 Use char because int might match the return type of a GCC
7586 builtin and then its argument prototype would still apply. */
7587 char i386_set_ldt ();
7591 return i386_set_ldt ();
7596 if ac_fn_c_try_link
"$LINENO"
7598 ac_cv_lib_i386_i386_set_ldt
=yes
7600 ac_cv_lib_i386_i386_set_ldt
=no
7602 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7603 conftest
$ac_exeext conftest.
$ac_ext
7604 LIBS
=$ac_check_lib_save_LIBS
7606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7607 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7608 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7619 # Check whether --enable-largefile was given.
7620 if test ${enable_largefile+y}
7622 enableval
=$enable_largefile;
7625 if test "$enable_largefile" != no
; then
7627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7628 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7629 if test ${ac_cv_sys_largefile_CC+y}
7631 printf %s
"(cached) " >&6
7633 ac_cv_sys_largefile_CC
=no
7634 if test "$GCC" != yes; then
7637 # IRIX 6.2 and later do not support large files by default,
7638 # so use the C compiler's -n32 option if that helps.
7639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7641 #include <sys/types.h>
7642 /* Check that off_t can represent 2**63 - 1 correctly.
7643 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7644 since some C++ compilers masquerading as C compilers
7645 incorrectly reject 9223372036854775807. */
7646 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7647 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7648 && LARGE_OFF_T % 2147483647 == 1)
7658 if ac_fn_c_try_compile
"$LINENO"
7662 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7664 if ac_fn_c_try_compile
"$LINENO"
7666 ac_cv_sys_largefile_CC
=' -n32'; break
7668 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7672 rm -f conftest.
$ac_ext
7675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7676 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7677 if test "$ac_cv_sys_largefile_CC" != no
; then
7678 CC
=$CC$ac_cv_sys_largefile_CC
7681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7682 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7683 if test ${ac_cv_sys_file_offset_bits+y}
7685 printf %s
"(cached) " >&6
7688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7689 /* end confdefs.h. */
7690 #include <sys/types.h>
7691 /* Check that off_t can represent 2**63 - 1 correctly.
7692 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7693 since some C++ compilers masquerading as C compilers
7694 incorrectly reject 9223372036854775807. */
7695 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7696 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7697 && LARGE_OFF_T % 2147483647 == 1)
7707 if ac_fn_c_try_compile
"$LINENO"
7709 ac_cv_sys_file_offset_bits
=no
; break
7711 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7713 /* end confdefs.h. */
7714 #define _FILE_OFFSET_BITS 64
7715 #include <sys/types.h>
7716 /* Check that off_t can represent 2**63 - 1 correctly.
7717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7718 since some C++ compilers masquerading as C compilers
7719 incorrectly reject 9223372036854775807. */
7720 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7722 && LARGE_OFF_T % 2147483647 == 1)
7732 if ac_fn_c_try_compile
"$LINENO"
7734 ac_cv_sys_file_offset_bits
=64; break
7736 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7737 ac_cv_sys_file_offset_bits
=unknown
7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7742 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7743 case $ac_cv_sys_file_offset_bits in #(
7746 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7750 if test $ac_cv_sys_file_offset_bits = unknown
; then
7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7752 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7753 if test ${ac_cv_sys_large_files+y}
7755 printf %s
"(cached) " >&6
7758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7760 #include <sys/types.h>
7761 /* Check that off_t can represent 2**63 - 1 correctly.
7762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7763 since some C++ compilers masquerading as C compilers
7764 incorrectly reject 9223372036854775807. */
7765 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7766 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7767 && LARGE_OFF_T % 2147483647 == 1)
7777 if ac_fn_c_try_compile
"$LINENO"
7779 ac_cv_sys_large_files
=no
; break
7781 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7783 /* end confdefs.h. */
7784 #define _LARGE_FILES 1
7785 #include <sys/types.h>
7786 /* Check that off_t can represent 2**63 - 1 correctly.
7787 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7788 since some C++ compilers masquerading as C compilers
7789 incorrectly reject 9223372036854775807. */
7790 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7792 && LARGE_OFF_T % 2147483647 == 1)
7802 if ac_fn_c_try_compile
"$LINENO"
7804 ac_cv_sys_large_files
=1; break
7806 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7807 ac_cv_sys_large_files
=unknown
7811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7812 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7813 case $ac_cv_sys_large_files in #(
7816 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7824 ac_header
= ac_cache
=
7825 for ac_item
in $ac_header_c_list
7827 if test $ac_cache; then
7828 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7829 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7830 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7832 ac_header
= ac_cache
=
7833 elif test $ac_header; then
7847 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7850 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7853 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_AL_al_h" = xyes
7856 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7862 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_CL_cl_h" = xyes
7868 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7874 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7880 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7886 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_EGL_egl_h" = xyes
7892 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7898 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7904 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile
"$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7910 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7916 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_Security_Security_h" = xyes
7922 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7928 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7934 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_arpa_inet_h" = xyes
7940 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7946 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_asm_types_h" = xyes
7952 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_asm_user_h" = xyes
7958 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_elf_h" = xyes
7964 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_float_h" = xyes
7970 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_gettext_po_h" = xyes
7976 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_libproc_h" = xyes
7982 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_link_h" = xyes
7988 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7994 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_filter_h" = xyes
8000 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8006 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8012 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_linux_input_h" = xyes
8018 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8024 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_linux_major_h" = xyes
8030 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_linux_param_h" = xyes
8036 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_linux_serial_h" = xyes
8042 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_linux_types_h" = xyes
8048 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8054 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_lwp_h" = xyes
8060 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8066 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_mach_mach_h" = xyes
8072 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_machine_cpu_h" = xyes
8078 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8084 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_mntent_h" = xyes
8090 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_netdb_h" = xyes
8096 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_netinet_in_h" = xyes
8102 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8108 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8114 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8120 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8126 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_port_h" = xyes
8132 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_pthread_h" = xyes
8138 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_pwd_h" = xyes
8144 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8150 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sched_h" = xyes
8156 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8162 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8168 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_scsi_sg_h" = xyes
8174 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_stdint_h" = xyes
8180 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_attr_h" = xyes
8186 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_auxv_h" = xyes
8192 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_cdio_h" = xyes
8198 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_epoll_h" = xyes
8204 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_event_h" = xyes
8210 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_filio_h" = xyes
8216 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_ipc_h" = xyes
8222 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_link_h" = xyes
8228 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_modem_h" = xyes
8234 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_mtio_h" = xyes
8240 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_param_h" = xyes
8246 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_prctl_h" = xyes
8252 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8258 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_queue_h" = xyes
8264 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_random_h" = xyes
8270 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_resource_h" = xyes
8276 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8282 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_shm_h" = xyes
8288 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_signal_h" = xyes
8294 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8300 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_sockio_h" = xyes
8306 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8312 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_strtio_h" = xyes
8318 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_syscall_h" = xyes
8324 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8330 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_sys_times_h" = xyes
8336 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_sys_uio_h" = xyes
8342 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_sys_user_h" = xyes
8348 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_sys_utsname_h" = xyes
8354 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_sys_vnode_h" = xyes
8360 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8363 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8364 if test "x$ac_cv_header_sys_xattr_h" = xyes
8366 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8369 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8370 if test "x$ac_cv_header_syscall_h" = xyes
8372 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8375 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8376 if test "x$ac_cv_header_utime_h" = xyes
8378 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8382 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8384 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8388 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8390 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8394 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8395 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8398 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8402 if test $ac_cv_header_sys_mkdev_h = no
; then
8403 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8404 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8407 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8413 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8414 if test ${ac_cv_header_stat_broken+y}
8416 printf %s
"(cached) " >&6
8418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8420 #include <sys/types.h>
8421 #include <sys/stat.h>
8423 #if defined S_ISBLK && defined S_IFDIR
8424 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8427 #if defined S_ISBLK && defined S_IFCHR
8428 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8431 #if defined S_ISLNK && defined S_IFREG
8432 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8435 #if defined S_ISSOCK && defined S_IFREG
8436 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8440 if ac_fn_c_try_compile
"$LINENO"
8442 ac_cv_header_stat_broken
=no
8444 ac_cv_header_stat_broken
=yes
8446 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8449 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8450 if test $ac_cv_header_stat_broken = yes; then
8452 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8458 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8459 #ifdef HAVE_SYS_PARAM_H
8460 # include <sys/param.h>
8463 if test "x$ac_cv_header_sys_conf_h" = xyes
8465 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8468 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8469 #ifdef HAVE_SYS_PARAM_H
8470 # include <sys/param.h>
8473 if test "x$ac_cv_header_sys_mount_h" = xyes
8475 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8478 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8479 #ifdef HAVE_SYS_PARAM_H
8480 # include <sys/param.h>
8483 if test "x$ac_cv_header_sys_statfs_h" = xyes
8485 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8488 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8489 #ifdef HAVE_SYS_PARAM_H
8490 # include <sys/param.h>
8493 if test "x$ac_cv_header_sys_user_h" = xyes
8495 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8498 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8499 #ifdef HAVE_SYS_PARAM_H
8500 # include <sys/param.h>
8503 if test "x$ac_cv_header_sys_vfs_h" = xyes
8505 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8510 saved_sysctl_h_CFLAGS
=$CFLAGS
8511 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8512 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8513 #ifdef HAVE_SYS_PARAM_H
8514 # include <sys/param.h>
8517 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8519 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8523 CFLAGS
=$saved_sysctl_h_CFLAGS
8525 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8526 #include <sys/socket.h>
8527 #ifdef HAVE_SYS_SOCKETVAR_H
8528 # include <sys/socketvar.h>
8530 #ifdef HAVE_NET_ROUTE_H
8531 # include <net/route.h>
8533 #ifdef HAVE_NETINET_IN_H
8534 # include <netinet/in.h>
8536 #ifdef HAVE_NETINET_IN_SYSTM_H
8537 # include <netinet/in_systm.h>
8539 #ifdef HAVE_NET_IF_H
8540 # include <net/if.h>
8542 #ifdef HAVE_NETINET_IP_H
8543 # include <netinet/ip.h>
8546 if test "x$ac_cv_header_netinet_ip_h" = xyes
8548 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8551 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8552 #include <sys/socket.h>
8553 #ifdef HAVE_SYS_SOCKETVAR_H
8554 # include <sys/socketvar.h>
8556 #ifdef HAVE_NET_ROUTE_H
8557 # include <net/route.h>
8559 #ifdef HAVE_NETINET_IN_H
8560 # include <netinet/in.h>
8562 #ifdef HAVE_NETINET_IN_SYSTM_H
8563 # include <netinet/in_systm.h>
8565 #ifdef HAVE_NET_IF_H
8566 # include <net/if.h>
8568 #ifdef HAVE_NETINET_IP_H
8569 # include <netinet/ip.h>
8572 if test "x$ac_cv_header_net_if_h" = xyes
8574 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8577 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8578 #include <sys/socket.h>
8579 #ifdef HAVE_SYS_SOCKETVAR_H
8580 # include <sys/socketvar.h>
8582 #ifdef HAVE_NET_ROUTE_H
8583 # include <net/route.h>
8585 #ifdef HAVE_NETINET_IN_H
8586 # include <netinet/in.h>
8588 #ifdef HAVE_NETINET_IN_SYSTM_H
8589 # include <netinet/in_systm.h>
8591 #ifdef HAVE_NET_IF_H
8592 # include <net/if.h>
8594 #ifdef HAVE_NETINET_IP_H
8595 # include <netinet/ip.h>
8598 if test "x$ac_cv_header_net_if_arp_h" = xyes
8600 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8603 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8604 #include <sys/socket.h>
8605 #ifdef HAVE_SYS_SOCKETVAR_H
8606 # include <sys/socketvar.h>
8608 #ifdef HAVE_NET_ROUTE_H
8609 # include <net/route.h>
8611 #ifdef HAVE_NETINET_IN_H
8612 # include <netinet/in.h>
8614 #ifdef HAVE_NETINET_IN_SYSTM_H
8615 # include <netinet/in_systm.h>
8617 #ifdef HAVE_NET_IF_H
8618 # include <net/if.h>
8620 #ifdef HAVE_NETINET_IP_H
8621 # include <netinet/ip.h>
8624 if test "x$ac_cv_header_net_if_dl_h" = xyes
8626 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8629 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8630 #include <sys/socket.h>
8631 #ifdef HAVE_SYS_SOCKETVAR_H
8632 # include <sys/socketvar.h>
8634 #ifdef HAVE_NET_ROUTE_H
8635 # include <net/route.h>
8637 #ifdef HAVE_NETINET_IN_H
8638 # include <netinet/in.h>
8640 #ifdef HAVE_NETINET_IN_SYSTM_H
8641 # include <netinet/in_systm.h>
8643 #ifdef HAVE_NET_IF_H
8644 # include <net/if.h>
8646 #ifdef HAVE_NETINET_IP_H
8647 # include <netinet/ip.h>
8650 if test "x$ac_cv_header_net_if_types_h" = xyes
8652 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8655 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8656 #include <sys/socket.h>
8657 #ifdef HAVE_SYS_SOCKETVAR_H
8658 # include <sys/socketvar.h>
8660 #ifdef HAVE_NET_ROUTE_H
8661 # include <net/route.h>
8663 #ifdef HAVE_NETINET_IN_H
8664 # include <netinet/in.h>
8666 #ifdef HAVE_NETINET_IN_SYSTM_H
8667 # include <netinet/in_systm.h>
8669 #ifdef HAVE_NET_IF_H
8670 # include <net/if.h>
8672 #ifdef HAVE_NETINET_IP_H
8673 # include <netinet/ip.h>
8676 if test "x$ac_cv_header_net_route_h" = xyes
8678 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8681 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8682 #include <sys/socket.h>
8683 #ifdef HAVE_SYS_SOCKETVAR_H
8684 # include <sys/socketvar.h>
8686 #ifdef HAVE_NET_ROUTE_H
8687 # include <net/route.h>
8689 #ifdef HAVE_NETINET_IN_H
8690 # include <netinet/in.h>
8692 #ifdef HAVE_NETINET_IN_SYSTM_H
8693 # include <netinet/in_systm.h>
8695 #ifdef HAVE_NET_IF_H
8696 # include <net/if.h>
8698 #ifdef HAVE_NETINET_IP_H
8699 # include <netinet/ip.h>
8702 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8704 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8707 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8708 #include <sys/socket.h>
8709 #ifdef HAVE_SYS_SOCKETVAR_H
8710 # include <sys/socketvar.h>
8712 #ifdef HAVE_NET_ROUTE_H
8713 # include <net/route.h>
8715 #ifdef HAVE_NETINET_IN_H
8716 # include <netinet/in.h>
8718 #ifdef HAVE_NETINET_IN_SYSTM_H
8719 # include <netinet/in_systm.h>
8721 #ifdef HAVE_NET_IF_H
8722 # include <net/if.h>
8724 #ifdef HAVE_NETINET_IP_H
8725 # include <netinet/ip.h>
8728 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8730 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8733 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8734 #include <sys/socket.h>
8735 #ifdef HAVE_SYS_SOCKETVAR_H
8736 # include <sys/socketvar.h>
8738 #ifdef HAVE_NET_ROUTE_H
8739 # include <net/route.h>
8741 #ifdef HAVE_NETINET_IN_H
8742 # include <netinet/in.h>
8744 #ifdef HAVE_NETINET_IN_SYSTM_H
8745 # include <netinet/in_systm.h>
8747 #ifdef HAVE_NET_IF_H
8748 # include <net/if.h>
8750 #ifdef HAVE_NETINET_IP_H
8751 # include <netinet/ip.h>
8754 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8756 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8759 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8760 #include <sys/socket.h>
8761 #ifdef HAVE_SYS_SOCKETVAR_H
8762 # include <sys/socketvar.h>
8764 #ifdef HAVE_NET_ROUTE_H
8765 # include <net/route.h>
8767 #ifdef HAVE_NETINET_IN_H
8768 # include <netinet/in.h>
8770 #ifdef HAVE_NETINET_IN_SYSTM_H
8771 # include <netinet/in_systm.h>
8773 #ifdef HAVE_NET_IF_H
8774 # include <net/if.h>
8776 #ifdef HAVE_NETINET_IP_H
8777 # include <netinet/ip.h>
8780 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8782 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8785 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8786 #include <sys/socket.h>
8787 #ifdef HAVE_SYS_SOCKETVAR_H
8788 # include <sys/socketvar.h>
8790 #ifdef HAVE_NET_ROUTE_H
8791 # include <net/route.h>
8793 #ifdef HAVE_NETINET_IN_H
8794 # include <netinet/in.h>
8796 #ifdef HAVE_NETINET_IN_SYSTM_H
8797 # include <netinet/in_systm.h>
8799 #ifdef HAVE_NET_IF_H
8800 # include <net/if.h>
8802 #ifdef HAVE_NETINET_IP_H
8803 # include <netinet/ip.h>
8806 if test "x$ac_cv_header_netinet_udp_h" = xyes
8808 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8811 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8812 #include <sys/socket.h>
8813 #ifdef HAVE_SYS_SOCKETVAR_H
8814 # include <sys/socketvar.h>
8816 #ifdef HAVE_NET_ROUTE_H
8817 # include <net/route.h>
8819 #ifdef HAVE_NETINET_IN_H
8820 # include <netinet/in.h>
8822 #ifdef HAVE_NETINET_IN_SYSTM_H
8823 # include <netinet/in_systm.h>
8825 #ifdef HAVE_NET_IF_H
8826 # include <net/if.h>
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8832 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8834 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8837 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8838 #include <sys/socket.h>
8839 #ifdef HAVE_SYS_SOCKETVAR_H
8840 # include <sys/socketvar.h>
8842 #ifdef HAVE_NET_ROUTE_H
8843 # include <net/route.h>
8845 #ifdef HAVE_NETINET_IN_H
8846 # include <netinet/in.h>
8848 #ifdef HAVE_NETINET_IN_SYSTM_H
8849 # include <netinet/in_systm.h>
8851 #ifdef HAVE_NET_IF_H
8852 # include <net/if.h>
8854 #ifdef HAVE_NETINET_IP_H
8855 # include <netinet/ip.h>
8858 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8860 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8863 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8864 #include <sys/socket.h>
8865 #ifdef HAVE_SYS_SOCKETVAR_H
8866 # include <sys/socketvar.h>
8868 #ifdef HAVE_NET_ROUTE_H
8869 # include <net/route.h>
8871 #ifdef HAVE_NETINET_IN_H
8872 # include <netinet/in.h>
8874 #ifdef HAVE_NETINET_IN_SYSTM_H
8875 # include <netinet/in_systm.h>
8877 #ifdef HAVE_NET_IF_H
8878 # include <net/if.h>
8880 #ifdef HAVE_NETINET_IP_H
8881 # include <netinet/ip.h>
8884 if test "x$ac_cv_header_sys_un_h" = xyes
8886 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8891 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8892 #include <sys/socket.h>
8893 #ifdef HAVE_SYS_SOCKETVAR_H
8894 # include <sys/socketvar.h>
8896 #ifdef HAVE_NETINET_IN_H
8897 # include <netinet/in.h>
8899 #ifdef HAVE_NETINET_IN_SYSTM_H
8900 # include <netinet/in_systm.h>
8902 #ifdef HAVE_NETINET_IP_H
8903 # include <netinet/ip.h>
8905 #ifdef HAVE_NETINET_IP_VAR_H
8906 # include <netinet/ip_var.h>
8908 #ifdef HAVE_NETINET_IP_ICMP_H
8909 # include <netinet/ip_icmp.h>
8911 #ifdef HAVE_NETINET_UDP_H
8912 # include <netinet/udp.h>
8914 #ifdef HAVE_NETINET_TCP_H
8915 # include <netinet/tcp.h>
8918 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8920 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8923 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8924 #include <sys/socket.h>
8925 #ifdef HAVE_SYS_SOCKETVAR_H
8926 # include <sys/socketvar.h>
8928 #ifdef HAVE_NETINET_IN_H
8929 # include <netinet/in.h>
8931 #ifdef HAVE_NETINET_IN_SYSTM_H
8932 # include <netinet/in_systm.h>
8934 #ifdef HAVE_NETINET_IP_H
8935 # include <netinet/ip.h>
8937 #ifdef HAVE_NETINET_IP_VAR_H
8938 # include <netinet/ip_var.h>
8940 #ifdef HAVE_NETINET_IP_ICMP_H
8941 # include <netinet/ip_icmp.h>
8943 #ifdef HAVE_NETINET_UDP_H
8944 # include <netinet/udp.h>
8946 #ifdef HAVE_NETINET_TCP_H
8947 # include <netinet/tcp.h>
8950 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8952 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8955 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8956 #include <sys/socket.h>
8957 #ifdef HAVE_SYS_SOCKETVAR_H
8958 # include <sys/socketvar.h>
8960 #ifdef HAVE_NETINET_IN_H
8961 # include <netinet/in.h>
8963 #ifdef HAVE_NETINET_IN_SYSTM_H
8964 # include <netinet/in_systm.h>
8966 #ifdef HAVE_NETINET_IP_H
8967 # include <netinet/ip.h>
8969 #ifdef HAVE_NETINET_IP_VAR_H
8970 # include <netinet/ip_var.h>
8972 #ifdef HAVE_NETINET_IP_ICMP_H
8973 # include <netinet/ip_icmp.h>
8975 #ifdef HAVE_NETINET_UDP_H
8976 # include <netinet/udp.h>
8978 #ifdef HAVE_NETINET_TCP_H
8979 # include <netinet/tcp.h>
8982 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8984 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8987 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8988 #include <sys/socket.h>
8989 #ifdef HAVE_SYS_SOCKETVAR_H
8990 # include <sys/socketvar.h>
8992 #ifdef HAVE_NETINET_IN_H
8993 # include <netinet/in.h>
8995 #ifdef HAVE_NETINET_IN_SYSTM_H
8996 # include <netinet/in_systm.h>
8998 #ifdef HAVE_NETINET_IP_H
8999 # include <netinet/ip.h>
9001 #ifdef HAVE_NETINET_IP_VAR_H
9002 # include <netinet/ip_var.h>
9004 #ifdef HAVE_NETINET_IP_ICMP_H
9005 # include <netinet/ip_icmp.h>
9007 #ifdef HAVE_NETINET_UDP_H
9008 # include <netinet/udp.h>
9010 #ifdef HAVE_NETINET_TCP_H
9011 # include <netinet/tcp.h>
9014 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9016 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9021 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9022 #include <sys/socket.h>
9023 #ifdef HAVE_ASM_TYPES_H
9024 # include <asm/types.h>
9026 #ifdef HAVE_LINUX_TYPES_H
9027 # include <linux/types.h>
9030 if test "x$ac_cv_header_linux_ipx_h" = xyes
9032 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9036 #include <sys/socket.h>
9037 #ifdef HAVE_ASM_TYPES_H
9038 # include <asm/types.h>
9040 #ifdef HAVE_LINUX_TYPES_H
9041 # include <linux/types.h>
9044 if test "x$ac_cv_header_linux_irda_h" = xyes
9046 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9050 #include <sys/socket.h>
9051 #ifdef HAVE_ASM_TYPES_H
9052 # include <asm/types.h>
9054 #ifdef HAVE_LINUX_TYPES_H
9055 # include <linux/types.h>
9058 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9060 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9066 #include <sys/socket.h>
9067 #ifdef HAVE_NETINET_IN_H
9068 # include <netinet/in.h>
9070 #ifdef HAVE_ARPA_NAMESER_H
9071 # include <arpa/nameser.h>
9074 if test "x$ac_cv_header_resolv_h" = xyes
9076 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9083 if test "x$ac_cv_header_ifaddrs_h" = xyes
9085 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9092 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9094 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9099 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9100 #ifdef HAVE_SYS_UCONTEXT_H
9101 #include <sys/ucontext.h>
9104 if test "x$ac_cv_header_sys_thr_h" = xyes
9106 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9111 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9112 #include <pthread.h>
9115 if test "x$ac_cv_header_pthread_np_h" = xyes
9117 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9122 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9123 #include <sys/types.h>
9124 #ifdef HAVE_ASM_TYPES_H
9125 #include <asm/types.h>
9128 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9130 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9135 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9136 #include <sys/param.h>
9138 #include <sys/socket.h>
9139 #ifdef HAVE_SYS_QUEUE_H
9140 #include <sys/queue.h>
9143 if test "x$ac_cv_header_libprocstat_h" = xyes
9145 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9150 if test "x$ac_cv_header_sys_xattr_h" = xyes
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9153 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9154 if test ${wine_cv_xattr_extra_args+y}
9156 printf %s
"(cached) " >&6
9158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9160 #include <sys/xattr.h>
9164 getxattr("", "", "", 0, 0, 0);
9169 if ac_fn_c_try_compile
"$LINENO"
9171 wine_cv_xattr_extra_args
=yes
9173 wine_cv_xattr_extra_args
=no
9175 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9178 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9179 test $wine_cv_xattr_extra_args != yes ||
9180 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9193 UNIXDLLFLAGS
="-fPIC"
9195 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9201 WINELOADER_LDFLAGS
=""
9203 WINEPRELOADER_LDFLAGS
=""
9206 # Extract the first word of "ldd", so it can be a program name with args.
9207 set dummy ldd
; ac_word
=$2
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 printf %s
"checking for $ac_word... " >&6; }
9210 if test ${ac_cv_path_LDD+y}
9212 printf %s
"(cached) " >&6
9216 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9220 as_dummy
="/sbin:/usr/sbin:$PATH"
9221 for as_dir
in $as_dummy
9224 case $as_dir in #(((
9227 *) as_dir
=$as_dir/ ;;
9229 for ac_exec_ext
in '' $ac_executable_extensions; do
9230 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9231 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9239 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9244 if test -n "$LDD"; then
9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9246 printf "%s\n" "$LDD" >&6; }
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9249 printf "%s\n" "no" >&6; }
9253 if test -n "$ac_tool_prefix"; then
9254 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9255 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9257 printf %s
"checking for $ac_word... " >&6; }
9258 if test ${ac_cv_prog_OTOOL+y}
9260 printf %s
"(cached) " >&6
9262 if test -n "$OTOOL"; then
9263 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9269 case $as_dir in #(((
9272 *) as_dir
=$as_dir/ ;;
9274 for ac_exec_ext
in '' $ac_executable_extensions; do
9275 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9276 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9286 OTOOL
=$ac_cv_prog_OTOOL
9287 if test -n "$OTOOL"; then
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9289 printf "%s\n" "$OTOOL" >&6; }
9291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9292 printf "%s\n" "no" >&6; }
9297 if test -z "$ac_cv_prog_OTOOL"; then
9299 # Extract the first word of "otool", so it can be a program name with args.
9300 set dummy otool
; ac_word
=$2
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9302 printf %s
"checking for $ac_word... " >&6; }
9303 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9305 printf %s
"(cached) " >&6
9307 if test -n "$ac_ct_OTOOL"; then
9308 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9314 case $as_dir in #(((
9317 *) as_dir
=$as_dir/ ;;
9319 for ac_exec_ext
in '' $ac_executable_extensions; do
9320 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9321 ac_cv_prog_ac_ct_OTOOL
="otool"
9322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9331 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9332 if test -n "$ac_ct_OTOOL"; then
9333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9334 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9337 printf "%s\n" "no" >&6; }
9340 if test "x$ac_ct_OTOOL" = x
; then
9343 case $cross_compiling:$ac_tool_warned in
9345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9346 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9347 ac_tool_warned
=yes ;;
9352 OTOOL
="$ac_cv_prog_OTOOL"
9355 if test -n "$ac_tool_prefix"; then
9356 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9357 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9359 printf %s
"checking for $ac_word... " >&6; }
9360 if test ${ac_cv_prog_READELF+y}
9362 printf %s
"(cached) " >&6
9364 if test -n "$READELF"; then
9365 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9371 case $as_dir in #(((
9374 *) as_dir
=$as_dir/ ;;
9376 for ac_exec_ext
in '' $ac_executable_extensions; do
9377 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9378 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9388 READELF
=$ac_cv_prog_READELF
9389 if test -n "$READELF"; then
9390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9391 printf "%s\n" "$READELF" >&6; }
9393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9394 printf "%s\n" "no" >&6; }
9399 if test -z "$ac_cv_prog_READELF"; then
9400 ac_ct_READELF
=$READELF
9401 # Extract the first word of "readelf", so it can be a program name with args.
9402 set dummy readelf
; ac_word
=$2
9403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9404 printf %s
"checking for $ac_word... " >&6; }
9405 if test ${ac_cv_prog_ac_ct_READELF+y}
9407 printf %s
"(cached) " >&6
9409 if test -n "$ac_ct_READELF"; then
9410 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9416 case $as_dir in #(((
9419 *) as_dir
=$as_dir/ ;;
9421 for ac_exec_ext
in '' $ac_executable_extensions; do
9422 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9423 ac_cv_prog_ac_ct_READELF
="readelf"
9424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9433 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9434 if test -n "$ac_ct_READELF"; then
9435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9436 printf "%s\n" "$ac_ct_READELF" >&6; }
9438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9439 printf "%s\n" "no" >&6; }
9442 if test "x$ac_ct_READELF" = x
; then
9445 case $cross_compiling:$ac_tool_warned in
9447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9448 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9449 ac_tool_warned
=yes ;;
9451 READELF
=$ac_ct_READELF
9454 READELF
="$ac_cv_prog_READELF"
9462 CONFIGURE_TARGETS
=""
9465 wine_fn_config_makefile
()
9467 as_fn_append SUBDIRS
" \\$as_nl $1"
9470 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9471 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9472 if test -n "$PE_ARCHS"
9476 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9479 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9484 wine_fn_config_symlink
()
9487 as_fn_append wine_rules
"
9489 @./config.status \$@"
9490 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9494 test "$HOST_ARCH" != x86_64 || wine_binary
="wine64"
9495 WINELOADER_PROGRAMS
="$wine_binary"
9497 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9502 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9504 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9505 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9506 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9508 printf %s
"(cached) " >&6
9510 ac_wine_try_cflags_saved
=$CFLAGS
9511 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9516 if ac_fn_c_try_link
"$LINENO"
9518 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9520 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9522 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9523 conftest
$ac_exeext conftest.
$ac_ext
9524 CFLAGS
=$ac_wine_try_cflags_saved
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9527 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9528 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9530 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9533 enable_loader
=${enable_loader:-no}
9534 enable_server
=${enable_server:-no}
9535 with_x
=${with_x:-no}
9536 with_pthread
=${with_pthread:-no}
9541 ac_cpp
='$OBJCPP $CPPFLAGS'
9542 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9543 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9544 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9547 ac_cpp
='$OBJCPP $CPPFLAGS'
9548 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9549 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9550 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9551 if test -n "$ac_tool_prefix"; then
9552 for ac_prog
in gcc objcc objc cc CC clang
9554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9555 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9557 printf %s
"checking for $ac_word... " >&6; }
9558 if test ${ac_cv_prog_OBJC+y}
9560 printf %s
"(cached) " >&6
9562 if test -n "$OBJC"; then
9563 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9569 case $as_dir in #(((
9572 *) as_dir
=$as_dir/ ;;
9574 for ac_exec_ext
in '' $ac_executable_extensions; do
9575 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9576 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9586 OBJC
=$ac_cv_prog_OBJC
9587 if test -n "$OBJC"; then
9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9589 printf "%s\n" "$OBJC" >&6; }
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9592 printf "%s\n" "no" >&6; }
9596 test -n "$OBJC" && break
9599 if test -z "$OBJC"; then
9601 for ac_prog
in gcc objcc objc cc CC clang
9603 # Extract the first word of "$ac_prog", so it can be a program name with args.
9604 set dummy
$ac_prog; ac_word
=$2
9605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9606 printf %s
"checking for $ac_word... " >&6; }
9607 if test ${ac_cv_prog_ac_ct_OBJC+y}
9609 printf %s
"(cached) " >&6
9611 if test -n "$ac_ct_OBJC"; then
9612 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9618 case $as_dir in #(((
9621 *) as_dir
=$as_dir/ ;;
9623 for ac_exec_ext
in '' $ac_executable_extensions; do
9624 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9625 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9635 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9636 if test -n "$ac_ct_OBJC"; then
9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9638 printf "%s\n" "$ac_ct_OBJC" >&6; }
9640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9641 printf "%s\n" "no" >&6; }
9645 test -n "$ac_ct_OBJC" && break
9648 if test "x$ac_ct_OBJC" = x
; then
9651 case $cross_compiling:$ac_tool_warned in
9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9654 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9655 ac_tool_warned
=yes ;;
9661 # Provide some information about the compiler.
9662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9665 for ac_option
in --version -v -V -qversion; do
9666 { { ac_try
="$ac_compiler $ac_option >&5"
9668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9669 *) ac_try_echo=$ac_try;;
9671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9672 printf "%s\n" "$ac_try_echo"; } >&5
9673 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9675 if test -s conftest.err; then
9677 ... rest of stderr output deleted ...
9678 10q' conftest.err >conftest.er1
9679 cat conftest.er1 >&5
9681 rm -f conftest.er1 conftest.err
9682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9683 test $ac_status = 0; }
9686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9687 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9688 if test ${ac_cv_objc_compiler_gnu+y}
9690 printf %s "(cached) " >&6
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9706 if ac_fn_objc_try_compile "$LINENO"
9712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9713 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9717 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9718 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9720 if test $ac_compiler_gnu = yes; then
9725 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9726 ac_save_OBJCFLAGS=$OBJCFLAGS
9727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9728 printf %s "checking whether $OBJC accepts -g... " >&6; }
9729 if test ${ac_cv_prog_objc_g+y}
9731 printf %s "(cached) " >&6
9733 ac_save_objc_werror_flag=$ac_objc_werror_flag
9734 ac_objc_werror_flag=yes
9735 ac_cv_prog_objc_g=no
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9748 if ac_fn_objc_try_compile "$LINENO"
9750 ac_cv_prog_objc_g=yes
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9764 if ac_fn_objc_try_compile "$LINENO"
9768 ac_objc_werror_flag=$ac_save_objc_werror_flag
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9781 if ac_fn_objc_try_compile "$LINENO"
9783 ac_cv_prog_objc_g=yes
9785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9790 ac_objc_werror_flag=$ac_save_objc_werror_flag
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9793 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9794 if test $ac_test_OBJCFLAGS; then
9795 OBJCFLAGS=$ac_save_OBJCFLAGS
9796 elif test $ac_cv_prog_objc_g = yes; then
9797 if test "$GOBJC" = yes; then
9803 if test "$GOBJC" = yes; then
9810 ac_cpp='$OBJCPP $CPPFLAGS'
9811 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9812 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9813 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9816 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9817 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9819 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9824 ac_cpp='$CPP $CPPFLAGS'
9825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9830 DLLFLAGS="$DLLFLAGS -fPIC"
9832 COREFOUNDATION_LIBS="-framework CoreFoundation"
9834 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9836 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9838 CORESERVICES_LIBS="-framework CoreServices"
9840 APPKIT_LIBS="-framework AppKit"
9842 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9845 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9847 wine_can_build_preloader=yes
9848 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"
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9850 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9851 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9853 printf %s "(cached) " >&6
9855 ac_wine_try_cflags_saved=$CFLAGS
9856 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9859 int main(int argc, char **argv) { return 0; }
9861 if ac_fn_c_try_link "$LINENO"
9863 ac_cv_cflags__Wl__no_new_main__e__main=yes
9865 ac_cv_cflags__Wl__no_new_main__e__main=no
9867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9868 conftest$ac_exeext conftest.$ac_ext
9869 CFLAGS=$ac_wine_try_cflags_saved
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9872 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9873 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9875 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9876 { 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
9877 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9878 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9880 printf %s "(cached) " >&6
9882 ac_wine_try_cflags_saved=$CFLAGS
9883 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9886 int main(int argc, char **argv) { return 0; }
9888 if ac_fn_c_try_link "$LINENO"
9890 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9892 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9895 conftest$ac_exeext conftest.$ac_ext
9896 CFLAGS=$ac_wine_try_cflags_saved
9898 { 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
9899 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9900 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9902 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9904 wine_can_build_preloader=no
9907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9908 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9909 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9911 printf %s "(cached) " >&6
9913 ac_wine_try_cflags_saved=$CFLAGS
9914 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 int main(int argc, char **argv) { return 0; }
9919 if ac_fn_c_try_link "$LINENO"
9921 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9923 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9926 conftest$ac_exeext conftest.$ac_ext
9927 CFLAGS=$ac_wine_try_cflags_saved
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9930 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9931 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9933 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9935 wine_can_build_preloader=no
9938 if test "$wine_can_build_preloader" = "yes"
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9941 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9942 if test ${ac_cv_cflags__Wl__no_pie+y}
9944 printf %s "(cached) " >&6
9946 ac_wine_try_cflags_saved=$CFLAGS
9947 CFLAGS="$CFLAGS -Wl,-no_pie"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int main(int argc, char **argv) { return 0; }
9952 if ac_fn_c_try_link "$LINENO"
9954 ac_cv_cflags__Wl__no_pie=yes
9956 ac_cv_cflags__Wl__no_pie=no
9958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9963 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9964 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9966 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9968 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9969 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9971 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9974 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9976 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9979 if test "$ac_cv_header_Security_Security_h" = "yes"
9981 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9984 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9986 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9988 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9990 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9992 OPENAL_LIBS="-framework OpenAL"
9995 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9997 ac_cv_lib_openal=yes
9999 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10001 OPENCL_LIBS="-framework OpenCL"
10003 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10005 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10007 ac_save_LIBS="$LIBS"
10008 LIBS="$LIBS $IOKIT_LIBS"
10009 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10010 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10012 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10016 LIBS="$ac_save_LIBS"
10019 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10021 CARBON_LIBS="-framework Carbon"
10024 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10026 METAL_LIBS="-framework Metal"
10030 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10033 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10035 ac_cpp='$OBJCPP $CPPFLAGS'
10036 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10037 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10038 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10042 #include <Metal/Metal.h>
10046 id<MTLDevice> device; device.registryID;
10051 if ac_fn_objc_try_compile "$LINENO"
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10054 printf "%s\n" "yes" >&6; }
10056 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10060 printf "%s\n" "no" >&6; }
10062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10064 ac_cpp='$CPP $CPPFLAGS'
10065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10071 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10073 ac_save_LIBS="$LIBS"
10074 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10075 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10076 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10078 enable_winemac_drv=${enable_winemac_drv:-yes}
10081 LIBS="$ac_save_LIBS"
10084 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10085 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10087 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10089 WINELOADER_DEPENDS="wine_info.plist"
10091 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10096 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10098 DLLFLAGS="$DLLFLAGS -fPIC"
10100 LDEXECFLAGS="-Wl,-pie"
10101 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10103 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10104 if test ${ac_cv_cflags__Wl__z_defs+y}
10106 printf %s "(cached) " >&6
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 CFLAGS="$CFLAGS -Wl,-z,defs"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int main(int argc, char **argv) { return 0; }
10114 if ac_fn_c_try_link "$LINENO"
10116 ac_cv_cflags__Wl__z_defs=yes
10118 ac_cv_cflags__Wl__z_defs=no
10120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10121 conftest$ac_exeext conftest.$ac_ext
10122 CFLAGS=$ac_wine_try_cflags_saved
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10125 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10126 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10128 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10131 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10132 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10134 printf %s "(cached) " >&6
10136 ac_wine_try_cflags_saved=$CFLAGS
10137 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10140 int main(int argc, char **argv) { return 0; }
10142 if ac_fn_c_try_link "$LINENO"
10144 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10146 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10149 conftest$ac_exeext conftest.$ac_ext
10150 CFLAGS=$ac_wine_try_cflags_saved
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10153 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10154 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10156 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10158 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10161 printf %s "checking for -lEGL... " >&6; }
10162 if test ${ac_cv_lib_soname_EGL+y}
10164 printf %s "(cached) " >&6
10166 ac_check_soname_save_LIBS=$LIBS
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 /* Override any GCC internal prototype to avoid an error.
10172 Use char because int might match the return type of a GCC
10173 builtin and then its argument prototype would still apply. */
10174 char eglGetProcAddress ();
10178 return eglGetProcAddress ();
10183 if ac_fn_c_try_link "$LINENO"
10186 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10187 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'` ;;
10188 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10189 if ${ac_cv_lib_soname_EGL:+false} :
10191 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10195 ac_cv_lib_soname_EGL=
10197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10198 conftest$ac_exeext conftest.$ac_ext
10199 LIBS=$ac_check_soname_save_LIBS
10201 if ${ac_cv_lib_soname_EGL:+false} :
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10204 printf "%s\n" "not found" >&6; }
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10208 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10210 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10215 printf %s "checking for -lGLESv2... " >&6; }
10216 if test ${ac_cv_lib_soname_GLESv2+y}
10218 printf %s "(cached) " >&6
10220 ac_check_soname_save_LIBS=$LIBS
10221 LIBS="-lGLESv2 $LIBS"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10237 if ac_fn_c_try_link "$LINENO"
10240 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10241 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'` ;;
10242 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10243 if ${ac_cv_lib_soname_GLESv2:+false} :
10245 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10249 ac_cv_lib_soname_GLESv2=
10251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10252 conftest$ac_exeext conftest.$ac_ext
10253 LIBS=$ac_check_soname_save_LIBS
10255 if ${ac_cv_lib_soname_GLESv2:+false} :
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10258 printf "%s\n" "not found" >&6; }
10261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10262 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10264 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10269 if test "x$exec_prefix" = xNONE
10272 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10273 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10274 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10275 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10282 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10284 test "$ac_cv_sys_file_offset_bits" = 64 &&
10285 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10289 DLLFLAGS="$DLLFLAGS -fno-PIC"
10290 LDDLLFLAGS="-fno-PIC"
10291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10292 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10293 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10295 printf %s "(cached) " >&6
10297 ac_wine_try_cflags_saved=$CFLAGS
10298 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10301 int main(int argc, char **argv) { return 0; }
10303 if ac_fn_c_try_link "$LINENO"
10305 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10307 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10310 conftest$ac_exeext conftest.$ac_ext
10311 CFLAGS=$ac_wine_try_cflags_saved
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10314 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10315 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10317 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10321 DLLFLAGS="$DLLFLAGS -fPIC"
10322 LDDLLFLAGS="-fPIC" ;;
10324 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10326 echo '{ global: *; };' >conftest.map
10327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10328 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10329 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10331 printf %s "(cached) " >&6
10333 ac_wine_try_cflags_saved=$CFLAGS
10334 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 int main(int argc, char **argv) { return 0; }
10339 if ac_fn_c_try_link "$LINENO"
10341 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10343 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10346 conftest$ac_exeext conftest.$ac_ext
10347 CFLAGS=$ac_wine_try_cflags_saved
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10350 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10351 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10353 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10358 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10359 if test ${ac_cv_cflags__Wl__z_defs+y}
10361 printf %s "(cached) " >&6
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 CFLAGS="$CFLAGS -Wl,-z,defs"
10365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10367 int main(int argc, char **argv) { return 0; }
10369 if ac_fn_c_try_link "$LINENO"
10371 ac_cv_cflags__Wl__z_defs=yes
10373 ac_cv_cflags__Wl__z_defs=no
10375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10376 conftest$ac_exeext conftest.$ac_ext
10377 CFLAGS=$ac_wine_try_cflags_saved
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10380 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10381 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10383 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10386 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10387 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10389 printf %s "(cached) " >&6
10391 ac_wine_try_cflags_saved=$CFLAGS
10392 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 int main(int argc, char **argv) { return 0; }
10397 if ac_fn_c_try_link "$LINENO"
10399 ac_cv_cflags__Wl___export_dynamic=yes
10401 ac_cv_cflags__Wl___export_dynamic=no
10403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10404 conftest$ac_exeext conftest.$ac_ext
10405 CFLAGS=$ac_wine_try_cflags_saved
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10408 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10409 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10411 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10413 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10416 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10418 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10419 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10421 printf %s "(cached) " >&6
10423 ac_wine_try_cflags_saved=$CFLAGS
10424 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10427 int main(int argc, char **argv) { return 0; }
10429 if ac_fn_c_try_link "$LINENO"
10431 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10433 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10436 conftest$ac_exeext conftest.$ac_ext
10437 CFLAGS=$ac_wine_try_cflags_saved
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10440 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10441 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10444 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10445 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10449 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10450 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10452 printf %s "(cached) " >&6
10454 ac_wine_try_cflags_saved=$CFLAGS
10455 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 int main(int argc, char **argv) { return 0; }
10460 if ac_fn_c_try_link "$LINENO"
10462 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10464 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10467 conftest$ac_exeext conftest.$ac_ext
10468 CFLAGS=$ac_wine_try_cflags_saved
10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10471 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10472 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10475 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10476 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10479 # Extract the first word of "prelink", so it can be a program name with args.
10480 set dummy prelink; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_path_PRELINK+y}
10485 printf %s "(cached) " >&6
10489 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10493 for as_dir in /sbin /usr/sbin $PATH
10496 case $as_dir in #(((
10499 *) as_dir=$as_dir/ ;;
10501 for ac_exec_ext in '' $ac_executable_extensions; do
10502 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10503 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10511 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10515 PRELINK=$ac_cv_path_PRELINK
10516 if test -n "$PRELINK"; then
10517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10518 printf "%s\n" "$PRELINK" >&6; }
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10521 printf "%s\n" "no" >&6; }
10525 if test "x$PRELINK" = xfalse
10527 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10531 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10532 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10534 printf %s "(cached) " >&6
10536 ac_wine_try_cflags_saved=$CFLAGS
10537 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 int main(int argc, char **argv) { return 0; }
10542 if ac_fn_c_try_link "$LINENO"
10544 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10546 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10549 conftest$ac_exeext conftest.$ac_ext
10550 CFLAGS=$ac_wine_try_cflags_saved
10552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10553 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10554 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10556 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10560 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10562 LIBWINE_DEPENDS="wine.map"
10564 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10568 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10569 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10570 enable_winemac_drv=${enable_winemac_drv:-no}
10575 if test ${enable_archs+y}
10577 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10580 set x $enable_archs
10586 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10587 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10591 if test "x$with_mingw" != xno
10593 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10594 case "x$with_mingw" in
10596 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10601 for wine_arch in $cross_archs
10603 if eval \${${wine_arch}_CC:+false} :
10607 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10609 # Extract the first word of "$ac_prog", so it can be a program name with args.
10610 set dummy $ac_prog; ac_word=$2
10611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10612 printf %s "checking for $ac_word... " >&6; }
10613 if test ${ac_cv_prog_aarch64_CC+y}
10615 printf %s "(cached) " >&6
10617 if test -n "$aarch64_CC"; then
10618 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10621 for as_dir in $PATH
10624 case $as_dir in #(((
10627 *) as_dir=$as_dir/ ;;
10629 for ac_exec_ext in '' $ac_executable_extensions; do
10630 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10631 ac_cv_prog_aarch64_CC="$ac_prog"
10632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10641 aarch64_CC=$ac_cv_prog_aarch64_CC
10642 if test -n "$aarch64_CC"; then
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10644 printf "%s\n" "$aarch64_CC" >&6; }
10646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10647 printf "%s\n" "no" >&6; }
10651 test -n "$aarch64_CC" && break
10653 test -n "$aarch64_CC" || aarch64_CC="false"
10657 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10659 # Extract the first word of "$ac_prog", so it can be a program name with args.
10660 set dummy $ac_prog; ac_word=$2
10661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10662 printf %s "checking for $ac_word... " >&6; }
10663 if test ${ac_cv_prog_arm_CC+y}
10665 printf %s "(cached) " >&6
10667 if test -n "$arm_CC"; then
10668 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10671 for as_dir in $PATH
10674 case $as_dir in #(((
10677 *) as_dir=$as_dir/ ;;
10679 for ac_exec_ext in '' $ac_executable_extensions; do
10680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10681 ac_cv_prog_arm_CC="$ac_prog"
10682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10691 arm_CC=$ac_cv_prog_arm_CC
10692 if test -n "$arm_CC"; then
10693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10694 printf "%s\n" "$arm_CC" >&6; }
10696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10697 printf "%s\n" "no" >&6; }
10701 test -n "$arm_CC" && break
10703 test -n "$arm_CC" || arm_CC="false"
10707 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10708 for ac_prog in $ac_prefix_list clang
10710 # Extract the first word of "$ac_prog", so it can be a program name with args.
10711 set dummy $ac_prog; ac_word=$2
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10713 printf %s "checking for $ac_word... " >&6; }
10714 if test ${ac_cv_prog_i386_CC+y}
10716 printf %s "(cached) " >&6
10718 if test -n "$i386_CC"; then
10719 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10722 for as_dir in $PATH
10725 case $as_dir in #(((
10728 *) as_dir=$as_dir/ ;;
10730 for ac_exec_ext in '' $ac_executable_extensions; do
10731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10732 ac_cv_prog_i386_CC="$ac_prog"
10733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10742 i386_CC=$ac_cv_prog_i386_CC
10743 if test -n "$i386_CC"; then
10744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10745 printf "%s\n" "$i386_CC" >&6; }
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10748 printf "%s\n" "no" >&6; }
10752 test -n "$i386_CC" && break
10754 test -n "$i386_CC" || i386_CC="false"
10758 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10759 for ac_prog in $ac_prefix_list clang
10761 # Extract the first word of "$ac_prog", so it can be a program name with args.
10762 set dummy $ac_prog; ac_word=$2
10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10764 printf %s "checking for $ac_word... " >&6; }
10765 if test ${ac_cv_prog_x86_64_CC+y}
10767 printf %s "(cached) " >&6
10769 if test -n "$x86_64_CC"; then
10770 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10773 for as_dir in $PATH
10776 case $as_dir in #(((
10779 *) as_dir=$as_dir/ ;;
10781 for ac_exec_ext in '' $ac_executable_extensions; do
10782 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10783 ac_cv_prog_x86_64_CC="$ac_prog"
10784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10793 x86_64_CC=$ac_cv_prog_x86_64_CC
10794 if test -n "$x86_64_CC"; then
10795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10796 printf "%s\n" "$x86_64_CC" >&6; }
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10799 printf "%s\n" "no" >&6; }
10803 test -n "$x86_64_CC" && break
10805 test -n "$x86_64_CC" || x86_64_CC="false"
10811 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10817 saved_CFLAGS=$CFLAGS
10819 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10820 eval CC=\$${wine_arch}_CC
10821 eval ${wine_arch}_CFLAGS=\$CFLAGS
10822 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10823 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10826 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10829 printf %s "checking whether $CC works... " >&6; }
10830 if eval test \${$as_wine_cv_crosscc+y}
10832 printf %s "(cached) " >&6
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10845 if ac_fn_c_try_compile "$LINENO"
10847 eval "$as_wine_cv_crosscc=yes"
10849 eval "$as_wine_cv_crosscc=no"
10851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10853 eval ac_res=\$$as_wine_cv_crosscc
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10855 printf "%s\n" "$ac_res" >&6; }
10856 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10860 while test $# -ge 1
10863 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10864 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10869 llvm_target=$target
10870 llvm_cflags="-fuse-ld=lld"
10871 if test -z "$llvm_target"
10874 i386) llvm_target=i686-windows ;;
10875 arm) llvm_target=armv7-windows ;;
10876 *) llvm_target=$wine_arch-windows ;;
10879 case $llvm_target in
10880 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10882 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10884 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10885 if eval test \${$as_ac_var+y}
10887 printf %s "(cached) " >&6
10889 ac_wine_try_cflags_saved=$CFLAGS
10890 ac_wine_try_cflags_saved_exeext=$ac_exeext
10891 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10895 int __cdecl mainCRTStartup(void) { return 0; }
10897 if ac_fn_c_try_link "$LINENO"
10899 eval "$as_ac_var=yes"
10901 eval "$as_ac_var=no"
10903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10904 conftest$ac_exeext conftest.$ac_ext
10905 CFLAGS=$ac_wine_try_cflags_saved
10906 ac_exeext=$ac_wine_try_cflags_saved_exeext
10908 eval ac_res=\$$as_ac_var
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10910 printf "%s\n" "$ac_res" >&6; }
10911 if eval test \"x\$"$as_ac_var"\" = x"yes"
10913 target=$llvm_target
10914 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10915 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10916 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10918 eval "${wine_arch}_TARGET=\$target"
10919 PE_ARCHS="$PE_ARCHS $wine_arch"
10923 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10926 printf %s "checking for $CC option to enable C99 features... " >&6; }
10927 if eval test \${$as_wine_cv_crosscc_c99+y}
10929 printf %s "(cached) " >&6
10931 eval "$as_wine_cv_crosscc_c99=no"
10932 for arg in '' '-std=gnu99'
10934 test -z "$arg" || CC="$CC $arg"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10937 $ac_c_conftest_c99_program
10939 if ac_fn_c_try_compile "$LINENO"
10941 eval "$as_wine_cv_crosscc_c99=\$arg"
10943 eval "$as_wine_cv_crosscc_c99=no"
10945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10946 eval CC=\$${wine_arch}_CC
10947 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10956 eval res=\$$as_wine_cv_crosscc_c99
10958 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10959 printf "%s\n" "none needed" >&6; } ;;
10960 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10961 printf "%s\n" "unsupported" >&6; } ;;
10962 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10963 printf "%s\n" "$res" >&6; }
10964 as_fn_append ${wine_arch}_CC " $res" ;;
10968 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10970 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10971 if eval test \${$as_ac_var+y}
10973 printf %s "(cached) " >&6
10975 ac_wine_try_cflags_saved=$CFLAGS
10976 ac_wine_try_cflags_saved_exeext=$ac_exeext
10977 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 int __cdecl mainCRTStartup(void) { return 0; }
10983 if ac_fn_c_try_link "$LINENO"
10985 eval "$as_ac_var=yes"
10987 eval "$as_ac_var=no"
10989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10990 conftest$ac_exeext conftest.$ac_ext
10991 CFLAGS=$ac_wine_try_cflags_saved
10992 ac_exeext=$ac_wine_try_cflags_saved_exeext
10994 eval ac_res=\$$as_ac_var
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10996 printf "%s\n" "$ac_res" >&6; }
10997 if eval test \"x\$"$as_ac_var"\" = x"yes"
10999 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
11001 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
11003 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
11004 if eval test \${$as_ac_var+y}
11006 printf %s "(cached) " >&6
11008 ac_wine_try_cflags_saved=$CFLAGS
11009 ac_wine_try_cflags_saved_exeext=$ac_exeext
11010 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11014 int __cdecl mainCRTStartup(void) { return 0; }
11016 if ac_fn_c_try_link "$LINENO"
11018 eval "$as_ac_var=yes"
11020 eval "$as_ac_var=no"
11022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11023 conftest$ac_exeext conftest.$ac_ext
11024 CFLAGS=$ac_wine_try_cflags_saved
11025 ac_exeext=$ac_wine_try_cflags_saved_exeext
11027 eval ac_res=\$$as_ac_var
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11029 printf "%s\n" "$ac_res" >&6; }
11030 if eval test \"x\$"$as_ac_var"\" = x"yes"
11032 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11034 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11036 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11037 if eval test \${$as_ac_var+y}
11039 printf %s "(cached) " >&6
11041 ac_wine_try_cflags_saved=$CFLAGS
11042 ac_wine_try_cflags_saved_exeext=$ac_exeext
11043 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047 int __cdecl mainCRTStartup(void) { return 0; }
11049 if ac_fn_c_try_link "$LINENO"
11051 eval "$as_ac_var=yes"
11053 eval "$as_ac_var=no"
11055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11056 conftest$ac_exeext conftest.$ac_ext
11057 CFLAGS=$ac_wine_try_cflags_saved
11058 ac_exeext=$ac_wine_try_cflags_saved_exeext
11060 eval ac_res=\$$as_ac_var
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11062 printf "%s\n" "$ac_res" >&6; }
11063 if eval test \"x\$"$as_ac_var"\" = x"yes"
11065 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11067 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11069 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11070 if eval test \${$as_ac_var+y}
11072 printf %s "(cached) " >&6
11074 ac_wine_try_cflags_saved=$CFLAGS
11075 ac_wine_try_cflags_saved_exeext=$ac_exeext
11076 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11080 int __cdecl mainCRTStartup(void) { return 0; }
11082 if ac_fn_c_try_link "$LINENO"
11084 eval "$as_ac_var=yes"
11086 eval "$as_ac_var=no"
11088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11089 conftest$ac_exeext conftest.$ac_ext
11090 CFLAGS=$ac_wine_try_cflags_saved
11091 ac_exeext=$ac_wine_try_cflags_saved_exeext
11093 eval ac_res=\$$as_ac_var
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11095 printf "%s\n" "$ac_res" >&6; }
11096 if eval test \"x\$"$as_ac_var"\" = x"yes"
11098 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11100 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11102 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11103 if eval test \${$as_ac_var+y}
11105 printf %s "(cached) " >&6
11107 ac_wine_try_cflags_saved=$CFLAGS
11108 ac_wine_try_cflags_saved_exeext=$ac_exeext
11109 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11113 int __cdecl mainCRTStartup(void) { return 0; }
11115 if ac_fn_c_try_link "$LINENO"
11117 eval "$as_ac_var=yes"
11119 eval "$as_ac_var=no"
11121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11122 conftest$ac_exeext conftest.$ac_ext
11123 CFLAGS=$ac_wine_try_cflags_saved
11124 ac_exeext=$ac_wine_try_cflags_saved_exeext
11126 eval ac_res=\$$as_ac_var
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11128 printf "%s\n" "$ac_res" >&6; }
11129 if eval test \"x\$"$as_ac_var"\" = x"yes"
11131 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11133 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11135 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11136 if eval test \${$as_ac_var+y}
11138 printf %s "(cached) " >&6
11140 ac_wine_try_cflags_saved=$CFLAGS
11141 ac_wine_try_cflags_saved_exeext=$ac_exeext
11142 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 int __cdecl mainCRTStartup(void) { return 0; }
11148 if ac_fn_c_try_link "$LINENO"
11150 eval "$as_ac_var=yes"
11152 eval "$as_ac_var=no"
11154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11155 conftest$ac_exeext conftest.$ac_ext
11156 CFLAGS=$ac_wine_try_cflags_saved
11157 ac_exeext=$ac_wine_try_cflags_saved_exeext
11159 eval ac_res=\$$as_ac_var
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11161 printf "%s\n" "$ac_res" >&6; }
11162 if eval test \"x\$"$as_ac_var"\" = x"yes"
11164 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11166 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11168 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11169 if eval test \${$as_ac_var+y}
11171 printf %s "(cached) " >&6
11173 ac_wine_try_cflags_saved=$CFLAGS
11174 ac_wine_try_cflags_saved_exeext=$ac_exeext
11175 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11179 int __cdecl mainCRTStartup(void) { return 0; }
11181 if ac_fn_c_try_link "$LINENO"
11183 eval "$as_ac_var=yes"
11185 eval "$as_ac_var=no"
11187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11188 conftest$ac_exeext conftest.$ac_ext
11189 CFLAGS=$ac_wine_try_cflags_saved
11190 ac_exeext=$ac_wine_try_cflags_saved_exeext
11192 eval ac_res=\$$as_ac_var
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11194 printf "%s\n" "$ac_res" >&6; }
11195 if eval test \"x\$"$as_ac_var"\" = x"yes"
11197 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11199 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11201 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11202 if eval test \${$as_ac_var+y}
11204 printf %s "(cached) " >&6
11206 ac_wine_try_cflags_saved=$CFLAGS
11207 ac_wine_try_cflags_saved_exeext=$ac_exeext
11208 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 int __cdecl mainCRTStartup(void) { return 0; }
11214 if ac_fn_c_try_link "$LINENO"
11216 eval "$as_ac_var=yes"
11218 eval "$as_ac_var=no"
11220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11221 conftest$ac_exeext conftest.$ac_ext
11222 CFLAGS=$ac_wine_try_cflags_saved
11223 ac_exeext=$ac_wine_try_cflags_saved_exeext
11225 eval ac_res=\$$as_ac_var
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11227 printf "%s\n" "$ac_res" >&6; }
11228 if eval test \"x\$"$as_ac_var"\" = x"yes"
11230 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11232 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11234 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11235 if eval test \${$as_ac_var+y}
11237 printf %s "(cached) " >&6
11239 ac_wine_try_cflags_saved=$CFLAGS
11240 ac_wine_try_cflags_saved_exeext=$ac_exeext
11241 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 int __cdecl mainCRTStartup(void) { return 0; }
11247 if ac_fn_c_try_link "$LINENO"
11249 eval "$as_ac_var=yes"
11251 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11254 conftest$ac_exeext conftest.$ac_ext
11255 CFLAGS=$ac_wine_try_cflags_saved
11256 ac_exeext=$ac_wine_try_cflags_saved_exeext
11258 eval ac_res=\$$as_ac_var
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11260 printf "%s\n" "$ac_res" >&6; }
11261 if eval test \"x\$"$as_ac_var"\" = x"yes"
11263 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11265 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11267 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11268 if eval test \${$as_ac_var+y}
11270 printf %s "(cached) " >&6
11272 ac_wine_try_cflags_saved=$CFLAGS
11273 ac_wine_try_cflags_saved_exeext=$ac_exeext
11274 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11278 int __cdecl mainCRTStartup(void) { return 0; }
11280 if ac_fn_c_try_link "$LINENO"
11282 eval "$as_ac_var=yes"
11284 eval "$as_ac_var=no"
11286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11287 conftest$ac_exeext conftest.$ac_ext
11288 CFLAGS=$ac_wine_try_cflags_saved
11289 ac_exeext=$ac_wine_try_cflags_saved_exeext
11291 eval ac_res=\$$as_ac_var
11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11293 printf "%s\n" "$ac_res" >&6; }
11294 if eval test \"x\$"$as_ac_var"\" = x"yes"
11296 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11298 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11300 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11301 if eval test \${$as_ac_var+y}
11303 printf %s "(cached) " >&6
11305 ac_wine_try_cflags_saved=$CFLAGS
11306 ac_wine_try_cflags_saved_exeext=$ac_exeext
11307 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11311 int __cdecl mainCRTStartup(void) { return 0; }
11313 if ac_fn_c_try_link "$LINENO"
11315 eval "$as_ac_var=yes"
11317 eval "$as_ac_var=no"
11319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11320 conftest$ac_exeext conftest.$ac_ext
11321 CFLAGS=$ac_wine_try_cflags_saved
11322 ac_exeext=$ac_wine_try_cflags_saved_exeext
11324 eval ac_res=\$$as_ac_var
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11326 printf "%s\n" "$ac_res" >&6; }
11327 if eval test \"x\$"$as_ac_var"\" = x"yes"
11329 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11331 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11333 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11334 if eval test \${$as_ac_var+y}
11336 printf %s "(cached) " >&6
11338 ac_wine_try_cflags_saved=$CFLAGS
11339 ac_wine_try_cflags_saved_exeext=$ac_exeext
11340 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11344 int __cdecl mainCRTStartup(void) { return 0; }
11346 if ac_fn_c_try_link "$LINENO"
11348 eval "$as_ac_var=yes"
11350 eval "$as_ac_var=no"
11352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11353 conftest$ac_exeext conftest.$ac_ext
11354 CFLAGS=$ac_wine_try_cflags_saved
11355 ac_exeext=$ac_wine_try_cflags_saved_exeext
11357 eval ac_res=\$$as_ac_var
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11359 printf "%s\n" "$ac_res" >&6; }
11360 if eval test \"x\$"$as_ac_var"\" = x"yes"
11362 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11364 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11366 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11367 if eval test \${$as_ac_var+y}
11369 printf %s "(cached) " >&6
11371 ac_wine_try_cflags_saved=$CFLAGS
11372 ac_wine_try_cflags_saved_exeext=$ac_exeext
11373 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11377 int __cdecl mainCRTStartup(void) { return 0; }
11379 if ac_fn_c_try_link "$LINENO"
11381 eval "$as_ac_var=yes"
11383 eval "$as_ac_var=no"
11385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11386 conftest$ac_exeext conftest.$ac_ext
11387 CFLAGS=$ac_wine_try_cflags_saved
11388 ac_exeext=$ac_wine_try_cflags_saved_exeext
11390 eval ac_res=\$$as_ac_var
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11392 printf "%s\n" "$ac_res" >&6; }
11393 if eval test \"x\$"$as_ac_var"\" = x"yes"
11395 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11397 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11399 printf %s "checking whether $CC supports -Wvla... " >&6; }
11400 if eval test \${$as_ac_var+y}
11402 printf %s "(cached) " >&6
11404 ac_wine_try_cflags_saved=$CFLAGS
11405 ac_wine_try_cflags_saved_exeext=$ac_exeext
11406 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11410 int __cdecl mainCRTStartup(void) { return 0; }
11412 if ac_fn_c_try_link "$LINENO"
11414 eval "$as_ac_var=yes"
11416 eval "$as_ac_var=no"
11418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11419 conftest$ac_exeext conftest.$ac_ext
11420 CFLAGS=$ac_wine_try_cflags_saved
11421 ac_exeext=$ac_wine_try_cflags_saved_exeext
11423 eval ac_res=\$$as_ac_var
11424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11425 printf "%s\n" "$ac_res" >&6; }
11426 if eval test \"x\$"$as_ac_var"\" = x"yes"
11428 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11430 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11432 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11433 if eval test \${$as_ac_var+y}
11435 printf %s "(cached) " >&6
11437 ac_wine_try_cflags_saved=$CFLAGS
11438 ac_wine_try_cflags_saved_exeext=$ac_exeext
11439 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11443 int __cdecl mainCRTStartup(void) { return 0; }
11445 if ac_fn_c_try_link "$LINENO"
11447 eval "$as_ac_var=yes"
11449 eval "$as_ac_var=no"
11451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11452 conftest$ac_exeext conftest.$ac_ext
11453 CFLAGS=$ac_wine_try_cflags_saved
11454 ac_exeext=$ac_wine_try_cflags_saved_exeext
11456 eval ac_res=\$$as_ac_var
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11458 printf "%s\n" "$ac_res" >&6; }
11459 if eval test \"x\$"$as_ac_var"\" = x"yes"
11461 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11463 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11465 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11466 if eval test \${$as_ac_var+y}
11468 printf %s "(cached) " >&6
11470 ac_wine_try_cflags_saved=$CFLAGS
11471 ac_wine_try_cflags_saved_exeext=$ac_exeext
11472 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
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 eval "$as_ac_var=yes"
11482 eval "$as_ac_var=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 ac_exeext=$ac_wine_try_cflags_saved_exeext
11489 eval ac_res=\$$as_ac_var
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11491 printf "%s\n" "$ac_res" >&6; }
11492 if eval test \"x\$"$as_ac_var"\" = x"yes"
11494 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11496 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11498 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11499 if eval test \${$as_ac_var+y}
11501 printf %s "(cached) " >&6
11503 ac_wine_try_cflags_saved=$CFLAGS
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11509 int __cdecl mainCRTStartup(void) { return 0; }
11511 if ac_fn_c_try_link "$LINENO"
11513 eval "$as_ac_var=yes"
11515 eval "$as_ac_var=no"
11517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11518 conftest$ac_exeext conftest.$ac_ext
11519 CFLAGS=$ac_wine_try_cflags_saved
11520 ac_exeext=$ac_wine_try_cflags_saved_exeext
11522 eval ac_res=\$$as_ac_var
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11524 printf "%s\n" "$ac_res" >&6; }
11525 if eval test \"x\$"$as_ac_var"\" = x"yes"
11527 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11529 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11531 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11532 if eval test \${$as_ac_var+y}
11534 printf %s "(cached) " >&6
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_exeext=$ac_exeext
11538 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 int __cdecl mainCRTStartup(void) { return 0; }
11544 if ac_fn_c_try_link "$LINENO"
11546 eval "$as_ac_var=yes"
11548 eval "$as_ac_var=no"
11550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11551 conftest$ac_exeext conftest.$ac_ext
11552 CFLAGS=$ac_wine_try_cflags_saved
11553 ac_exeext=$ac_wine_try_cflags_saved_exeext
11555 eval ac_res=\$$as_ac_var
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11557 printf "%s\n" "$ac_res" >&6; }
11558 if eval test \"x\$"$as_ac_var"\" = x"yes"
11560 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11564 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11566 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11567 if eval test \${$as_ac_var+y}
11569 printf %s "(cached) " >&6
11571 ac_wine_try_cflags_saved=$CFLAGS
11572 ac_wine_try_cflags_saved_exeext=$ac_exeext
11573 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11577 int __cdecl mainCRTStartup(void) { return 0; }
11579 if ac_fn_c_try_link "$LINENO"
11581 eval "$as_ac_var=yes"
11583 eval "$as_ac_var=no"
11585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11586 conftest$ac_exeext conftest.$ac_ext
11587 CFLAGS=$ac_wine_try_cflags_saved
11588 ac_exeext=$ac_wine_try_cflags_saved_exeext
11590 eval ac_res=\$$as_ac_var
11591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11592 printf "%s\n" "$ac_res" >&6; }
11593 if eval test \"x\$"$as_ac_var"\" = x"yes"
11595 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11597 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11599 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11600 if eval test \${$as_ac_var+y}
11602 printf %s "(cached) " >&6
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_exeext=$ac_exeext
11606 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 int __cdecl mainCRTStartup(void) { return 0; }
11612 if ac_fn_c_try_link "$LINENO"
11614 eval "$as_ac_var=yes"
11616 eval "$as_ac_var=no"
11618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11619 conftest$ac_exeext conftest.$ac_ext
11620 CFLAGS=$ac_wine_try_cflags_saved
11621 ac_exeext=$ac_wine_try_cflags_saved_exeext
11623 eval ac_res=\$$as_ac_var
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11625 printf "%s\n" "$ac_res" >&6; }
11626 if eval test \"x\$"$as_ac_var"\" = x"yes"
11628 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11630 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11632 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11633 if eval test \${$as_ac_var+y}
11635 printf %s "(cached) " >&6
11637 ac_wine_try_cflags_saved=$CFLAGS
11638 ac_wine_try_cflags_saved_exeext=$ac_exeext
11639 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11643 int __cdecl mainCRTStartup(void) { return 0; }
11645 if ac_fn_c_try_link "$LINENO"
11647 eval "$as_ac_var=yes"
11649 eval "$as_ac_var=no"
11651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11652 conftest$ac_exeext conftest.$ac_ext
11653 CFLAGS=$ac_wine_try_cflags_saved
11654 ac_exeext=$ac_wine_try_cflags_saved_exeext
11656 eval ac_res=\$$as_ac_var
11657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11658 printf "%s\n" "$ac_res" >&6; }
11659 if eval test \"x\$"$as_ac_var"\" = x"yes"
11661 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11663 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11665 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11666 if eval test \${$as_ac_var+y}
11668 printf %s "(cached) " >&6
11670 ac_wine_try_cflags_saved=$CFLAGS
11671 ac_wine_try_cflags_saved_exeext=$ac_exeext
11672 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676 int __cdecl mainCRTStartup(void) { return 0; }
11678 if ac_fn_c_try_link "$LINENO"
11680 eval "$as_ac_var=yes"
11682 eval "$as_ac_var=no"
11684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11685 conftest$ac_exeext conftest.$ac_ext
11686 CFLAGS=$ac_wine_try_cflags_saved
11687 ac_exeext=$ac_wine_try_cflags_saved_exeext
11689 eval ac_res=\$$as_ac_var
11690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11691 printf "%s\n" "$ac_res" >&6; }
11692 if eval test \"x\$"$as_ac_var"\" = x"yes"
11694 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11696 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11698 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11699 if eval test \${$as_ac_var+y}
11701 printf %s "(cached) " >&6
11703 ac_wine_try_cflags_saved=$CFLAGS
11704 ac_wine_try_cflags_saved_exeext=$ac_exeext
11705 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11709 int __cdecl mainCRTStartup(void) { return 0; }
11711 if ac_fn_c_try_link "$LINENO"
11713 eval "$as_ac_var=yes"
11715 eval "$as_ac_var=no"
11717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11718 conftest$ac_exeext conftest.$ac_ext
11719 CFLAGS=$ac_wine_try_cflags_saved
11720 ac_exeext=$ac_wine_try_cflags_saved_exeext
11722 eval ac_res=\$$as_ac_var
11723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11724 printf "%s\n" "$ac_res" >&6; }
11725 if eval test \"x\$"$as_ac_var"\" = x"yes"
11727 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11729 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11731 printf %s "checking whether $CC supports -mcx16... " >&6; }
11732 if eval test \${$as_ac_var+y}
11734 printf %s "(cached) " >&6
11736 ac_wine_try_cflags_saved=$CFLAGS
11737 ac_wine_try_cflags_saved_exeext=$ac_exeext
11738 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11742 int __cdecl mainCRTStartup(void) { return 0; }
11744 if ac_fn_c_try_link "$LINENO"
11746 eval "$as_ac_var=yes"
11748 eval "$as_ac_var=no"
11750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11751 conftest$ac_exeext conftest.$ac_ext
11752 CFLAGS=$ac_wine_try_cflags_saved
11753 ac_exeext=$ac_wine_try_cflags_saved_exeext
11755 eval ac_res=\$$as_ac_var
11756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11757 printf "%s\n" "$ac_res" >&6; }
11758 if eval test \"x\$"$as_ac_var"\" = x"yes"
11760 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11762 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11764 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11765 if eval test \${$as_ac_var+y}
11767 printf %s "(cached) " >&6
11769 ac_wine_try_cflags_saved=$CFLAGS
11770 ac_wine_try_cflags_saved_exeext=$ac_exeext
11771 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11775 int __cdecl mainCRTStartup(void) { return 0; }
11777 if ac_fn_c_try_link "$LINENO"
11779 eval "$as_ac_var=yes"
11781 eval "$as_ac_var=no"
11783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11784 conftest$ac_exeext conftest.$ac_ext
11785 CFLAGS=$ac_wine_try_cflags_saved
11786 ac_exeext=$ac_wine_try_cflags_saved_exeext
11788 eval ac_res=\$$as_ac_var
11789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11790 printf "%s\n" "$ac_res" >&6; }
11791 if eval test \"x\$"$as_ac_var"\" = x"yes"
11793 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11797 wine_crossdebug=$CROSSDEBUG
11798 if test -z "$wine_crossdebug"
11800 for ac_flag in $CFLAGS; do
11802 -gdwarf*) wine_crossdebug=dwarf ;;
11803 -gcodeview) wine_crossdebug=pdb ;;
11804 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11809 ac_debug_format_seen=""
11810 for ac_flag in $CFLAGS; do
11812 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11815 if test "x$ac_debug_format_seen" = x
11817 case $wine_crossdebug in
11818 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11820 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11821 if eval test \${$as_ac_var+y}
11823 printf %s "(cached) " >&6
11825 ac_wine_try_cflags_saved=$CFLAGS
11826 ac_wine_try_cflags_saved_exeext=$ac_exeext
11827 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11831 int __cdecl mainCRTStartup(void) { return 0; }
11833 if ac_fn_c_try_link "$LINENO"
11835 eval "$as_ac_var=yes"
11837 eval "$as_ac_var=no"
11839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11840 conftest$ac_exeext conftest.$ac_ext
11841 CFLAGS=$ac_wine_try_cflags_saved
11842 ac_exeext=$ac_wine_try_cflags_saved_exeext
11844 eval ac_res=\$$as_ac_var
11845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11846 printf "%s\n" "$ac_res" >&6; }
11847 if eval test \"x\$"$as_ac_var"\" = x"yes"
11849 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11851 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11853 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11854 if eval test \${$as_ac_var+y}
11856 printf %s "(cached) " >&6
11858 ac_wine_try_cflags_saved=$CFLAGS
11859 ac_wine_try_cflags_saved_exeext=$ac_exeext
11860 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11864 int __cdecl mainCRTStartup(void) { return 0; }
11866 if ac_fn_c_try_link "$LINENO"
11868 eval "$as_ac_var=yes"
11870 eval "$as_ac_var=no"
11872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11873 conftest$ac_exeext conftest.$ac_ext
11874 CFLAGS=$ac_wine_try_cflags_saved
11875 ac_exeext=$ac_wine_try_cflags_saved_exeext
11877 eval ac_res=\$$as_ac_var
11878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11879 printf "%s\n" "$ac_res" >&6; }
11880 if eval test \"x\$"$as_ac_var"\" = x"yes"
11882 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11886 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11888 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11890 printf %s "checking whether $CC supports -Werror... " >&6; }
11891 if eval test \${$as_ac_var+y}
11893 printf %s "(cached) " >&6
11895 ac_wine_try_cflags_saved=$CFLAGS
11896 ac_wine_try_cflags_saved_exeext=$ac_exeext
11897 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 int __cdecl mainCRTStartup(void) { return 0; }
11903 if ac_fn_c_try_link "$LINENO"
11905 eval "$as_ac_var=yes"
11907 eval "$as_ac_var=no"
11909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11910 conftest$ac_exeext conftest.$ac_ext
11911 CFLAGS=$ac_wine_try_cflags_saved
11912 ac_exeext=$ac_wine_try_cflags_saved_exeext
11914 eval ac_res=\$$as_ac_var
11915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11916 printf "%s\n" "$ac_res" >&6; }
11917 if eval test \"x\$"$as_ac_var"\" = x"yes"
11919 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11921 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11923 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11924 if eval test \${$as_ac_var+y}
11926 printf %s "(cached) " >&6
11928 ac_wine_try_cflags_saved=$CFLAGS
11929 ac_wine_try_cflags_saved_exeext=$ac_exeext
11930 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11934 int __cdecl mainCRTStartup(void) { return 0; }
11936 if ac_fn_c_try_link "$LINENO"
11938 eval "$as_ac_var=yes"
11940 eval "$as_ac_var=no"
11942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11943 conftest$ac_exeext conftest.$ac_ext
11944 CFLAGS=$ac_wine_try_cflags_saved
11945 ac_exeext=$ac_wine_try_cflags_saved_exeext
11947 eval ac_res=\$$as_ac_var
11948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11949 printf "%s\n" "$ac_res" >&6; }
11950 if eval test \"x\$"$as_ac_var"\" = x"yes"
11952 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11953 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11957 CFLAGS=$saved_CFLAGS
11960 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11962 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11965 if test "x$PE_ARCHS" = "x"
11967 case "x$with_mingw" in
11968 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11970 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11971 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11977 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11979 case "$host_cpu" in
11981 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11983 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11985 for ac_prog in $ac_prefix_list
11987 # Extract the first word of "$ac_prog", so it can be a program name with args.
11988 set dummy $ac_prog; ac_word=$2
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11990 printf %s "checking for $ac_word... " >&6; }
11991 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11993 printf %s "(cached) " >&6
11995 if test -n "$MINGW_PKG_CONFIG"; then
11996 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11999 for as_dir in $PATH
12002 case $as_dir in #(((
12005 *) as_dir=$as_dir/ ;;
12007 for ac_exec_ext in '' $ac_executable_extensions; do
12008 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12009 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12019 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12020 if test -n "$MINGW_PKG_CONFIG"; then
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12022 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 printf "%s\n" "no" >&6; }
12029 test -n "$MINGW_PKG_CONFIG" && break
12031 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12033 if ${FAUDIO_PE_CFLAGS:+false} :
12035 if test ${MINGW_PKG_CONFIG+y}
12037 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12040 if ${FAUDIO_PE_LIBS:+false} :
12042 if test ${MINGW_PKG_CONFIG+y}
12044 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12047 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12048 ac_save_CPPFLAGS=$CPPFLAGS
12049 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12051 printf %s "checking for MinGW FAudio.h... " >&6; }
12052 if test ${ac_cv_mingw_header_FAudio_h+y}
12054 printf %s "(cached) " >&6
12056 ac_wine_check_headers_saved_cc=$CC
12057 ac_wine_check_headers_saved_exeext=$ac_exeext
12058 eval CC=\$${wine_arch}_CC
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12063 #include <FAudio.h>
12072 if ac_fn_c_try_compile "$LINENO"
12074 ac_cv_mingw_header_FAudio_h=yes
12076 ac_cv_mingw_header_FAudio_h=no
12078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12079 CC=$ac_wine_check_headers_saved_cc
12080 ac_exeext=$ac_wine_check_headers_saved_exeext
12082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12083 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12084 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12087 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12088 if test ${ac_cv_mingw_lib_FAudio+y}
12090 printf %s "(cached) " >&6
12092 ac_wine_check_headers_saved_cc=$CC
12093 ac_wine_check_headers_saved_exeext=$ac_exeext
12094 ac_wine_check_headers_saved_libs=$LIBS
12095 eval CC=\$${wine_arch}_CC
12097 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12104 char FAudio_CommitOperationSet ();
12108 return FAudio_CommitOperationSet ();
12113 if ac_fn_c_try_link "$LINENO"
12115 ac_cv_mingw_lib_FAudio=yes
12117 ac_cv_mingw_lib_FAudio=no
12119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12120 conftest$ac_exeext conftest.$ac_ext
12121 CC=$ac_wine_check_headers_saved_cc
12122 ac_exeext=$ac_wine_check_headers_saved_exeext
12123 LIBS=$ac_wine_check_headers_saved_libs
12125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12126 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12127 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12131 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12134 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12136 CPPFLAGS=$ac_save_CPPFLAGS
12138 if test "x$FAUDIO_PE_LIBS" = "x"
12140 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12143 if ${JPEG_PE_CFLAGS:+false} :
12145 if test ${MINGW_PKG_CONFIG+y}
12147 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12150 if ${JPEG_PE_LIBS:+false} :
12152 if test ${MINGW_PKG_CONFIG+y}
12154 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12158 ac_save_CPPFLAGS=$CPPFLAGS
12159 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12161 printf %s "checking for MinGW jpeglib.h... " >&6; }
12162 if test ${ac_cv_mingw_header_jpeglib_h+y}
12164 printf %s "(cached) " >&6
12166 ac_wine_check_headers_saved_cc=$CC
12167 ac_wine_check_headers_saved_exeext=$ac_exeext
12168 eval CC=\$${wine_arch}_CC
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12172 #include <stddef.h>
12174 #include <jpeglib.h>
12183 if ac_fn_c_try_compile "$LINENO"
12185 ac_cv_mingw_header_jpeglib_h=yes
12187 ac_cv_mingw_header_jpeglib_h=no
12189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12190 CC=$ac_wine_check_headers_saved_cc
12191 ac_exeext=$ac_wine_check_headers_saved_exeext
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12194 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12195 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12198 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12199 if test ${ac_cv_mingw_lib_jpeg+y}
12201 printf %s "(cached) " >&6
12203 ac_wine_check_headers_saved_cc=$CC
12204 ac_wine_check_headers_saved_exeext=$ac_exeext
12205 ac_wine_check_headers_saved_libs=$LIBS
12206 eval CC=\$${wine_arch}_CC
12208 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12215 char jpeg_start_decompress ();
12219 return jpeg_start_decompress ();
12224 if ac_fn_c_try_link "$LINENO"
12226 ac_cv_mingw_lib_jpeg=yes
12228 ac_cv_mingw_lib_jpeg=no
12230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12231 conftest$ac_exeext conftest.$ac_ext
12232 CC=$ac_wine_check_headers_saved_cc
12233 ac_exeext=$ac_wine_check_headers_saved_exeext
12234 LIBS=$ac_wine_check_headers_saved_libs
12236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12237 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12238 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12242 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12245 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12247 CPPFLAGS=$ac_save_CPPFLAGS
12249 if test "x$JPEG_PE_LIBS" = "x"
12251 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12254 if ${LCMS2_PE_CFLAGS:+false} :
12256 if test ${MINGW_PKG_CONFIG+y}
12258 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12261 if ${LCMS2_PE_LIBS:+false} :
12263 if test ${MINGW_PKG_CONFIG+y}
12265 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12268 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12269 ac_save_CPPFLAGS=$CPPFLAGS
12270 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12272 printf %s "checking for MinGW lcms2.h... " >&6; }
12273 if test ${ac_cv_mingw_header_lcms2_h+y}
12275 printf %s "(cached) " >&6
12277 ac_wine_check_headers_saved_cc=$CC
12278 ac_wine_check_headers_saved_exeext=$ac_exeext
12279 eval CC=\$${wine_arch}_CC
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12293 if ac_fn_c_try_compile "$LINENO"
12295 ac_cv_mingw_header_lcms2_h=yes
12297 ac_cv_mingw_header_lcms2_h=no
12299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12300 CC=$ac_wine_check_headers_saved_cc
12301 ac_exeext=$ac_wine_check_headers_saved_exeext
12303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12304 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12305 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12308 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12309 if test ${ac_cv_mingw_lib_lcms2+y}
12311 printf %s "(cached) " >&6
12313 ac_wine_check_headers_saved_cc=$CC
12314 ac_wine_check_headers_saved_exeext=$ac_exeext
12315 ac_wine_check_headers_saved_libs=$LIBS
12316 eval CC=\$${wine_arch}_CC
12318 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 char cmsOpenProfileFromFile ();
12329 return cmsOpenProfileFromFile ();
12334 if ac_fn_c_try_link "$LINENO"
12336 ac_cv_mingw_lib_lcms2=yes
12338 ac_cv_mingw_lib_lcms2=no
12340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12341 conftest$ac_exeext conftest.$ac_ext
12342 CC=$ac_wine_check_headers_saved_cc
12343 ac_exeext=$ac_wine_check_headers_saved_exeext
12344 LIBS=$ac_wine_check_headers_saved_libs
12346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12347 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12348 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12352 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12355 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12357 CPPFLAGS=$ac_save_CPPFLAGS
12359 if test "x$LCMS2_PE_LIBS" = "x"
12361 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12364 if ${MPG123_PE_CFLAGS:+false} :
12366 if test ${MINGW_PKG_CONFIG+y}
12368 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12371 if ${MPG123_PE_LIBS:+false} :
12373 if test ${MINGW_PKG_CONFIG+y}
12375 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12378 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12379 ac_save_CPPFLAGS=$CPPFLAGS
12380 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12382 printf %s "checking for MinGW mpg123.h... " >&6; }
12383 if test ${ac_cv_mingw_header_mpg123_h+y}
12385 printf %s "(cached) " >&6
12387 ac_wine_check_headers_saved_cc=$CC
12388 ac_wine_check_headers_saved_exeext=$ac_exeext
12389 eval CC=\$${wine_arch}_CC
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 #include <mpg123.h>
12403 if ac_fn_c_try_compile "$LINENO"
12405 ac_cv_mingw_header_mpg123_h=yes
12407 ac_cv_mingw_header_mpg123_h=no
12409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12410 CC=$ac_wine_check_headers_saved_cc
12411 ac_exeext=$ac_wine_check_headers_saved_exeext
12413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12414 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12415 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12418 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12419 if test ${ac_cv_mingw_lib_mpg123+y}
12421 printf %s "(cached) " >&6
12423 ac_wine_check_headers_saved_cc=$CC
12424 ac_wine_check_headers_saved_exeext=$ac_exeext
12425 ac_wine_check_headers_saved_libs=$LIBS
12426 eval CC=\$${wine_arch}_CC
12428 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12435 char mpg123_feed ();
12439 return mpg123_feed ();
12444 if ac_fn_c_try_link "$LINENO"
12446 ac_cv_mingw_lib_mpg123=yes
12448 ac_cv_mingw_lib_mpg123=no
12450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12451 conftest$ac_exeext conftest.$ac_ext
12452 CC=$ac_wine_check_headers_saved_cc
12453 ac_exeext=$ac_wine_check_headers_saved_exeext
12454 LIBS=$ac_wine_check_headers_saved_libs
12456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12457 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12458 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12462 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12465 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12467 CPPFLAGS=$ac_save_CPPFLAGS
12469 if test "x$MPG123_PE_LIBS" = "x"
12471 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12474 if ${PNG_PE_CFLAGS:+false} :
12476 if test ${MINGW_PKG_CONFIG+y}
12478 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12481 if ${PNG_PE_LIBS:+false} :
12483 if test ${MINGW_PKG_CONFIG+y}
12485 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12489 ac_save_CPPFLAGS=$CPPFLAGS
12490 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12492 printf %s "checking for MinGW png.h... " >&6; }
12493 if test ${ac_cv_mingw_header_png_h+y}
12495 printf %s "(cached) " >&6
12497 ac_wine_check_headers_saved_cc=$CC
12498 ac_wine_check_headers_saved_exeext=$ac_exeext
12499 eval CC=\$${wine_arch}_CC
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12513 if ac_fn_c_try_compile "$LINENO"
12515 ac_cv_mingw_header_png_h=yes
12517 ac_cv_mingw_header_png_h=no
12519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12520 CC=$ac_wine_check_headers_saved_cc
12521 ac_exeext=$ac_wine_check_headers_saved_exeext
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12524 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12525 if test "x$ac_cv_mingw_header_png_h" = xyes
12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12528 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12529 if test ${ac_cv_mingw_lib_png+y}
12531 printf %s "(cached) " >&6
12533 ac_wine_check_headers_saved_cc=$CC
12534 ac_wine_check_headers_saved_exeext=$ac_exeext
12535 ac_wine_check_headers_saved_libs=$LIBS
12536 eval CC=\$${wine_arch}_CC
12538 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12545 char png_create_read_struct ();
12549 return png_create_read_struct ();
12554 if ac_fn_c_try_link "$LINENO"
12556 ac_cv_mingw_lib_png=yes
12558 ac_cv_mingw_lib_png=no
12560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12561 conftest$ac_exeext conftest.$ac_ext
12562 CC=$ac_wine_check_headers_saved_cc
12563 ac_exeext=$ac_wine_check_headers_saved_exeext
12564 LIBS=$ac_wine_check_headers_saved_libs
12566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12567 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12568 if test "x$ac_cv_mingw_lib_png" = xyes
12572 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12575 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12577 CPPFLAGS=$ac_save_CPPFLAGS
12579 if test "x$PNG_PE_LIBS" = "x"
12581 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12584 if ${TIFF_PE_CFLAGS:+false} :
12586 if test ${MINGW_PKG_CONFIG+y}
12588 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12591 if ${TIFF_PE_LIBS:+false} :
12593 if test ${MINGW_PKG_CONFIG+y}
12595 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12599 ac_save_CPPFLAGS=$CPPFLAGS
12600 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12602 printf %s "checking for MinGW tiffio.h... " >&6; }
12603 if test ${ac_cv_mingw_header_tiffio_h+y}
12605 printf %s "(cached) " >&6
12607 ac_wine_check_headers_saved_cc=$CC
12608 ac_wine_check_headers_saved_exeext=$ac_exeext
12609 eval CC=\$${wine_arch}_CC
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 #include <tiffio.h>
12623 if ac_fn_c_try_compile "$LINENO"
12625 ac_cv_mingw_header_tiffio_h=yes
12627 ac_cv_mingw_header_tiffio_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_tiffio_h" >&5
12634 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12635 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12638 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12639 if test ${ac_cv_mingw_lib_tiff+y}
12641 printf %s "(cached) " >&6
12643 ac_wine_check_headers_saved_cc=$CC
12644 ac_wine_check_headers_saved_exeext=$ac_exeext
12645 ac_wine_check_headers_saved_libs=$LIBS
12646 eval CC=\$${wine_arch}_CC
12648 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 char TIFFClientOpen ();
12659 return TIFFClientOpen ();
12664 if ac_fn_c_try_link "$LINENO"
12666 ac_cv_mingw_lib_tiff=yes
12668 ac_cv_mingw_lib_tiff=no
12670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12671 conftest$ac_exeext conftest.$ac_ext
12672 CC=$ac_wine_check_headers_saved_cc
12673 ac_exeext=$ac_wine_check_headers_saved_exeext
12674 LIBS=$ac_wine_check_headers_saved_libs
12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12677 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12678 if test "x$ac_cv_mingw_lib_tiff" = xyes
12682 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12685 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12687 CPPFLAGS=$ac_save_CPPFLAGS
12689 if test "x$TIFF_PE_LIBS" = "x"
12691 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12694 if ${XML2_PE_CFLAGS:+false} :
12696 if test ${MINGW_PKG_CONFIG+y}
12698 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12701 if ${XML2_PE_LIBS:+false} :
12703 if test ${MINGW_PKG_CONFIG+y}
12705 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12708 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12709 ac_save_CPPFLAGS=$CPPFLAGS
12710 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12712 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12713 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12715 printf %s "(cached) " >&6
12717 ac_wine_check_headers_saved_cc=$CC
12718 ac_wine_check_headers_saved_exeext=$ac_exeext
12719 eval CC=\$${wine_arch}_CC
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 #include <libxml/parser.h>
12733 if ac_fn_c_try_compile "$LINENO"
12735 ac_cv_mingw_header_libxml_parser_h=yes
12737 ac_cv_mingw_header_libxml_parser_h=no
12739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12740 CC=$ac_wine_check_headers_saved_cc
12741 ac_exeext=$ac_wine_check_headers_saved_exeext
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12744 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12745 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12750 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12751 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12753 printf %s "(cached) " >&6
12755 ac_wine_check_headers_saved_cc=$CC
12756 ac_wine_check_headers_saved_exeext=$ac_exeext
12757 eval CC=\$${wine_arch}_CC
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 #include <libxml/xmlsave.h>
12771 if ac_fn_c_try_compile "$LINENO"
12773 ac_cv_mingw_header_libxml_xmlsave_h=yes
12775 ac_cv_mingw_header_libxml_xmlsave_h=no
12777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12778 CC=$ac_wine_check_headers_saved_cc
12779 ac_exeext=$ac_wine_check_headers_saved_exeext
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12782 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12783 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12788 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12789 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12791 printf %s "(cached) " >&6
12793 ac_wine_check_headers_saved_cc=$CC
12794 ac_wine_check_headers_saved_exeext=$ac_exeext
12795 eval CC=\$${wine_arch}_CC
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 #include <libxml/SAX2.h>
12809 if ac_fn_c_try_compile "$LINENO"
12811 ac_cv_mingw_header_libxml_SAX2_h=yes
12813 ac_cv_mingw_header_libxml_SAX2_h=no
12815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12816 CC=$ac_wine_check_headers_saved_cc
12817 ac_exeext=$ac_wine_check_headers_saved_exeext
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12820 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12821 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12825 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"
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12828 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12829 if test ${ac_cv_mingw_lib_xml2+y}
12831 printf %s "(cached) " >&6
12833 ac_wine_check_headers_saved_cc=$CC
12834 ac_wine_check_headers_saved_exeext=$ac_exeext
12835 ac_wine_check_headers_saved_libs=$LIBS
12836 eval CC=\$${wine_arch}_CC
12838 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12845 char xmlFirstElementChild ();
12849 return xmlFirstElementChild ();
12854 if ac_fn_c_try_link "$LINENO"
12856 ac_cv_mingw_lib_xml2=yes
12858 ac_cv_mingw_lib_xml2=no
12860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12861 conftest$ac_exeext conftest.$ac_ext
12862 CC=$ac_wine_check_headers_saved_cc
12863 ac_exeext=$ac_wine_check_headers_saved_exeext
12864 LIBS=$ac_wine_check_headers_saved_libs
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12867 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12868 if test "x$ac_cv_mingw_lib_xml2" = xyes
12872 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12878 CPPFLAGS=$ac_save_CPPFLAGS
12880 if test "x$XML2_PE_LIBS" = "x"
12882 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12885 if ${XSLT_PE_CFLAGS:+false} :
12887 if test ${MINGW_PKG_CONFIG+y}
12889 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12892 if ${XSLT_PE_LIBS:+false} :
12894 if test ${MINGW_PKG_CONFIG+y}
12896 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12899 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12900 ac_save_CPPFLAGS=$CPPFLAGS
12901 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12903 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12904 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12906 printf %s "(cached) " >&6
12908 ac_wine_check_headers_saved_cc=$CC
12909 ac_wine_check_headers_saved_exeext=$ac_exeext
12910 eval CC=\$${wine_arch}_CC
12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12915 #include <libxslt/pattern.h>
12924 if ac_fn_c_try_compile "$LINENO"
12926 ac_cv_mingw_header_libxslt_pattern_h=yes
12928 ac_cv_mingw_header_libxslt_pattern_h=no
12930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12931 CC=$ac_wine_check_headers_saved_cc
12932 ac_exeext=$ac_wine_check_headers_saved_exeext
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12935 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12936 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12941 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12942 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12944 printf %s "(cached) " >&6
12946 ac_wine_check_headers_saved_cc=$CC
12947 ac_wine_check_headers_saved_exeext=$ac_exeext
12948 eval CC=\$${wine_arch}_CC
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 #include <libxslt/transform.h>
12962 if ac_fn_c_try_compile "$LINENO"
12964 ac_cv_mingw_header_libxslt_transform_h=yes
12966 ac_cv_mingw_header_libxslt_transform_h=no
12968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12969 CC=$ac_wine_check_headers_saved_cc
12970 ac_exeext=$ac_wine_check_headers_saved_exeext
12972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12973 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12974 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12978 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12981 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12982 if test ${ac_cv_mingw_lib_xslt+y}
12984 printf %s "(cached) " >&6
12986 ac_wine_check_headers_saved_cc=$CC
12987 ac_wine_check_headers_saved_exeext=$ac_exeext
12988 ac_wine_check_headers_saved_libs=$LIBS
12989 eval CC=\$${wine_arch}_CC
12991 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12993 /* end confdefs.h. */
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
12998 char xsltCompilePattern ();
13002 return xsltCompilePattern ();
13007 if ac_fn_c_try_link "$LINENO"
13009 ac_cv_mingw_lib_xslt=yes
13011 ac_cv_mingw_lib_xslt=no
13013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13014 conftest$ac_exeext conftest.$ac_ext
13015 CC=$ac_wine_check_headers_saved_cc
13016 ac_exeext=$ac_wine_check_headers_saved_exeext
13017 LIBS=$ac_wine_check_headers_saved_libs
13019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13020 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13021 if test "x$ac_cv_mingw_lib_xslt" = xyes
13025 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13031 CPPFLAGS=$ac_save_CPPFLAGS
13033 if test "x$XSLT_PE_LIBS" = "x"
13035 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13038 if ${VKD3D_PE_CFLAGS:+false} :
13040 if test ${MINGW_PKG_CONFIG+y}
13042 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13045 if ${VKD3D_PE_LIBS:+false} :
13047 if test ${MINGW_PKG_CONFIG+y}
13049 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13052 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13053 ac_save_CPPFLAGS=$CPPFLAGS
13054 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13056 printf %s "checking for MinGW vkd3d.h... " >&6; }
13057 if test ${ac_cv_mingw_header_vkd3d_h+y}
13059 printf %s "(cached) " >&6
13061 ac_wine_check_headers_saved_cc=$CC
13062 ac_wine_check_headers_saved_exeext=$ac_exeext
13063 eval CC=\$${wine_arch}_CC
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13077 if ac_fn_c_try_compile "$LINENO"
13079 ac_cv_mingw_header_vkd3d_h=yes
13081 ac_cv_mingw_header_vkd3d_h=no
13083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13084 CC=$ac_wine_check_headers_saved_cc
13085 ac_exeext=$ac_wine_check_headers_saved_exeext
13087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13088 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13089 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13094 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13095 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13097 printf %s "(cached) " >&6
13099 ac_wine_check_headers_saved_cc=$CC
13100 ac_wine_check_headers_saved_exeext=$ac_exeext
13101 eval CC=\$${wine_arch}_CC
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 #include <vkd3d_shader.h>
13115 if ac_fn_c_try_compile "$LINENO"
13117 ac_cv_mingw_header_vkd3d_shader_h=yes
13119 ac_cv_mingw_header_vkd3d_shader_h=no
13121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13122 CC=$ac_wine_check_headers_saved_cc
13123 ac_exeext=$ac_wine_check_headers_saved_exeext
13125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13126 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13127 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13131 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13134 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13135 if test ${ac_cv_mingw_lib_vkd3d+y}
13137 printf %s "(cached) " >&6
13139 ac_wine_check_headers_saved_cc=$CC
13140 ac_wine_check_headers_saved_exeext=$ac_exeext
13141 ac_wine_check_headers_saved_libs=$LIBS
13142 eval CC=\$${wine_arch}_CC
13144 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13151 char vkd3d_set_log_callback ();
13155 return vkd3d_set_log_callback ();
13160 if ac_fn_c_try_link "$LINENO"
13162 ac_cv_mingw_lib_vkd3d=yes
13164 ac_cv_mingw_lib_vkd3d=no
13166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13167 conftest$ac_exeext conftest.$ac_ext
13168 CC=$ac_wine_check_headers_saved_cc
13169 ac_exeext=$ac_wine_check_headers_saved_exeext
13170 LIBS=$ac_wine_check_headers_saved_libs
13172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13173 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13174 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13181 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13182 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13184 printf %s "(cached) " >&6
13186 ac_wine_check_headers_saved_cc=$CC
13187 ac_wine_check_headers_saved_exeext=$ac_exeext
13188 ac_wine_check_headers_saved_libs=$LIBS
13189 eval CC=\$${wine_arch}_CC
13191 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13195 /* Override any GCC internal prototype to avoid an error.
13196 Use char because int might match the return type of a GCC
13197 builtin and then its argument prototype would still apply. */
13198 char vkd3d_shader_compile ();
13202 return vkd3d_shader_compile ();
13207 if ac_fn_c_try_link "$LINENO"
13209 ac_cv_mingw_lib_vkd3d_shader=yes
13211 ac_cv_mingw_lib_vkd3d_shader=no
13213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13214 conftest$ac_exeext conftest.$ac_ext
13215 CC=$ac_wine_check_headers_saved_cc
13216 ac_exeext=$ac_wine_check_headers_saved_exeext
13217 LIBS=$ac_wine_check_headers_saved_libs
13219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13220 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13221 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13227 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13236 CPPFLAGS=$ac_save_CPPFLAGS
13238 if test "x$VKD3D_PE_LIBS" = "x"
13240 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13243 if ${ZLIB_PE_CFLAGS:+false} :
13245 if test ${MINGW_PKG_CONFIG+y}
13247 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13250 if ${ZLIB_PE_LIBS:+false} :
13252 if test ${MINGW_PKG_CONFIG+y}
13254 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13257 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13258 ac_save_CPPFLAGS=$CPPFLAGS
13259 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13261 printf %s "checking for MinGW zlib.h... " >&6; }
13262 if test ${ac_cv_mingw_header_zlib_h+y}
13264 printf %s "(cached) " >&6
13266 ac_wine_check_headers_saved_cc=$CC
13267 ac_wine_check_headers_saved_exeext=$ac_exeext
13268 eval CC=\$${wine_arch}_CC
13270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13282 if ac_fn_c_try_compile "$LINENO"
13284 ac_cv_mingw_header_zlib_h=yes
13286 ac_cv_mingw_header_zlib_h=no
13288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13289 CC=$ac_wine_check_headers_saved_cc
13290 ac_exeext=$ac_wine_check_headers_saved_exeext
13292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13293 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13294 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13297 printf %s "checking for inflate in MinGW -lz... " >&6; }
13298 if test ${ac_cv_mingw_lib_z+y}
13300 printf %s "(cached) " >&6
13302 ac_wine_check_headers_saved_cc=$CC
13303 ac_wine_check_headers_saved_exeext=$ac_exeext
13304 ac_wine_check_headers_saved_libs=$LIBS
13305 eval CC=\$${wine_arch}_CC
13307 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13323 if ac_fn_c_try_link "$LINENO"
13325 ac_cv_mingw_lib_z=yes
13327 ac_cv_mingw_lib_z=no
13329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13330 conftest$ac_exeext conftest.$ac_ext
13331 CC=$ac_wine_check_headers_saved_cc
13332 ac_exeext=$ac_wine_check_headers_saved_exeext
13333 LIBS=$ac_wine_check_headers_saved_libs
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13336 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13337 if test "x$ac_cv_mingw_lib_z" = xyes
13341 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13344 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13346 CPPFLAGS=$ac_save_CPPFLAGS
13348 if test "x$ZLIB_PE_LIBS" = "x"
13350 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13354 if ${FAUDIO_PE_LIBS:+false} :
13356 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13357 if ${FAUDIO_PE_CFLAGS:+false} :
13359 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13369 if ${GSM_PE_LIBS:+false} :
13372 if ${GSM_PE_CFLAGS:+false} :
13374 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13384 if ${JPEG_PE_LIBS:+false} :
13387 if ${JPEG_PE_CFLAGS:+false} :
13389 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13399 if ${JXR_PE_LIBS:+false} :
13402 if ${JXR_PE_CFLAGS:+false} :
13404 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13414 if ${LCMS2_PE_LIBS:+false} :
13416 LCMS2_PE_LIBS=lcms2
13417 if ${LCMS2_PE_CFLAGS:+false} :
13419 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13429 if ${MPG123_PE_LIBS:+false} :
13431 MPG123_PE_LIBS=mpg123
13432 if ${MPG123_PE_CFLAGS:+false} :
13434 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13444 if ${PNG_PE_LIBS:+false} :
13446 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13447 if ${PNG_PE_CFLAGS:+false} :
13449 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13459 if ${TIFF_PE_LIBS:+false} :
13461 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13462 if ${TIFF_PE_CFLAGS:+false} :
13464 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13474 if ${VKD3D_PE_LIBS:+false} :
13476 VKD3D_PE_LIBS=vkd3d
13477 if ${VKD3D_PE_CFLAGS:+false} :
13479 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13489 if ${XML2_PE_LIBS:+false} :
13492 if ${XML2_PE_CFLAGS:+false} :
13494 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13504 if ${XSLT_PE_LIBS:+false} :
13507 if ${XSLT_PE_CFLAGS:+false} :
13509 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13519 if ${ZLIB_PE_LIBS:+false} :
13522 if ${ZLIB_PE_CFLAGS:+false} :
13524 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13536 if test "$ac_cv_header_pthread_h" = "yes"
13538 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13539 if test "x$ac_cv_func_pthread_create" = xyes
13543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13544 printf %s "checking for pthread_create in -lpthread... " >&6; }
13545 if test ${ac_cv_lib_pthread_pthread_create+y}
13547 printf %s "(cached) " >&6
13549 ac_check_lib_save_LIBS=$LIBS
13550 LIBS="-lpthread $LIBS"
13551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13554 /* Override any GCC internal prototype to avoid an error.
13555 Use char because int might match the return type of a GCC
13556 builtin and then its argument prototype would still apply. */
13557 char pthread_create ();
13561 return pthread_create ();
13566 if ac_fn_c_try_link "$LINENO"
13568 ac_cv_lib_pthread_pthread_create=yes
13570 ac_cv_lib_pthread_pthread_create=no
13572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13573 conftest$ac_exeext conftest.$ac_ext
13574 LIBS=$ac_check_lib_save_LIBS
13576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13577 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13578 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13580 PTHREAD_LIBS="-lpthread"
13587 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13589 case "x$with_pthread" in
13591 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13592 Wine cannot support threads without libpthread.
13593 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13600 ac_cpp='$CPP $CPPFLAGS'
13601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13605 printf %s "checking how to run the C preprocessor... " >&6; }
13606 # On Suns, sometimes $CPP names a directory.
13607 if test -n "$CPP" && test -d "$CPP"; then
13610 if test -z "$CPP"; then
13611 if test ${ac_cv_prog_CPP+y}
13613 printf %s "(cached) " >&6
13615 # Double quotes because $CC needs to be expanded
13616 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13618 ac_preproc_ok=false
13619 for ac_c_preproc_warn_flag in '' yes
13621 # Use a header file that comes with gcc, so configuring glibc
13622 # with a fresh cross-compiler works.
13623 # On the NeXT, cc -E runs the code through the compiler's parser,
13624 # not just through cpp. "Syntax error" is here to catch this case.
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #include <limits.h>
13630 if ac_fn_c_try_cpp "$LINENO"
13634 # Broken: fails on valid input.
13637 rm -f conftest.err conftest.i conftest.$ac_ext
13639 # OK, works on sane cases. Now check whether nonexistent headers
13640 # can be detected and how.
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13643 #include <ac_nonexistent.h>
13645 if ac_fn_c_try_cpp "$LINENO"
13647 # Broken: success on invalid input.
13650 # Passes both tests.
13654 rm -f conftest.err conftest.i conftest.$ac_ext
13657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13658 rm -f conftest.i conftest.err conftest.
$ac_ext
13665 ac_cv_prog_CPP
=$CPP
13668 CPP
=$ac_cv_prog_CPP
13670 ac_cv_prog_CPP
=$CPP
13672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13673 printf "%s\n" "$CPP" >&6; }
13674 ac_preproc_ok
=false
13675 for ac_c_preproc_warn_flag
in '' yes
13677 # Use a header file that comes with gcc, so configuring glibc
13678 # with a fresh cross-compiler works.
13679 # On the NeXT, cc -E runs the code through the compiler's parser,
13680 # not just through cpp. "Syntax error" is here to catch this case.
13681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13683 #include <limits.h>
13686 if ac_fn_c_try_cpp
"$LINENO"
13690 # Broken: fails on valid input.
13693 rm -f conftest.err conftest.i conftest.
$ac_ext
13695 # OK, works on sane cases. Now check whether nonexistent headers
13696 # can be detected and how.
13697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13699 #include <ac_nonexistent.h>
13701 if ac_fn_c_try_cpp
"$LINENO"
13703 # Broken: success on invalid input.
13706 # Passes both tests.
13710 rm -f conftest.err conftest.i conftest.
$ac_ext
13713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13714 rm -f conftest.i conftest.err conftest.
$ac_ext
13719 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13720 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13721 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13722 See \`config.log' for more details" "$LINENO" 5; }
13726 ac_cpp
='$CPP $CPPFLAGS'
13727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13733 printf %s
"checking for X... " >&6; }
13736 # Check whether --with-x was given.
13737 if test ${with_x+y}
13742 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13743 if test "x$with_x" = xno
; then
13744 # The user explicitly disabled X.
13747 case $x_includes,$x_libraries in #(
13748 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13749 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13751 printf %s
"(cached) " >&6
13753 # One or both of the vars are not set, and there is no cached value.
13756 # Do we need to do anything special at all?
13759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 #include <X11/Xlib.h>
13770 if ac_fn_c_try_link
"$LINENO"
13772 # We can compile and link X programs with no special options.
13776 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13777 conftest
$ac_exeext conftest.
$ac_ext
13778 LIBS
="$ac_save_LIBS"
13779 # If that didn't work, only try xmkmf and file system searches
13780 # for native compilation.
13781 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13783 rm -f -r conftest.dir
13784 if mkdir conftest.dir
; then
13786 cat >Imakefile
<<'_ACEOF'
13788 @echo incroot='${INCROOT}'
13790 @echo usrlibdir='${USRLIBDIR}'
13792 @echo libdir='${LIBDIR}'
13794 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13795 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13796 for ac_var
in incroot usrlibdir libdir
; do
13797 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13799 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13800 for ac_extension
in a so sl dylib la dll
; do
13801 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13802 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13803 ac_im_usrlibdir
=$ac_im_libdir; break
13806 # Screen out bogus values from the imake configuration. They are
13807 # bogus both because they are the default anyway, and because
13808 # using them would break gcc on systems where it needs fixed includes.
13809 case $ac_im_incroot in
13810 /usr
/include
) ac_x_includes
= ;;
13811 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13813 case $ac_im_usrlibdir in
13814 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13815 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13819 rm -f -r conftest.dir
13822 # Standard set of common directories for X headers.
13823 # Check X11 before X11Rn because it is often a symlink to the current release.
13837 /usr/local/X11/include
13838 /usr/local/X11R7/include
13839 /usr/local/X11R6/include
13840 /usr/local/X11R5/include
13841 /usr/local/X11R4/include
13843 /usr/local/include/X11
13844 /usr/local/include/X11R7
13845 /usr/local/include/X11R6
13846 /usr/local/include/X11R5
13847 /usr/local/include/X11R4
13853 /usr/XFree86/include/X11
13857 /usr/unsupported/include
13858 /usr/athena/include
13859 /usr/local/x11r5/include
13860 /usr/lpp/Xamples/include
13862 /usr/openwin/include
13863 /usr/openwin/share/include'
13865 if test "$ac_x_includes" = no
; then
13866 # Guess where to find include files, by looking for Xlib.h.
13867 # First, try using that file with no special directory specified.
13868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 #include <X11/Xlib.h>
13872 if ac_fn_c_try_cpp
"$LINENO"
13874 # We can compile using X headers with no special include directory.
13877 for ac_dir
in $ac_x_header_dirs; do
13878 if test -r "$ac_dir/X11/Xlib.h"; then
13879 ac_x_includes
=$ac_dir
13884 rm -f conftest.err conftest.i conftest.
$ac_ext
13885 fi # $ac_x_includes = no
13887 if test "$ac_x_libraries" = no
; then
13888 # Check for the libraries.
13889 # See if we find them without any special options.
13890 # Don't add to $LIBS permanently.
13893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 #include <X11/Xlib.h>
13904 if ac_fn_c_try_link
"$LINENO"
13907 # We can link X programs with no special library path.
13911 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13913 # Don't even attempt the hair of trying to link an X program!
13914 for ac_extension
in a so sl dylib la dll
; do
13915 if test -r "$ac_dir/libX11.$ac_extension"; then
13916 ac_x_libraries
=$ac_dir
13922 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13923 conftest
$ac_exeext conftest.
$ac_ext
13924 fi # $ac_x_libraries = no
13927 # Record the results.
13928 case $ac_x_includes,$ac_x_libraries in #(
13929 no
,* |
*,no |
*\'*) :
13930 # Didn't find X, or a directory has "'" in its name.
13931 ac_cv_have_x
="have_x=no" ;; #(
13933 # Record where we found X for the cache.
13934 ac_cv_have_x
="have_x=yes\
13935 ac_x_includes='$ac_x_includes'\
13936 ac_x_libraries='$ac_x_libraries'" ;;
13942 eval "$ac_cv_have_x"
13945 if test "$have_x" != yes; then
13946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13947 printf "%s\n" "$have_x" >&6; }
13950 # If each of the values was on the command line, it overrides each guess.
13951 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13952 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13953 # Update the cache value to reflect the command line values.
13954 ac_cv_have_x
="have_x=yes\
13955 ac_x_includes='$x_includes'\
13956 ac_x_libraries='$x_libraries'"
13957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13958 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13961 if test "$no_x" = yes; then
13962 # Not all programs may use this symbol, but it does not hurt to define it.
13964 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13966 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13968 if test -n "$x_includes"; then
13969 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13972 # It would also be nice to do this for all -L options, not just this one.
13973 if test -n "$x_libraries"; then
13974 X_LIBS
="$X_LIBS -L$x_libraries"
13975 # For Solaris; some versions of Sun CC require a space after -R and
13976 # others require no space. Words are not sufficient . . . .
13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13978 printf %s
"checking whether -R must be followed by a space... " >&6; }
13979 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13980 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13981 ac_c_werror_flag
=yes
13982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13993 if ac_fn_c_try_link
"$LINENO"
13995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 printf "%s\n" "no" >&6; }
13997 X_LIBS
="$X_LIBS -R$x_libraries"
13999 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14011 if ac_fn_c_try_link
"$LINENO"
14013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14014 printf "%s\n" "yes" >&6; }
14015 X_LIBS
="$X_LIBS -R $x_libraries"
14017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14018 printf "%s\n" "neither works" >&6; }
14020 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14021 conftest
$ac_exeext conftest.
$ac_ext
14023 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14024 conftest
$ac_exeext conftest.
$ac_ext
14025 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14026 LIBS
=$ac_xsave_LIBS
14029 # Check for system-dependent libraries X programs must link with.
14030 # Do this before checking for the system-independent R6 libraries
14031 # (-lICE), since we may need -lsocket or whatever for X linking.
14033 if test "$ISC" = yes; then
14034 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14036 # Martyn Johnson says this is needed for Ultrix, if the X
14037 # libraries were built with DECnet support. And Karl Berry says
14038 # the Alpha needs dnet_stub (dnet does not exist).
14039 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14043 /* Override any GCC internal prototype to avoid an error.
14044 Use char because int might match the return type of a GCC
14045 builtin and then its argument prototype would still apply. */
14046 char XOpenDisplay ();
14050 return XOpenDisplay ();
14055 if ac_fn_c_try_link
"$LINENO"
14059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14060 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14061 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14063 printf %s
"(cached) " >&6
14065 ac_check_lib_save_LIBS
=$LIBS
14066 LIBS
="-ldnet $LIBS"
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14077 return dnet_ntoa ();
14082 if ac_fn_c_try_link
"$LINENO"
14084 ac_cv_lib_dnet_dnet_ntoa
=yes
14086 ac_cv_lib_dnet_dnet_ntoa
=no
14088 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14089 conftest
$ac_exeext conftest.
$ac_ext
14090 LIBS
=$ac_check_lib_save_LIBS
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14093 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14094 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14096 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14099 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14101 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14102 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14104 printf %s
"(cached) " >&6
14106 ac_check_lib_save_LIBS
=$LIBS
14107 LIBS
="-ldnet_stub $LIBS"
14108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14111 /* Override any GCC internal prototype to avoid an error.
14112 Use char because int might match the return type of a GCC
14113 builtin and then its argument prototype would still apply. */
14118 return dnet_ntoa ();
14123 if ac_fn_c_try_link
"$LINENO"
14125 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14127 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14129 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14130 conftest
$ac_exeext conftest.
$ac_ext
14131 LIBS
=$ac_check_lib_save_LIBS
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14134 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14135 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14137 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14142 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14143 conftest
$ac_exeext conftest.
$ac_ext
14144 LIBS
="$ac_xsave_LIBS"
14146 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14147 # to get the SysV transport functions.
14148 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14150 # The nsl library prevents programs from opening the X display
14151 # on Irix 5.2, according to T.E. Dickey.
14152 # The functions gethostbyname, getservbyname, and inet_addr are
14153 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14154 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14155 if test "x$ac_cv_func_gethostbyname" = xyes
14160 if test $ac_cv_func_gethostbyname = no
; then
14161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14162 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14163 if test ${ac_cv_lib_nsl_gethostbyname+y}
14165 printf %s
"(cached) " >&6
14167 ac_check_lib_save_LIBS
=$LIBS
14169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14175 char gethostbyname ();
14179 return gethostbyname ();
14184 if ac_fn_c_try_link
"$LINENO"
14186 ac_cv_lib_nsl_gethostbyname
=yes
14188 ac_cv_lib_nsl_gethostbyname
=no
14190 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14191 conftest
$ac_exeext conftest.
$ac_ext
14192 LIBS
=$ac_check_lib_save_LIBS
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14195 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14196 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14198 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14201 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14203 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14204 if test ${ac_cv_lib_bsd_gethostbyname+y}
14206 printf %s
"(cached) " >&6
14208 ac_check_lib_save_LIBS
=$LIBS
14210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14213 /* Override any GCC internal prototype to avoid an error.
14214 Use char because int might match the return type of a GCC
14215 builtin and then its argument prototype would still apply. */
14216 char gethostbyname ();
14220 return gethostbyname ();
14225 if ac_fn_c_try_link
"$LINENO"
14227 ac_cv_lib_bsd_gethostbyname
=yes
14229 ac_cv_lib_bsd_gethostbyname
=no
14231 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14232 conftest
$ac_exeext conftest.
$ac_ext
14233 LIBS
=$ac_check_lib_save_LIBS
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14236 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14237 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14245 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14246 # socket/setsockopt and other routines are undefined under SCO ODT
14247 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14248 # on later versions), says Simon Leinen: it contains gethostby*
14249 # variants that don't use the name server (or something). -lsocket
14250 # must be given before -lnsl if both are needed. We assume that
14251 # if connect needs -lnsl, so does gethostbyname.
14252 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14253 if test "x$ac_cv_func_connect" = xyes
14258 if test $ac_cv_func_connect = no
; then
14259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14260 printf %s
"checking for connect in -lsocket... " >&6; }
14261 if test ${ac_cv_lib_socket_connect+y}
14263 printf %s
"(cached) " >&6
14265 ac_check_lib_save_LIBS
=$LIBS
14266 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14270 /* Override any GCC internal prototype to avoid an error.
14271 Use char because int might match the return type of a GCC
14272 builtin and then its argument prototype would still apply. */
14282 if ac_fn_c_try_link
"$LINENO"
14284 ac_cv_lib_socket_connect
=yes
14286 ac_cv_lib_socket_connect
=no
14288 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14289 conftest
$ac_exeext conftest.
$ac_ext
14290 LIBS
=$ac_check_lib_save_LIBS
14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14293 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14294 if test "x$ac_cv_lib_socket_connect" = xyes
14296 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14301 # Guillermo Gomez says -lposix is necessary on A/UX.
14302 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14303 if test "x$ac_cv_func_remove" = xyes
14308 if test $ac_cv_func_remove = no
; then
14309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14310 printf %s
"checking for remove in -lposix... " >&6; }
14311 if test ${ac_cv_lib_posix_remove+y}
14313 printf %s
"(cached) " >&6
14315 ac_check_lib_save_LIBS
=$LIBS
14316 LIBS
="-lposix $LIBS"
14317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14320 /* Override any GCC internal prototype to avoid an error.
14321 Use char because int might match the return type of a GCC
14322 builtin and then its argument prototype would still apply. */
14332 if ac_fn_c_try_link
"$LINENO"
14334 ac_cv_lib_posix_remove
=yes
14336 ac_cv_lib_posix_remove
=no
14338 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14339 conftest
$ac_exeext conftest.
$ac_ext
14340 LIBS
=$ac_check_lib_save_LIBS
14342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14343 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14344 if test "x$ac_cv_lib_posix_remove" = xyes
14346 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14351 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14352 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14353 if test "x$ac_cv_func_shmat" = xyes
14358 if test $ac_cv_func_shmat = no
; then
14359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14360 printf %s
"checking for shmat in -lipc... " >&6; }
14361 if test ${ac_cv_lib_ipc_shmat+y}
14363 printf %s
"(cached) " >&6
14365 ac_check_lib_save_LIBS
=$LIBS
14367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14382 if ac_fn_c_try_link
"$LINENO"
14384 ac_cv_lib_ipc_shmat
=yes
14386 ac_cv_lib_ipc_shmat
=no
14388 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14389 conftest
$ac_exeext conftest.
$ac_ext
14390 LIBS
=$ac_check_lib_save_LIBS
14392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14393 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14394 if test "x$ac_cv_lib_ipc_shmat" = xyes
14396 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14402 # Check for libraries that X11R6 Xt/Xaw programs need.
14403 ac_save_LDFLAGS
=$LDFLAGS
14404 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14405 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14406 # check for ICE first), but we must link in the order -lSM -lICE or
14407 # we get undefined symbols. So assume we have SM if we have ICE.
14408 # These have to be linked with before -lX11, unlike the other
14409 # libraries we check for below, so use a different variable.
14410 # John Interrante, Karl Berry
14411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14412 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14413 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14415 printf %s
"(cached) " >&6
14417 ac_check_lib_save_LIBS
=$LIBS
14418 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14422 /* Override any GCC internal prototype to avoid an error.
14423 Use char because int might match the return type of a GCC
14424 builtin and then its argument prototype would still apply. */
14425 char IceConnectionNumber ();
14429 return IceConnectionNumber ();
14434 if ac_fn_c_try_link
"$LINENO"
14436 ac_cv_lib_ICE_IceConnectionNumber
=yes
14438 ac_cv_lib_ICE_IceConnectionNumber
=no
14440 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14441 conftest
$ac_exeext conftest.
$ac_ext
14442 LIBS
=$ac_check_lib_save_LIBS
14444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14445 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14446 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14448 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14451 LDFLAGS
=$ac_save_LDFLAGS
14456 if test "$have_x" = "yes"
14458 ac_save_CPPFLAGS
="$CPPFLAGS"
14459 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14462 printf %s
"checking for -lX11... " >&6; }
14463 if test ${ac_cv_lib_soname_X11+y}
14465 printf %s
"(cached) " >&6
14467 ac_check_soname_save_LIBS
=$LIBS
14468 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14472 /* Override any GCC internal prototype to avoid an error.
14473 Use char because int might match the return type of a GCC
14474 builtin and then its argument prototype would still apply. */
14475 char XCreateWindow ();
14479 return XCreateWindow ();
14484 if ac_fn_c_try_link
"$LINENO"
14487 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14488 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'` ;;
14489 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14490 if ${ac_cv_lib_soname_X11:+false} :
14492 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14496 ac_cv_lib_soname_X11
=
14498 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14499 conftest
$ac_exeext conftest.
$ac_ext
14500 LIBS
=$ac_check_soname_save_LIBS
14502 if ${ac_cv_lib_soname_X11:+false} :
14504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14505 printf "%s\n" "not found" >&6; }
14508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14509 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14511 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14516 printf %s
"checking for -lXext... " >&6; }
14517 if test ${ac_cv_lib_soname_Xext+y}
14519 printf %s
"(cached) " >&6
14521 ac_check_soname_save_LIBS
=$LIBS
14522 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14526 /* Override any GCC internal prototype to avoid an error.
14527 Use char because int might match the return type of a GCC
14528 builtin and then its argument prototype would still apply. */
14529 char XextCreateExtension ();
14533 return XextCreateExtension ();
14538 if ac_fn_c_try_link
"$LINENO"
14541 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14542 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'` ;;
14543 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14544 if ${ac_cv_lib_soname_Xext:+false} :
14546 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14550 ac_cv_lib_soname_Xext
=
14552 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14553 conftest
$ac_exeext conftest.
$ac_ext
14554 LIBS
=$ac_check_soname_save_LIBS
14556 if ${ac_cv_lib_soname_Xext:+false} :
14558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14559 printf "%s\n" "not found" >&6; }
14562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14563 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14565 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14567 X_LIBS
="$X_LIBS -lXext"
14569 X_LIBS
="$X_LIBS -lX11"
14571 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14572 # include <X11/Xlib.h>
14574 #ifdef HAVE_X11_XUTIL_H
14575 # include <X11/Xutil.h>
14578 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14580 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14583 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14584 # include <X11/Xlib.h>
14586 #ifdef HAVE_X11_XUTIL_H
14587 # include <X11/Xutil.h>
14590 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14592 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14595 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14596 # include <X11/Xlib.h>
14598 #ifdef HAVE_X11_XUTIL_H
14599 # include <X11/Xutil.h>
14602 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14604 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14607 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14608 # include <X11/Xlib.h>
14610 #ifdef HAVE_X11_XUTIL_H
14611 # include <X11/Xutil.h>
14614 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14616 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14619 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14620 # include <X11/Xlib.h>
14622 #ifdef HAVE_X11_XUTIL_H
14623 # include <X11/Xutil.h>
14626 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14628 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14631 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14632 # include <X11/Xlib.h>
14634 #ifdef HAVE_X11_XUTIL_H
14635 # include <X11/Xutil.h>
14638 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14640 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14643 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14644 # include <X11/Xlib.h>
14646 #ifdef HAVE_X11_XUTIL_H
14647 # include <X11/Xutil.h>
14650 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14652 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14655 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14656 # include <X11/Xlib.h>
14658 #ifdef HAVE_X11_XUTIL_H
14659 # include <X11/Xutil.h>
14662 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14664 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14667 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14668 # include <X11/Xlib.h>
14670 #ifdef HAVE_X11_XUTIL_H
14671 # include <X11/Xutil.h>
14674 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14676 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14679 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14680 # include <X11/Xlib.h>
14682 #ifdef HAVE_X11_XUTIL_H
14683 # include <X11/Xutil.h>
14686 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14688 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14691 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14692 # include <X11/Xlib.h>
14694 #ifdef HAVE_X11_XUTIL_H
14695 # include <X11/Xutil.h>
14698 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14700 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14703 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14704 # include <X11/Xlib.h>
14706 #ifdef HAVE_X11_XUTIL_H
14707 # include <X11/Xutil.h>
14710 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14712 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14715 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14716 # include <X11/Xlib.h>
14718 #ifdef HAVE_X11_XUTIL_H
14719 # include <X11/Xutil.h>
14722 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14724 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14727 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14728 # include <X11/Xlib.h>
14730 #ifdef HAVE_X11_XUTIL_H
14731 # include <X11/Xutil.h>
14734 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14736 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14739 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14740 # include <X11/Xlib.h>
14742 #ifdef HAVE_X11_XUTIL_H
14743 # include <X11/Xutil.h>
14746 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14748 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14753 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14756 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14757 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14759 printf %s
"(cached) " >&6
14761 ac_check_lib_save_LIBS
=$LIBS
14762 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14769 char XkbQueryExtension ();
14773 return XkbQueryExtension ();
14778 if ac_fn_c_try_link
"$LINENO"
14780 ac_cv_lib_X11_XkbQueryExtension
=yes
14782 ac_cv_lib_X11_XkbQueryExtension
=no
14784 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14785 conftest
$ac_exeext conftest.
$ac_ext
14786 LIBS
=$ac_check_lib_save_LIBS
14788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14789 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14790 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14793 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14799 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14802 printf %s
"checking for -lXcursor... " >&6; }
14803 if test ${ac_cv_lib_soname_Xcursor+y}
14805 printf %s
"(cached) " >&6
14807 ac_check_soname_save_LIBS
=$LIBS
14808 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14815 char XcursorImageLoadCursor ();
14819 return XcursorImageLoadCursor ();
14824 if ac_fn_c_try_link
"$LINENO"
14827 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14828 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'` ;;
14829 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14830 if ${ac_cv_lib_soname_Xcursor:+false} :
14832 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14836 ac_cv_lib_soname_Xcursor
=
14838 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14839 conftest
$ac_exeext conftest.
$ac_ext
14840 LIBS
=$ac_check_soname_save_LIBS
14842 if ${ac_cv_lib_soname_Xcursor:+false} :
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14845 printf "%s\n" "not found" >&6; }
14848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14849 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14851 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14856 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14858 case "x$with_xcursor" in
14859 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14861 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14862 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14867 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14870 printf %s
"checking for -lXi... " >&6; }
14871 if test ${ac_cv_lib_soname_Xi+y}
14873 printf %s
"(cached) " >&6
14875 ac_check_soname_save_LIBS
=$LIBS
14876 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14880 /* Override any GCC internal prototype to avoid an error.
14881 Use char because int might match the return type of a GCC
14882 builtin and then its argument prototype would still apply. */
14883 char XOpenDevice ();
14887 return XOpenDevice ();
14892 if ac_fn_c_try_link
"$LINENO"
14895 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14896 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'` ;;
14897 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14898 if ${ac_cv_lib_soname_Xi:+false} :
14900 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14904 ac_cv_lib_soname_Xi
=
14906 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14907 conftest
$ac_exeext conftest.
$ac_ext
14908 LIBS
=$ac_check_soname_save_LIBS
14910 if ${ac_cv_lib_soname_Xi:+false} :
14912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14913 printf "%s\n" "not found" >&6; }
14916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14917 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14919 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14924 if test "x$ac_cv_lib_soname_Xi" = "x"
14926 case "x$with_xinput" in
14927 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14929 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14930 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14935 if test "x$ac_cv_lib_soname_Xi" != x
14937 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14939 case "x$with_xinput2" in
14940 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14942 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14943 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14949 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14952 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14953 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14955 printf %s
"(cached) " >&6
14957 ac_check_lib_save_LIBS
=$LIBS
14958 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14962 /* Override any GCC internal prototype to avoid an error.
14963 Use char because int might match the return type of a GCC
14964 builtin and then its argument prototype would still apply. */
14965 char XShmQueryExtension ();
14969 return XShmQueryExtension ();
14974 if ac_fn_c_try_link
"$LINENO"
14976 ac_cv_lib_Xext_XShmQueryExtension
=yes
14978 ac_cv_lib_Xext_XShmQueryExtension
=no
14980 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14981 conftest
$ac_exeext conftest.
$ac_ext
14982 LIBS
=$ac_check_lib_save_LIBS
14984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14985 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14986 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14989 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14994 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14996 case "x$with_xshm" in
14997 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14999 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15000 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15005 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15008 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
15009 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15011 printf %s
"(cached) " >&6
15013 ac_check_lib_save_LIBS
=$LIBS
15014 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15018 /* Override any GCC internal prototype to avoid an error.
15019 Use char because int might match the return type of a GCC
15020 builtin and then its argument prototype would still apply. */
15021 char XShapeQueryExtension ();
15025 return XShapeQueryExtension ();
15030 if ac_fn_c_try_link
"$LINENO"
15032 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15034 ac_cv_lib_Xext_XShapeQueryExtension
=no
15036 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15037 conftest
$ac_exeext conftest.
$ac_ext
15038 LIBS
=$ac_check_lib_save_LIBS
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15041 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15042 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15045 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15050 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15052 case "x$with_xshape" in
15053 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15055 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15056 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15061 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15064 printf %s
"checking for -lXxf86vm... " >&6; }
15065 if test ${ac_cv_lib_soname_Xxf86vm+y}
15067 printf %s
"(cached) " >&6
15069 ac_check_soname_save_LIBS
=$LIBS
15070 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15074 /* Override any GCC internal prototype to avoid an error.
15075 Use char because int might match the return type of a GCC
15076 builtin and then its argument prototype would still apply. */
15077 char XF86VidModeQueryExtension ();
15081 return XF86VidModeQueryExtension ();
15086 if ac_fn_c_try_link
"$LINENO"
15089 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15090 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'` ;;
15091 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15092 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15094 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15098 ac_cv_lib_soname_Xxf86vm
=
15100 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15101 conftest
$ac_exeext conftest.
$ac_ext
15102 LIBS
=$ac_check_soname_save_LIBS
15104 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15107 printf "%s\n" "not found" >&6; }
15110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15111 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15113 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15118 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15120 case "x$with_xxf86vm" in
15121 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15123 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15124 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15129 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15132 printf %s
"checking for -lXrender... " >&6; }
15133 if test ${ac_cv_lib_soname_Xrender+y}
15135 printf %s
"(cached) " >&6
15137 ac_check_soname_save_LIBS
=$LIBS
15138 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15142 /* Override any GCC internal prototype to avoid an error.
15143 Use char because int might match the return type of a GCC
15144 builtin and then its argument prototype would still apply. */
15145 char XRenderQueryExtension ();
15149 return XRenderQueryExtension ();
15154 if ac_fn_c_try_link
"$LINENO"
15157 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15158 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'` ;;
15159 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15160 if ${ac_cv_lib_soname_Xrender:+false} :
15162 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15166 ac_cv_lib_soname_Xrender
=
15168 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15169 conftest
$ac_exeext conftest.
$ac_ext
15170 LIBS
=$ac_check_soname_save_LIBS
15172 if ${ac_cv_lib_soname_Xrender:+false} :
15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15175 printf "%s\n" "not found" >&6; }
15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15179 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15181 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15184 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15185 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15187 printf %s
"(cached) " >&6
15189 ac_check_lib_save_LIBS
=$LIBS
15190 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15197 char XRenderSetPictureTransform ();
15201 return XRenderSetPictureTransform ();
15206 if ac_fn_c_try_link
"$LINENO"
15208 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15210 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15212 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15213 conftest
$ac_exeext conftest.
$ac_ext
15214 LIBS
=$ac_check_lib_save_LIBS
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15217 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15218 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15221 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15226 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15227 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15229 printf %s
"(cached) " >&6
15231 ac_check_lib_save_LIBS
=$LIBS
15232 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 char XRenderCreateLinearGradient ();
15243 return XRenderCreateLinearGradient ();
15248 if ac_fn_c_try_link
"$LINENO"
15250 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15252 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15254 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15255 conftest
$ac_exeext conftest.
$ac_ext
15256 LIBS
=$ac_check_lib_save_LIBS
15258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15259 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15260 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15263 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15270 if test "x$ac_cv_lib_soname_Xrender" = "x"
15272 case "x$with_xrender" in
15273 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15275 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15276 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15281 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15285 #include <X11/Xlib.h>
15286 #include <X11/extensions/Xrandr.h>
15290 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15295 if ac_fn_c_try_compile
"$LINENO"
15297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15298 printf %s
"checking for -lXrandr... " >&6; }
15299 if test ${ac_cv_lib_soname_Xrandr+y}
15301 printf %s
"(cached) " >&6
15303 ac_check_soname_save_LIBS
=$LIBS
15304 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15308 /* Override any GCC internal prototype to avoid an error.
15309 Use char because int might match the return type of a GCC
15310 builtin and then its argument prototype would still apply. */
15311 char XRRQueryExtension ();
15315 return XRRQueryExtension ();
15320 if ac_fn_c_try_link
"$LINENO"
15323 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15324 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'` ;;
15325 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15326 if ${ac_cv_lib_soname_Xrandr:+false} :
15328 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15332 ac_cv_lib_soname_Xrandr
=
15334 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15335 conftest
$ac_exeext conftest.
$ac_ext
15336 LIBS
=$ac_check_soname_save_LIBS
15338 if ${ac_cv_lib_soname_Xrandr:+false} :
15340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15341 printf "%s\n" "not found" >&6; }
15344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15345 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15347 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15351 #include <X11/Xlib.h>
15352 #include <X11/extensions/Xrandr.h>
15356 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15361 if ac_fn_c_try_compile
"$LINENO"
15364 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15367 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15369 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15372 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15374 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15376 case "x$with_xrandr" in
15377 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15379 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15380 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15385 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15389 #include <X11/Xlib.h>
15390 #include <X11/extensions/Xfixes.h>
15394 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15399 if ac_fn_c_try_compile
"$LINENO"
15401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15402 printf %s
"checking for -lXfixes... " >&6; }
15403 if test ${ac_cv_lib_soname_Xfixes+y}
15405 printf %s
"(cached) " >&6
15407 ac_check_soname_save_LIBS
=$LIBS
15408 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15415 char XFixesQueryVersion ();
15419 return XFixesQueryVersion ();
15424 if ac_fn_c_try_link
"$LINENO"
15427 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15428 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'` ;;
15429 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15430 if ${ac_cv_lib_soname_Xfixes:+false} :
15432 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15436 ac_cv_lib_soname_Xfixes
=
15438 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15439 conftest
$ac_exeext conftest.
$ac_ext
15440 LIBS
=$ac_check_soname_save_LIBS
15442 if ${ac_cv_lib_soname_Xfixes:+false} :
15444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15445 printf "%s\n" "not found" >&6; }
15448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15449 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15451 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15456 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15458 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15460 case "x$with_xfixes" in
15461 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15463 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15464 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15469 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15473 #include <X11/Xlib.h>
15474 #include <X11/extensions/Xinerama.h>
15478 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15483 if ac_fn_c_try_compile
"$LINENO"
15485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15486 printf %s
"checking for -lXinerama... " >&6; }
15487 if test ${ac_cv_lib_soname_Xinerama+y}
15489 printf %s
"(cached) " >&6
15491 ac_check_soname_save_LIBS
=$LIBS
15492 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15496 /* Override any GCC internal prototype to avoid an error.
15497 Use char because int might match the return type of a GCC
15498 builtin and then its argument prototype would still apply. */
15499 char XineramaQueryScreens ();
15503 return XineramaQueryScreens ();
15508 if ac_fn_c_try_link
"$LINENO"
15511 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15512 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'` ;;
15513 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15514 if ${ac_cv_lib_soname_Xinerama:+false} :
15516 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15520 ac_cv_lib_soname_Xinerama
=
15522 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15523 conftest
$ac_exeext conftest.
$ac_ext
15524 LIBS
=$ac_check_soname_save_LIBS
15526 if ${ac_cv_lib_soname_Xinerama:+false} :
15528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15529 printf "%s\n" "not found" >&6; }
15532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15533 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15535 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15540 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15542 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15544 case "x$with_xinerama" in
15545 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15547 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15548 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15553 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15556 printf %s
"checking for -lXcomposite... " >&6; }
15557 if test ${ac_cv_lib_soname_Xcomposite+y}
15559 printf %s
"(cached) " >&6
15561 ac_check_soname_save_LIBS
=$LIBS
15562 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15564 /* end confdefs.h. */
15566 /* Override any GCC internal prototype to avoid an error.
15567 Use char because int might match the return type of a GCC
15568 builtin and then its argument prototype would still apply. */
15569 char XCompositeRedirectWindow ();
15573 return XCompositeRedirectWindow ();
15578 if ac_fn_c_try_link
"$LINENO"
15581 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15582 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'` ;;
15583 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15584 if ${ac_cv_lib_soname_Xcomposite:+false} :
15586 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15590 ac_cv_lib_soname_Xcomposite
=
15592 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15593 conftest
$ac_exeext conftest.
$ac_ext
15594 LIBS
=$ac_check_soname_save_LIBS
15596 if ${ac_cv_lib_soname_Xcomposite:+false} :
15598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15599 printf "%s\n" "not found" >&6; }
15602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15603 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15605 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15610 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15612 case "x$with_xcomposite" in
15613 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15615 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15616 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15621 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15622 #include <X11/Xlib.h>
15625 if test "x$ac_cv_member_XICCallback_callback" = xyes
15628 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15632 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15633 #include <X11/Xlib.h>
15636 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15639 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15647 if test "x$with_opengl" != "xno"
15649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15650 printf %s
"checking for -lGL... " >&6; }
15651 if test ${ac_cv_lib_soname_GL+y}
15653 printf %s
"(cached) " >&6
15655 ac_check_soname_save_LIBS
=$LIBS
15656 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 char glXCreateContext ();
15667 return glXCreateContext ();
15672 if ac_fn_c_try_link
"$LINENO"
15675 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15676 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'` ;;
15677 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15678 if ${ac_cv_lib_soname_GL:+false} :
15680 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15684 ac_cv_lib_soname_GL
=
15686 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15687 conftest
$ac_exeext conftest.
$ac_ext
15688 LIBS
=$ac_check_soname_save_LIBS
15690 if ${ac_cv_lib_soname_GL:+false} :
15692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15693 printf "%s\n" "not found" >&6; }
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15695 printf %s
"checking for -lGL... " >&6; }
15696 if test ${ac_cv_lib_soname_GL+y}
15698 printf %s
"(cached) " >&6
15700 ac_check_soname_save_LIBS
=$LIBS
15701 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"
15702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 char glXCreateContext ();
15712 return glXCreateContext ();
15717 if ac_fn_c_try_link
"$LINENO"
15720 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15721 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'` ;;
15722 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15723 if ${ac_cv_lib_soname_GL:+false} :
15725 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15729 ac_cv_lib_soname_GL
=
15731 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15732 conftest
$ac_exeext conftest.
$ac_ext
15733 LIBS
=$ac_check_soname_save_LIBS
15735 if ${ac_cv_lib_soname_GL:+false} :
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15738 printf "%s\n" "not found" >&6; }
15739 if test -f /usr
/X11R
6/lib
/libGL.a
15741 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15742 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15744 opengl_msg
="No OpenGL library found on this system."
15747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15748 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15750 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15752 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"
15755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15756 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15758 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15762 if test "x$with_osmesa" != "xno"
15764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15765 printf %s
"checking for -lOSMesa... " >&6; }
15766 if test ${ac_cv_lib_soname_OSMesa+y}
15768 printf %s
"(cached) " >&6
15770 ac_check_soname_save_LIBS
=$LIBS
15771 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15775 /* Override any GCC internal prototype to avoid an error.
15776 Use char because int might match the return type of a GCC
15777 builtin and then its argument prototype would still apply. */
15778 char OSMesaGetProcAddress ();
15782 return OSMesaGetProcAddress ();
15787 if ac_fn_c_try_link
"$LINENO"
15790 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15791 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'` ;;
15792 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15793 if ${ac_cv_lib_soname_OSMesa:+false} :
15795 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15799 ac_cv_lib_soname_OSMesa
=
15801 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15802 conftest
$ac_exeext conftest.
$ac_ext
15803 LIBS
=$ac_check_soname_save_LIBS
15805 if ${ac_cv_lib_soname_OSMesa:+false} :
15807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15808 printf "%s\n" "not found" >&6; }
15811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15812 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15814 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15818 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15820 case "x$with_osmesa" in
15821 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15823 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15824 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15830 if test -n "$opengl_msg"
15832 case "x$with_opengl" in
15833 x
) as_fn_append wine_warnings
"|$opengl_msg
15834 OpenGL and Direct3D won't be supported." ;;
15836 *) as_fn_error $?
"$opengl_msg
15837 OpenGL and Direct3D won't be supported.
15838 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15843 CPPFLAGS
="$ac_save_CPPFLAGS"
15849 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15851 if test "x$X_LIBS" = "x"
15855 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15856 without X support, which probably isn't what you want. You will need
15857 to install ${notice_platform}development packages of Xlib at the very least.
15858 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15860 enable_winex11_drv
=${enable_winex11_drv:-no}
15863 if test "x$X_LIBS" = "x"
15866 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15868 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15869 This is an error since --with-x was requested." "$LINENO" 5 ;;
15871 enable_winex11_drv
=${enable_winex11_drv:-no}
15875 if test "$ac_cv_header_CL_cl_h" = "yes"
15877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15878 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15879 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15881 printf %s
"(cached) " >&6
15883 ac_check_lib_save_LIBS
=$LIBS
15884 LIBS
="-lOpenCL $LIBS"
15885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15888 /* Override any GCC internal prototype to avoid an error.
15889 Use char because int might match the return type of a GCC
15890 builtin and then its argument prototype would still apply. */
15891 char clGetPlatformInfo ();
15895 return clGetPlatformInfo ();
15900 if ac_fn_c_try_link
"$LINENO"
15902 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15904 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15906 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15907 conftest
$ac_exeext conftest.
$ac_ext
15908 LIBS
=$ac_check_lib_save_LIBS
15910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15911 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15912 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15914 OPENCL_LIBS
="-lOpenCL"
15919 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15921 case "x$with_opencl" in
15922 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15924 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15925 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15927 enable_opencl
=${enable_opencl:-no}
15930 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15933 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15934 if test ${ac_cv_lib_pcap_pcap_create+y}
15936 printf %s
"(cached) " >&6
15938 ac_check_lib_save_LIBS
=$LIBS
15939 LIBS
="-lpcap $LIBS"
15940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15943 /* Override any GCC internal prototype to avoid an error.
15944 Use char because int might match the return type of a GCC
15945 builtin and then its argument prototype would still apply. */
15946 char pcap_create ();
15950 return pcap_create ();
15955 if ac_fn_c_try_link
"$LINENO"
15957 ac_cv_lib_pcap_pcap_create
=yes
15959 ac_cv_lib_pcap_pcap_create
=no
15961 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15962 conftest
$ac_exeext conftest.
$ac_ext
15963 LIBS
=$ac_check_lib_save_LIBS
15965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15966 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15967 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15974 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15976 case "x$with_pcap" in
15977 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15979 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15980 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15982 enable_wpcap
=${enable_wpcap:-no}
15985 if test "x$with_inotify" != "xno"
15987 if ${INOTIFY_CFLAGS:+false} :
15989 if test ${PKG_CONFIG+y}
15991 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15995 if ${INOTIFY_LIBS:+false} :
15997 if test ${PKG_CONFIG+y}
15999 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16006 ac_save_CPPFLAGS
=$CPPFLAGS
16007 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
16008 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16009 if test "x$ac_cv_header_sys_inotify_h" = xyes
16011 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16016 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
16017 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16019 printf %s
"(cached) " >&6
16021 ac_check_lib_save_LIBS
=$LIBS
16022 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
16023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16026 /* Override any GCC internal prototype to avoid an error.
16027 Use char because int might match the return type of a GCC
16028 builtin and then its argument prototype would still apply. */
16029 char inotify_add_watch ();
16033 return inotify_add_watch ();
16038 if ac_fn_c_try_link
"$LINENO"
16040 ac_cv_lib_inotify_inotify_add_watch
=yes
16042 ac_cv_lib_inotify_inotify_add_watch
=no
16044 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16045 conftest
$ac_exeext conftest.
$ac_ext
16046 LIBS
=$ac_check_lib_save_LIBS
16048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16049 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16050 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16057 CPPFLAGS
=$ac_save_CPPFLAGS
16060 if test "$ac_cv_header_sys_inotify_h" != "yes"
16062 case "x$with_inotify" in
16063 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16065 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16066 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16071 if test "x$with_dbus" != "xno"
16073 if ${DBUS_CFLAGS:+false} :
16075 if test ${PKG_CONFIG+y}
16077 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16081 if ${DBUS_LIBS:+false} :
16083 if test ${PKG_CONFIG+y}
16085 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16092 ac_save_CPPFLAGS
=$CPPFLAGS
16093 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16094 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16095 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16098 printf %s
"checking for -ldbus-1... " >&6; }
16099 if test ${ac_cv_lib_soname_dbus_1+y}
16101 printf %s
"(cached) " >&6
16103 ac_check_soname_save_LIBS
=$LIBS
16104 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16108 /* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16111 char dbus_connection_close ();
16115 return dbus_connection_close ();
16120 if ac_fn_c_try_link
"$LINENO"
16123 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16124 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'` ;;
16125 *) 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'`
16126 if ${ac_cv_lib_soname_dbus_1:+false} :
16128 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16132 ac_cv_lib_soname_dbus_1
=
16134 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16135 conftest
$ac_exeext conftest.
$ac_ext
16136 LIBS
=$ac_check_soname_save_LIBS
16138 if ${ac_cv_lib_soname_dbus_1:+false} :
16140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16141 printf "%s\n" "not found" >&6; }
16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16145 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16147 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16155 CPPFLAGS
=$ac_save_CPPFLAGS
16158 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16159 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16161 case "x$with_dbus" in
16162 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16164 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16165 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16170 if test "x$with_gnutls" != "xno"
16172 if ${GNUTLS_CFLAGS:+false} :
16174 if test ${PKG_CONFIG+y}
16176 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16180 if ${GNUTLS_LIBS:+false} :
16182 if test ${PKG_CONFIG+y}
16184 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16188 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16191 ac_save_CPPFLAGS
=$CPPFLAGS
16192 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16193 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16194 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16198 #include <gnutls/gnutls.h>
16199 #include <gnutls/crypto.h>
16203 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16208 if ac_fn_c_try_compile
"$LINENO"
16210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16211 printf %s
"checking for -lgnutls... " >&6; }
16212 if test ${ac_cv_lib_soname_gnutls+y}
16214 printf %s
"(cached) " >&6
16216 ac_check_soname_save_LIBS
=$LIBS
16217 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 char gnutls_global_init ();
16228 return gnutls_global_init ();
16233 if ac_fn_c_try_link
"$LINENO"
16236 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16237 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'` ;;
16238 *) 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'`
16239 if ${ac_cv_lib_soname_gnutls:+false} :
16241 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'`
16245 ac_cv_lib_soname_gnutls
=
16247 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16248 conftest
$ac_exeext conftest.
$ac_ext
16249 LIBS
=$ac_check_soname_save_LIBS
16251 if ${ac_cv_lib_soname_gnutls:+false} :
16253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16254 printf "%s\n" "not found" >&6; }
16257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16258 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16260 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16264 ac_wine_check_funcs_save_LIBS
="$LIBS"
16265 LIBS
="$LIBS $GNUTLS_LIBS"
16267 for ac_func
in gnutls_cipher_init
16269 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16270 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16272 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16275 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16279 LIBS
="$ac_wine_check_funcs_save_LIBS"
16281 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16286 CPPFLAGS
=$ac_save_CPPFLAGS
16289 if test "x$ac_cv_lib_soname_gnutls" = "x"
16291 case "x$with_gnutls" in
16292 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16294 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16295 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16300 if test "x$with_sane" != "xno"
16302 if ${SANE_CFLAGS:+false} :
16304 if test ${PKG_CONFIG+y}
16306 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16309 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16310 if ${SANE_LIBS:+false} :
16312 if test ${PKG_CONFIG+y}
16314 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16317 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16321 ac_save_CPPFLAGS
=$CPPFLAGS
16322 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16323 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16324 if test "x$ac_cv_header_sane_sane_h" = xyes
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16327 printf %s
"checking for sane_init in -lsane... " >&6; }
16328 if test ${ac_cv_lib_sane_sane_init+y}
16330 printf %s
"(cached) " >&6
16332 ac_check_lib_save_LIBS
=$LIBS
16333 LIBS
="-lsane $SANE_LIBS $LIBS"
16334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16337 /* Override any GCC internal prototype to avoid an error.
16338 Use char because int might match the return type of a GCC
16339 builtin and then its argument prototype would still apply. */
16344 return sane_init ();
16349 if ac_fn_c_try_link
"$LINENO"
16351 ac_cv_lib_sane_sane_init
=yes
16353 ac_cv_lib_sane_sane_init
=no
16355 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16356 conftest
$ac_exeext conftest.
$ac_ext
16357 LIBS
=$ac_check_lib_save_LIBS
16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16360 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16361 if test "x$ac_cv_lib_sane_sane_init" = xyes
16368 CPPFLAGS
=$ac_save_CPPFLAGS
16371 if test "$ac_cv_lib_sane_sane_init" != "yes"
16373 case "x$with_sane" in
16374 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16376 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16377 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16379 enable_sane_ds
=${enable_sane_ds:-no}
16382 if test "x$with_usb" != "xno"
16384 if ${USB_CFLAGS:+false} :
16386 if test ${PKG_CONFIG+y}
16388 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16392 if ${USB_LIBS:+false} :
16394 if test ${PKG_CONFIG+y}
16396 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16400 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16403 ac_save_CPPFLAGS
=$CPPFLAGS
16404 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16405 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16406 if test "x$ac_cv_header_libusb_h" = xyes
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16409 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16410 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16412 printf %s
"(cached) " >&6
16414 ac_check_lib_save_LIBS
=$LIBS
16415 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16419 /* Override any GCC internal prototype to avoid an error.
16420 Use char because int might match the return type of a GCC
16421 builtin and then its argument prototype would still apply. */
16422 char libusb_interrupt_event_handler ();
16426 return libusb_interrupt_event_handler ();
16431 if ac_fn_c_try_link
"$LINENO"
16433 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16435 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16437 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16438 conftest
$ac_exeext conftest.
$ac_ext
16439 LIBS
=$ac_check_lib_save_LIBS
16441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16442 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16443 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16454 CPPFLAGS
=$ac_save_CPPFLAGS
16457 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16459 case "x$with_usb" in
16460 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16462 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16463 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16465 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16468 if test "x$with_v4l2" != "xno"
16470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16471 printf %s
"checking for -lv4l2... " >&6; }
16472 if test ${ac_cv_lib_soname_v4l2+y}
16474 printf %s
"(cached) " >&6
16476 ac_check_soname_save_LIBS
=$LIBS
16477 LIBS
="-lv4l2 $LIBS"
16478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16488 return v4l2_open ();
16493 if ac_fn_c_try_link
"$LINENO"
16496 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16497 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'` ;;
16498 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16499 if ${ac_cv_lib_soname_v4l2:+false} :
16501 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16505 ac_cv_lib_soname_v4l2
=
16507 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16508 conftest
$ac_exeext conftest.
$ac_ext
16509 LIBS
=$ac_check_soname_save_LIBS
16511 if ${ac_cv_lib_soname_v4l2:+false} :
16513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16514 printf "%s\n" "not found" >&6; }
16517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16518 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16520 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16525 if test "x$ac_cv_lib_soname_v4l2" = "x"
16527 case "x$with_v4l2" in
16528 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16530 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16531 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16536 if test "x$with_gphoto" != "xno"
16538 if ${GPHOTO2_CFLAGS:+false} :
16540 if test ${PKG_CONFIG+y}
16542 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16545 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16546 if ${GPHOTO2_LIBS:+false} :
16548 if test ${PKG_CONFIG+y}
16550 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16553 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16554 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16557 ac_save_CPPFLAGS
=$CPPFLAGS
16558 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16559 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16560 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16563 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16564 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16566 printf %s
"(cached) " >&6
16568 ac_check_lib_save_LIBS
=$LIBS
16569 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16573 /* Override any GCC internal prototype to avoid an error.
16574 Use char because int might match the return type of a GCC
16575 builtin and then its argument prototype would still apply. */
16576 char gp_camera_new ();
16580 return gp_camera_new ();
16585 if ac_fn_c_try_link
"$LINENO"
16587 ac_cv_lib_gphoto2_gp_camera_new
=yes
16589 ac_cv_lib_gphoto2_gp_camera_new
=no
16591 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16592 conftest
$ac_exeext conftest.
$ac_ext
16593 LIBS
=$ac_check_lib_save_LIBS
16595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16596 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16597 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16604 CPPFLAGS
=$ac_save_CPPFLAGS
16606 if ${GPHOTO2_PORT_CFLAGS:+false} :
16608 if test ${PKG_CONFIG+y}
16610 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16613 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16614 if ${GPHOTO2_PORT_LIBS:+false} :
16616 if test ${PKG_CONFIG+y}
16618 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16621 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16622 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16625 ac_save_CPPFLAGS
=$CPPFLAGS
16626 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16627 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16628 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16631 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16632 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16634 printf %s
"(cached) " >&6
16636 ac_check_lib_save_LIBS
=$LIBS
16637 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16641 /* Override any GCC internal prototype to avoid an error.
16642 Use char because int might match the return type of a GCC
16643 builtin and then its argument prototype would still apply. */
16644 char gp_port_info_list_new ();
16648 return gp_port_info_list_new ();
16653 if ac_fn_c_try_link
"$LINENO"
16655 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16657 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16659 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16660 conftest
$ac_exeext conftest.
$ac_ext
16661 LIBS
=$ac_check_lib_save_LIBS
16663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16664 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16665 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16668 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16671 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16675 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16678 CPPFLAGS
=$ac_save_CPPFLAGS
16681 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16683 case "x$with_gphoto" in
16684 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16686 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16687 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16689 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16691 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16693 case "x$with_gphoto" in
16694 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16696 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16697 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16703 if test "$ac_cv_header_resolv_h" = "yes"
16705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16706 printf %s
"checking for resolver library... " >&6; }
16707 if test ${ac_cv_have_resolv+y}
16709 printf %s
"(cached) " >&6
16711 ac_save_LIBS
="$LIBS"
16712 for lib
in '' -lresolv
16714 LIBS
="$lib $ac_save_LIBS"
16715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717 #ifdef HAVE_NETINET_IN_H
16718 #include <netinet/in.h>
16720 #include <resolv.h>
16724 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16729 if ac_fn_c_try_link
"$LINENO"
16731 ac_cv_have_resolv
=${lib:-"none required"}
16733 ac_cv_have_resolv
="not found"
16735 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16736 conftest
$ac_exeext conftest.
$ac_ext
16737 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16739 LIBS
="$ac_save_LIBS"
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16742 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16744 case "$ac_cv_have_resolv" in
16748 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16751 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16753 RESOLV_LIBS
=$ac_cv_have_resolv
16757 if test "x$ac_cv_have_resolv" != "xnot found"
16759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16760 printf %s
"checking for res_getservers... " >&6; }
16761 if test ${ac_cv_have_res_getservers+y}
16763 printf %s
"(cached) " >&6
16765 ac_save_LIBS
="$LIBS"
16766 LIBS
="$RESOLV_LIBS $LIBS"
16767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16769 #include <resolv.h>
16773 res_getservers(NULL, NULL, 0);
16778 if ac_fn_c_try_link
"$LINENO"
16780 ac_cv_have_res_getservers
=yes
16782 ac_cv_have_res_getservers
=no
16784 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16785 conftest
$ac_exeext conftest.
$ac_ext
16786 LIBS
="$ac_save_LIBS"
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16789 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16790 if test "$ac_cv_have_res_getservers" = "yes"
16793 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16799 if test "x$with_freetype" != "xno"
16801 if ${FREETYPE_CFLAGS:+false} :
16803 if test ${PKG_CONFIG+y}
16805 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16808 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16809 if ${FREETYPE_LIBS:+false} :
16811 if test ${PKG_CONFIG+y}
16813 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16816 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16817 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16820 ac_save_CPPFLAGS
=$CPPFLAGS
16821 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16822 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16823 if test "x$ac_cv_header_ft2build_h" = xyes
16825 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16829 if test "$ac_cv_header_ft2build_h" = "yes"
16831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16832 printf %s
"checking for -lfreetype... " >&6; }
16833 if test ${ac_cv_lib_soname_freetype+y}
16835 printf %s
"(cached) " >&6
16837 ac_check_soname_save_LIBS
=$LIBS
16838 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16842 /* Override any GCC internal prototype to avoid an error.
16843 Use char because int might match the return type of a GCC
16844 builtin and then its argument prototype would still apply. */
16845 char FT_Init_FreeType ();
16849 return FT_Init_FreeType ();
16854 if ac_fn_c_try_link
"$LINENO"
16857 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16858 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'` ;;
16859 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16860 if ${ac_cv_lib_soname_freetype:+false} :
16862 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16866 ac_cv_lib_soname_freetype
=
16868 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16869 conftest
$ac_exeext conftest.
$ac_ext
16870 LIBS
=$ac_check_soname_save_LIBS
16872 if ${ac_cv_lib_soname_freetype:+false} :
16874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16875 printf "%s\n" "not found" >&6; }
16878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16879 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16881 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16884 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16886 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16887 #include FT_MODULE_H
16889 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16892 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16902 CPPFLAGS
=$ac_save_CPPFLAGS
16905 if test "x$ac_cv_lib_soname_freetype" = x
16907 case "x$with_freetype" in
16909 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16910 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16912 enable_fonts
=${enable_fonts:-no}
16915 ac_wine_check_funcs_save_LIBS
="$LIBS"
16916 LIBS
="$LIBS $PTHREAD_LIBS"
16917 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16918 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16920 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16924 LIBS
="$ac_wine_check_funcs_save_LIBS"
16926 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16928 if test "$ac_cv_header_gettext_po_h" = "yes"
16930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16931 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16932 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16934 printf %s
"(cached) " >&6
16936 ac_check_lib_save_LIBS
=$LIBS
16937 LIBS
="-lgettextpo $LIBS"
16938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16941 /* Override any GCC internal prototype to avoid an error.
16942 Use char because int might match the return type of a GCC
16943 builtin and then its argument prototype would still apply. */
16944 char po_message_msgctxt ();
16948 return po_message_msgctxt ();
16953 if ac_fn_c_try_link
"$LINENO"
16955 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16957 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16959 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16960 conftest
$ac_exeext conftest.
$ac_ext
16961 LIBS
=$ac_check_lib_save_LIBS
16963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16964 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16965 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16968 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16970 GETTEXTPO_LIBS
="-lgettextpo"
16975 if test "x$GETTEXTPO_LIBS" = "x"
16977 case "x$with_gettextpo" in
16978 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16980 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16981 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16985 if test "$srcdir" != .
16987 case "x$with_gettextpo" in
16988 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16990 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16991 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16997 if test "x$with_pulse" != "xno";
16999 if ${PULSE_CFLAGS:+false} :
17001 if test ${PKG_CONFIG+y}
17003 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
17007 if ${PULSE_LIBS:+false} :
17009 if test ${PKG_CONFIG+y}
17011 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17018 ac_save_CPPFLAGS
=$CPPFLAGS
17019 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17020 for ac_header
in pulse
/pulseaudio.h
17022 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17023 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17025 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17027 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17028 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17030 printf %s
"(cached) " >&6
17032 ac_check_lib_save_LIBS
=$LIBS
17033 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17037 /* Override any GCC internal prototype to avoid an error.
17038 Use char because int might match the return type of a GCC
17039 builtin and then its argument prototype would still apply. */
17040 char pa_stream_is_corked ();
17044 return pa_stream_is_corked ();
17049 if ac_fn_c_try_link
"$LINENO"
17051 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17053 ac_cv_lib_pulse_pa_stream_is_corked
=no
17055 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17056 conftest
$ac_exeext conftest.
$ac_ext
17057 LIBS
=$ac_check_lib_save_LIBS
17059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17060 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17061 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17073 CPPFLAGS
=$ac_save_CPPFLAGS
17076 if test -z "$PULSE_LIBS"
17078 case "x$with_pulse" in
17079 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17081 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17082 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17084 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17087 if test "x$with_gstreamer" != "xno"
17089 if ${GSTREAMER_CFLAGS:+false} :
17091 if test ${PKG_CONFIG+y}
17093 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17097 if ${GSTREAMER_LIBS:+false} :
17099 if test ${PKG_CONFIG+y}
17101 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17108 ac_save_CPPFLAGS
=$CPPFLAGS
17109 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17110 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17111 if test "x$ac_cv_header_gst_gst_h" = xyes
17113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17114 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #include <gst/gst.h>
17121 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17126 if ac_fn_c_try_compile
"$LINENO"
17128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17129 printf "%s\n" "yes" >&6; }
17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17131 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17132 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17134 printf %s
"(cached) " >&6
17136 ac_check_lib_save_LIBS
=$LIBS
17137 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17141 /* Override any GCC internal prototype to avoid an error.
17142 Use char because int might match the return type of a GCC
17143 builtin and then its argument prototype would still apply. */
17144 char gst_pad_new ();
17148 return gst_pad_new ();
17153 if ac_fn_c_try_link
"$LINENO"
17155 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17157 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17159 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17160 conftest
$ac_exeext conftest.
$ac_ext
17161 LIBS
=$ac_check_lib_save_LIBS
17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17164 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17165 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17172 printf "%s\n" "no" >&6; }
17173 ac_glib2_broken
=yes
17174 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17176 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17179 CPPFLAGS
=$ac_save_CPPFLAGS
17182 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17184 case "x$with_gstreamer" in
17185 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17187 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17188 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17190 enable_winegstreamer
=${enable_winegstreamer:-no}
17195 if test "x$with_alsa" != "xno"
17197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17198 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17199 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17201 printf %s
"(cached) " >&6
17203 ac_check_lib_save_LIBS
=$LIBS
17204 LIBS
="-lasound $LIBS"
17205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17211 char snd_pcm_hw_params_get_access_mask ();
17215 return snd_pcm_hw_params_get_access_mask ();
17220 if ac_fn_c_try_link
"$LINENO"
17222 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17224 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17226 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17227 conftest
$ac_exeext conftest.
$ac_ext
17228 LIBS
=$ac_check_lib_save_LIBS
17230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17231 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17232 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 #include <alsa/asoundlib.h>
17240 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17245 if ac_fn_c_try_compile
"$LINENO"
17247 ALSA_LIBS
="-lasound"
17249 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17253 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17255 if test "x$with_oss" != xno
17257 ac_save_CPPFLAGS
="$CPPFLAGS"
17258 if test -f /etc
/oss.conf
17262 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17263 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17264 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17265 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17267 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17269 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17272 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17274 OSS4_CFLAGS
="$ac_oss_incl"
17276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17277 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17278 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17280 printf %s
"(cached) " >&6
17282 ac_check_lib_save_LIBS
=$LIBS
17283 LIBS
="-lossaudio $LIBS"
17284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17287 /* Override any GCC internal prototype to avoid an error.
17288 Use char because int might match the return type of a GCC
17289 builtin and then its argument prototype would still apply. */
17290 char _oss_ioctl ();
17294 return _oss_ioctl ();
17299 if ac_fn_c_try_link
"$LINENO"
17301 ac_cv_lib_ossaudio__oss_ioctl
=yes
17303 ac_cv_lib_ossaudio__oss_ioctl
=no
17305 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17306 conftest
$ac_exeext conftest.
$ac_ext
17307 LIBS
=$ac_check_lib_save_LIBS
17309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17310 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17311 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17313 OSS4_LIBS
="-lossaudio"
17321 CPPFLAGS
="$ac_save_CPPFLAGS"
17323 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17325 case "x$with_oss" in
17326 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17328 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17329 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17331 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17334 if test "x$with_udev" != "xno"
17336 if ${UDEV_CFLAGS:+false} :
17338 if test ${PKG_CONFIG+y}
17340 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17344 if ${UDEV_LIBS:+false} :
17346 if test ${PKG_CONFIG+y}
17348 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17352 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17355 ac_save_CPPFLAGS
=$CPPFLAGS
17356 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17357 for ac_header
in libudev.h
17359 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17360 if test "x$ac_cv_header_libudev_h" = xyes
17362 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17364 printf %s
"checking for udev_new in -ludev... " >&6; }
17365 if test ${ac_cv_lib_udev_udev_new+y}
17367 printf %s
"(cached) " >&6
17369 ac_check_lib_save_LIBS
=$LIBS
17370 LIBS
="-ludev $UDEV_LIBS $LIBS"
17371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17372 /* end confdefs.h. */
17374 /* Override any GCC internal prototype to avoid an error.
17375 Use char because int might match the return type of a GCC
17376 builtin and then its argument prototype would still apply. */
17381 return udev_new ();
17386 if ac_fn_c_try_link
"$LINENO"
17388 ac_cv_lib_udev_udev_new
=yes
17390 ac_cv_lib_udev_udev_new
=no
17392 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17393 conftest
$ac_exeext conftest.
$ac_ext
17394 LIBS
=$ac_check_lib_save_LIBS
17396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17397 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17398 if test "x$ac_cv_lib_udev_udev_new" = xyes
17401 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17412 CPPFLAGS
=$ac_save_CPPFLAGS
17415 if test "x$UDEV_LIBS" = "x"
17417 case "x$with_udev" in
17418 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17420 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17421 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17426 if test "x$with_unwind" != xno
17428 if ${UNWIND_CFLAGS:+false} :
17430 if test ${PKG_CONFIG+y}
17432 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17436 if ${UNWIND_LIBS:+false} :
17438 if test ${PKG_CONFIG+y}
17440 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17444 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17447 ac_save_CPPFLAGS
=$CPPFLAGS
17448 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17450 printf %s
"checking for unw_step... " >&6; }
17451 if test ${wine_cv_have_unw_step+y}
17453 printf %s
"(cached) " >&6
17455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #define UNW_LOCAL_ONLY
17458 #include <libunwind.h>
17462 unw_cursor_t cursor; unw_step( &cursor );
17467 if ac_fn_c_try_link
"$LINENO"
17469 wine_cv_have_unw_step
="yes"
17471 wine_cv_have_unw_step
="no"
17473 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17474 conftest
$ac_exeext conftest.
$ac_ext
17476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17477 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17478 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17481 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17482 LIBS
="$UNWIND_LIBS $LIBS"
17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17484 printf %s
"checking for unw_step in libunwind... " >&6; }
17485 if test ${wine_cv_have_libunwind_unw_step+y}
17487 printf %s
"(cached) " >&6
17489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 #define UNW_LOCAL_ONLY
17492 #include <libunwind.h>
17496 unw_cursor_t cursor; unw_step( &cursor );
17501 if ac_fn_c_try_link
"$LINENO"
17503 wine_cv_have_libunwind_unw_step
="yes"
17505 wine_cv_have_libunwind_unw_step
="no"
17507 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17508 conftest
$ac_exeext conftest.
$ac_ext
17510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17511 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17514 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17515 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17518 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17521 CPPFLAGS
=$ac_save_CPPFLAGS
17525 aarch64
*|
*-darwin*)
17526 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17528 case "x$with_unwind" in
17529 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17531 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17532 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17538 if test "x$with_sdl" != "xno"
17540 if ${SDL2_CFLAGS:+false} :
17542 if test ${PKG_CONFIG+y}
17544 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17548 if ${SDL2_LIBS:+false} :
17550 if test ${PKG_CONFIG+y}
17552 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17556 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17559 ac_save_CPPFLAGS
=$CPPFLAGS
17560 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17561 for ac_header
in SDL.h
17563 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17564 if test "x$ac_cv_header_SDL_h" = xyes
17566 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17568 printf %s
"checking for -lSDL2... " >&6; }
17569 if test ${ac_cv_lib_soname_SDL2+y}
17571 printf %s
"(cached) " >&6
17573 ac_check_soname_save_LIBS
=$LIBS
17574 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17578 /* Override any GCC internal prototype to avoid an error.
17579 Use char because int might match the return type of a GCC
17580 builtin and then its argument prototype would still apply. */
17585 return SDL_Init ();
17590 if ac_fn_c_try_link
"$LINENO"
17593 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17594 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'` ;;
17595 *) 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'`
17596 if ${ac_cv_lib_soname_SDL2:+false} :
17598 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17602 ac_cv_lib_soname_SDL2
=
17604 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17605 conftest
$ac_exeext conftest.
$ac_ext
17606 LIBS
=$ac_check_soname_save_LIBS
17608 if ${ac_cv_lib_soname_SDL2:+false} :
17610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17611 printf "%s\n" "not found" >&6; }
17614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17615 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17617 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17624 CPPFLAGS
=$ac_save_CPPFLAGS
17627 if test "x$ac_cv_lib_soname_SDL2" = "x"
17629 case "x$with_sdl" in
17630 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17632 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17633 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17638 if test "x$with_capi" != "xno"
17640 if ${CAPI20_CFLAGS:+false} :
17642 if test ${PKG_CONFIG+y}
17644 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17648 if ${CAPI20_LIBS:+false} :
17650 if test ${PKG_CONFIG+y}
17652 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17659 ac_save_CPPFLAGS
=$CPPFLAGS
17660 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17661 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17663 if test "x$ac_cv_header_capi20_h" = xyes
17665 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17668 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17670 if test "x$ac_cv_header_linux_capi_h" = xyes
17672 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17676 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17679 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17680 if test ${ac_cv_lib_capi20_capi20_register+y}
17682 printf %s
"(cached) " >&6
17684 ac_check_lib_save_LIBS
=$LIBS
17685 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17689 /* Override any GCC internal prototype to avoid an error.
17690 Use char because int might match the return type of a GCC
17691 builtin and then its argument prototype would still apply. */
17692 char capi20_register ();
17696 return capi20_register ();
17701 if ac_fn_c_try_link
"$LINENO"
17703 ac_cv_lib_capi20_capi20_register
=yes
17705 ac_cv_lib_capi20_capi20_register
=no
17707 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17708 conftest
$ac_exeext conftest.
$ac_ext
17709 LIBS
=$ac_check_lib_save_LIBS
17711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17712 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17713 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17721 CPPFLAGS
=$ac_save_CPPFLAGS
17724 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17726 case "x$with_capi" in
17727 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17729 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17730 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17732 enable_capi2032
=${enable_capi2032:-no}
17735 if test "x$with_cups" != "xno"
17737 if ${CUPS_CFLAGS:+false} :
17739 if test ${PKG_CONFIG+y}
17741 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17744 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17745 if ${CUPS_LIBS:+false} :
17747 if test ${PKG_CONFIG+y}
17749 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17752 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17753 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17756 ac_save_CPPFLAGS
=$CPPFLAGS
17757 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17758 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17759 if test "x$ac_cv_header_cups_cups_h" = xyes
17761 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17764 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17765 if test "x$ac_cv_header_cups_ppd_h" = xyes
17767 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17771 if test "$ac_cv_header_cups_cups_h" = "yes"
17773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17774 printf %s
"checking for -lcups... " >&6; }
17775 if test ${ac_cv_lib_soname_cups+y}
17777 printf %s
"(cached) " >&6
17779 ac_check_soname_save_LIBS
=$LIBS
17780 LIBS
="-lcups $CUPS_LIBS $LIBS"
17781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17784 /* Override any GCC internal prototype to avoid an error.
17785 Use char because int might match the return type of a GCC
17786 builtin and then its argument prototype would still apply. */
17787 char cupsGetDefault ();
17791 return cupsGetDefault ();
17796 if ac_fn_c_try_link
"$LINENO"
17799 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17800 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'` ;;
17801 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17802 if ${ac_cv_lib_soname_cups:+false} :
17804 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17808 ac_cv_lib_soname_cups
=
17810 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17811 conftest
$ac_exeext conftest.
$ac_ext
17812 LIBS
=$ac_check_soname_save_LIBS
17814 if ${ac_cv_lib_soname_cups:+false} :
17816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17817 printf "%s\n" "not found" >&6; }
17820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17821 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17823 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17831 CPPFLAGS
=$ac_save_CPPFLAGS
17834 if test "x$ac_cv_lib_soname_cups" = "x"
17836 case "x$with_cups" in
17837 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17839 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17840 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17845 if test "x$with_fontconfig" != "xno"
17847 if ${FONTCONFIG_CFLAGS:+false} :
17849 if test ${PKG_CONFIG+y}
17851 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17854 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17855 if ${FONTCONFIG_LIBS:+false} :
17857 if test ${PKG_CONFIG+y}
17859 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17862 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17866 ac_save_CPPFLAGS
=$CPPFLAGS
17867 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17868 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17869 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17871 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17875 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17878 printf %s
"checking for -lfontconfig... " >&6; }
17879 if test ${ac_cv_lib_soname_fontconfig+y}
17881 printf %s
"(cached) " >&6
17883 ac_check_soname_save_LIBS
=$LIBS
17884 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17888 /* Override any GCC internal prototype to avoid an error.
17889 Use char because int might match the return type of a GCC
17890 builtin and then its argument prototype would still apply. */
17900 if ac_fn_c_try_link
"$LINENO"
17903 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17904 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'` ;;
17905 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17906 if ${ac_cv_lib_soname_fontconfig:+false} :
17908 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17912 ac_cv_lib_soname_fontconfig
=
17914 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17915 conftest
$ac_exeext conftest.
$ac_ext
17916 LIBS
=$ac_check_soname_save_LIBS
17918 if ${ac_cv_lib_soname_fontconfig:+false} :
17920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17921 printf "%s\n" "not found" >&6; }
17922 FONTCONFIG_CFLAGS
=""
17924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17925 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17927 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17932 FONTCONFIG_CFLAGS
=""
17934 CPPFLAGS
=$ac_save_CPPFLAGS
17937 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17939 case "x$with_fontconfig" in
17940 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17942 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17943 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17948 if test "x$with_krb5" != "xno"
17950 if ${KRB5_CFLAGS:+false} :
17952 if test ${PKG_CONFIG+y}
17954 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17957 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17958 if ${KRB5_LIBS:+false} :
17960 if test ${PKG_CONFIG+y}
17962 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17965 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17969 ac_save_CPPFLAGS
=$CPPFLAGS
17970 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17971 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17972 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17974 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17978 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17981 printf %s
"checking for -lkrb5... " >&6; }
17982 if test ${ac_cv_lib_soname_krb5+y}
17984 printf %s
"(cached) " >&6
17986 ac_check_soname_save_LIBS
=$LIBS
17987 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17991 /* Override any GCC internal prototype to avoid an error.
17992 Use char because int might match the return type of a GCC
17993 builtin and then its argument prototype would still apply. */
17994 char krb5_is_config_principal ();
17998 return krb5_is_config_principal ();
18003 if ac_fn_c_try_link
"$LINENO"
18006 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18007 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'` ;;
18008 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18009 if ${ac_cv_lib_soname_krb5:+false} :
18011 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18015 ac_cv_lib_soname_krb5
=
18017 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18018 conftest
$ac_exeext conftest.
$ac_ext
18019 LIBS
=$ac_check_soname_save_LIBS
18021 if ${ac_cv_lib_soname_krb5:+false} :
18023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18024 printf "%s\n" "not found" >&6; }
18027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18028 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18030 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18037 CPPFLAGS
=$ac_save_CPPFLAGS
18040 if test "x$ac_cv_lib_soname_krb5" = "x"
18042 case "x$with_krb5" in
18043 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18045 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18046 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18050 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18052 if test "x$with_gssapi" != "xno"
18054 if ${GSSAPI_CFLAGS:+false} :
18056 if test ${PKG_CONFIG+y}
18058 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18061 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18062 if ${GSSAPI_LIBS:+false} :
18064 if test ${PKG_CONFIG+y}
18066 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18069 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18073 ac_save_CPPFLAGS
=$CPPFLAGS
18074 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18075 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18076 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18078 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18081 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18082 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18084 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18088 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18091 printf %s
"checking for -lgssapi_krb5... " >&6; }
18092 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18094 printf %s
"(cached) " >&6
18096 ac_check_soname_save_LIBS
=$LIBS
18097 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18101 /* Override any GCC internal prototype to avoid an error.
18102 Use char because int might match the return type of a GCC
18103 builtin and then its argument prototype would still apply. */
18104 char gss_init_sec_context ();
18108 return gss_init_sec_context ();
18113 if ac_fn_c_try_link
"$LINENO"
18116 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18117 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'` ;;
18118 *) 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'`
18119 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18121 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18125 ac_cv_lib_soname_gssapi_krb5
=
18127 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18128 conftest
$ac_exeext conftest.
$ac_ext
18129 LIBS
=$ac_check_soname_save_LIBS
18131 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18134 printf "%s\n" "not found" >&6; }
18137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18138 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18140 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18147 CPPFLAGS
=$ac_save_CPPFLAGS
18150 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18152 case "x$with_gssapi" in
18153 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18155 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18156 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18161 if test "$ac_cv_header_AL_al_h" = "yes"
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18164 printf %s
"checking for -lopenal... " >&6; }
18165 if test ${ac_cv_lib_soname_openal+y}
18167 printf %s
"(cached) " >&6
18169 ac_check_soname_save_LIBS
=$LIBS
18170 LIBS
="-lopenal $LIBS"
18171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 char alGetSource3i ();
18181 return alGetSource3i ();
18186 if ac_fn_c_try_link
"$LINENO"
18189 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18190 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'` ;;
18191 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18192 if ${ac_cv_lib_soname_openal:+false} :
18194 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18198 ac_cv_lib_soname_openal
=
18200 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18201 conftest
$ac_exeext conftest.
$ac_ext
18202 LIBS
=$ac_check_soname_save_LIBS
18204 if ${ac_cv_lib_soname_openal:+false} :
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18207 printf "%s\n" "not found" >&6; }
18210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18211 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18213 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18215 OPENAL_LIBS
="-lopenal"
18217 ac_cv_lib_openal
=yes
18219 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18223 if test "x$ac_cv_lib_openal" != xyes
18225 case "x$with_openal" in
18226 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18228 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18229 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18231 enable_openal32
=${enable_openal32:-no}
18234 if test "$ac_cv_header_libprocstat_h" = "yes"
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18237 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18238 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18240 printf %s
"(cached) " >&6
18242 ac_check_lib_save_LIBS
=$LIBS
18243 LIBS
="-lprocstat $LIBS"
18244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18247 /* Override any GCC internal prototype to avoid an error.
18248 Use char because int might match the return type of a GCC
18249 builtin and then its argument prototype would still apply. */
18250 char procstat_open_sysctl ();
18254 return procstat_open_sysctl ();
18259 if ac_fn_c_try_link
"$LINENO"
18261 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18263 ac_cv_lib_procstat_procstat_open_sysctl
=no
18265 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18266 conftest
$ac_exeext conftest.
$ac_ext
18267 LIBS
=$ac_check_lib_save_LIBS
18269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18270 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18271 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18274 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18276 PROCSTAT_LIBS
="-lprocstat"
18282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18283 printf %s
"checking for -lodbc... " >&6; }
18284 if test ${ac_cv_lib_soname_odbc+y}
18286 printf %s
"(cached) " >&6
18288 ac_check_soname_save_LIBS
=$LIBS
18289 LIBS
="-lodbc $LIBS"
18290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18293 /* Override any GCC internal prototype to avoid an error.
18294 Use char because int might match the return type of a GCC
18295 builtin and then its argument prototype would still apply. */
18296 char SQLConnect ();
18300 return SQLConnect ();
18305 if ac_fn_c_try_link
"$LINENO"
18308 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18309 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'` ;;
18310 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18311 if ${ac_cv_lib_soname_odbc:+false} :
18313 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18317 ac_cv_lib_soname_odbc
=
18319 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18320 conftest
$ac_exeext conftest.
$ac_ext
18321 LIBS
=$ac_check_soname_save_LIBS
18323 if ${ac_cv_lib_soname_odbc:+false} :
18325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18326 printf "%s\n" "not found" >&6; }
18327 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18331 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18333 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18338 if test "x$with_netapi" != "xno"
18340 if ${NETAPI_CFLAGS:+false} :
18342 if test ${PKG_CONFIG+y}
18344 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18348 if ${NETAPI_LIBS:+false} :
18350 if test ${PKG_CONFIG+y}
18352 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18359 ac_save_CPPFLAGS
=$CPPFLAGS
18360 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18362 printf %s
"checking for -lnetapi... " >&6; }
18363 if test ${ac_cv_lib_soname_netapi+y}
18365 printf %s
"(cached) " >&6
18367 ac_check_soname_save_LIBS
=$LIBS
18368 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18372 /* Override any GCC internal prototype to avoid an error.
18373 Use char because int might match the return type of a GCC
18374 builtin and then its argument prototype would still apply. */
18375 char libnetapi_init ();
18379 return libnetapi_init ();
18384 if ac_fn_c_try_link
"$LINENO"
18387 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18388 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'` ;;
18389 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18390 if ${ac_cv_lib_soname_netapi:+false} :
18392 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18396 ac_cv_lib_soname_netapi
=
18398 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18399 conftest
$ac_exeext conftest.
$ac_ext
18400 LIBS
=$ac_check_soname_save_LIBS
18402 if ${ac_cv_lib_soname_netapi:+false} :
18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18405 printf "%s\n" "not found" >&6; }
18406 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18410 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18412 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18416 CPPFLAGS
=$ac_save_CPPFLAGS
18419 if test "x$ac_cv_lib_soname_netapi" = "x"
18421 case "x$with_netapi" in
18422 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18424 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18425 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18427 enable_netapi
=${enable_netapi:-no}
18431 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18432 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18434 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18437 if test "x$with_vulkan" != "xno"
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18440 printf %s
"checking for -lvulkan... " >&6; }
18441 if test ${ac_cv_lib_soname_vulkan+y}
18443 printf %s
"(cached) " >&6
18445 ac_check_soname_save_LIBS
=$LIBS
18446 LIBS
="-lvulkan $LIBS"
18447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18450 /* Override any GCC internal prototype to avoid an error.
18451 Use char because int might match the return type of a GCC
18452 builtin and then its argument prototype would still apply. */
18453 char vkGetInstanceProcAddr ();
18457 return vkGetInstanceProcAddr ();
18462 if ac_fn_c_try_link
"$LINENO"
18465 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18466 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'` ;;
18467 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18468 if ${ac_cv_lib_soname_vulkan:+false} :
18470 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18474 ac_cv_lib_soname_vulkan
=
18476 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18477 conftest
$ac_exeext conftest.
$ac_ext
18478 LIBS
=$ac_check_soname_save_LIBS
18480 if ${ac_cv_lib_soname_vulkan:+false} :
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18483 printf "%s\n" "not found" >&6; }
18486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18487 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18489 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18493 if test "x$ac_cv_lib_soname_vulkan" = "x"
18495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18496 printf %s
"checking for -lMoltenVK... " >&6; }
18497 if test ${ac_cv_lib_soname_MoltenVK+y}
18499 printf %s
"(cached) " >&6
18501 ac_check_soname_save_LIBS
=$LIBS
18502 LIBS
="-lMoltenVK $LIBS"
18503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18506 /* Override any GCC internal prototype to avoid an error.
18507 Use char because int might match the return type of a GCC
18508 builtin and then its argument prototype would still apply. */
18509 char vkGetInstanceProcAddr ();
18513 return vkGetInstanceProcAddr ();
18518 if ac_fn_c_try_link
"$LINENO"
18521 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18522 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'` ;;
18523 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18524 if ${ac_cv_lib_soname_MoltenVK:+false} :
18526 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18530 ac_cv_lib_soname_MoltenVK
=
18532 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18533 conftest
$ac_exeext conftest.
$ac_ext
18534 LIBS
=$ac_check_soname_save_LIBS
18536 if ${ac_cv_lib_soname_MoltenVK:+false} :
18538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18539 printf "%s\n" "not found" >&6; }
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18543 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18545 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18551 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18553 case "x$with_vulkan" in
18554 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18556 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18557 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18563 if test "x${GCC}" = "xyes"
18565 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18567 saved_CFLAGS
=$CFLAGS
18568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18569 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18570 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18572 printf %s
"(cached) " >&6
18574 ac_wine_try_cflags_saved
=$CFLAGS
18575 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 int main(int argc, char **argv) { return 0; }
18580 if ac_fn_c_try_link
"$LINENO"
18582 ac_cv_cflags__Werror_unknown_warning_option
=yes
18584 ac_cv_cflags__Werror_unknown_warning_option
=no
18586 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18587 conftest
$ac_exeext conftest.
$ac_ext
18588 CFLAGS
=$ac_wine_try_cflags_saved
18590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18591 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18592 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18594 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18597 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18598 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18600 printf %s
"(cached) " >&6
18602 ac_wine_try_cflags_saved
=$CFLAGS
18603 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 int main(int argc, char **argv) { return 0; }
18608 if ac_fn_c_try_link
"$LINENO"
18610 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18612 ac_cv_cflags__Werror_unused_command_line_argument
=no
18614 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18615 conftest
$ac_exeext conftest.
$ac_ext
18616 CFLAGS
=$ac_wine_try_cflags_saved
18618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18619 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18620 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18622 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18625 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18626 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18628 printf %s
"(cached) " >&6
18630 ac_wine_try_cflags_saved
=$CFLAGS
18631 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 int main(int argc, char **argv) { return 0; }
18636 if ac_fn_c_try_link
"$LINENO"
18638 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18640 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18642 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18643 conftest
$ac_exeext conftest.
$ac_ext
18644 CFLAGS
=$ac_wine_try_cflags_saved
18646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18647 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18648 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18650 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18653 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18654 if test ${ac_cv_cflags__fcf_protection_none+y}
18656 printf %s
"(cached) " >&6
18658 ac_wine_try_cflags_saved
=$CFLAGS
18659 CFLAGS
="$CFLAGS -fcf-protection=none"
18660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 int main(int argc, char **argv) { return 0; }
18664 if ac_fn_c_try_link
"$LINENO"
18666 ac_cv_cflags__fcf_protection_none
=yes
18668 ac_cv_cflags__fcf_protection_none
=no
18670 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18671 conftest
$ac_exeext conftest.
$ac_ext
18672 CFLAGS
=$ac_wine_try_cflags_saved
18674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18675 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18676 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18678 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18681 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18682 if test ${ac_cv_cflags__fno_stack_protector+y}
18684 printf %s
"(cached) " >&6
18686 ac_wine_try_cflags_saved
=$CFLAGS
18687 CFLAGS
="$CFLAGS -fno-stack-protector"
18688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 int main(int argc, char **argv) { return 0; }
18692 if ac_fn_c_try_link
"$LINENO"
18694 ac_cv_cflags__fno_stack_protector
=yes
18696 ac_cv_cflags__fno_stack_protector
=no
18698 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18699 conftest
$ac_exeext conftest.
$ac_ext
18700 CFLAGS
=$ac_wine_try_cflags_saved
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18703 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18704 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18706 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18709 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18710 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18712 printf %s
"(cached) " >&6
18714 ac_wine_try_cflags_saved
=$CFLAGS
18715 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 int main(int argc, char **argv) { return 0; }
18720 if ac_fn_c_try_link
"$LINENO"
18722 ac_cv_cflags__fno_strict_aliasing
=yes
18724 ac_cv_cflags__fno_strict_aliasing
=no
18726 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18727 conftest
$ac_exeext conftest.
$ac_ext
18728 CFLAGS
=$ac_wine_try_cflags_saved
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18731 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18732 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18734 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18737 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18738 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18740 printf %s
"(cached) " >&6
18742 ac_wine_try_cflags_saved
=$CFLAGS
18743 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18746 int main(int argc, char **argv) { return 0; }
18748 if ac_fn_c_try_link
"$LINENO"
18750 ac_cv_cflags__Wdeclaration_after_statement
=yes
18752 ac_cv_cflags__Wdeclaration_after_statement
=no
18754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18755 conftest
$ac_exeext conftest.
$ac_ext
18756 CFLAGS
=$ac_wine_try_cflags_saved
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18759 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18760 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18762 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18765 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18766 if test ${ac_cv_cflags__Wempty_body+y}
18768 printf %s
"(cached) " >&6
18770 ac_wine_try_cflags_saved
=$CFLAGS
18771 CFLAGS
="$CFLAGS -Wempty-body"
18772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774 int main(int argc, char **argv) { return 0; }
18776 if ac_fn_c_try_link
"$LINENO"
18778 ac_cv_cflags__Wempty_body
=yes
18780 ac_cv_cflags__Wempty_body
=no
18782 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18783 conftest
$ac_exeext conftest.
$ac_ext
18784 CFLAGS
=$ac_wine_try_cflags_saved
18786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18787 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18788 if test "x$ac_cv_cflags__Wempty_body" = xyes
18790 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18793 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18794 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18796 printf %s
"(cached) " >&6
18798 ac_wine_try_cflags_saved
=$CFLAGS
18799 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18801 /* end confdefs.h. */
18802 int main(int argc, char **argv) { return 0; }
18804 if ac_fn_c_try_link
"$LINENO"
18806 ac_cv_cflags__Wignored_qualifiers
=yes
18808 ac_cv_cflags__Wignored_qualifiers
=no
18810 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18811 conftest
$ac_exeext conftest.
$ac_ext
18812 CFLAGS
=$ac_wine_try_cflags_saved
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18815 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18816 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18818 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18821 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18822 if test ${ac_cv_cflags__Winit_self+y}
18824 printf %s
"(cached) " >&6
18826 ac_wine_try_cflags_saved
=$CFLAGS
18827 CFLAGS
="$CFLAGS -Winit-self"
18828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830 int main(int argc, char **argv) { return 0; }
18832 if ac_fn_c_try_link
"$LINENO"
18834 ac_cv_cflags__Winit_self
=yes
18836 ac_cv_cflags__Winit_self
=no
18838 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18839 conftest
$ac_exeext conftest.
$ac_ext
18840 CFLAGS
=$ac_wine_try_cflags_saved
18842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18843 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18844 if test "x$ac_cv_cflags__Winit_self" = xyes
18846 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18849 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18850 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18852 printf %s
"(cached) " >&6
18854 ac_wine_try_cflags_saved
=$CFLAGS
18855 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858 int main(int argc, char **argv) { return 0; }
18860 if ac_fn_c_try_link
"$LINENO"
18862 ac_cv_cflags__Wpacked_not_aligned
=yes
18864 ac_cv_cflags__Wpacked_not_aligned
=no
18866 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18867 conftest
$ac_exeext conftest.
$ac_ext
18868 CFLAGS
=$ac_wine_try_cflags_saved
18870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18871 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18872 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18874 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18877 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18878 if test ${ac_cv_cflags__Wpragma_pack+y}
18880 printf %s
"(cached) " >&6
18882 ac_wine_try_cflags_saved
=$CFLAGS
18883 CFLAGS
="$CFLAGS -Wpragma-pack"
18884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886 int main(int argc, char **argv) { return 0; }
18888 if ac_fn_c_try_link
"$LINENO"
18890 ac_cv_cflags__Wpragma_pack
=yes
18892 ac_cv_cflags__Wpragma_pack
=no
18894 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18895 conftest
$ac_exeext conftest.
$ac_ext
18896 CFLAGS
=$ac_wine_try_cflags_saved
18898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18899 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18900 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18902 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18905 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18906 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18908 printf %s
"(cached) " >&6
18910 ac_wine_try_cflags_saved
=$CFLAGS
18911 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18914 int main(int argc, char **argv) { return 0; }
18916 if ac_fn_c_try_link
"$LINENO"
18918 ac_cv_cflags__Wshift_overflow_2
=yes
18920 ac_cv_cflags__Wshift_overflow_2
=no
18922 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18923 conftest
$ac_exeext conftest.
$ac_ext
18924 CFLAGS
=$ac_wine_try_cflags_saved
18926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18927 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18928 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18930 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18933 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18934 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18936 printf %s
"(cached) " >&6
18938 ac_wine_try_cflags_saved
=$CFLAGS
18939 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942 int main(int argc, char **argv) { return 0; }
18944 if ac_fn_c_try_link
"$LINENO"
18946 ac_cv_cflags__Wstrict_prototypes
=yes
18948 ac_cv_cflags__Wstrict_prototypes
=no
18950 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18951 conftest
$ac_exeext conftest.
$ac_ext
18952 CFLAGS
=$ac_wine_try_cflags_saved
18954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18955 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18956 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18958 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18961 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18962 if test ${ac_cv_cflags__Wtype_limits+y}
18964 printf %s
"(cached) " >&6
18966 ac_wine_try_cflags_saved
=$CFLAGS
18967 CFLAGS
="$CFLAGS -Wtype-limits"
18968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 int main(int argc, char **argv) { return 0; }
18972 if ac_fn_c_try_link
"$LINENO"
18974 ac_cv_cflags__Wtype_limits
=yes
18976 ac_cv_cflags__Wtype_limits
=no
18978 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18979 conftest
$ac_exeext conftest.
$ac_ext
18980 CFLAGS
=$ac_wine_try_cflags_saved
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18983 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18984 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18986 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18989 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18990 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18992 printf %s
"(cached) " >&6
18994 ac_wine_try_cflags_saved
=$CFLAGS
18995 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 int main(int argc, char **argv) { return 0; }
19000 if ac_fn_c_try_link
"$LINENO"
19002 ac_cv_cflags__Wunused_but_set_parameter
=yes
19004 ac_cv_cflags__Wunused_but_set_parameter
=no
19006 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19007 conftest
$ac_exeext conftest.
$ac_ext
19008 CFLAGS
=$ac_wine_try_cflags_saved
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19011 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19012 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19014 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19017 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19018 if test ${ac_cv_cflags__Wvla+y}
19020 printf %s
"(cached) " >&6
19022 ac_wine_try_cflags_saved
=$CFLAGS
19023 CFLAGS
="$CFLAGS -Wvla"
19024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 int main(int argc, char **argv) { return 0; }
19028 if ac_fn_c_try_link
"$LINENO"
19030 ac_cv_cflags__Wvla
=yes
19032 ac_cv_cflags__Wvla
=no
19034 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19035 conftest
$ac_exeext conftest.
$ac_ext
19036 CFLAGS
=$ac_wine_try_cflags_saved
19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19039 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19040 if test "x$ac_cv_cflags__Wvla" = xyes
19042 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19045 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19046 if test ${ac_cv_cflags__Wwrite_strings+y}
19048 printf %s
"(cached) " >&6
19050 ac_wine_try_cflags_saved
=$CFLAGS
19051 CFLAGS
="$CFLAGS -Wwrite-strings"
19052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19053 /* end confdefs.h. */
19054 int main(int argc, char **argv) { return 0; }
19056 if ac_fn_c_try_link
"$LINENO"
19058 ac_cv_cflags__Wwrite_strings
=yes
19060 ac_cv_cflags__Wwrite_strings
=no
19062 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19063 conftest
$ac_exeext conftest.
$ac_ext
19064 CFLAGS
=$ac_wine_try_cflags_saved
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19067 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19068 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19070 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19074 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19075 if test ${ac_cv_cflags__Wpointer_arith+y}
19077 printf %s
"(cached) " >&6
19079 ac_wine_try_cflags_saved
=$CFLAGS
19080 CFLAGS
="$CFLAGS -Wpointer-arith"
19081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19082 /* end confdefs.h. */
19083 int main(int argc, char **argv) { return 0; }
19085 if ac_fn_c_try_link
"$LINENO"
19087 ac_cv_cflags__Wpointer_arith
=yes
19089 ac_cv_cflags__Wpointer_arith
=no
19091 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19092 conftest
$ac_exeext conftest.
$ac_ext
19093 CFLAGS
=$ac_wine_try_cflags_saved
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19096 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19097 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19099 saved_string_h_CFLAGS
=$CFLAGS
19100 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19102 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19103 if test ${ac_cv_c_string_h_warnings+y}
19105 printf %s
"(cached) " >&6
19107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19108 /* end confdefs.h. */
19109 #include <string.h>
19118 if ac_fn_c_try_compile
"$LINENO"
19120 ac_cv_c_string_h_warnings
=no
19122 ac_cv_c_string_h_warnings
=yes
19124 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19127 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19128 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19129 CFLAGS
=$saved_string_h_CFLAGS
19132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19133 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19134 if test ${ac_cv_cflags__Wlogical_op+y}
19136 printf %s
"(cached) " >&6
19138 ac_wine_try_cflags_saved
=$CFLAGS
19139 CFLAGS
="$CFLAGS -Wlogical-op"
19140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 int main(int argc, char **argv) { return 0; }
19144 if ac_fn_c_try_link
"$LINENO"
19146 ac_cv_cflags__Wlogical_op
=yes
19148 ac_cv_cflags__Wlogical_op
=no
19150 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19151 conftest
$ac_exeext conftest.
$ac_ext
19152 CFLAGS
=$ac_wine_try_cflags_saved
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19155 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19156 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19158 saved_string_h_CFLAGS
=$CFLAGS
19159 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19161 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19162 if test ${ac_cv_c_logicalop_noisy+y}
19164 printf %s
"(cached) " >&6
19166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168 #include <string.h>
19169 char*f(const char *h,char n) {return strchr(h,n);}
19178 if ac_fn_c_try_compile
"$LINENO"
19180 ac_cv_c_logicalop_noisy
=no
19182 ac_cv_c_logicalop_noisy
=yes
19184 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19187 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19188 CFLAGS
=$saved_string_h_CFLAGS
19189 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19193 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19194 if test ${wine_cv_64bit_compare_swap+y}
19196 printf %s
"(cached) " >&6
19198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19199 /* end confdefs.h. */
19200 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19211 if ac_fn_c_try_compile
"$LINENO"
19213 wine_cv_64bit_compare_swap
="none needed"
19216 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19217 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19218 *) wine_cv_64bit_compare_swap
="unknown" ;;
19220 if test "x$wine_cv_64bit_compare_swap" != xunknown
19222 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19236 if ac_fn_c_try_compile
"$LINENO"
19240 wine_cv_64bit_compare_swap
="unknown"
19242 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19243 CFLAGS
=$saved_CFLAGS
19246 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19249 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19250 case "$wine_cv_64bit_compare_swap" in
19251 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19253 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19256 ac_debug_format_seen
=""
19257 for ac_flag
in $CFLAGS; do
19259 -gdwarf*) ac_debug_format_seen
=yes ;;
19260 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19263 if test "x$ac_debug_format_seen" = xdefault
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19266 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19267 if test ${ac_cv_cflags__gdwarf_4+y}
19269 printf %s
"(cached) " >&6
19271 ac_wine_try_cflags_saved
=$CFLAGS
19272 CFLAGS
="$CFLAGS -gdwarf-4"
19273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 int main(int argc, char **argv) { return 0; }
19277 if ac_fn_c_try_link
"$LINENO"
19279 ac_cv_cflags__gdwarf_4
=yes
19281 ac_cv_cflags__gdwarf_4
=no
19283 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19284 conftest
$ac_exeext conftest.
$ac_ext
19285 CFLAGS
=$ac_wine_try_cflags_saved
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19288 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19289 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19291 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19298 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19299 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19300 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19302 printf %s
"(cached) " >&6
19304 ac_wine_try_cflags_saved
=$CFLAGS
19305 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 int main(int argc, char **argv) { return 0; }
19310 if ac_fn_c_try_link
"$LINENO"
19312 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19314 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19316 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19317 conftest
$ac_exeext conftest.
$ac_ext
19318 CFLAGS
=$ac_wine_try_cflags_saved
19320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19321 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19322 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19324 DELAYLOADFLAG
="-Wl,-delayload,"
19327 *) MSVCRTFLAGS
="-D_WIN32"
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19329 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19330 if test ${ac_cv_cflags__fno_builtin+y}
19332 printf %s
"(cached) " >&6
19334 ac_wine_try_cflags_saved
=$CFLAGS
19335 CFLAGS
="$CFLAGS -fno-builtin"
19336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19338 int main(int argc, char **argv) { return 0; }
19340 if ac_fn_c_try_link
"$LINENO"
19342 ac_cv_cflags__fno_builtin
=yes
19344 ac_cv_cflags__fno_builtin
=no
19346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19347 conftest
$ac_exeext conftest.
$ac_ext
19348 CFLAGS
=$ac_wine_try_cflags_saved
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19351 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19352 if test "x$ac_cv_cflags__fno_builtin" = xyes
19354 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19357 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19358 if test ${ac_cv_cflags__fshort_wchar+y}
19360 printf %s
"(cached) " >&6
19362 ac_wine_try_cflags_saved
=$CFLAGS
19363 CFLAGS
="$CFLAGS -fshort-wchar"
19364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19365 /* end confdefs.h. */
19366 int main(int argc, char **argv) { return 0; }
19368 if ac_fn_c_try_link
"$LINENO"
19370 ac_cv_cflags__fshort_wchar
=yes
19372 ac_cv_cflags__fshort_wchar
=no
19374 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19375 conftest
$ac_exeext conftest.
$ac_ext
19376 CFLAGS
=$ac_wine_try_cflags_saved
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19379 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19380 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19382 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19385 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19386 if test ${ac_cv_cflags__Wno_format+y}
19388 printf %s
"(cached) " >&6
19390 ac_wine_try_cflags_saved
=$CFLAGS
19391 CFLAGS
="$CFLAGS -Wno-format"
19392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19394 int main(int argc, char **argv) { return 0; }
19396 if ac_fn_c_try_link
"$LINENO"
19398 ac_cv_cflags__Wno_format
=yes
19400 ac_cv_cflags__Wno_format
=no
19402 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19403 conftest
$ac_exeext conftest.
$ac_ext
19404 CFLAGS
=$ac_wine_try_cflags_saved
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19407 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19408 if test "x$ac_cv_cflags__Wno_format" = xyes
19410 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19415 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19416 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19417 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19419 printf %s
"(cached) " >&6
19421 ac_wine_try_cflags_saved
=$CFLAGS
19422 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19425 int main(int argc, char **argv) { return 0; }
19427 if ac_fn_c_try_link
"$LINENO"
19429 ac_cv_cflags__fno_omit_frame_pointer
=yes
19431 ac_cv_cflags__fno_omit_frame_pointer
=no
19433 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19434 conftest
$ac_exeext conftest.
$ac_ext
19435 CFLAGS
=$ac_wine_try_cflags_saved
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19438 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19439 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19441 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19445 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19446 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19447 if test ${ac_cv_cflags__Wno_format+y}
19449 printf %s
"(cached) " >&6
19451 ac_wine_try_cflags_saved
=$CFLAGS
19452 CFLAGS
="$CFLAGS -Wno-format"
19453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 int main(int argc, char **argv) { return 0; }
19457 if ac_fn_c_try_link
"$LINENO"
19459 ac_cv_cflags__Wno_format
=yes
19461 ac_cv_cflags__Wno_format
=no
19463 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19464 conftest
$ac_exeext conftest.
$ac_ext
19465 CFLAGS
=$ac_wine_try_cflags_saved
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19468 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19469 if test "x$ac_cv_cflags__Wno_format" = xyes
19471 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19473 *) if test -z "$PE_ARCHS"
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19476 printf %s
"checking for working -mabi=ms... " >&6; }
19477 if test ${ac_cv_mabi_ms+y}
19479 printf %s
"(cached) " >&6
19481 CFLAGS
="$CFLAGS -mabi=ms"
19482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484 #include <stdarg.h>
19485 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19494 if ac_fn_c_try_compile
"$LINENO"
19500 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19501 CFLAGS
=$saved_CFLAGS
19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19504 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19505 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
19507 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19511 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19512 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19514 printf %s
"(cached) " >&6
19516 ac_wine_try_cflags_saved
=$CFLAGS
19517 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 int main(int argc, char **argv) { return 0; }
19522 if ac_fn_c_try_link
"$LINENO"
19524 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19526 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19528 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19529 conftest
$ac_exeext conftest.
$ac_ext
19530 CFLAGS
=$ac_wine_try_cflags_saved
19532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19533 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19534 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19536 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19540 CFLAGS
=$saved_CFLAGS
19542 if test "x$enable_werror" = "xyes"
19544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19545 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19546 if test ${ac_cv_cflags__Werror+y}
19548 printf %s
"(cached) " >&6
19550 ac_wine_try_cflags_saved
=$CFLAGS
19551 CFLAGS
="$CFLAGS -Werror"
19552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 int main(int argc, char **argv) { return 0; }
19556 if ac_fn_c_try_link
"$LINENO"
19558 ac_cv_cflags__Werror
=yes
19560 ac_cv_cflags__Werror
=no
19562 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19563 conftest
$ac_exeext conftest.
$ac_ext
19564 CFLAGS
=$ac_wine_try_cflags_saved
19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19567 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19568 if test "x$ac_cv_cflags__Werror" = xyes
19570 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19573 if test "x$enable_build_id" = "xyes"
19575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19576 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19577 if test ${ac_cv_cflags__Wl___build_id+y}
19579 printf %s
"(cached) " >&6
19581 ac_wine_try_cflags_saved
=$CFLAGS
19582 CFLAGS
="$CFLAGS -Wl,--build-id"
19583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19584 /* end confdefs.h. */
19585 int main(int argc, char **argv) { return 0; }
19587 if ac_fn_c_try_link
"$LINENO"
19589 ac_cv_cflags__Wl___build_id
=yes
19591 ac_cv_cflags__Wl___build_id
=no
19593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19594 conftest
$ac_exeext conftest.
$ac_ext
19595 CFLAGS
=$ac_wine_try_cflags_saved
19597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19598 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19599 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19601 CFLAGS
="$CFLAGS -Wl,--build-id"
19602 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19609 printf %s
"checking for the need to disable Fortify... " >&6; }
19610 if test ${ac_cv_c_fortify_enabled+y}
19612 printf %s
"(cached) " >&6
19614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19616 #include <string.h>
19620 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19621 #error Fortify enabled
19627 if ac_fn_c_try_compile
"$LINENO"
19629 ac_cv_c_fortify_enabled
=no
19631 ac_cv_c_fortify_enabled
=yes
19633 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19636 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19637 if test "$ac_cv_c_fortify_enabled" = yes
19639 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19644 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19645 if test ${ac_cv_c_cfi_support+y}
19647 printf %s
"(cached) " >&6
19649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19660 if ac_fn_c_try_compile
"$LINENO"
19662 ac_cv_c_cfi_support
="yes"
19664 ac_cv_c_cfi_support
="no"
19666 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19669 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19670 if test "$ac_cv_c_cfi_support" = "yes"
19672 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19673 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19674 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19675 elif test $HOST_ARCH = x86_64
19677 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19684 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19685 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19686 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19693 ac_save_CFLAGS
="$CFLAGS"
19694 CFLAGS
="$CFLAGS $BUILTINFLAG"
19695 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19696 if test "x$ac_cv_func_epoll_create" = xyes
19698 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19701 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19702 if test "x$ac_cv_func_fstatfs" = xyes
19704 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19707 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19708 if test "x$ac_cv_func_futimens" = xyes
19710 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19713 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19714 if test "x$ac_cv_func_futimes" = xyes
19716 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19719 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19720 if test "x$ac_cv_func_futimesat" = xyes
19722 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19725 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19726 if test "x$ac_cv_func_getattrlist" = xyes
19728 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19731 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19732 if test "x$ac_cv_func_getauxval" = xyes
19734 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19737 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19738 if test "x$ac_cv_func_getifaddrs" = xyes
19740 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19743 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19744 if test "x$ac_cv_func_getrandom" = xyes
19746 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19749 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19750 if test "x$ac_cv_func_kqueue" = xyes
19752 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19755 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19756 if test "x$ac_cv_func_mach_continuous_time" = xyes
19758 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19761 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19762 if test "x$ac_cv_func_pipe2" = xyes
19764 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19767 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19768 if test "x$ac_cv_func_port_create" = xyes
19770 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19773 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19774 if test "x$ac_cv_func_posix_fadvise" = xyes
19776 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19779 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19780 if test "x$ac_cv_func_posix_fallocate" = xyes
19782 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19785 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19786 if test "x$ac_cv_func_prctl" = xyes
19788 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19791 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19792 if test "x$ac_cv_func_proc_pidinfo" = xyes
19794 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19797 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19798 if test "x$ac_cv_func_sched_yield" = xyes
19800 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19803 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19804 if test "x$ac_cv_func_setproctitle" = xyes
19806 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19809 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19810 if test "x$ac_cv_func_setprogname" = xyes
19812 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19815 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19816 if test "x$ac_cv_func_sigprocmask" = xyes
19818 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19821 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19822 if test "x$ac_cv_func_sysinfo" = xyes
19824 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19827 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19828 if test "x$ac_cv_func_tcdrain" = xyes
19830 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19833 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19834 if test "x$ac_cv_func_thr_kill2" = xyes
19836 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19840 CFLAGS
="$ac_save_CFLAGS"
19842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19843 printf %s
"checking for library containing dlopen... " >&6; }
19844 if test ${ac_cv_search_dlopen+y}
19846 printf %s
"(cached) " >&6
19848 ac_func_search_save_LIBS
=$LIBS
19849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19852 /* Override any GCC internal prototype to avoid an error.
19853 Use char because int might match the return type of a GCC
19854 builtin and then its argument prototype would still apply. */
19864 for ac_lib
in '' dl
19866 if test -z "$ac_lib"; then
19867 ac_res
="none required"
19870 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19872 if ac_fn_c_try_link
"$LINENO"
19874 ac_cv_search_dlopen
=$ac_res
19876 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19878 if test ${ac_cv_search_dlopen+y}
19883 if test ${ac_cv_search_dlopen+y}
19887 ac_cv_search_dlopen
=no
19889 rm conftest.
$ac_ext
19890 LIBS
=$ac_func_search_save_LIBS
19892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19893 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19894 ac_res
=$ac_cv_search_dlopen
19895 if test "$ac_res" != no
19897 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19901 ac_wine_check_funcs_save_LIBS
="$LIBS"
19902 LIBS
="$LIBS $DL_LIBS"
19903 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19904 if test "x$ac_cv_func_dlinfo" = xyes
19906 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19910 LIBS
="$ac_wine_check_funcs_save_LIBS"
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19913 printf %s
"checking for library containing gethostbyname... " >&6; }
19914 if test ${ac_cv_search_gethostbyname+y}
19916 printf %s
"(cached) " >&6
19918 ac_func_search_save_LIBS
=$LIBS
19919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19920 /* end confdefs.h. */
19922 /* Override any GCC internal prototype to avoid an error.
19923 Use char because int might match the return type of a GCC
19924 builtin and then its argument prototype would still apply. */
19925 char gethostbyname ();
19929 return gethostbyname ();
19934 for ac_lib
in '' nsl
19936 if test -z "$ac_lib"; then
19937 ac_res
="none required"
19940 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19942 if ac_fn_c_try_link
"$LINENO"
19944 ac_cv_search_gethostbyname
=$ac_res
19946 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19948 if test ${ac_cv_search_gethostbyname+y}
19953 if test ${ac_cv_search_gethostbyname+y}
19957 ac_cv_search_gethostbyname
=no
19959 rm conftest.
$ac_ext
19960 LIBS
=$ac_func_search_save_LIBS
19962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19963 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19964 ac_res
=$ac_cv_search_gethostbyname
19965 if test "$ac_res" != no
19967 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19973 printf %s
"checking for library containing connect... " >&6; }
19974 if test ${ac_cv_search_connect+y}
19976 printf %s
"(cached) " >&6
19978 ac_func_search_save_LIBS
=$LIBS
19979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19982 /* Override any GCC internal prototype to avoid an error.
19983 Use char because int might match the return type of a GCC
19984 builtin and then its argument prototype would still apply. */
19994 for ac_lib
in '' socket
19996 if test -z "$ac_lib"; then
19997 ac_res
="none required"
20000 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20002 if ac_fn_c_try_link
"$LINENO"
20004 ac_cv_search_connect
=$ac_res
20006 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20008 if test ${ac_cv_search_connect+y}
20013 if test ${ac_cv_search_connect+y}
20017 ac_cv_search_connect
=no
20019 rm conftest.
$ac_ext
20020 LIBS
=$ac_func_search_save_LIBS
20022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20023 printf "%s\n" "$ac_cv_search_connect" >&6; }
20024 ac_res
=$ac_cv_search_connect
20025 if test "$ac_res" != no
20027 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20033 printf %s
"checking for library containing inet_aton... " >&6; }
20034 if test ${ac_cv_search_inet_aton+y}
20036 printf %s
"(cached) " >&6
20038 ac_func_search_save_LIBS
=$LIBS
20039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20042 /* Override any GCC internal prototype to avoid an error.
20043 Use char because int might match the return type of a GCC
20044 builtin and then its argument prototype would still apply. */
20049 return inet_aton ();
20054 for ac_lib
in '' resolv
20056 if test -z "$ac_lib"; then
20057 ac_res
="none required"
20060 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20062 if ac_fn_c_try_link
"$LINENO"
20064 ac_cv_search_inet_aton
=$ac_res
20066 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20068 if test ${ac_cv_search_inet_aton+y}
20073 if test ${ac_cv_search_inet_aton+y}
20077 ac_cv_search_inet_aton
=no
20079 rm conftest.
$ac_ext
20080 LIBS
=$ac_func_search_save_LIBS
20082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20083 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20084 ac_res
=$ac_cv_search_inet_aton
20085 if test "$ac_res" != no
20087 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20092 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20093 if test "x$ac_cv_func_getaddrinfo" = xyes
20095 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20101 darwin
*|macosx
*) ;;
20102 *) ac_save_LIBS
=$LIBS
20103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20104 printf %s
"checking for library containing clock_gettime... " >&6; }
20105 if test ${ac_cv_search_clock_gettime+y}
20107 printf %s
"(cached) " >&6
20109 ac_func_search_save_LIBS
=$LIBS
20110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20111 /* end confdefs.h. */
20113 /* Override any GCC internal prototype to avoid an error.
20114 Use char because int might match the return type of a GCC
20115 builtin and then its argument prototype would still apply. */
20116 char clock_gettime ();
20120 return clock_gettime ();
20125 for ac_lib
in '' rt
20127 if test -z "$ac_lib"; then
20128 ac_res
="none required"
20131 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20133 if ac_fn_c_try_link
"$LINENO"
20135 ac_cv_search_clock_gettime
=$ac_res
20137 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20139 if test ${ac_cv_search_clock_gettime+y}
20144 if test ${ac_cv_search_clock_gettime+y}
20148 ac_cv_search_clock_gettime
=no
20150 rm conftest.
$ac_ext
20151 LIBS
=$ac_func_search_save_LIBS
20153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20154 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20155 ac_res
=$ac_cv_search_clock_gettime
20156 if test "$ac_res" != no
20158 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20160 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20162 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20170 if test "x$with_ldap" != "xno"
20172 if ${LDAP_CFLAGS:+false} :
20174 if test ${PKG_CONFIG+y}
20176 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20180 if ${LDAP_LIBS:+false} :
20182 if test ${PKG_CONFIG+y}
20184 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20188 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20191 ac_save_CPPFLAGS
=$CPPFLAGS
20192 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20193 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20194 if test "x$ac_cv_header_ldap_h" = xyes
20196 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20199 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20200 if test "x$ac_cv_header_lber_h" = xyes
20202 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20206 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20208 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20210 if test "x$ac_cv_type_LDAPSortKey" = xyes
20212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20213 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20214 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20216 printf %s
"(cached) " >&6
20218 ac_check_lib_save_LIBS
=$LIBS
20219 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20221 /* end confdefs.h. */
20223 /* Override any GCC internal prototype to avoid an error.
20224 Use char because int might match the return type of a GCC
20225 builtin and then its argument prototype would still apply. */
20226 char ldap_initialize ();
20230 return ldap_initialize ();
20235 if ac_fn_c_try_link
"$LINENO"
20237 ac_cv_lib_ldap_ldap_initialize
=yes
20239 ac_cv_lib_ldap_ldap_initialize
=no
20241 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20242 conftest
$ac_exeext conftest.
$ac_ext
20243 LIBS
=$ac_check_lib_save_LIBS
20245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20246 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20247 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20250 printf %s
"checking for ber_init in -llber... " >&6; }
20251 if test ${ac_cv_lib_lber_ber_init+y}
20253 printf %s
"(cached) " >&6
20255 ac_check_lib_save_LIBS
=$LIBS
20256 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20260 /* Override any GCC internal prototype to avoid an error.
20261 Use char because int might match the return type of a GCC
20262 builtin and then its argument prototype would still apply. */
20267 return ber_init ();
20272 if ac_fn_c_try_link
"$LINENO"
20274 ac_cv_lib_lber_ber_init
=yes
20276 ac_cv_lib_lber_ber_init
=no
20278 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20279 conftest
$ac_exeext conftest.
$ac_ext
20280 LIBS
=$ac_check_lib_save_LIBS
20282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20283 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20284 if test "x$ac_cv_lib_lber_ber_init" = xyes
20287 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20304 CPPFLAGS
=$ac_save_CPPFLAGS
20307 if test "x$LDAP_LIBS" = "x"
20309 case "x$with_ldap" in
20310 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20312 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20313 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20319 printf %s
"checking for sched_setaffinity... " >&6; }
20320 if test ${wine_cv_have_sched_setaffinity+y}
20322 printf %s
"(cached) " >&6
20324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20325 /* end confdefs.h. */
20330 sched_setaffinity(0, 0, 0);
20335 if ac_fn_c_try_link
"$LINENO"
20337 wine_cv_have_sched_setaffinity
=yes
20339 wine_cv_have_sched_setaffinity
=no
20341 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20342 conftest
$ac_exeext conftest.
$ac_ext
20344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20345 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20346 if test "$wine_cv_have_sched_setaffinity" = "yes"
20349 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20355 printf %s
"checking for inline... " >&6; }
20356 if test ${ac_cv_c_inline+y}
20358 printf %s
"(cached) " >&6
20361 for ac_kw
in inline __inline__ __inline
; do
20362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20363 /* end confdefs.h. */
20364 #ifndef __cplusplus
20366 static $ac_kw foo_t static_foo (void) {return 0; }
20367 $ac_kw foo_t foo (void) {return 0; }
20371 if ac_fn_c_try_compile
"$LINENO"
20373 ac_cv_c_inline
=$ac_kw
20375 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20376 test "$ac_cv_c_inline" != no
&& break
20380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20381 printf "%s\n" "$ac_cv_c_inline" >&6; }
20383 case $ac_cv_c_inline in
20386 case $ac_cv_c_inline in
20388 *) ac_val
=$ac_cv_c_inline;;
20390 cat >>confdefs.h
<<_ACEOF
20391 #ifndef __cplusplus
20392 #define inline $ac_val
20398 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20399 #include <signal.h>
20401 if test "x$ac_cv_type_sigset_t" = xyes
20404 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20409 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20411 if test "x$ac_cv_type_request_sense" = xyes
20414 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20420 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20421 #include <sys/socket.h>
20422 #ifdef HAVE_SYS_SOCKETVAR_H
20423 #include <sys/socketvar.h>
20425 #ifdef HAVE_NET_ROUTE_H
20426 #include <net/route.h>
20428 #ifdef HAVE_NETINET_IN_H
20429 #include <netinet/in.h>
20431 #ifdef HAVE_NETINET_IN_SYSTM_H
20432 #include <netinet/in_systm.h>
20434 #ifdef HAVE_NETINET_IP_H
20435 #include <netinet/ip.h>
20437 #ifdef HAVE_NETINET_IN_PCB_H
20438 #include <netinet/in_pcb.h>
20441 if test "x$ac_cv_type_struct_xinpgen" = xyes
20444 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20451 printf %s
"checking for sigaddset... " >&6; }
20452 if test ${wine_cv_have_sigaddset+y}
20454 printf %s
"(cached) " >&6
20456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20458 #include <signal.h>
20462 sigset_t set; sigaddset(&set,SIGTERM);
20467 if ac_fn_c_try_link
"$LINENO"
20469 wine_cv_have_sigaddset
=yes
20471 wine_cv_have_sigaddset
=no
20473 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20474 conftest
$ac_exeext conftest.
$ac_ext
20476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20477 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20478 if test "$wine_cv_have_sigaddset" = "yes"
20481 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20487 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20488 if test ${wine_cv_linux_gethostbyname_r_6+y}
20490 printf %s
"(cached) " >&6
20492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20501 struct hostent *result;
20508 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20509 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20515 if ac_fn_c_try_link
"$LINENO"
20517 wine_cv_linux_gethostbyname_r_6
=yes
20519 wine_cv_linux_gethostbyname_r_6
=no
20522 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20523 conftest
$ac_exeext conftest.
$ac_ext
20526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20527 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20528 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20531 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20535 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20536 #include <sys/socket.h>
20537 #ifdef HAVE_SYS_UN_H
20538 # include <sys/un.h>
20541 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20544 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20548 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20549 #include <sys/socket.h>
20550 #ifdef HAVE_SYS_UN_H
20551 # include <sys/un.h>
20554 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20557 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20563 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20564 #ifdef HAVE_SCSI_SG_H
20565 #include <scsi/sg.h>
20568 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20571 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20575 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>
20576 #ifdef HAVE_SCSI_SG_H
20577 #include <scsi/sg.h>
20580 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20583 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20589 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20591 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20594 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20600 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20601 #ifdef HAVE_SYS_MTIO_H
20602 #include <sys/mtio.h>
20605 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20608 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20612 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20613 #ifdef HAVE_SYS_MTIO_H
20614 #include <sys/mtio.h>
20617 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20620 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20624 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_MTIO_H
20626 #include <sys/mtio.h>
20629 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20632 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20638 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20639 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20642 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20646 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20647 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20650 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20654 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20655 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20658 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20662 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20663 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20666 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20670 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20671 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20674 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20678 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20679 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20682 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20686 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20687 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20690 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20694 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20695 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20698 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20702 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20703 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20706 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20710 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20711 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20714 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20718 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20719 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20722 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20728 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>
20729 #ifdef HAVE_NETINET_IN_H
20730 #include <netinet/in.h>
20733 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20736 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20742 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
20743 #include <resolv.h>
20746 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20749 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20755 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20756 #include <netinet/in.h>
20759 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20762 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20768 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20769 #ifdef HAVE_SYS_SOCKETVAR_H
20770 #include <sys/socketvar.h>
20772 #ifdef HAVE_NETINET_IN_H
20773 #include <netinet/in.h>
20775 #ifdef HAVE_NETINET_IP_VAR_H
20776 #include <netinet/ip_var.h>
20779 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20782 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20788 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
20789 #include <netinet/ip_var.h>
20792 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20795 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20801 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20802 #ifdef HAVE_SYS_SOCKETVAR_H
20803 #include <sys/socketvar.h>
20805 #ifdef HAVE_NETINET_IN_H
20806 #include <netinet/in.h>
20808 #ifdef HAVE_NETINET6_IP6_VAR_H
20809 #include <netinet6/ip6_var.h>
20812 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20815 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20821 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20822 #ifdef HAVE_SYS_SOCKETVAR_H
20823 #include <sys/socketvar.h>
20825 #ifdef HAVE_NETINET_IN_H
20826 #include <netinet/in.h>
20828 #ifdef HAVE_NETINET_IP_H
20829 #include <netinet/ip.h>
20831 #ifdef HAVE_NETINET_IP_ICMP_H
20832 #include <netinet/ip_icmp.h>
20834 #ifdef HAVE_NETINET_ICMP_VAR_H
20835 #include <netinet/icmp_var.h>
20838 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20841 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20847 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20848 #ifdef HAVE_SYS_SOCKETVAR_H
20849 #include <sys/socketvar.h>
20851 #ifdef HAVE_NETINET_IN_H
20852 #include <netinet/in.h>
20854 #ifdef HAVE_NETINET_ICMP6_H
20855 #include <netinet/icmp6.h>
20858 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20861 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20867 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20868 #ifdef HAVE_SYS_SOCKETVAR_H
20869 #include <sys/socketvar.h>
20871 #ifdef HAVE_NETINET_IN_H
20872 #include <netinet/in.h>
20874 #ifdef HAVE_NETINET_TCP_H
20875 #include <netinet/tcp.h>
20877 #ifdef HAVE_NETINET_TCP_VAR_H
20878 #include <netinet/tcp_var.h>
20881 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20884 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20890 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
20891 #include <netinet/tcp_var.h>
20894 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20897 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20903 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20904 #ifdef HAVE_NETINET_IN_H
20905 #include <netinet/in.h>
20907 #ifdef HAVE_NETINET_IP_VAR_H
20908 #include <netinet/ip_var.h>
20910 #ifdef HAVE_NETINET_UDP_H
20911 #include <netinet/udp.h>
20913 #ifdef HAVE_NETINET_UDP_VAR_H
20914 #include <netinet/udp_var.h>
20917 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20920 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20926 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20927 #ifdef HAVE_NET_IF_H
20928 # include <net/if.h>
20931 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20934 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20940 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20941 # include <sys/sysinfo.h>
20944 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20947 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20951 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20952 # include <sys/sysinfo.h>
20955 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20958 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20964 LIBS
="$ac_save_LIBS"
20966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20967 printf %s
"checking for __builtin_popcount... " >&6; }
20968 if test ${ac_cv_have___builtin_popcount+y}
20970 printf %s
"(cached) " >&6
20972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20978 return __builtin_popcount(1)
20983 if ac_fn_c_try_link
"$LINENO"
20985 ac_cv_have___builtin_popcount
="yes"
20987 ac_cv_have___builtin_popcount
="no"
20989 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20990 conftest
$ac_exeext conftest.
$ac_ext
20992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20993 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20994 if test "$ac_cv_have___builtin_popcount" = "yes"
20997 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21002 printf %s
"checking for __clear_cache... " >&6; }
21003 if test ${ac_cv_have___clear_cache+y}
21005 printf %s
"(cached) " >&6
21007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21013 __clear_cache((void*)0, (void*)0); return 0;
21018 if ac_fn_c_try_link
"$LINENO"
21020 ac_cv_have___clear_cache
="yes"
21022 ac_cv_have___clear_cache
="no"
21024 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
21025 conftest
$ac_exeext conftest.
$ac_ext
21027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21028 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21029 if test "$ac_cv_have___clear_cache" = "yes"
21032 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21038 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21039 printf %s
"checking whether we need to define __i386__... " >&6; }
21040 if test ${ac_cv_cpp_def___i386__+y}
21042 printf %s
"(cached) " >&6
21044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21051 $EGREP "yes" >/dev
/null
2>&1
21053 ac_cv_cpp_def___i386__
=yes
21055 ac_cv_cpp_def___i386__
=no
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21061 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21062 if test "x$ac_cv_cpp_def___i386__" = xyes
21064 CFLAGS
="$CFLAGS -D__i386__"
21065 LINTFLAGS
="$LINTFLAGS -D__i386__"
21067 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21068 printf %s
"checking whether we need to define __x86_64__... " >&6; }
21069 if test ${ac_cv_cpp_def___x86_64__+y}
21071 printf %s
"(cached) " >&6
21073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21080 $EGREP "yes" >/dev
/null
2>&1
21082 ac_cv_cpp_def___x86_64__
=yes
21084 ac_cv_cpp_def___x86_64__
=no
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21090 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21091 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21093 CFLAGS
="$CFLAGS -D__x86_64__"
21094 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21096 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21097 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21098 if test ${ac_cv_cpp_def___sparc64__+y}
21100 printf %s
"(cached) " >&6
21102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21103 /* end confdefs.h. */
21104 #ifndef __sparc64__
21108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21109 $EGREP "yes" >/dev
/null
2>&1
21111 ac_cv_cpp_def___sparc64__
=yes
21113 ac_cv_cpp_def___sparc64__
=no
21118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21119 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21120 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21122 CFLAGS
="$CFLAGS -D__sparc64__"
21123 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21125 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21126 printf %s
"checking whether we need to define __sparc__... " >&6; }
21127 if test ${ac_cv_cpp_def___sparc__+y}
21129 printf %s
"(cached) " >&6
21131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21132 /* end confdefs.h. */
21137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21138 $EGREP "yes" >/dev
/null
2>&1
21140 ac_cv_cpp_def___sparc__
=yes
21142 ac_cv_cpp_def___sparc__
=no
21147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21148 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21149 if test "x$ac_cv_cpp_def___sparc__" = xyes
21151 CFLAGS
="$CFLAGS -D__sparc__"
21152 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21154 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21155 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21156 if test ${ac_cv_cpp_def___powerpc64__+y}
21158 printf %s
"(cached) " >&6
21160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21162 #ifndef __powerpc64__
21166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21167 $EGREP "yes" >/dev
/null
2>&1
21169 ac_cv_cpp_def___powerpc64__
=yes
21171 ac_cv_cpp_def___powerpc64__
=no
21176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21177 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21178 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21180 CFLAGS
="$CFLAGS -D__powerpc64__"
21181 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21183 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21184 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21185 if test ${ac_cv_cpp_def___powerpc__+y}
21187 printf %s
"(cached) " >&6
21189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21191 #ifndef __powerpc__
21195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21196 $EGREP "yes" >/dev
/null
2>&1
21198 ac_cv_cpp_def___powerpc__
=yes
21200 ac_cv_cpp_def___powerpc__
=no
21205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21206 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21207 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21209 CFLAGS
="$CFLAGS -D__powerpc__"
21210 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21212 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21213 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21214 if test ${ac_cv_cpp_def___aarch64__+y}
21216 printf %s
"(cached) " >&6
21218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220 #ifndef __aarch64__
21224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21225 $EGREP "yes" >/dev
/null
2>&1
21227 ac_cv_cpp_def___aarch64__
=yes
21229 ac_cv_cpp_def___aarch64__
=no
21234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21235 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21236 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21238 CFLAGS
="$CFLAGS -D__aarch64__"
21239 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21241 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21242 printf %s
"checking whether we need to define __arm__... " >&6; }
21243 if test ${ac_cv_cpp_def___arm__+y}
21245 printf %s
"(cached) " >&6
21247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21254 $EGREP "yes" >/dev
/null
2>&1
21256 ac_cv_cpp_def___arm__
=yes
21258 ac_cv_cpp_def___arm__
=no
21263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21264 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21265 if test "x$ac_cv_cpp_def___arm__" = xyes
21267 CFLAGS
="$CFLAGS -D__arm__"
21268 LINTFLAGS
="$LINTFLAGS -D__arm__"
21272 case $host_vendor in
21273 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21274 printf %s
"checking whether we need to define __sun__... " >&6; }
21275 if test ${ac_cv_cpp_def___sun__+y}
21277 printf %s
"(cached) " >&6
21279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21280 /* end confdefs.h. */
21285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21286 $EGREP "yes" >/dev
/null
2>&1
21288 ac_cv_cpp_def___sun__
=yes
21290 ac_cv_cpp_def___sun__
=no
21295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21296 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21297 if test "x$ac_cv_cpp_def___sun__" = xyes
21299 CFLAGS
="$CFLAGS -D__sun__"
21300 LINTFLAGS
="$LINTFLAGS -D__sun__"
21308 ac_config_commands
="$ac_config_commands include/stamp-h"
21310 printf %s
"creating Makefile rules..." >&6
21313 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21316 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21318 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21319 wine_fn_config_symlink wine
21320 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21321 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21322 wine_fn_config_symlink wine64
21325 wine_fn_config_makefile dlls
/acledit enable_acledit
21326 wine_fn_config_makefile dlls
/aclui enable_aclui
21327 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21328 wine_fn_config_makefile dlls
/activeds enable_activeds
21329 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21330 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21331 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21332 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21333 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21334 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21335 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21336 wine_fn_config_makefile dlls
/advpack enable_advpack
21337 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21338 wine_fn_config_makefile dlls
/amsi enable_amsi
21339 wine_fn_config_makefile dlls
/amstream enable_amstream
21340 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21341 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21342 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21343 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21344 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21345 wine_fn_config_makefile dlls
/atl enable_atl
21346 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21347 wine_fn_config_makefile dlls
/atl100 enable_atl100
21348 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21349 wine_fn_config_makefile dlls
/atl110 enable_atl110
21350 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21351 wine_fn_config_makefile dlls
/atl80 enable_atl80
21352 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21353 wine_fn_config_makefile dlls
/atl90 enable_atl90
21354 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21355 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21356 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21357 wine_fn_config_makefile dlls
/authz enable_authz
21358 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21359 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21360 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21361 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21362 wine_fn_config_makefile dlls
/avrt enable_avrt
21363 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21364 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21365 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21366 wine_fn_config_makefile dlls
/browseui enable_browseui
21367 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21368 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21369 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21370 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21371 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21372 wine_fn_config_makefile dlls
/cards enable_cards
21373 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21374 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21375 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21376 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21377 wine_fn_config_makefile dlls
/combase enable_combase
21378 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21379 wine_fn_config_makefile dlls
/comcat enable_comcat
21380 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21381 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21382 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21383 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21384 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21385 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21386 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21387 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21388 wine_fn_config_makefile dlls
/compstui enable_compstui
21389 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21390 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21391 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21392 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21393 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21394 wine_fn_config_makefile dlls
/connect enable_connect
21395 wine_fn_config_makefile dlls
/credui enable_credui
21396 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21397 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21398 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21399 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21400 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21401 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21402 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21403 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21404 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21405 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21406 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21407 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21408 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21409 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21410 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21411 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21412 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21413 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21414 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21415 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21416 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21417 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21418 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21419 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21420 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21421 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21422 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21423 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21424 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21425 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21426 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21427 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21428 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21429 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21430 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21431 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21432 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21433 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21434 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21435 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21436 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21437 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21438 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21439 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21440 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21441 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21442 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21443 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21444 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21445 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21446 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21447 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21448 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21449 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21450 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21451 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21452 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21453 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21454 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21455 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21456 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21457 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21458 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21459 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21460 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21461 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21462 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21463 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21464 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21465 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21466 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21467 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21468 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21469 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21470 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21471 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21472 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21473 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21474 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21475 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21476 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21477 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21478 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21479 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21480 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21481 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21482 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21483 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21484 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21485 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21486 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21487 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21488 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21489 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21490 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21491 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21492 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21493 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21494 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21495 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21496 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21497 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21498 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21499 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21500 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21501 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21502 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21503 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21504 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21505 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21506 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21507 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21508 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21509 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21510 wine_fn_config_makefile dlls
/devenum enable_devenum
21511 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21512 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21513 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21514 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21515 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21516 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21517 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21518 wine_fn_config_makefile dlls
/dinput enable_dinput
21519 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21520 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21521 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21522 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21523 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21524 wine_fn_config_makefile dlls
/dispex enable_dispex
21525 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21526 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21527 wine_fn_config_makefile dlls
/dmband enable_dmband
21528 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21529 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21530 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21531 wine_fn_config_makefile dlls
/dmime enable_dmime
21532 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21533 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21534 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21535 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21536 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21537 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21538 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21539 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21540 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21541 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21542 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21543 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21544 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21545 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21546 wine_fn_config_makefile dlls
/dplay enable_dplay
21547 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21548 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21549 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21550 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21551 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21552 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21553 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21554 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21555 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21556 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21557 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21558 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21559 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21560 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21561 wine_fn_config_makefile dlls
/dsound enable_dsound
21562 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21563 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21564 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21565 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21566 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21567 wine_fn_config_makefile dlls
/dswave enable_dswave
21568 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21569 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21570 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21571 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21572 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21573 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21574 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21575 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21576 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21577 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21578 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21579 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21580 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21581 wine_fn_config_makefile dlls
/esent enable_esent
21582 wine_fn_config_makefile dlls
/evr enable_evr
21583 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21584 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21585 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21586 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21587 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21588 wine_fn_config_makefile dlls
/feclient enable_feclient
21589 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21590 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21591 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21592 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21593 wine_fn_config_makefile dlls
/fusion enable_fusion
21594 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21595 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21596 wine_fn_config_makefile dlls
/gameux enable_gameux
21597 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21598 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21599 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21600 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21601 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21602 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21603 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21604 wine_fn_config_makefile dlls
/glu32 enable_glu32
21605 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21606 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21607 wine_fn_config_makefile dlls
/hal enable_hal
21608 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21609 wine_fn_config_makefile dlls
/hid enable_hid
21610 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21611 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21612 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21613 wine_fn_config_makefile dlls
/hlink enable_hlink
21614 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21615 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21616 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21617 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21618 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21619 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21620 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21621 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21622 wine_fn_config_makefile dlls
/icmp enable_icmp
21623 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21624 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21625 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21626 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21627 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21628 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21629 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21630 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21631 wine_fn_config_makefile dlls
/imm32 enable_imm32
21632 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21633 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21634 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21635 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21636 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21637 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21638 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21639 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21640 wine_fn_config_makefile dlls
/initpki enable_initpki
21641 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21642 wine_fn_config_makefile dlls
/inseng enable_inseng
21643 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21644 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21645 wine_fn_config_makefile dlls
/iprop enable_iprop
21646 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21647 wine_fn_config_makefile dlls
/itircl enable_itircl
21648 wine_fn_config_makefile dlls
/itss enable_itss
21649 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21650 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21651 wine_fn_config_makefile dlls
/jscript enable_jscript
21652 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21653 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21654 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21655 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21656 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21657 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21658 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21659 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21660 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21661 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21662 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21663 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21664 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21665 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21666 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21667 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21668 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21669 wine_fn_config_makefile dlls
/localspl enable_localspl
21670 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21671 wine_fn_config_makefile dlls
/localui enable_localui
21672 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21673 wine_fn_config_makefile dlls
/lz32 enable_lz32
21674 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21675 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21676 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21677 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21678 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21679 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21680 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21681 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21682 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21683 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21684 wine_fn_config_makefile dlls
/mf enable_mf
21685 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21686 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21687 wine_fn_config_makefile dlls
/mferror enable_mferror
21688 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21689 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21690 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21691 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21692 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21693 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21694 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21695 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21696 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21697 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21698 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21699 wine_fn_config_makefile dlls
/midimap enable_midimap
21700 wine_fn_config_makefile dlls
/mlang enable_mlang
21701 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21702 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21703 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21704 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21705 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21706 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21707 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21708 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21709 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21710 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21711 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21712 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21713 wine_fn_config_makefile dlls
/mpr enable_mpr
21714 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21715 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21716 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21717 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21718 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21719 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21720 wine_fn_config_makefile dlls
/msado15 enable_msado15
21721 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21722 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21723 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21724 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21725 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21726 wine_fn_config_makefile dlls
/mscms enable_mscms
21727 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21728 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21729 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21730 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21731 wine_fn_config_makefile dlls
/msctf enable_msctf
21732 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21733 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21734 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21735 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21736 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21737 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21738 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21739 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21740 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21741 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21742 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21743 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21744 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21745 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21746 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21747 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21748 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21749 wine_fn_config_makefile dlls
/msi enable_msi
21750 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21751 wine_fn_config_makefile dlls
/msident enable_msident
21752 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21753 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21754 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21755 wine_fn_config_makefile dlls
/msisip enable_msisip
21756 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21757 wine_fn_config_makefile dlls
/msls31 enable_msls31
21758 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21759 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21760 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21761 wine_fn_config_makefile dlls
/msports enable_msports
21762 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21763 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21764 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21765 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21766 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21767 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21768 wine_fn_config_makefile dlls
/mstask enable_mstask
21769 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21770 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21771 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21772 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21773 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21774 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21775 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21776 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21777 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21778 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21779 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21780 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21781 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21782 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21783 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21784 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21785 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21786 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21787 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21788 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21789 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21790 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21791 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21792 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21793 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21794 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21795 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21796 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21797 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21798 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21799 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21800 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21801 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21802 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21803 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21804 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21805 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21806 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21807 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21808 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21809 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21810 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21811 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21812 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21813 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21814 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21815 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21816 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21817 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21818 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21819 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21820 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21821 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21822 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21823 wine_fn_config_makefile dlls
/msxml enable_msxml
21824 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21825 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21826 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21827 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21828 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21829 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21830 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21831 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21832 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21833 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21834 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21835 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21836 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21837 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21838 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21839 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21840 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21841 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21842 wine_fn_config_makefile dlls
/netutils enable_netutils
21843 wine_fn_config_makefile dlls
/newdev enable_newdev
21844 wine_fn_config_makefile dlls
/ninput enable_ninput
21845 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21846 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21847 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21848 wine_fn_config_makefile dlls
/npptools enable_npptools
21849 wine_fn_config_makefile dlls
/nsi enable_nsi
21850 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21851 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21852 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21853 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21854 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21855 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21856 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21857 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21858 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21859 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21860 wine_fn_config_makefile dlls
/objsel enable_objsel
21861 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21862 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21863 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21864 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21865 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21866 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21867 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21868 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21869 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21870 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21871 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21872 wine_fn_config_makefile dlls
/ole32 enable_ole32
21873 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21874 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21875 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21876 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21877 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21878 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21879 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21880 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21881 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21882 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21883 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21884 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21885 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21886 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21887 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21888 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21889 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21890 wine_fn_config_makefile dlls
/openal32 enable_openal32
21891 wine_fn_config_makefile dlls
/opencl enable_opencl
21892 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21893 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21894 wine_fn_config_makefile dlls
/packager enable_packager
21895 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21896 wine_fn_config_makefile dlls
/pdh enable_pdh
21897 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21898 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21899 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21900 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21901 wine_fn_config_makefile dlls
/printui enable_printui
21902 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21903 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21904 wine_fn_config_makefile dlls
/propsys enable_propsys
21905 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21906 wine_fn_config_makefile dlls
/psapi enable_psapi
21907 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21908 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21909 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21910 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21911 wine_fn_config_makefile dlls
/qasf enable_qasf
21912 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21913 wine_fn_config_makefile dlls
/qcap enable_qcap
21914 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21915 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21916 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21917 wine_fn_config_makefile dlls
/qedit enable_qedit
21918 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21919 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21920 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21921 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21922 wine_fn_config_makefile dlls
/quartz enable_quartz
21923 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21924 wine_fn_config_makefile dlls
/query enable_query
21925 wine_fn_config_makefile dlls
/qwave enable_qwave
21926 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21927 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21928 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21929 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21930 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21931 wine_fn_config_makefile dlls
/regapi enable_regapi
21932 wine_fn_config_makefile dlls
/resutils enable_resutils
21933 wine_fn_config_makefile dlls
/riched20 enable_riched20
21934 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21935 wine_fn_config_makefile dlls
/riched32 enable_riched32
21936 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21937 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21938 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21939 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21940 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21941 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21942 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21943 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21944 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21945 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21946 wine_fn_config_makefile dlls
/samlib enable_samlib
21947 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21948 wine_fn_config_makefile dlls
/sapi enable_sapi
21949 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21950 wine_fn_config_makefile dlls
/sas enable_sas
21951 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21952 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21953 wine_fn_config_makefile dlls
/schannel enable_schannel
21954 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21955 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21956 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21957 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21958 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21959 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21960 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21961 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21962 wine_fn_config_makefile dlls
/sechost enable_sechost
21963 wine_fn_config_makefile dlls
/secur32 enable_secur32
21964 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21965 wine_fn_config_makefile dlls
/security enable_security
21966 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21967 wine_fn_config_makefile dlls
/serialui enable_serialui
21968 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21969 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21970 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21971 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21972 wine_fn_config_makefile dlls
/sfc enable_sfc
21973 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21974 wine_fn_config_makefile dlls
/shcore enable_shcore
21975 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21976 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21977 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21978 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21979 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21980 wine_fn_config_makefile dlls
/shell32 enable_shell32
21981 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21982 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21983 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21984 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21985 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21986 wine_fn_config_makefile dlls
/slc enable_slc
21987 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21988 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21989 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21990 wine_fn_config_makefile dlls
/softpub enable_softpub
21991 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21992 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21993 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21994 wine_fn_config_makefile dlls
/sppc enable_sppc
21995 wine_fn_config_makefile dlls
/srclient enable_srclient
21996 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21997 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21998 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21999 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
22000 wine_fn_config_makefile dlls
/sti enable_sti
22001 wine_fn_config_makefile dlls
/sti
/tests enable_tests
22002 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
22003 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
22004 wine_fn_config_makefile dlls
/strmdll enable_strmdll
22005 wine_fn_config_makefile dlls
/svrapi enable_svrapi
22006 wine_fn_config_makefile dlls
/sxs enable_sxs
22007 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
22008 wine_fn_config_makefile dlls
/system.drv16 enable_win16
22009 wine_fn_config_makefile dlls
/t2embed enable_t2embed
22010 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
22011 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
22012 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
22013 wine_fn_config_makefile dlls
/taskschd enable_taskschd
22014 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
22015 wine_fn_config_makefile dlls
/tbs enable_tbs
22016 wine_fn_config_makefile dlls
/tdh enable_tdh
22017 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
22018 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
22019 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
22020 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
22021 wine_fn_config_makefile dlls
/traffic enable_traffic
22022 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
22023 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
22024 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
22025 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
22026 wine_fn_config_makefile dlls
/tzres enable_tzres
22027 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
22028 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
22029 wine_fn_config_makefile dlls
/uianimation enable_uianimation
22030 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
22031 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
22032 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
22033 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
22034 wine_fn_config_makefile dlls
/unicows enable_unicows
22035 wine_fn_config_makefile dlls
/updspapi enable_updspapi
22036 wine_fn_config_makefile dlls
/url enable_url
22037 wine_fn_config_makefile dlls
/urlmon enable_urlmon
22038 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
22039 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
22040 wine_fn_config_makefile dlls
/user.exe16 enable_win16
22041 wine_fn_config_makefile dlls
/user32 enable_user32
22042 wine_fn_config_makefile dlls
/user32
/tests enable_tests
22043 wine_fn_config_makefile dlls
/userenv enable_userenv
22044 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
22045 wine_fn_config_makefile dlls
/usp10 enable_usp10
22046 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
22047 wine_fn_config_makefile dlls
/utildll enable_utildll
22048 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
22049 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
22050 wine_fn_config_makefile dlls
/vbscript enable_vbscript
22051 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
22052 wine_fn_config_makefile dlls
/vcomp enable_vcomp
22053 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
22054 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
22055 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
22056 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
22057 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
22058 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
22059 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
22060 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
22061 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
22062 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
22063 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
22064 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
22065 wine_fn_config_makefile dlls
/version enable_version
22066 wine_fn_config_makefile dlls
/version
/tests enable_tests
22067 wine_fn_config_makefile dlls
/vga enable_vga
22068 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
22069 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
22070 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
22071 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
22072 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
22073 wine_fn_config_makefile dlls
/vssapi enable_vssapi
22074 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
22075 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
22076 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
22077 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
22078 wine_fn_config_makefile dlls
/w32skrnl enable_win16
22079 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
22080 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
22081 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
22082 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
22083 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
22084 wine_fn_config_makefile dlls
/wdscore enable_wdscore
22085 wine_fn_config_makefile dlls
/webservices enable_webservices
22086 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
22087 wine_fn_config_makefile dlls
/websocket enable_websocket
22088 wine_fn_config_makefile dlls
/wer enable_wer
22089 wine_fn_config_makefile dlls
/wer
/tests enable_tests
22090 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
22091 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
22092 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
22093 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
22094 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
22095 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
22096 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
22097 wine_fn_config_makefile dlls
/win32u enable_win32u
22098 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22099 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22100 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22101 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22102 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22103 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22104 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22105 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22106 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22107 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22108 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22109 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22110 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22111 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22112 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22113 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22114 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22115 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22116 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22117 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22118 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22119 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22120 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22121 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22122 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22123 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22124 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22125 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22126 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22127 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22128 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22129 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22130 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22131 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22132 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22133 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22134 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22135 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22136 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22137 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22138 wine_fn_config_makefile dlls
/wing32 enable_wing32
22139 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22140 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22141 wine_fn_config_makefile dlls
/wininet enable_wininet
22142 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22143 wine_fn_config_makefile dlls
/winmm enable_winmm
22144 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22145 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22146 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22147 wine_fn_config_makefile dlls
/winscard enable_winscard
22148 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22149 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22150 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22151 wine_fn_config_makefile dlls
/winsta enable_winsta
22152 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22153 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22154 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22155 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22156 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22157 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22158 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22159 wine_fn_config_makefile dlls
/winusb enable_winusb
22160 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22161 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22162 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22163 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22164 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22165 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22166 wine_fn_config_makefile dlls
/wmi enable_wmi
22167 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22168 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22169 wine_fn_config_makefile dlls
/wmp enable_wmp
22170 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22171 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22172 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22173 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22174 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22175 wine_fn_config_makefile dlls
/wow32 enable_win16
22176 wine_fn_config_makefile dlls
/wow64 enable_wow64
22177 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22178 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22179 wine_fn_config_makefile dlls
/wpc enable_wpc
22180 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22181 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22182 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22183 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22184 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22185 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22186 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22187 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22188 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22189 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22190 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22191 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22192 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22193 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22194 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22195 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22196 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22197 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22198 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22199 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22200 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22201 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22202 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22203 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22204 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22205 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22206 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22207 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22208 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22209 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22210 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22211 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22212 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22213 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22214 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22215 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22216 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22217 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22218 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22219 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22220 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22221 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22222 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22223 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22224 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22225 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22226 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22227 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22228 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22229 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22230 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22231 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22232 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22233 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22234 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22235 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22236 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22237 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22238 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22239 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22240 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22241 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22242 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22243 wine_fn_config_makefile fonts enable_fonts
22244 wine_fn_config_makefile include enable_include
22245 wine_fn_config_makefile libs
/adsiid enable_adsiid
22246 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22247 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22248 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22249 wine_fn_config_makefile libs
/dxguid enable_dxguid
22250 wine_fn_config_makefile libs
/faudio enable_faudio
22251 wine_fn_config_makefile libs
/gsm enable_gsm
22252 wine_fn_config_makefile libs
/jpeg enable_jpeg
22253 wine_fn_config_makefile libs
/jxr enable_jxr
22254 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22255 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22256 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22257 wine_fn_config_makefile libs
/png enable_png
22258 wine_fn_config_makefile libs
/strmbase enable_strmbase
22259 wine_fn_config_makefile libs
/strmiids enable_strmiids
22260 wine_fn_config_makefile libs
/tiff enable_tiff
22261 wine_fn_config_makefile libs
/uuid enable_uuid
22262 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22263 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22264 wine_fn_config_makefile libs
/wine enable_wine
22265 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22266 wine_fn_config_makefile libs
/xml2 enable_xml2
22267 wine_fn_config_makefile libs
/xslt enable_xslt
22268 wine_fn_config_makefile libs
/zlib enable_zlib
22269 wine_fn_config_makefile loader enable_loader
22270 wine_fn_config_makefile nls enable_nls
22271 wine_fn_config_makefile po enable_po
22272 wine_fn_config_makefile programs
/arp enable_arp
22273 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22274 wine_fn_config_makefile programs
/attrib enable_attrib
22275 wine_fn_config_makefile programs
/cabarc enable_cabarc
22276 wine_fn_config_makefile programs
/cacls enable_cacls
22277 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22278 wine_fn_config_makefile programs
/clock enable_clock
22279 wine_fn_config_makefile programs
/cmd enable_cmd
22280 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22281 wine_fn_config_makefile programs
/conhost enable_conhost
22282 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22283 wine_fn_config_makefile programs
/control enable_control
22284 wine_fn_config_makefile programs
/cscript enable_cscript
22285 wine_fn_config_makefile programs
/dism enable_dism
22286 wine_fn_config_makefile programs
/dllhost enable_dllhost
22287 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22288 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22289 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22290 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22291 wine_fn_config_makefile programs
/eject enable_eject
22292 wine_fn_config_makefile programs
/expand enable_expand
22293 wine_fn_config_makefile programs
/explorer enable_explorer
22294 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22295 wine_fn_config_makefile programs
/fc enable_fc
22296 wine_fn_config_makefile programs
/find enable_find
22297 wine_fn_config_makefile programs
/find
/tests enable_tests
22298 wine_fn_config_makefile programs
/findstr enable_findstr
22299 wine_fn_config_makefile programs
/fsutil enable_fsutil
22300 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22301 wine_fn_config_makefile programs
/hh enable_hh
22302 wine_fn_config_makefile programs
/hostname enable_hostname
22303 wine_fn_config_makefile programs
/icacls enable_icacls
22304 wine_fn_config_makefile programs
/icinfo enable_icinfo
22305 wine_fn_config_makefile programs
/iexplore enable_iexplore
22306 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22307 wine_fn_config_makefile programs
/lodctr enable_lodctr
22308 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22309 wine_fn_config_makefile programs
/mshta enable_mshta
22310 wine_fn_config_makefile programs
/msidb enable_msidb
22311 wine_fn_config_makefile programs
/msiexec enable_msiexec
22312 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22313 wine_fn_config_makefile programs
/net enable_net
22314 wine_fn_config_makefile programs
/netsh enable_netsh
22315 wine_fn_config_makefile programs
/netstat enable_netstat
22316 wine_fn_config_makefile programs
/ngen enable_ngen
22317 wine_fn_config_makefile programs
/notepad enable_notepad
22318 wine_fn_config_makefile programs
/oleview enable_oleview
22319 wine_fn_config_makefile programs
/ping enable_ping
22320 wine_fn_config_makefile programs
/plugplay enable_plugplay
22321 wine_fn_config_makefile programs
/powershell enable_powershell
22322 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22323 wine_fn_config_makefile programs
/progman enable_progman
22324 wine_fn_config_makefile programs
/reg enable_reg
22325 wine_fn_config_makefile programs
/reg
/tests enable_tests
22326 wine_fn_config_makefile programs
/regasm enable_regasm
22327 wine_fn_config_makefile programs
/regedit enable_regedit
22328 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22329 wine_fn_config_makefile programs
/regini enable_regini
22330 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22331 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22332 wine_fn_config_makefile programs
/robocopy enable_robocopy
22333 wine_fn_config_makefile programs
/rpcss enable_rpcss
22334 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22335 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22336 wine_fn_config_makefile programs
/sc enable_sc
22337 wine_fn_config_makefile programs
/sc
/tests enable_tests
22338 wine_fn_config_makefile programs
/schtasks enable_schtasks
22339 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22340 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22341 wine_fn_config_makefile programs
/secedit enable_secedit
22342 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22343 wine_fn_config_makefile programs
/services enable_services
22344 wine_fn_config_makefile programs
/services
/tests enable_tests
22345 wine_fn_config_makefile programs
/shutdown enable_shutdown
22346 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22347 wine_fn_config_makefile programs
/start enable_start
22348 wine_fn_config_makefile programs
/subst enable_subst
22349 wine_fn_config_makefile programs
/svchost enable_svchost
22350 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22351 wine_fn_config_makefile programs
/taskkill enable_taskkill
22352 wine_fn_config_makefile programs
/tasklist enable_tasklist
22353 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22354 wine_fn_config_makefile programs
/termsv enable_termsv
22355 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22356 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22357 wine_fn_config_makefile programs
/view enable_view
22358 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22359 wine_fn_config_makefile programs
/where enable_where
22360 wine_fn_config_makefile programs
/whoami enable_whoami
22361 wine_fn_config_makefile programs
/wineboot enable_wineboot
22362 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22363 wine_fn_config_makefile programs
/winecfg enable_winecfg
22364 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22365 wine_fn_config_makefile programs
/winedbg enable_winedbg
22366 wine_fn_config_makefile programs
/winedevice enable_winedevice
22367 wine_fn_config_makefile programs
/winefile enable_winefile
22368 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22369 wine_fn_config_makefile programs
/winemine enable_winemine
22370 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22371 wine_fn_config_makefile programs
/winepath enable_winepath
22372 wine_fn_config_makefile programs
/winetest enable_winetest
22373 wine_fn_config_makefile programs
/winevdm enable_win16
22374 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22375 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22376 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22377 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22378 wine_fn_config_makefile programs
/winver enable_winver
22379 wine_fn_config_makefile programs
/wmic enable_wmic
22380 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22381 wine_fn_config_makefile programs
/wordpad enable_wordpad
22382 wine_fn_config_makefile programs
/write enable_write
22383 wine_fn_config_makefile programs
/wscript enable_wscript
22384 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22385 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22386 wine_fn_config_makefile programs
/wusa enable_wusa
22387 wine_fn_config_makefile programs
/xcopy enable_xcopy
22388 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22389 wine_fn_config_makefile server enable_server
22390 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22391 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22392 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22393 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22394 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22395 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22396 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22397 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22398 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22401 as_fn_append CONFIGURE_TARGETS
" TAGS"
22402 as_fn_append CONFIGURE_TARGETS
" tags"
22403 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22404 as_fn_append CONFIGURE_TARGETS
" config.log"
22405 as_fn_append CONFIGURE_TARGETS
" config.status"
22406 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22407 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22408 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22410 if test "x$enable_tools" != xno
22412 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22413 ac_config_commands
="$ac_config_commands tools/makedep"
22417 ac_config_commands
="$ac_config_commands Makefile"
22424 as_fn_append wine_rules
"
22426 @echo \"Wine build complete.\"
22430 Makefile: config.status \$(MAKEDEP)
22431 @./config.status Makefile
22432 depend: \$(MAKEDEP)
22433 \$(MAKEDEP)$makedep_flags"
22436 as_fn_append wine_rules
"
22437 config.status: ${wine_srcdir}configure
22438 @./config.status --recheck
22439 include/config.h: include/stamp-h
22440 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22441 @./config.status include/config.h include/stamp-h"
22443 if test "x$enable_maintainer_mode" = xyes
22445 as_fn_append wine_rules
"
22446 configure: configure.ac aclocal.m4
22447 autoconf --warnings=all
22448 include/config.h.in: include/stamp-h.in
22449 include/stamp-h.in: configure.ac aclocal.m4
22450 autoheader --warnings=all
22451 @echo timestamp > \$@"
22454 if test "x$enable_tools" != xno
22456 as_fn_append wine_rules
"
22457 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22458 @./config.status tools/makedep
22459 Makefile: tools/makedep$ac_exeext"
22461 as_fn_append wine_rules
"
22463 @echo \"You need to run make in $toolsdir first\" && false"
22467 if test -n "$with_wine64"
22469 case "$with_wine64" in
22473 rm -f fonts server
2>/dev
/null
22474 as_fn_append wine_rules
"
22475 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22476 loader/wine64 loader/wine64-preloader:
22477 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22478 $with_wine64/loader/wine:
22479 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22480 $with_wine64/loader/wine-preloader:
22481 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22483 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22485 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22486 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22490 programs/msidb/msidb \
22491 programs/msiexec/msiexec \
22492 programs/notepad/notepad \
22493 programs/regedit/regedit \
22494 programs/regsvr32/regsvr32 \
22495 programs/wineboot/wineboot \
22496 programs/winecfg/winecfg \
22497 programs/wineconsole/wineconsole \
22498 programs/winedbg/winedbg \
22499 programs/winefile/winefile \
22500 programs/winemine/winemine \
22501 programs/winepath/winepath \
22505 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22506 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22511 as_fn_append wine_rules
"
22513 rm -rf autom4te.cache
22515 rm -f configure include/config.h.in"
22518 as_fn_append wine_rules
"
22519 dlls/ntdll/unix/version.c: dummy
22520 @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)
22521 programs/winetest/build.rc: dummy
22522 @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)
22523 programs/winetest/build.nfo:
22525 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
22526 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22527 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22530 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22532 as_fn_append wine_rules
"
22535 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22538 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22540 .PHONY: depend dummy install-manpages"
22542 printf "%s\n" " done" >&6
22543 cat >confcache
<<\_ACEOF
22544 # This file is a shell script that caches the results of configure
22545 # tests run on this system so they can be shared between configure
22546 # scripts and configure runs, see configure's option --config-cache.
22547 # It is not useful on other systems. If it contains results you don't
22548 # want to keep, you may remove or edit it.
22550 # config.status only pays attention to the cache file if you give it
22551 # the --recheck option to rerun configure.
22553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22555 # following values.
22559 # The following way of writing the cache mishandles newlines in values,
22560 # but we know of no workaround that is simple, portable, and efficient.
22561 # So, we kill variables containing newlines.
22562 # Ultrix sh set writes to stderr and can't be redirected directly,
22563 # and sets the high bit in the cache file unless we assign to the vars.
22565 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22566 eval ac_val
=\$
$ac_var
22570 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22571 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22574 _ | IFS | as_nl
) ;; #(
22575 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22576 *) { eval $ac_var=; unset $ac_var;} ;;
22582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22583 *${as_nl}ac_space
=\
*)
22584 # `set' does not quote correctly, so add quotes: double-quote
22585 # substitution turns \\\\ into \\, and sed turns \\ into \.
22588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22591 # `set' quotes correctly as required by POSIX, so do not add quotes.
22592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22601 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22605 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22606 if test -w "$cache_file"; then
22607 if test "x$cache_file" != "x/dev/null"; then
22608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22609 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22610 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22611 cat confcache
>"$cache_file"
22613 case $cache_file in #(
22615 mv -f confcache
"$cache_file"$$
&&
22616 mv -f "$cache_file"$$
"$cache_file" ;; #(
22618 mv -f confcache
"$cache_file" ;;
22623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22624 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22629 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22630 # Let make expand exec_prefix.
22631 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22633 DEFS
=-DHAVE_CONFIG_H
22638 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22639 # 1. Remove the extension, and $U if already installed.
22640 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22641 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22643 # will be set to the directory where LIBOBJS objects are built.
22644 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22645 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22647 LIBOBJS
=$ac_libobjs
22649 LTLIBOBJS
=$ac_ltlibobjs
22653 : "${CONFIG_STATUS=./config.status}"
22655 ac_clean_files_save
=$ac_clean_files
22656 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22658 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22660 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22662 # Generated by $as_me.
22663 # Run this file to recreate the current configuration.
22664 # Compiler output produced by configure, useful for debugging
22665 # configure, is in config.log if it exists.
22668 ac_cs_recheck=false
22671 SHELL=\${CONFIG_SHELL-$SHELL}
22674 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22675 ## -------------------- ##
22676 ## M4sh Initialization. ##
22677 ## -------------------- ##
22679 # Be more Bourne compatible
22680 DUALCASE
=1; export DUALCASE
# for MKS sh
22682 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22686 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22687 # is contrary to our usage. Disable this feature.
22688 alias -g '${1+"$@"}'='"$@"'
22689 setopt NO_GLOB_SUBST
22691 case `(set -o) 2>/dev/null` in #(
22701 # Reset variables that may have inherited troublesome values from
22704 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22705 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22706 # side effect of setting IFS to empty, thus disabling word splitting.)
22707 # Quoting is to prevent editors from complaining about space-tab.
22717 # Ensure predictable behavior from utilities with locale-dependent output.
22723 # We cannot yet rely on "unset" to work, but we need these variables
22724 # to be unset--not just set to an empty or harmless value--now, to
22725 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22726 # also avoids known problems related to "unset" and subshell syntax
22727 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22728 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22729 do eval test \
${$as_var+y} \
22730 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22733 # Ensure that fds 0, 1, and 2 are open.
22734 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22735 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22736 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22738 # The user is always right.
22739 if ${PATH_SEPARATOR+false} :; then
22741 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22742 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22748 # Find who we are. Look in the path if we contain no directory separator.
22751 *[\\/]* ) as_myself
=$0 ;;
22752 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22753 for as_dir
in $PATH
22756 case $as_dir in #(((
22759 *) as_dir
=$as_dir/ ;;
22761 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22767 # We did not find ourselves, most probably we were run as `sh COMMAND'
22768 # in which case we are not to be found in the path.
22769 if test "x$as_myself" = x
; then
22772 if test ! -f "$as_myself"; then
22773 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22779 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22780 # ----------------------------------------
22781 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22782 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22783 # script with STATUS, using 1 if that was 0.
22786 as_status
=$1; test $as_status -eq 0 && as_status
=1
22788 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22791 printf "%s\n" "$as_me: error: $2" >&2
22792 as_fn_exit
$as_status
22797 # as_fn_set_status STATUS
22798 # -----------------------
22799 # Set $? to STATUS, without forking.
22800 as_fn_set_status
()
22803 } # as_fn_set_status
22805 # as_fn_exit STATUS
22806 # -----------------
22807 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22811 as_fn_set_status
$1
22817 # Portably unset VAR.
22820 { eval $1=; unset $1;}
22822 as_unset
=as_fn_unset
22824 # as_fn_append VAR VALUE
22825 # ----------------------
22826 # Append the text in VALUE to the end of the definition contained in VAR. Take
22827 # advantage of any shell optimizations that allow amortized linear growth over
22828 # repeated appends, instead of the typical quadratic growth present in naive
22830 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22832 eval 'as_fn_append ()
22843 # as_fn_arith ARG...
22844 # ------------------
22845 # Perform arithmetic evaluation on the ARGs, and store the result in the
22846 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22847 # must be portable across $(()) and expr.
22848 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22850 eval 'as_fn_arith ()
22857 as_val
=`expr "$@" || test $? -eq 1`
22862 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22863 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22869 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22870 as_basename
=basename
22875 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22881 as_me
=`$as_basename -- "$0" ||
22882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22883 X"$0" : 'X\(//\)$' \| \
22884 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22885 printf "%s\n" X/"$0" |
22886 sed '/^.*\/\([^/][^/]*\)\/*$/{
22900 # Avoid depending upon Character Ranges.
22901 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22902 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22903 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22904 as_cr_digits
='0123456789'
22905 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22908 # Determine whether it's possible to make 'echo' print without a newline.
22909 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22910 # for compatibility with existing Makefiles.
22911 ECHO_C
= ECHO_N
= ECHO_T
=
22912 case `echo -n x` in #(((((
22914 case `echo 'xy\c'` in
22915 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22917 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22924 # For backward compatibility with old third-party macros, we provide
22925 # the shell variables $as_echo and $as_echo_n. New code should use
22926 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22927 as_echo
='printf %s\n'
22928 as_echo_n
='printf %s'
22930 rm -f conf$$ conf$$.exe conf$$.
file
22931 if test -d conf$$.dir
; then
22932 rm -f conf$$.dir
/conf$$.
file
22935 mkdir conf$$.dir
2>/dev
/null
22937 if (echo >conf$$.
file) 2>/dev
/null
; then
22938 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22940 # ... but there are two gotchas:
22941 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22942 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22943 # In both cases, we have to default to `cp -pR'.
22944 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22946 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22954 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22955 rmdir conf$$.dir
2>/dev
/null
22960 # Create "$as_dir" as a directory, including parents if necessary.
22965 -*) as_dir
=.
/$as_dir;;
22967 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22971 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22972 *) as_qdir
=$as_dir;;
22974 as_dirs
="'$as_qdir' $as_dirs"
22975 as_dir
=`$as_dirname -- "$as_dir" ||
22976 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22977 X"$as_dir" : 'X\(//\)[^/]' \| \
22978 X"$as_dir" : 'X\(//\)$' \| \
22979 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22980 printf "%s\n" X"$as_dir" |
22981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22985 /^X\(\/\/\)[^/].*/{
22998 test -d "$as_dir" && break
23000 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23001 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23005 if mkdir
-p .
2>/dev
/null
; then
23006 as_mkdir_p
='mkdir -p "$as_dir"'
23008 test -d .
/-p && rmdir .
/-p
23013 # as_fn_executable_p FILE
23014 # -----------------------
23015 # Test if FILE is an executable regular file.
23016 as_fn_executable_p
()
23018 test -f "$1" && test -x "$1"
23019 } # as_fn_executable_p
23020 as_test_x
='test -x'
23021 as_executable_p
=as_fn_executable_p
23023 # Sed expression to map a string onto a valid CPP name.
23024 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23026 # Sed expression to map a string onto a valid variable name.
23027 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23031 ## ----------------------------------- ##
23032 ## Main body of $CONFIG_STATUS script. ##
23033 ## ----------------------------------- ##
23035 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23038 # Save the log message, to keep $0 and so on meaningful, and to
23039 # report actual input values of CONFIG_FILES etc. instead of their
23040 # values after options handling.
23042 This file was extended by Wine $as_me 7.20, which was
23043 generated by GNU Autoconf 2.71. Invocation command line was
23045 CONFIG_FILES = $CONFIG_FILES
23046 CONFIG_HEADERS = $CONFIG_HEADERS
23047 CONFIG_LINKS = $CONFIG_LINKS
23048 CONFIG_COMMANDS = $CONFIG_COMMANDS
23051 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23057 case $ac_config_headers in *"
23058 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23063 # Files that config.status was made for.
23064 config_headers="$ac_config_headers"
23065 config_links="$ac_config_links"
23066 config_commands="$ac_config_commands"
23070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23072 \`$as_me' instantiates files and other configuration actions
23073 from templates according to the current configuration. Unless the files
23074 and actions are specified as TAGs, all are instantiated by default.
23076 Usage: $0 [OPTION]... [TAG]...
23078 -h, --help print this help, then exit
23079 -V, --version print version number and configuration settings, then exit
23080 --config print configuration, then exit
23081 -q, --quiet, --silent
23082 do not print progress messages
23083 -d, --debug don't remove temporary files
23084 --recheck update $as_me by reconfiguring in the same conditions
23085 --header=FILE[:TEMPLATE]
23086 instantiate the configuration header FILE
23088 Configuration headers:
23091 Configuration links:
23094 Configuration commands:
23097 Report bugs to <wine-devel@winehq.org>.
23098 Wine home page: <https://www.winehq.org>."
23101 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23102 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23104 ac_cs_config='$ac_cs_config_escaped'
23106 Wine config.status 7.20
23107 configured by $0, generated by GNU Autoconf 2.71,
23108 with options \\"\$ac_cs_config\\"
23110 Copyright (C) 2021 Free Software Foundation, Inc.
23111 This config.status script is free software; the Free Software Foundation
23112 gives unlimited permission to copy, distribute and modify it."
23116 test -n "\$AWK" || AWK=awk
23119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23120 # The default lists apply if the user does not specify any file.
23126 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23127 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23131 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23143 # Handling of the options.
23144 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23146 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23147 printf "%s\n" "$ac_cs_version"; exit ;;
23148 --config |
--confi |
--conf |
--con |
--co |
--c )
23149 printf "%s\n" "$ac_cs_config"; exit ;;
23150 --debug |
--debu |
--deb |
--de |
--d |
-d )
23152 --header |
--heade |
--head |
--hea )
23155 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23157 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23158 ac_need_defaults
=false
;;
23160 # Conflict between --help and --header
23161 as_fn_error $?
"ambiguous option: \`$1'
23162 Try \`$0 --help' for more information.";;
23163 --help |
--hel |
-h )
23164 printf "%s\n" "$ac_cs_usage"; exit ;;
23165 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23166 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23169 # This is an error.
23170 -*) as_fn_error $?
"unrecognized option: \`$1'
23171 Try \`$0 --help' for more information." ;;
23173 *) as_fn_append ac_config_targets
" $1"
23174 ac_need_defaults
=false
;;
23180 ac_configure_extra_args
=
23182 if $ac_cs_silent; then
23184 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23189 if \$ac_cs_recheck; then
23190 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23192 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23193 CONFIG_SHELL='$SHELL'
23194 export CONFIG_SHELL
23199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23203 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23204 ## Running $as_me. ##
23206 printf "%s\n" "$ac_log"
23210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23214 wine_fn_output_makedep ()
23216 as_dir=tools; as_fn_mkdir_p
23217 $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
23219 wine_fn_output_makefile ()
23221 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23222 # This Makefile understands the following targets:
23224 # all (default): build wine
23225 # clean: remove all intermediate files
23226 # distclean: also remove all files created by configure
23228 # testclean: clean test results to force running all tests again
23229 # install-lib: install libraries needed to run applications
23230 # install-dev: install development environment
23231 # install: install everything
23232 # uninstall: uninstall everything
23233 # ctags: create a tags file for vim and others.
23234 # etags: create a TAGS file for Emacs.
23237 PATH_SEPARATOR = $PATH_SEPARATOR
23238 PACKAGE_NAME = $PACKAGE_NAME
23239 PACKAGE_TARNAME = $PACKAGE_TARNAME
23240 PACKAGE_VERSION = $PACKAGE_VERSION
23241 PACKAGE_STRING = $PACKAGE_STRING
23242 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23243 PACKAGE_URL = $PACKAGE_URL
23244 exec_prefix = $exec_prefix
23246 program_transform_name = $program_transform_name
23249 libexecdir = $libexecdir
23250 datarootdir = $datarootdir
23252 sysconfdir = $sysconfdir
23253 sharedstatedir = $sharedstatedir
23254 localstatedir = $localstatedir
23255 runstatedir = $runstatedir
23256 includedir = $includedir
23257 oldincludedir = $oldincludedir
23265 localedir = $localedir
23272 build_alias = $build_alias
23273 host_alias = $host_alias
23274 target_alias = $target_alias
23275 system_dllpath = $system_dllpath
23277 build_cpu = $build_cpu
23278 build_vendor = $build_vendor
23279 build_os = $build_os
23281 host_cpu = $host_cpu
23282 host_vendor = $host_vendor
23288 SET_MAKE = $SET_MAKE
23292 CPPFLAGS = $CPPFLAGS
23293 ac_ct_CC = $ac_ct_CC
23297 CXXFLAGS = $CXXFLAGS
23298 ac_ct_CXX = $ac_ct_CXX
23301 TARGETFLAGS = $TARGETFLAGS
23302 toolsext = $toolsext
23303 HOST_ARCH = $HOST_ARCH
23304 aarch64_CC = $aarch64_CC
23305 aarch64_CFLAGS = $aarch64_CFLAGS
23306 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23307 aarch64_LDFLAGS = $aarch64_LDFLAGS
23308 aarch64_DEBUG = $aarch64_DEBUG
23309 aarch64_TARGET = $aarch64_TARGET
23310 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23311 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23313 arm_CFLAGS = $arm_CFLAGS
23314 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23315 arm_LDFLAGS = $arm_LDFLAGS
23316 arm_DEBUG = $arm_DEBUG
23317 arm_TARGET = $arm_TARGET
23318 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23319 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23321 i386_CFLAGS = $i386_CFLAGS
23322 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23323 i386_LDFLAGS = $i386_LDFLAGS
23324 i386_DEBUG = $i386_DEBUG
23325 i386_TARGET = $i386_TARGET
23326 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23327 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23328 x86_64_CC = $x86_64_CC
23329 x86_64_CFLAGS = $x86_64_CFLAGS
23330 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23331 x86_64_LDFLAGS = $x86_64_LDFLAGS
23332 x86_64_DEBUG = $x86_64_DEBUG
23333 x86_64_TARGET = $x86_64_TARGET
23334 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23335 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23336 toolsdir = $toolsdir
23338 RUNTESTFLAGS = $RUNTESTFLAGS
23343 ac_ct_AR = $ac_ct_AR
23349 LDCONFIG = $LDCONFIG
23351 PKG_CONFIG = $PKG_CONFIG
23352 FONTFORGE = $FONTFORGE
23356 I386_LIBS = $I386_LIBS
23357 OPENGL_LIBS = $OPENGL_LIBS
23358 DLLFLAGS = $DLLFLAGS
23359 LDDLLFLAGS = $LDDLLFLAGS
23360 LDEXECFLAGS = $LDEXECFLAGS
23361 EXTRACFLAGS = $EXTRACFLAGS
23362 UNIXDLLFLAGS = $UNIXDLLFLAGS
23363 UNIXLDFLAGS = $UNIXLDFLAGS
23364 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23365 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23366 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23367 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23372 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23373 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23374 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23376 OBJCFLAGS = $OBJCFLAGS
23377 ac_ct_OBJC = $ac_ct_OBJC
23378 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23379 IOKIT_LIBS = $IOKIT_LIBS
23380 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23381 CORESERVICES_LIBS = $CORESERVICES_LIBS
23382 APPKIT_LIBS = $APPKIT_LIBS
23383 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23384 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23385 SECURITY_LIBS = $SECURITY_LIBS
23386 COREAUDIO_LIBS = $COREAUDIO_LIBS
23387 OPENAL_LIBS = $OPENAL_LIBS
23388 OPENCL_LIBS = $OPENCL_LIBS
23389 CARBON_LIBS = $CARBON_LIBS
23390 METAL_LIBS = $METAL_LIBS
23391 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23392 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23393 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23395 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23396 PE_ARCHS = $PE_ARCHS
23397 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23398 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23399 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23400 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23401 GSM_PE_LIBS = $GSM_PE_LIBS
23402 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23403 JPEG_PE_LIBS = $JPEG_PE_LIBS
23404 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23405 JXR_PE_LIBS = $JXR_PE_LIBS
23406 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23407 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23408 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23409 MPG123_PE_LIBS = $MPG123_PE_LIBS
23410 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23411 PNG_PE_LIBS = $PNG_PE_LIBS
23412 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23413 TIFF_PE_LIBS = $TIFF_PE_LIBS
23414 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23415 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23416 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23417 XML2_PE_LIBS = $XML2_PE_LIBS
23418 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23419 XSLT_PE_LIBS = $XSLT_PE_LIBS
23420 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23421 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23422 PTHREAD_LIBS = $PTHREAD_LIBS
23425 X_CFLAGS = $X_CFLAGS
23426 X_PRE_LIBS = $X_PRE_LIBS
23428 X_EXTRA_LIBS = $X_EXTRA_LIBS
23429 PCAP_LIBS = $PCAP_LIBS
23430 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23431 INOTIFY_LIBS = $INOTIFY_LIBS
23432 DBUS_CFLAGS = $DBUS_CFLAGS
23433 DBUS_LIBS = $DBUS_LIBS
23434 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23435 GNUTLS_LIBS = $GNUTLS_LIBS
23436 SANE_CFLAGS = $SANE_CFLAGS
23437 SANE_LIBS = $SANE_LIBS
23438 USB_CFLAGS = $USB_CFLAGS
23439 USB_LIBS = $USB_LIBS
23440 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23441 GPHOTO2_LIBS = $GPHOTO2_LIBS
23442 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23443 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23444 RESOLV_LIBS = $RESOLV_LIBS
23445 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23446 FREETYPE_LIBS = $FREETYPE_LIBS
23447 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23448 PULSE_CFLAGS = $PULSE_CFLAGS
23449 PULSE_LIBS = $PULSE_LIBS
23450 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23451 GSTREAMER_LIBS = $GSTREAMER_LIBS
23452 ALSA_LIBS = $ALSA_LIBS
23453 OSS4_CFLAGS = $OSS4_CFLAGS
23454 OSS4_LIBS = $OSS4_LIBS
23455 UDEV_CFLAGS = $UDEV_CFLAGS
23456 UDEV_LIBS = $UDEV_LIBS
23457 UNWIND_CFLAGS = $UNWIND_CFLAGS
23458 UNWIND_LIBS = $UNWIND_LIBS
23459 SDL2_CFLAGS = $SDL2_CFLAGS
23460 SDL2_LIBS = $SDL2_LIBS
23461 CAPI20_CFLAGS = $CAPI20_CFLAGS
23462 CAPI20_LIBS = $CAPI20_LIBS
23463 CUPS_CFLAGS = $CUPS_CFLAGS
23464 CUPS_LIBS = $CUPS_LIBS
23465 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23466 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23467 KRB5_CFLAGS = $KRB5_CFLAGS
23468 KRB5_LIBS = $KRB5_LIBS
23469 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23470 GSSAPI_LIBS = $GSSAPI_LIBS
23471 PROCSTAT_LIBS = $PROCSTAT_LIBS
23472 NETAPI_CFLAGS = $NETAPI_CFLAGS
23473 NETAPI_LIBS = $NETAPI_LIBS
23474 MSVCRTFLAGS = $MSVCRTFLAGS
23475 DELAYLOADFLAG = $DELAYLOADFLAG
23477 LDAP_CFLAGS = $LDAP_CFLAGS
23478 LDAP_LIBS = $LDAP_LIBS
23479 TAGSFLAGS = $TAGSFLAGS
23481 LTLIBOBJS = $LTLIBOBJS
23485 as_fn_error $? "could not create Makefile" "$LINENO" 5
23490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23492 # Handling of arguments.
23493 for ac_config_target
in $ac_config_targets
23495 case $ac_config_target in
23496 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23497 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23498 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23499 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23500 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23501 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23503 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23508 # If the user did not use the arguments to specify the items to instantiate,
23509 # then the envvar interface is used. Set only those that are not.
23510 # We use the long form for the default assignment because of an extremely
23511 # bizarre bug on SunOS 4.1.3.
23512 if $ac_need_defaults; then
23513 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23514 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23515 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23518 # Have a temporary directory for convenience. Make it in the build tree
23519 # simply because there is no reason against having it here, and in addition,
23520 # creating and moving files from /tmp can sometimes cause problems.
23521 # Hook for its removal unless debugging.
23522 # Note that there is a small window in which the directory will not be cleaned:
23523 # after its creation but before its name has been assigned to `$tmp'.
23527 trap 'exit_status=$?
23528 : "${ac_tmp:=$tmp}"
23529 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23531 trap 'as_fn_exit 1' 1 2 13 15
23533 # Create a (secure) tmp directory for tmp files.
23536 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23540 tmp
=.
/conf$$
-$RANDOM
23541 (umask 077 && mkdir
"$tmp")
23542 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23545 # Set up the scripts for CONFIG_HEADERS section.
23546 # No need to generate them if there are no CONFIG_HEADERS.
23547 # This happens for instance with `./config.status Makefile'.
23548 if test -n "$CONFIG_HEADERS"; then
23549 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23553 # Transform confdefs.h into an awk script `defines.awk', embedded as
23554 # here-document in config.status, that substitutes the proper values into
23555 # config.h.in to produce config.h.
23557 # Create a delimiter string that does not exist in confdefs.h, to ease
23558 # handling of long lines.
23560 for ac_last_try
in false false
:; do
23561 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23562 if test -z "$ac_tt"; then
23564 elif $ac_last_try; then
23565 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23567 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23571 # For the awk script, D is an array of macro values keyed by name,
23572 # likewise P contains macro parameters if any. Preserve backslash
23573 # newline sequences.
23575 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23577 s/.\{148\}/&'"$ac_delim"'/g
23580 s/^[ ]*#[ ]*define[ ][ ]*/ /
23587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23593 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23594 D["\1"]=" \3\\\\\\n"\\/p
23596 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23601 s/.\{148\}/&'"$ac_delim"'/g
23606 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23609 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23611 ' <confdefs.h |
sed '
23612 s/'"$ac_delim"'/"\\\
23613 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23616 for (key in D) D_is_set[key] = 1
23619 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23621 split(line, arg, " ")
23622 if (arg[1] == "#") {
23626 defundef = substr(arg[1], 2)
23629 split(mac1, mac2, "(") #)
23631 prefix = substr(line, 1, index(line, defundef) - 1)
23632 if (D_is_set[macro]) {
23633 # Preserve the white space surrounding the "#".
23634 print prefix "define", macro P[macro] D[macro]
23637 # Replace #undef with comments. This is necessary, for example,
23638 # in the case of _POSIX_SOURCE, which is predefined and required
23639 # on some systems where configure will not decide to define it.
23640 if (defundef == "undef") {
23641 print "/*", prefix defundef, macro, "*/"
23649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23650 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23651 fi # test -n "$CONFIG_HEADERS"
23654 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23659 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23661 case $ac_mode$ac_tag in
23663 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23664 :[FH
]-) ac_tag
=-:-;;
23665 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23682 -) ac_f
="$ac_tmp/stdin";;
23683 *) # Look for the file first in the build tree, then in the source tree
23684 # (if the path is not absolute). The absolute path cannot be DOS-style,
23685 # because $ac_f cannot contain `:'.
23689 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23691 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23693 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23694 as_fn_append ac_file_inputs
" '$ac_f'"
23697 # Let's still pretend it is `configure' which instantiates (i.e., don't
23698 # use $as_me), people would be surprised to read:
23699 # /* config.h. Generated by config.status. */
23700 configure_input
='Generated from '`
23701 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23703 if test x
"$ac_file" != x-
; then
23704 configure_input
="$ac_file. $configure_input"
23705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23706 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23708 # Neutralize special characters interpreted by sed in replacement strings.
23709 case $configure_input in #(
23710 *\
&* |
*\|
* |
*\\* )
23711 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23712 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23713 *) ac_sed_conf_input
=$configure_input;;
23717 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23718 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23723 ac_dir
=`$as_dirname -- "$ac_file" ||
23724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23725 X"$ac_file" : 'X\(//\)[^/]' \| \
23726 X"$ac_file" : 'X\(//\)$' \| \
23727 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23728 printf "%s\n" X"$ac_file" |
23729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23733 /^X\(\/\/\)[^/].*/{
23746 as_dir
="$ac_dir"; as_fn_mkdir_p
23750 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23752 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23753 # A ".." for each directory in $ac_dir_suffix.
23754 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23755 case $ac_top_builddir_sub in
23756 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23757 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23760 ac_abs_top_builddir
=$ac_pwd
23761 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23762 # for backward compatibility:
23763 ac_top_builddir
=$ac_top_build_prefix
23766 .
) # We are building in place.
23768 ac_top_srcdir
=$ac_top_builddir_sub
23769 ac_abs_top_srcdir
=$ac_pwd ;;
23770 [\\/]* | ?
:[\\/]* ) # Absolute name.
23771 ac_srcdir
=$srcdir$ac_dir_suffix;
23772 ac_top_srcdir
=$srcdir
23773 ac_abs_top_srcdir
=$srcdir ;;
23774 *) # Relative name.
23775 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23776 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23777 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23779 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23788 if test x
"$ac_file" != x-
; then
23790 printf "%s\n" "/* $configure_input */" >&1 \
23791 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23792 } >"$ac_tmp/config.h" \
23793 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23794 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23796 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23799 mv "$ac_tmp/config.h" "$ac_file" \
23800 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23803 printf "%s\n" "/* $configure_input */" >&1 \
23804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23805 || as_fn_error $?
"could not create -" "$LINENO" 5
23813 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23816 # Prefer the file from the source tree if names are identical.
23817 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23818 ac_source
=$srcdir/$ac_source
23821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23822 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23824 if test ! -r "$ac_source"; then
23825 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23829 # Try a relative symlink, then a hard link, then a copy.
23831 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23832 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23834 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23835 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23836 cp -p "$ac_source" "$ac_file" ||
23837 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23840 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23841 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23846 case $ac_file$ac_mode in
23847 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23848 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23849 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23857 ac_clean_files
=$ac_clean_files_save
23859 test $ac_write_fail = 0 ||
23860 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23863 # configure is writing to config.log, and then calls config.status.
23864 # config.status does its own redirection, appending to config.log.
23865 # Unfortunately, on DOS this fails, as config.log is still kept open
23866 # by configure, so config.status won't be able to write to it; its
23867 # output is simply discarded. So we exec the FD to /dev/null,
23868 # effectively closing config.log, so it can be properly (re)opened and
23869 # appended to by config.status. When coming back to configure, we
23870 # need to make the FD available again.
23871 if test "$no_create" != yes; then
23873 ac_config_status_args
=
23874 test "$silent" = yes &&
23875 ac_config_status_args
="$ac_config_status_args --quiet"
23877 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23879 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23880 # would make configure fail if this is the last instruction.
23881 $ac_cs_success || as_fn_exit
1
23883 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23885 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23889 if test "$no_create" = "yes"
23895 if test "x$wine_notices" != x
; then
23898 for msg
in $wine_notices; do
23904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23905 printf "%s\n" "$as_me: $msg" >&6;}
23910 for msg
in $wine_warnings; do
23917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23918 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23924 $as_me: Finished. Do '${ac_make}' to compile Wine.