2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.11.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='8.11'
615 PACKAGE_STRING
='Wine 8.11'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
707 WAYLAND_CLIENT_CFLAGS
753 SYSTEMCONFIGURATION_LIBS
757 APPLICATIONSERVICES_LIBS
770 WINEPRELOADER_LDFLAGS
802 x86_64_DISABLED_SUBDIRS
810 i386_DISABLED_SUBDIRS
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
891 program_transform_name
904 enable_option_checking
910 enable_maintainer_mode
1029 enable_d3dcompiler_33
1030 enable_d3dcompiler_34
1031 enable_d3dcompiler_35
1032 enable_d3dcompiler_36
1033 enable_d3dcompiler_37
1034 enable_d3dcompiler_38
1035 enable_d3dcompiler_39
1036 enable_d3dcompiler_40
1037 enable_d3dcompiler_41
1038 enable_d3dcompiler_42
1039 enable_d3dcompiler_43
1040 enable_d3dcompiler_46
1041 enable_d3dcompiler_47
1094 enable_directmanipulation
1131 enable_explorerframe
1147 enable_graphicscapture
1190 enable_light_msstyles
1205 enable_mfmediaengine
1270 enable_msvcp140_atomic_wait
1336 enable_photometadatahandler
1413 enable_threadpoolwinrt
1416 enable_twinapi_appcore
1420 enable_uiautomationcore
1440 enable_vcruntime140_1
1458 enable_windows_devices_enumeration
1459 enable_windows_gaming_input
1460 enable_windows_gaming_ui_gamebar
1461 enable_windows_globalization
1462 enable_windows_media_devices
1463 enable_windows_media_speech
1464 enable_windows_media
1465 enable_windows_networking
1466 enable_windows_perception_stub
1467 enable_windows_system_profile_systemmanufacturers
1469 enable_windowscodecs
1470 enable_windowscodecsext
1472 enable_wineandroid_drv
1474 enable_winecoreaudio_drv
1477 enable_winegstreamer
1483 enable_winepulse_drv
1486 enable_winewayland_drv
1488 enable_winexinput_sys
1534 enable_xactengine2_0
1535 enable_xactengine2_4
1536 enable_xactengine2_7
1537 enable_xactengine2_9
1538 enable_xactengine3_0
1539 enable_xactengine3_1
1540 enable_xactengine3_2
1541 enable_xactengine3_3
1542 enable_xactengine3_4
1543 enable_xactengine3_5
1544 enable_xactengine3_6
1545 enable_xactengine3_7
1594 enable_wmcodecdspuuid
1603 enable_aspnet_regiis
1650 enable_presentationfontcache
1665 enable_servicemodelreg
1691 enable_winemenubuilder
1693 enable_winemsibuilder
1718 ac_precious_vars
='build_alias
1763 WAYLAND_CLIENT_CFLAGS
1805 # Initialize some variables set by options.
1807 ac_init_version
=false
1808 ac_unrecognized_opts
=
1809 ac_unrecognized_sep
=
1810 # The variables have the same names as the options, with
1811 # dashes changed to underlines.
1812 cache_file
=/dev
/null
1819 program_transform_name
=s
,x
,x
,
1827 # Installation directory options.
1828 # These are left unexpanded so users can "make install exec_prefix=/foo"
1829 # and all the variables that are supposed to be based on exec_prefix
1830 # by default will actually change.
1831 # Use braces instead of parens because sh, perl, etc. also accept them.
1832 # (The list follows the same order as the GNU Coding Standards.)
1833 bindir
='${exec_prefix}/bin'
1834 sbindir
='${exec_prefix}/sbin'
1835 libexecdir
='${exec_prefix}/libexec'
1836 datarootdir
='${prefix}/share'
1837 datadir
='${datarootdir}'
1838 sysconfdir
='${prefix}/etc'
1839 sharedstatedir
='${prefix}/com'
1840 localstatedir
='${prefix}/var'
1841 runstatedir
='${localstatedir}/run'
1842 includedir
='${prefix}/include'
1843 oldincludedir
='/usr/include'
1844 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1845 infodir
='${datarootdir}/info'
1850 libdir
='${exec_prefix}/lib'
1851 localedir
='${datarootdir}/locale'
1852 mandir
='${datarootdir}/man'
1858 # If the previous option needs an argument, assign it.
1859 if test -n "$ac_prev"; then
1860 eval $ac_prev=\
$ac_option
1866 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1871 case $ac_dashdash$ac_option in
1875 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1877 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1878 bindir
=$ac_optarg ;;
1880 -build |
--build |
--buil |
--bui |
--bu)
1881 ac_prev
=build_alias
;;
1882 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1883 build_alias
=$ac_optarg ;;
1885 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1886 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1887 ac_prev
=cache_file
;;
1888 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1889 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1890 cache_file
=$ac_optarg ;;
1892 --config-cache |
-C)
1893 cache_file
=config.cache
;;
1895 -datadir |
--datadir |
--datadi |
--datad)
1897 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1898 datadir
=$ac_optarg ;;
1900 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1901 |
--dataroo |
--dataro |
--datar)
1902 ac_prev
=datarootdir
;;
1903 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1904 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1905 datarootdir
=$ac_optarg ;;
1907 -disable-* |
--disable-*)
1908 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1909 # Reject names that are not valid shell variable names.
1910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1911 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1912 ac_useropt_orig
=$ac_useropt
1913 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1914 case $ac_user_opts in
1916 "enable_
$ac_useropt"
1918 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1919 ac_unrecognized_sep
=', ';;
1921 eval enable_
$ac_useropt=no
;;
1923 -docdir |
--docdir |
--docdi |
--doc |
--do)
1925 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1926 docdir
=$ac_optarg ;;
1928 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1930 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1931 dvidir
=$ac_optarg ;;
1933 -enable-* |
--enable-*)
1934 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1935 # Reject names that are not valid shell variable names.
1936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1937 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1938 ac_useropt_orig
=$ac_useropt
1939 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1940 case $ac_user_opts in
1942 "enable_
$ac_useropt"
1944 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1945 ac_unrecognized_sep
=', ';;
1947 eval enable_
$ac_useropt=\
$ac_optarg ;;
1949 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1950 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1951 |
--exec |
--exe |
--ex)
1952 ac_prev
=exec_prefix
;;
1953 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1954 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1955 |
--exec=* |
--exe=* |
--ex=*)
1956 exec_prefix
=$ac_optarg ;;
1958 -gas |
--gas |
--ga |
--g)
1959 # Obsolete; use --with-gas.
1962 -help |
--help |
--hel |
--he |
-h)
1963 ac_init_help
=long
;;
1964 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1965 ac_init_help
=recursive
;;
1966 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1967 ac_init_help
=short
;;
1969 -host |
--host |
--hos |
--ho)
1970 ac_prev
=host_alias
;;
1971 -host=* |
--host=* |
--hos=* |
--ho=*)
1972 host_alias
=$ac_optarg ;;
1974 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1976 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1978 htmldir
=$ac_optarg ;;
1980 -includedir |
--includedir |
--includedi |
--included |
--include \
1981 |
--includ |
--inclu |
--incl |
--inc)
1982 ac_prev
=includedir
;;
1983 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1984 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1985 includedir
=$ac_optarg ;;
1987 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1989 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1990 infodir
=$ac_optarg ;;
1992 -libdir |
--libdir |
--libdi |
--libd)
1994 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1995 libdir
=$ac_optarg ;;
1997 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1998 |
--libexe |
--libex |
--libe)
1999 ac_prev
=libexecdir
;;
2000 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2001 |
--libexe=* |
--libex=* |
--libe=*)
2002 libexecdir
=$ac_optarg ;;
2004 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2005 ac_prev
=localedir
;;
2006 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2007 localedir
=$ac_optarg ;;
2009 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2010 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2011 ac_prev
=localstatedir
;;
2012 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2013 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2014 localstatedir
=$ac_optarg ;;
2016 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2018 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2019 mandir
=$ac_optarg ;;
2021 -nfp |
--nfp |
--nf)
2022 # Obsolete; use --without-fp.
2025 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2026 |
--no-cr |
--no-c |
-n)
2029 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2030 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2033 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2034 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2035 |
--oldin |
--oldi |
--old |
--ol |
--o)
2036 ac_prev
=oldincludedir
;;
2037 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2038 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2039 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2040 oldincludedir
=$ac_optarg ;;
2042 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2044 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2045 prefix
=$ac_optarg ;;
2047 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2048 |
--program-pre |
--program-pr |
--program-p)
2049 ac_prev
=program_prefix
;;
2050 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2051 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2052 program_prefix
=$ac_optarg ;;
2054 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2055 |
--program-suf |
--program-su |
--program-s)
2056 ac_prev
=program_suffix
;;
2057 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2058 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2059 program_suffix
=$ac_optarg ;;
2061 -program-transform-name |
--program-transform-name \
2062 |
--program-transform-nam |
--program-transform-na \
2063 |
--program-transform-n |
--program-transform- \
2064 |
--program-transform |
--program-transfor \
2065 |
--program-transfo |
--program-transf \
2066 |
--program-trans |
--program-tran \
2067 |
--progr-tra |
--program-tr |
--program-t)
2068 ac_prev
=program_transform_name
;;
2069 -program-transform-name=* |
--program-transform-name=* \
2070 |
--program-transform-nam=* |
--program-transform-na=* \
2071 |
--program-transform-n=* |
--program-transform-=* \
2072 |
--program-transform=* |
--program-transfor=* \
2073 |
--program-transfo=* |
--program-transf=* \
2074 |
--program-trans=* |
--program-tran=* \
2075 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2076 program_transform_name
=$ac_optarg ;;
2078 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2080 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2081 pdfdir
=$ac_optarg ;;
2083 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2085 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2088 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2089 |
-silent |
--silent |
--silen |
--sile |
--sil)
2092 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2093 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2094 |
--run |
--ru |
--r)
2095 ac_prev
=runstatedir
;;
2096 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2097 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2098 |
--run=* |
--ru=* |
--r=*)
2099 runstatedir
=$ac_optarg ;;
2101 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2103 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2105 sbindir
=$ac_optarg ;;
2107 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2108 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2109 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2111 ac_prev
=sharedstatedir
;;
2112 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2113 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2114 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2116 sharedstatedir
=$ac_optarg ;;
2118 -site |
--site |
--sit)
2120 -site=* |
--site=* |
--sit=*)
2123 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2125 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2126 srcdir
=$ac_optarg ;;
2128 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2129 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2130 ac_prev
=sysconfdir
;;
2131 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2132 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2133 sysconfdir
=$ac_optarg ;;
2135 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2136 ac_prev
=target_alias
;;
2137 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2138 target_alias
=$ac_optarg ;;
2140 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2143 -version |
--version |
--versio |
--versi |
--vers |
-V)
2144 ac_init_version
=: ;;
2147 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2148 # Reject names that are not valid shell variable names.
2149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2150 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2151 ac_useropt_orig
=$ac_useropt
2152 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2153 case $ac_user_opts in
2157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2158 ac_unrecognized_sep
=', ';;
2160 eval with_
$ac_useropt=\
$ac_optarg ;;
2162 -without-* |
--without-*)
2163 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2164 # Reject names that are not valid shell variable names.
2165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2166 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2167 ac_useropt_orig
=$ac_useropt
2168 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2169 case $ac_user_opts in
2173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2174 ac_unrecognized_sep
=', ';;
2176 eval with_
$ac_useropt=no
;;
2179 # Obsolete; use --with-x.
2182 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2183 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2184 ac_prev
=x_includes
;;
2185 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2186 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2187 x_includes
=$ac_optarg ;;
2189 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2190 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2191 ac_prev
=x_libraries
;;
2192 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2193 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2194 x_libraries
=$ac_optarg ;;
2196 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2197 Try \`$0 --help' for more information"
2201 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2202 # Reject names that are not valid shell variable names.
2203 case $ac_envvar in #(
2204 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2205 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2207 eval $ac_envvar=\
$ac_optarg
2208 export $ac_envvar ;;
2211 # FIXME: should be removed in autoconf 3.0.
2212 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2213 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2214 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2215 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2221 if test -n "$ac_prev"; then
2222 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2223 as_fn_error $?
"missing argument to $ac_option"
2226 if test -n "$ac_unrecognized_opts"; then
2227 case $enable_option_checking in
2229 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2230 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2234 # Check all directory arguments for consistency.
2235 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2236 datadir sysconfdir sharedstatedir localstatedir includedir \
2237 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2238 libdir localedir mandir runstatedir
2240 eval ac_val
=\$
$ac_var
2241 # Remove trailing slashes.
2244 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2245 eval $ac_var=\
$ac_val;;
2247 # Be sure to have absolute directory names.
2249 [\\/$
]* | ?
:[\\/]* ) continue;;
2250 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2252 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2255 # There might be people who depend on the old broken behavior: `$host'
2256 # used to hold the argument of --host etc.
2257 # FIXME: To remove some day.
2260 target
=$target_alias
2262 # FIXME: To remove some day.
2263 if test "x$host_alias" != x
; then
2264 if test "x$build_alias" = x
; then
2265 cross_compiling
=maybe
2266 elif test "x$build_alias" != "x$host_alias"; then
2272 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2274 test "$silent" = yes && exec 6>/dev
/null
2277 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2278 ac_ls_di
=`ls -di .` &&
2279 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2280 as_fn_error $?
"working directory cannot be determined"
2281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2282 as_fn_error $?
"pwd does not report name of working directory"
2285 # Find the source files, if location was not specified.
2286 if test -z "$srcdir"; then
2287 ac_srcdir_defaulted
=yes
2288 # Try the directory containing this script, then the parent directory.
2289 ac_confdir
=`$as_dirname -- "$as_myself" ||
2290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2291 X"$as_myself" : 'X\(//\)[^/]' \| \
2292 X"$as_myself" : 'X\(//\)$' \| \
2293 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2294 printf "%s\n" X"$as_myself" |
2295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2313 if test ! -r "$srcdir/$ac_unique_file"; then
2317 ac_srcdir_defaulted
=no
2319 if test ! -r "$srcdir/$ac_unique_file"; then
2320 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2321 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2323 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2325 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2327 # When building in place, set srcdir=.
2328 if test "$ac_abs_confdir" = "$ac_pwd"; then
2331 # Remove unnecessary trailing slashes from srcdir.
2332 # Double slashes in file names in object file debugging info
2333 # mess up M-x gdb in Emacs.
2335 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2337 for ac_var
in $ac_precious_vars; do
2338 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2339 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2340 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2341 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2345 # Report the --help message.
2347 if test "$ac_init_help" = "long"; then
2348 # Omit some internal or obsolete options to make the list less imposing.
2349 # This message is too long to be a string in the A/UX 3.1 sh.
2351 \`configure' configures Wine 8.11 to adapt to many kinds of systems.
2353 Usage: $0 [OPTION]... [VAR=VALUE]...
2355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2356 VAR=VALUE. See below for descriptions of some of the useful variables.
2358 Defaults for the options are specified in brackets.
2361 -h, --help display this help and exit
2362 --help=short display options specific to this package
2363 --help=recursive display the short help of all the included packages
2364 -V, --version display version information and exit
2365 -q, --quiet, --silent do not print \`checking ...' messages
2366 --cache-file=FILE cache test results in FILE [disabled]
2367 -C, --config-cache alias for \`--cache-file=config.cache'
2368 -n, --no-create do not create output files
2369 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2371 Installation directories:
2372 --prefix=PREFIX install architecture-independent files in PREFIX
2373 [$ac_default_prefix]
2374 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2377 By default, \`make install' will install all the files in
2378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2380 for instance \`--prefix=\$HOME'.
2382 For better control, use the options below.
2384 Fine tuning of the installation directories:
2385 --bindir=DIR user executables [EPREFIX/bin]
2386 --sbindir=DIR system admin executables [EPREFIX/sbin]
2387 --libexecdir=DIR program executables [EPREFIX/libexec]
2388 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2389 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2390 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2391 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2392 --libdir=DIR object code libraries [EPREFIX/lib]
2393 --includedir=DIR C header files [PREFIX/include]
2394 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2395 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2396 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2397 --infodir=DIR info documentation [DATAROOTDIR/info]
2398 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2399 --mandir=DIR man documentation [DATAROOTDIR/man]
2400 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2401 --htmldir=DIR html documentation [DOCDIR]
2402 --dvidir=DIR dvi documentation [DOCDIR]
2403 --pdfdir=DIR pdf documentation [DOCDIR]
2404 --psdir=DIR ps documentation [DOCDIR]
2410 --x-includes=DIR X include files are
in DIR
2411 --x-libraries=DIR X library files are
in DIR
2414 --build=BUILD configure
for building on BUILD
[guessed
]
2415 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2419 if test -n "$ac_init_help"; then
2420 case $ac_init_help in
2421 short | recursive
) echo "Configuration of Wine 8.11:";;
2426 --disable-option-checking ignore unrecognized
--enable/--with options
2427 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2428 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2429 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2430 enable multiple architectures
for PE compilation
2431 --disable-win16 do not include Win16 support
2432 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2434 --disable-tests do not build the regression tests
2435 --enable-build-id include .buildid section in output objects
2436 --enable-maintainer-mode
2437 enable maintainer-specific build rules
2438 --enable-silent-rules use silent build rules (override: "make V=1")
2439 --enable-werror treat compilation warnings as errors
2440 --disable-largefile omit support for large files
2443 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2444 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2445 --without-alsa do not use the Alsa sound support
2446 --without-capi do not use CAPI (ISDN support)
2447 --without-coreaudio do not use the CoreAudio sound support
2448 --without-cups do not use CUPS
2449 --without-dbus do not use DBus (dynamic device support)
2450 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2451 --without-fontconfig do not use fontconfig
2452 --without-freetype do not use the FreeType library
2453 --without-gettext do not use gettext
2454 --with-gettextpo use the GetTextPO library to rebuild po files
2455 --without-gphoto do not use gphoto (Digital Camera support)
2456 --without-gnutls do not use GnuTLS (schannel support)
2457 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2458 --without-gstreamer do not use GStreamer (codecs support)
2459 --without-inotify do not use inotify (filesystem change notifications)
2460 --without-krb5 do not use krb5 (Kerberos)
2461 --without-mingw do not use the MinGW cross-compiler
2462 --without-netapi do not use the Samba NetAPI library
2463 --without-opencl do not use OpenCL
2464 --without-opengl do not use OpenGL
2465 --without-osmesa do not use the OSMesa library
2466 --without-oss do not use the OSS sound support
2467 --without-pcap do not use the Packet Capture library
2468 --without-pcsclite do not use PCSC lite
2469 --without-pthread do not use the pthread library
2470 --without-pulse do not use PulseAudio sound support
2471 --without-sane do not use SANE (scanner support)
2472 --without-sdl do not use SDL
2473 --without-udev do not use udev (plug and play support)
2474 --without-unwind do not use the libunwind library (exception
2476 --without-usb do not use the libusb library
2477 --without-v4l2 do not use v4l2 (video capture)
2478 --without-vulkan do not use Vulkan
2479 --without-wayland do not build the Wayland driver
2480 --without-xcomposite do not use the Xcomposite extension
2481 --without-xcursor do not use the Xcursor extension
2482 --without-xfixes do not use Xfixes for clipboard change notifications
2483 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2484 --without-xinput do not use the Xinput extension
2485 --without-xinput2 do not use the Xinput 2 extension
2486 --without-xrandr do not use Xrandr (multi-monitor support)
2487 --without-xrender do not use the Xrender extension
2488 --without-xshape do not use the Xshape extension
2489 --without-xshm do not use XShm (shared memory extension)
2490 --without-xxf86vm do not use XFree video mode extension
2491 --with-system-dllpath=PATH
2492 load external PE dependencies from colon-separated
2494 --with-wine-tools=DIR use Wine tools from directory DIR
2495 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2496 --with-x use the X Window System
2498 Some influential environment variables:
2499 CC C compiler command
2500 CFLAGS C compiler flags
2501 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2502 nonstandard directory <lib dir>
2503 LIBS libraries to pass to the linker, e.g. -l<library>
2504 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2505 you have headers in a nonstandard directory <include dir>
2506 CXX C++ compiler command
2507 CXXFLAGS C++ compiler flags
2508 OBJC Objective C compiler command
2509 OBJCFLAGS Objective C compiler flags
2511 C compiler flags for the PE faudio, overriding the bundled
2514 Linker flags for the PE faudio, overriding the bundled version
2516 C compiler flags for the PE gsm, overriding the bundled version
2517 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2519 C compiler flags for the PE jpeg, overriding the bundled version
2521 Linker flags for the PE jpeg, overriding the bundled version
2523 C compiler flags for the PE jxr, overriding the bundled version
2524 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2526 C compiler flags for the PE lcms2, overriding the bundled
2529 Linker flags for the PE lcms2, overriding the bundled version
2531 C compiler flags for the PE ldap, overriding the bundled version
2533 Linker flags for the PE ldap, overriding the bundled version
2535 C compiler flags for the PE mpg123, overriding the bundled
2538 Linker flags for the PE mpg123, overriding the bundled version
2540 C compiler flags for the PE musl, overriding the bundled version
2542 Linker flags for the PE musl, overriding the bundled version
2544 C compiler flags for the PE png, overriding the bundled version
2545 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2547 C compiler flags for the PE tiff, overriding the bundled version
2549 Linker flags for the PE tiff, overriding the bundled version
2551 C compiler flags for the PE vkd3d, overriding the bundled
2554 Linker flags for the PE vkd3d, overriding the bundled version
2556 C compiler flags for the PE xml2, overriding the bundled version
2558 Linker flags for the PE xml2, overriding the bundled version
2560 C compiler flags for the PE xslt, overriding the bundled version
2562 Linker flags for the PE xslt, overriding the bundled version
2564 C compiler flags for the PE zlib, overriding the bundled version
2566 Linker flags for the PE zlib, overriding the bundled version
2568 C compiler flags for the PE zydis, overriding the bundled
2571 Linker flags for the PE zydis, overriding the bundled version
2572 XMKMF Path to xmkmf, Makefile generator for X Window System
2574 WAYLAND_CLIENT_CFLAGS
2575 C compiler flags for wayland-client, overriding pkg-config
2577 Linker flags for wayland-client, overriding pkg-config
2579 C compiler flags for libinotify, overriding pkg-config
2581 Linker flags for libinotify, overriding pkg-config
2582 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2583 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2585 C compiler flags for gnutls, overriding pkg-config
2586 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2587 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2588 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2589 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2590 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2592 C compiler flags for libgphoto2, overriding pkg-config
2594 Linker flags for libgphoto2, overriding pkg-config
2596 C compiler flags for libgphoto2_port, overriding pkg-config
2598 Linker flags for libgphoto2_port, overriding pkg-config
2600 C compiler flags for freetype2, overriding pkg-config
2602 Linker flags for freetype2, overriding pkg-config
2604 C compiler flags for libpulse, overriding pkg-config
2605 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2607 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2608 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2610 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2611 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2612 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2613 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2615 C compiler flags for libunwind, overriding pkg-config
2616 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2617 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2618 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2620 C compiler flags for capi20, overriding pkg-config
2621 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2622 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2623 CUPS_LIBS Linker flags for cups, overriding pkg-config
2625 C compiler flags for fontconfig, overriding pkg-config
2627 Linker flags for fontconfig, overriding pkg-config
2628 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2629 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2631 C compiler flags for krb5-gssapi, overriding pkg-config
2632 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2634 C compiler flags for netapi, overriding pkg-config
2635 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2637 Use these variables to override the choices made by `configure' or to
help
2638 it to
find libraries and programs with nonstandard names
/locations.
2640 Report bugs to
<wine-devel@winehq.org
>.
2641 Wine home page
: <https
://www.winehq.org
>.
2646 if test "$ac_init_help" = "recursive"; then
2647 # If there are subdirs, report their specific --help.
2648 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2649 test -d "$ac_dir" ||
2650 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2655 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2657 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2658 # A ".." for each directory in $ac_dir_suffix.
2659 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2660 case $ac_top_builddir_sub in
2661 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2662 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2665 ac_abs_top_builddir
=$ac_pwd
2666 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2667 # for backward compatibility:
2668 ac_top_builddir
=$ac_top_build_prefix
2671 .
) # We are building in place.
2673 ac_top_srcdir
=$ac_top_builddir_sub
2674 ac_abs_top_srcdir
=$ac_pwd ;;
2675 [\\/]* | ?
:[\\/]* ) # Absolute name.
2676 ac_srcdir
=$srcdir$ac_dir_suffix;
2677 ac_top_srcdir
=$srcdir
2678 ac_abs_top_srcdir
=$srcdir ;;
2680 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2681 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2682 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2684 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2686 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2687 # Check for configure.gnu first; this name is used for a wrapper for
2688 # Metaconfig's "Configure" on case-insensitive file systems.
2689 if test -f "$ac_srcdir/configure.gnu"; then
2691 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2692 elif test -f "$ac_srcdir/configure"; then
2694 $SHELL "$ac_srcdir/configure" --help=recursive
2696 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2698 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2702 test -n "$ac_init_help" && exit $ac_status
2703 if $ac_init_version; then
2706 generated by GNU Autoconf
2.71
2708 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2709 This configure
script is free software
; the Free Software Foundation
2710 gives unlimited permission to copy
, distribute and modify it.
2715 ## ------------------------ ##
2716 ## Autoconf initialization. ##
2717 ## ------------------------ ##
2719 # ac_fn_c_try_compile LINENO
2720 # --------------------------
2721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2722 ac_fn_c_try_compile
()
2724 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2725 rm -f conftest.
$ac_objext conftest.beam
2726 if { { ac_try
="$ac_compile"
2728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 printf "%s\n" "$ac_try_echo"; } >&5
2733 (eval "$ac_compile") 2>conftest.err
2735 if test -s conftest.err; then
2736 grep -v '^ *+' conftest.err >conftest.er1
2737 cat conftest.er1 >&5
2738 mv -f conftest.er1 conftest.err
2740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2741 test $ac_status = 0; } && {
2742 test -z "$ac_c_werror_flag" ||
2743 test ! -s conftest.err
2744 } && test -s conftest.$ac_objext
2748 printf "%s\n" "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 as_fn_set_status $ac_retval
2756 } # ac_fn_c_try_compile
2758 # ac_fn_cxx_try_compile LINENO
2759 # ----------------------------
2760 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2761 ac_fn_cxx_try_compile ()
2763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2764 rm -f conftest.$ac_objext conftest.beam
2765 if { { ac_try="$ac_compile"
2767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2768 *) ac_try_echo
=$ac_try;;
2770 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 printf "%s\n" "$ac_try_echo"; } >&5
2772 (eval "$ac_compile") 2>conftest.err
2774 if test -s conftest.err
; then
2775 grep -v '^ *+' conftest.err
>conftest.er1
2776 cat conftest.er1
>&5
2777 mv -f conftest.er1 conftest.err
2779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; } && {
2781 test -z "$ac_cxx_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.
$ac_objext
2787 printf "%s\n" "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.
$ac_ext >&5
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 as_fn_set_status
$ac_retval
2795 } # ac_fn_cxx_try_compile
2797 # ac_fn_c_try_link LINENO
2798 # -----------------------
2799 # Try to link conftest.$ac_ext, and return whether this succeeded.
2802 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2803 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2804 if { { ac_try
="$ac_link"
2806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 printf "%s\n" "$ac_try_echo"; } >&5
2811 (eval "$ac_link") 2>conftest.err
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest$ac_exeext && {
2823 test "$cross_compiling" = yes ||
2824 test -x conftest$ac_exeext
2829 printf "%s\n" "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2834 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2835 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2836 # interfere with the next link command; also delete a directory that is
2837 # left behind by Apple's compiler. We do this before executing the actions.
2838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2840 as_fn_set_status $ac_retval
2842 } # ac_fn_c_try_link
2844 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2845 # -------------------------------------------------------
2846 # Tests whether HEADER exists and can be compiled using the include files in
2847 # INCLUDES, setting the cache variable VAR accordingly.
2848 ac_fn_c_check_header_compile ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2852 printf %s "checking for $2... " >&6; }
2853 if eval test \${$3+y}
2855 printf %s "(cached) " >&6
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2862 if ac_fn_c_try_compile "$LINENO"
2868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2872 printf "%s\n" "$ac_res" >&6; }
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2875 } # ac_fn_c_check_header_compile
2877 # ac_fn_objc_try_compile LINENO
2878 # -----------------------------
2879 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2880 ac_fn_objc_try_compile ()
2882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 rm -f conftest.$ac_objext conftest.beam
2884 if { { ac_try="$ac_compile"
2886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2887 *) ac_try_echo
=$ac_try;;
2889 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2890 printf "%s\n" "$ac_try_echo"; } >&5
2891 (eval "$ac_compile") 2>conftest.err
2893 if test -s conftest.err
; then
2894 grep -v '^ *+' conftest.err
>conftest.er1
2895 cat conftest.er1
>&5
2896 mv -f conftest.er1 conftest.err
2898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2899 test $ac_status = 0; } && {
2900 test -z "$ac_objc_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest.
$ac_objext
2906 printf "%s\n" "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.
$ac_ext >&5
2911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2912 as_fn_set_status
$ac_retval
2914 } # ac_fn_objc_try_compile
2916 # ac_fn_c_check_func LINENO FUNC VAR
2917 # ----------------------------------
2918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2919 ac_fn_c_check_func
()
2921 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2923 printf %s
"checking for $2... " >&6; }
2924 if eval test \
${$3+y}
2926 printf %s
"(cached) " >&6
2928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2932 #define $2 innocuous_$2
2934 /* System header to define __stub macros and hopefully few prototypes,
2935 which can conflict with char $2 (); below. */
2940 /* Override any GCC internal prototype to avoid an error.
2941 Use char because int might match the return type of a GCC
2942 builtin and then its argument prototype would still apply. */
2947 /* The GNU C library defines this for functions which it implements
2948 to always fail with ENOSYS. Some functions are actually named
2949 something starting with __ and the normal name is an alias. */
2950 #if defined __stub_$2 || defined __stub___$2
2962 if ac_fn_c_try_link
"$LINENO"
2968 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2969 conftest
$ac_exeext conftest.
$ac_ext
2972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2973 printf "%s\n" "$ac_res" >&6; }
2974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 } # ac_fn_c_check_func
2978 # ac_fn_c_try_cpp LINENO
2979 # ----------------------
2980 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2983 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2984 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 printf "%s\n" "$ac_try_echo"; } >&5
2991 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2993 if test -s conftest.err; then
2994 grep -v '^ *+' conftest.err >conftest.er1
2995 cat conftest.er1 >&5
2996 mv -f conftest.er1 conftest.err
2998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; } > conftest.i && {
3000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3001 test ! -s conftest.err
3006 printf "%s\n" "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3012 as_fn_set_status $ac_retval
3016 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3017 # ----------------------------------------------------
3018 # Tries to find if the field MEMBER exists in type AGGR, after including
3019 # INCLUDES, setting cache variable VAR accordingly.
3020 ac_fn_c_check_member ()
3022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3024 printf %s "checking for $2.$3... " >&6; }
3025 if eval test \${$4+y}
3027 printf %s "(cached) " >&6
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3042 if ac_fn_c_try_compile "$LINENO"
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3053 if (sizeof ac_aggr.$3)
3059 if ac_fn_c_try_compile "$LINENO"
3065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3071 printf "%s\n" "$ac_res" >&6; }
3072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3074 } # ac_fn_c_check_member
3076 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3077 # -------------------------------------------
3078 # Tests whether TYPE exists after having included INCLUDES, setting cache
3079 # variable VAR accordingly.
3080 ac_fn_c_check_type ()
3082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3084 printf %s "checking for $2... " >&6; }
3085 if eval test \${$3+y}
3087 printf %s "(cached) " >&6
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3102 if ac_fn_c_try_compile "$LINENO"
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3116 if ac_fn_c_try_compile "$LINENO"
3122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3128 printf "%s\n" "$ac_res" >&6; }
3129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 } # ac_fn_c_check_type
3132 ac_configure_args_raw=
3137 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3139 as_fn_append ac_configure_args_raw " '$ac_arg'"
3142 case $ac_configure_args_raw in
3146 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3147 ac_unsafe_a="$ac_unsafe_z#~
"
3148 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3149 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3152 cat >config.log <<_ACEOF
3153 This file contains any messages produced by compilers while
3154 running configure, to aid debugging if configure makes a mistake.
3156 It was created by Wine $as_me 8.11, which was
3157 generated by GNU Autoconf 2.71. Invocation command line was
3159 $ $0$ac_configure_args_raw
3169 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3170 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3171 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3172 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3173 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3175 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3176 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3178 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3179 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3180 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3181 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3182 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3183 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3184 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192 case $as_dir in #(((
3195 *) as_dir=$as_dir/ ;;
3197 printf "%s
\n" "PATH
: $as_dir"
3213 # Keep a trace of the command line.
3214 # Strip out --no-create and --no-recursion so they do not pile up.
3215 # Strip out --silent because we don't want to record it for future runs.
3216 # Also quote any args containing shell meta-characters.
3217 # Make two passes to allow for proper duplicate-argument suppression.
3221 ac_must_keep_next=false
3227 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3228 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3229 | -silent | --silent | --silen | --sile | --sil)
3232 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3235 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3237 as_fn_append ac_configure_args1 " '$ac_arg'"
3238 if test $ac_must_keep_next = true; then
3239 ac_must_keep_next=false # Got value, back to normal.
3242 *=* | --config-cache | -C | -disable-* | --disable-* \
3243 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3244 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3245 | -with-* | --with-* | -without-* | --without-* | --x)
3246 case "$ac_configure_args0 " in
3247 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3250 -* ) ac_must_keep_next=true ;;
3253 as_fn_append ac_configure_args " '$ac_arg'"
3258 { ac_configure_args0=; unset ac_configure_args0;}
3259 { ac_configure_args1=; unset ac_configure_args1;}
3261 # When interrupted or exit'd, cleanup temporary files, and complete
3262 # config.log. We remove comments because anyway the quotes in there
3263 # would cause problems or look ugly.
3264 # WARNING: Use '\'' to represent an apostrophe within the trap.
3265 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3266 trap 'exit_status=$?
3269 # Save into config.log some information that might help in debugging.
3273 printf "%s
\n" "## ---------------- ##
3274 ## Cache variables. ##
3275 ## ---------------- ##"
3277 # The following way of writing the cache mishandles newlines in values,
3279 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3280 eval ac_val
=\$
$ac_var
3284 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3285 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3288 _ | IFS | as_nl
) ;; #(
3289 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3290 *) { eval $ac_var=; unset $ac_var;} ;;
3295 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3296 *${as_nl}ac_space
=\
*)
3298 "s/'\''/'\''\\\\'\'''\''/g;
3299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3309 printf "%s\n" "## ----------------- ##
3310 ## Output variables. ##
3311 ## ----------------- ##"
3313 for ac_var
in $ac_subst_vars
3315 eval ac_val
=\$
$ac_var
3317 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3319 printf "%s\n" "$ac_var='\''$ac_val'\''"
3323 if test -n "$ac_subst_files"; then
3324 printf "%s\n" "## ------------------- ##
3325 ## File substitutions. ##
3326 ## ------------------- ##"
3328 for ac_var in $ac_subst_files
3330 eval ac_val=\$$ac_var
3332 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3334 printf "%s\n" "$ac_var='\''$ac_val'\''"
3339 if test -s confdefs.h
; then
3340 printf "%s\n" "## ----------- ##
3347 test "$ac_signal" != 0 &&
3348 printf "%s\n" "$as_me: caught signal $ac_signal"
3349 printf "%s\n" "$as_me: exit $exit_status"
3351 rm -f core
*.core core.conftest.
* &&
3352 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3355 for ac_signal in 1 2 13 15; do
3356 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3360 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3361 rm -f -r conftest* confdefs.h
3363 printf "%s\n" "/* confdefs.h */" > confdefs.h
3365 # Predefined preprocessor variables.
3367 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3369 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3371 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3373 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3380 # Let the site file select an alternate cache file if it wants to.
3381 # Prefer an explicitly selected file to automatically selected ones.
3382 if test -n "$CONFIG_SITE"; then
3383 ac_site_files="$CONFIG_SITE"
3384 elif test "x$prefix" != xNONE; then
3385 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3387 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3390 for ac_site_file in $ac_site_files
3392 case $ac_site_file in #(
3396 ac_site_file=./$ac_site_file ;;
3398 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3400 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3401 sed 's
/^
/|
/' "$ac_site_file" >&5
3403 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3405 as_fn_error $? "failed to load site script $ac_site_file
3406 See \`config.log
' for more details" "$LINENO" 5; }
3410 if test -r "$cache_file"; then
3411 # Some versions of bash will fail to source /dev/null (special files
3412 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3413 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3415 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3417 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3418 *) . "./$cache_file";;
3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3423 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3427 # Test code for whether the C compiler supports C89 (global declarations)
3428 ac_c_conftest_c89_globals='
3429 /* Does the compiler advertise C89 conformance?
3430 Do not
test the value of __STDC__
, because some compilers
set it to
0
3431 while being otherwise adequately conformant.
*/
3432 #if !defined __STDC__
3433 # error "Compiler does not advertise C89 conformance"
3439 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3440 struct buf
{ int x
; };
3441 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3442 static char
*e
(p
, i
)
3448 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3453 s
= g
(p
, va_arg
(v
,int
));
3458 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3459 function prototypes and stuff
, but not \xHH hex character constants.
3460 These
do not provoke an error unfortunately
, instead are silently treated
3461 as an
"x". The following induces an error
, until -std is added to get
3462 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3463 array size
at least. It is necessary to
write \x00 == 0 to get something
3464 that is true only with
-std.
*/
3465 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3467 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3468 inside
strings and character constants.
*/
3469 #define FOO(x) '\''x'\''
3470 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3472 int
test (int i
, double x
);
3473 struct s1
{int
(*f
) (int a
);};
3474 struct s2
{int
(*f
) (double a
);};
3475 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3478 # Test code for whether the C compiler supports C89 (body of main).
3479 ac_c_conftest_c89_main='
3480 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3483 # Test code for whether the C compiler supports C99 (global declarations)
3484 ac_c_conftest_c99_globals='
3485 // Does the compiler advertise C99 conformance?
3486 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3487 # error "Compiler does not advertise C99 conformance"
3490 #include <stdbool.h>
3491 extern int puts
(const char
*);
3492 extern int
printf (const char
*, ...
);
3493 extern int dprintf
(int
, const char
*, ...
);
3494 extern void
*malloc
(size_t
);
3496 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3497 // dprintf is used instead of fprintf to avoid needing to
declare
3499 #define debug(...) dprintf (2, __VA_ARGS__)
3500 #define showlist(...) puts (#__VA_ARGS__)
3501 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3503 test_varargs_macros
(void
)
3508 debug
("X = %d\n", x
);
3509 showlist
(The first
, second
, and third items.
);
3510 report
(x
>y
, "x is %d but y is %d", x
, y
);
3513 // Check long long types.
3514 #define BIG64 18446744073709551615ull
3515 #define BIG32 4294967295ul
3516 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3518 #error "your preprocessor is broken"
3522 #error "your preprocessor is broken"
3524 static long long int bignum
= -9223372036854775807LL;
3525 static unsigned long long int ubignum
= BIG64
;
3527 struct incomplete_array
3535 const wchar_t
*name
;
3539 typedef const char
*ccp
;
3542 test_restrict
(ccp restrict text
)
3544 // See
if C
++-style comments work.
3545 // Iterate through items via the restricted pointer.
3546 // Also check
for declarations
in for loops.
3547 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3552 // Check varargs and va_copy.
3554 test_varargs
(const char
*format
, ...
)
3557 va_start
(args
, format
);
3559 va_copy
(args_copy
, args
);
3561 const char
*str
= "";
3569 case '\''s
'\'': // string
3570 str
= va_arg
(args_copy
, const char
*);
3572 case '\''d
'\'': // int
3573 number
= va_arg
(args_copy
, int
);
3575 case '\''f
'\'': // float
3576 fnumber
= va_arg
(args_copy
, double
);
3585 return *str
&& number
&& fnumber
;
3589 # Test code for whether the C compiler supports C99 (body of main).
3590 ac_c_conftest_c99_main='
3592 _Bool success
= false
;
3593 success |
= (argc
!= 0);
3596 if (test_restrict
("String literal") == 0)
3598 char
*restrict newvar
= "Another string";
3601 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3602 test_varargs_macros
();
3604 // Check flexible array members.
3605 struct incomplete_array
*ia
=
3606 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3608 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3609 ia-
>data
[i
] = i
* 1.234;
3611 // Check named initializers.
3612 struct named_init ni
= {
3614 .name
= L
"Test wide string",
3615 .average
= 543.34343,
3620 int dynamic_array
[ni.number
];
3621 dynamic_array
[0] = argv
[0][0];
3622 dynamic_array
[ni.number
- 1] = 543;
3624 // work around unused variable warnings
3625 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3626 || dynamic_array
[ni.number
- 1] != 543);
3629 # Test code for whether the C compiler supports C11 (global declarations)
3630 ac_c_conftest_c11_globals='
3631 // Does the compiler advertise C11 conformance?
3632 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3633 # error "Compiler does not advertise C11 conformance"
3637 char _Alignas
(double
) aligned_as_double
;
3638 char _Alignas
(0) no_special_alignment
;
3639 extern char aligned_as_int
;
3640 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3645 int_alignment
= _Alignof
(int
),
3646 int_array_alignment
= _Alignof
(int
[100]),
3647 char_alignment
= _Alignof
(char
)
3649 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3652 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3654 // Check _Static_assert.
3655 struct test_static_assert
3658 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3659 "_Static_assert does not work in struct");
3663 // Check UTF-8 literals.
3664 #define u8 syntax error!
3665 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3667 // Check duplicate typedefs.
3668 typedef long
*long_ptr
;
3669 typedef long int
*long_ptr
;
3670 typedef long_ptr long_ptr
;
3672 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3676 struct
{ int i
; int j
; };
3677 struct
{ int k
; long int l
; } w
;
3683 # Test code for whether the C compiler supports C11 (body of main).
3684 ac_c_conftest_c11_main='
3685 _Static_assert
((offsetof
(struct anonymous
, i
)
3686 == offsetof
(struct anonymous
, w.k
)),
3687 "Anonymous union alignment botch");
3693 # Test code for whether the C compiler supports C11 (complete).
3694 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3695 ${ac_c_conftest_c99_globals}
3696 ${ac_c_conftest_c11_globals}
3699 main (int argc, char **argv)
3702 ${ac_c_conftest_c89_main}
3703 ${ac_c_conftest_c99_main}
3704 ${ac_c_conftest_c11_main}
3709 # Test code for whether the C compiler supports C99 (complete).
3710 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3711 ${ac_c_conftest_c99_globals}
3714 main (int argc, char **argv)
3717 ${ac_c_conftest_c89_main}
3718 ${ac_c_conftest_c99_main}
3723 # Test code for whether the C compiler supports C89 (complete).
3724 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3727 main (int argc, char **argv)
3730 ${ac_c_conftest_c89_main}
3735 # Test code for whether the C++ compiler supports C++98 (global declarations)
3736 ac_cxx_conftest_cxx98_globals='
3737 // Does the compiler advertise C
++98 conformance?
3738 #if !defined __cplusplus || __cplusplus < 199711L
3739 # error "Compiler does not advertise C++98 conformance"
3742 // These inclusions are to reject old compilers that
3743 // lack the unsuffixed header files.
3745 #include <exception>
3747 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3748 extern void assert
(int
);
3750 extern int strcmp
(const char
*, const char
*);
3753 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3754 using std
::exception
;
3759 void test_exception_syntax
()
3763 } catch
(const char
*s
) {
3764 // Extra parentheses suppress a warning when building autoconf itself
,
3765 // due to lint rules shared with
more typical C programs.
3766 assert
(!(strcmp
) (s
, "test"));
3770 template
<typename T
> struct test_template
3773 explicit test_template
(T t
) : val
(t
) {}
3774 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3777 } // anonymous namespace
3780 # Test code for whether the C++ compiler supports C++98 (body of main)
3781 ac_cxx_conftest_cxx98_main='
3785 test_exception_syntax
();
3786 test_template
<double
> tt
(2.0);
3787 assert
(tt.add
(4) == 6.0);
3788 assert
(true
&& !false
);
3792 # Test code for whether the C++ compiler supports C++11 (global declarations)
3793 ac_cxx_conftest_cxx11_globals='
3794 // Does the compiler advertise C
++ 2011 conformance?
3795 #if !defined __cplusplus || __cplusplus < 201103L
3796 # error "Compiler does not advertise C++11 conformance"
3801 constexpr int get_val
() { return 20; }
3812 delegate
(int n
) : n
(n
) {}
3813 delegate
(): delegate
(2354) {}
3815 virtual int getval
() { return this-
>n
; };
3820 class overridden
: public delegate
3823 overridden
(int n
): delegate
(n
) {}
3824 virtual int getval
() override final
{ return this-
>n
* 2; }
3830 nocopy
(int i
): i
(i
) {}
3832 nocopy
(const nocopy
&) = delete
;
3833 nocopy
& operator
=(const nocopy
&) = delete
;
3838 // for testing lambda expressions
3839 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3844 // for testing variadic templates and trailing
return types
3845 template
<typename V
> auto
sum(V first
) -> V
3849 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3851 return first
+ sum(rest...
);
3856 # Test code for whether the C++ compiler supports C++11 (body of main)
3857 ac_cxx_conftest_cxx11_main='
3859 // Test auto and decltype
3861 auto a2
= 48573953.4;
3862 auto a3
= "String literal";
3865 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3867 decltype
(a2
) a4
= 34895.034;
3871 short sa
[cxx11test
::get_val
()] = { 0 };
3874 // Test initializer lists
3875 cxx11test
::testinit il
= { 4323, 435234.23544 };
3878 // Test range-based
for
3879 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3880 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3881 for (auto
&x
: array
) { x
+= 23; }
3884 // Test lambda expressions
3885 using cxx11test
::eval;
3886 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3888 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3890 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3894 // Test use of variadic templates
3895 using cxx11test
::sum;
3898 auto c
= sum(1.0, 2.0, 3.0);
3901 // Test constructor delegation
3902 cxx11test
::delegate d1
;
3903 cxx11test
::delegate d2
();
3904 cxx11test
::delegate d3
(45);
3907 // Test override and final
3908 cxx11test
::overridden o1
(55464);
3915 // Test template brackets
3916 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3920 char const
*utf8
= u8
"UTF-8 string \u2500";
3921 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3922 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3926 # Test code for whether the C compiler supports C++11 (complete).
3927 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3928 ${ac_cxx_conftest_cxx11_globals}
3931 main (int argc, char **argv)
3934 ${ac_cxx_conftest_cxx98_main}
3935 ${ac_cxx_conftest_cxx11_main}
3940 # Test code for whether the C compiler supports C++98 (complete).
3941 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3943 main (int argc, char **argv)
3946 ${ac_cxx_conftest_cxx98_main}
3951 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3952 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3953 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3954 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3955 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3956 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3957 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3958 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3959 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3961 # Auxiliary files required by this configure script.
3962 ac_aux_files="config.guess config.sub"
3964 # Locations in which to look for auxiliary files.
3965 ac_aux_dir_candidates="${srcdir}/tools"
3967 # Search for a directory containing all of the required auxiliary files,
3968 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3969 # If we don't
find one directory that contains all the files we need
,
3970 # we report the set of missing files from the *first* directory in
3971 # $ac_aux_dir_candidates and give up.
3972 ac_missing_aux_files
=""
3973 ac_first_candidate
=:
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 for as_dir
in $ac_aux_dir_candidates
3980 case $as_dir in #(((
3983 *) as_dir
=$as_dir/ ;;
3987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3988 ac_aux_dir_found
=yes
3990 for ac_aux
in $ac_aux_files
3992 # As a special case, if "install-sh" is required, that requirement
3993 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3994 # and $ac_install_sh is set appropriately for whichever one is found.
3995 if test x
"$ac_aux" = x
"install-sh"
3997 if test -f "${as_dir}install-sh"; then
3998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3999 ac_install_sh
="${as_dir}install-sh -c"
4000 elif test -f "${as_dir}install.sh"; then
4001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4002 ac_install_sh
="${as_dir}install.sh -c"
4003 elif test -f "${as_dir}shtool"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4005 ac_install_sh
="${as_dir}shtool install -c"
4008 if $ac_first_candidate; then
4009 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4015 if test -f "${as_dir}${ac_aux}"; then
4016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4019 if $ac_first_candidate; then
4020 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4027 if test "$ac_aux_dir_found" = yes; then
4028 ac_aux_dir
="$as_dir"
4031 ac_first_candidate
=false
4040 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4044 # These three variables are undocumented and unsupported,
4045 # and are intended to be withdrawn in a future Autoconf release.
4046 # They can cause serious problems if a builder's source tree is in a directory
4047 # whose full name contains unusual characters.
4048 if test -f "${ac_aux_dir}config.guess"; then
4049 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4051 if test -f "${ac_aux_dir}config.sub"; then
4052 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4054 if test -f "$ac_aux_dir/configure"; then
4055 ac_configure
="$SHELL ${ac_aux_dir}configure"
4058 # Check that the precious variables saved in the cache have kept the same
4060 ac_cache_corrupted
=false
4061 for ac_var
in $ac_precious_vars; do
4062 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4063 eval ac_new_set
=\
$ac_env_${ac_var}_set
4064 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4065 eval ac_new_val
=\
$ac_env_${ac_var}_value
4066 case $ac_old_set,$ac_new_set in
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4069 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4070 ac_cache_corrupted
=: ;;
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4073 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4074 ac_cache_corrupted
=: ;;
4077 if test "x$ac_old_val" != "x$ac_new_val"; then
4078 # differences in whitespace do not lead to failure.
4079 ac_old_val_w
=`echo x $ac_old_val`
4080 ac_new_val_w
=`echo x $ac_new_val`
4081 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4083 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4084 ac_cache_corrupted
=:
4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4087 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4088 eval $ac_var=\
$ac_old_val
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4091 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4093 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4096 # Pass precious variables to config.status.
4097 if test "$ac_new_set" = set; then
4099 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4100 *) ac_arg
=$ac_var=$ac_new_val ;;
4102 case " $ac_configure_args " in
4103 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4104 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4108 if $ac_cache_corrupted; then
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4112 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4113 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4114 and start over" "$LINENO" 5
4116 ## -------------------- ##
4117 ## Main body of script. ##
4118 ## -------------------- ##
4121 ac_cpp
='$CPP $CPPFLAGS'
4122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4128 ac_config_headers
="$ac_config_headers include/config.h"
4132 libwine_version
="1.0"
4135 # Check whether --enable-archs was given.
4136 if test ${enable_archs+y}
4138 enableval
=$enable_archs;
4141 # Check whether --enable-win16 was given.
4142 if test ${enable_win16+y}
4144 enableval
=$enable_win16;
4147 # Check whether --enable-win64 was given.
4148 if test ${enable_win64+y}
4150 enableval
=$enable_win64;
4153 # Check whether --enable-tests was given.
4154 if test ${enable_tests+y}
4156 enableval
=$enable_tests;
4159 # Check whether --enable-build-id was given.
4160 if test ${enable_build_id+y}
4162 enableval
=$enable_build_id;
4165 # Check whether --enable-maintainer-mode was given.
4166 if test ${enable_maintainer_mode+y}
4168 enableval
=$enable_maintainer_mode;
4171 # Check whether --enable-silent-rules was given.
4172 if test ${enable_silent_rules+y}
4174 enableval
=$enable_silent_rules;
4177 # Check whether --enable-werror was given.
4178 if test ${enable_werror+y}
4180 enableval
=$enable_werror;
4185 # Check whether --with-alsa was given.
4186 if test ${with_alsa+y}
4192 # Check whether --with-capi was given.
4193 if test ${with_capi+y}
4199 # Check whether --with-coreaudio was given.
4200 if test ${with_coreaudio+y}
4202 withval
=$with_coreaudio;
4206 # Check whether --with-cups was given.
4207 if test ${with_cups+y}
4213 # Check whether --with-dbus was given.
4214 if test ${with_dbus+y}
4220 # Check whether --with-float-abi was given.
4221 if test ${with_float_abi+y}
4223 withval
=$with_float_abi;
4227 # Check whether --with-fontconfig was given.
4228 if test ${with_fontconfig+y}
4230 withval
=$with_fontconfig;
4234 # Check whether --with-freetype was given.
4235 if test ${with_freetype+y}
4237 withval
=$with_freetype;
4241 # Check whether --with-gettext was given.
4242 if test ${with_gettext+y}
4244 withval
=$with_gettext;
4248 # Check whether --with-gettextpo was given.
4249 if test ${with_gettextpo+y}
4251 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4255 # Check whether --with-gphoto was given.
4256 if test ${with_gphoto+y}
4258 withval
=$with_gphoto;
4262 # Check whether --with-gnutls was given.
4263 if test ${with_gnutls+y}
4265 withval
=$with_gnutls;
4269 # Check whether --with-gssapi was given.
4270 if test ${with_gssapi+y}
4272 withval
=$with_gssapi;
4276 # Check whether --with-gstreamer was given.
4277 if test ${with_gstreamer+y}
4279 withval
=$with_gstreamer;
4283 # Check whether --with-inotify was given.
4284 if test ${with_inotify+y}
4286 withval
=$with_inotify;
4290 # Check whether --with-krb5 was given.
4291 if test ${with_krb5+y}
4297 # Check whether --with-mingw was given.
4298 if test ${with_mingw+y}
4300 withval
=$with_mingw;
4304 # Check whether --with-netapi was given.
4305 if test ${with_netapi+y}
4307 withval
=$with_netapi;
4311 # Check whether --with-opencl was given.
4312 if test ${with_opencl+y}
4314 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4318 # Check whether --with-opengl was given.
4319 if test ${with_opengl+y}
4321 withval
=$with_opengl;
4325 # Check whether --with-osmesa was given.
4326 if test ${with_osmesa+y}
4328 withval
=$with_osmesa;
4332 # Check whether --with-oss was given.
4333 if test ${with_oss+y}
4339 # Check whether --with-pcap was given.
4340 if test ${with_pcap+y}
4342 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4346 # Check whether --with-pcsclite was given.
4347 if test ${with_pcsclite+y}
4349 withval
=$with_pcsclite;
4353 # Check whether --with-pthread was given.
4354 if test ${with_pthread+y}
4356 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4360 # Check whether --with-pulse was given.
4361 if test ${with_pulse+y}
4363 withval
=$with_pulse;
4367 # Check whether --with-sane was given.
4368 if test ${with_sane+y}
4374 # Check whether --with-sdl was given.
4375 if test ${with_sdl+y}
4381 # Check whether --with-udev was given.
4382 if test ${with_udev+y}
4388 # Check whether --with-unwind was given.
4389 if test ${with_unwind+y}
4391 withval
=$with_unwind;
4395 # Check whether --with-usb was given.
4396 if test ${with_usb+y}
4402 # Check whether --with-v4l2 was given.
4403 if test ${with_v4l2+y}
4409 # Check whether --with-vulkan was given.
4410 if test ${with_vulkan+y}
4412 withval
=$with_vulkan;
4416 # Check whether --with-wayland was given.
4417 if test ${with_wayland+y}
4419 withval
=$with_wayland;
4423 # Check whether --with-xcomposite was given.
4424 if test ${with_xcomposite+y}
4426 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4430 # Check whether --with-xcursor was given.
4431 if test ${with_xcursor+y}
4433 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4437 # Check whether --with-xfixes was given.
4438 if test ${with_xfixes+y}
4440 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4444 # Check whether --with-xinerama was given.
4445 if test ${with_xinerama+y}
4447 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4451 # Check whether --with-xinput was given.
4452 if test ${with_xinput+y}
4454 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4458 # Check whether --with-xinput2 was given.
4459 if test ${with_xinput2+y}
4461 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4465 # Check whether --with-xrandr was given.
4466 if test ${with_xrandr+y}
4468 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4472 # Check whether --with-xrender was given.
4473 if test ${with_xrender+y}
4475 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4479 # Check whether --with-xshape was given.
4480 if test ${with_xshape+y}
4482 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4486 # Check whether --with-xshm was given.
4487 if test ${with_xshm+y}
4489 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4493 # Check whether --with-xxf86vm was given.
4494 if test ${with_xxf86vm+y}
4496 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
4501 # Check whether --with-system-dllpath was given.
4502 if test ${with_system_dllpath+y}
4504 withval
=$with_system_dllpath; system_dllpath
=$withval
4509 # Check whether --with-wine-tools was given.
4510 if test ${with_wine_tools+y}
4512 withval
=$with_wine_tools;
4516 # Check whether --with-wine64 was given.
4517 if test ${with_wine64+y}
4519 withval
=$with_wine64;
4526 # Make sure we can run config.sub.
4527 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4528 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4531 printf %s
"checking build system type... " >&6; }
4532 if test ${ac_cv_build+y}
4534 printf %s
"(cached) " >&6
4536 ac_build_alias
=$build_alias
4537 test "x$ac_build_alias" = x
&&
4538 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4539 test "x$ac_build_alias" = x
&&
4540 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4541 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4542 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4546 printf "%s\n" "$ac_cv_build" >&6; }
4547 case $ac_cv_build in
4549 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4552 ac_save_IFS
=$IFS; IFS
='-'
4558 # Remember, the first character of IFS is used to create $*,
4559 # except with old shells:
4562 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4566 printf %s
"checking host system type... " >&6; }
4567 if test ${ac_cv_host+y}
4569 printf %s
"(cached) " >&6
4571 if test "x$host_alias" = x
; then
4572 ac_cv_host
=$ac_cv_build
4574 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4575 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4580 printf "%s\n" "$ac_cv_host" >&6; }
4583 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4586 ac_save_IFS
=$IFS; IFS
='-'
4592 # Remember, the first character of IFS is used to create $*,
4593 # except with old shells:
4596 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4600 dlldir
=\
${libdir}/wine
4602 fontdir
=\
${datadir}/wine
/fonts
4604 nlsdir
=\
${datadir}/wine
/nls
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4610 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4612 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4613 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4615 printf %s
"(cached) " >&6
4617 cat >conftest.
make <<\_ACEOF
4620 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4622 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4623 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4625 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4627 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4631 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4633 printf "%s\n" "yes" >&6; }
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 printf "%s\n" "no" >&6; }
4638 SET_MAKE
="MAKE=${MAKE-make}"
4651 ac_cpp
='$CPP $CPPFLAGS'
4652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4657 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 printf %s
"checking for $ac_word... " >&6; }
4660 if test ${ac_cv_prog_CC+y}
4662 printf %s
"(cached) " >&6
4664 if test -n "$CC"; then
4665 ac_cv_prog_CC
="$CC" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 case $as_dir in #(((
4674 *) as_dir
=$as_dir/ ;;
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4689 if test -n "$CC"; then
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4691 printf "%s\n" "$CC" >&6; }
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 printf "%s\n" "no" >&6; }
4699 if test -z "$ac_cv_prog_CC"; then
4701 # Extract the first word of "gcc", so it can be a program name with args.
4702 set dummy gcc
; ac_word
=$2
4703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704 printf %s
"checking for $ac_word... " >&6; }
4705 if test ${ac_cv_prog_ac_ct_CC+y}
4707 printf %s
"(cached) " >&6
4709 if test -n "$ac_ct_CC"; then
4710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4716 case $as_dir in #(((
4719 *) as_dir
=$as_dir/ ;;
4721 for ac_exec_ext
in '' $ac_executable_extensions; do
4722 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4723 ac_cv_prog_ac_ct_CC
="gcc"
4724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4733 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4734 if test -n "$ac_ct_CC"; then
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4736 printf "%s\n" "$ac_ct_CC" >&6; }
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 printf "%s\n" "no" >&6; }
4742 if test "x$ac_ct_CC" = x
; then
4745 case $cross_compiling:$ac_tool_warned in
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4748 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4749 ac_tool_warned
=yes ;;
4757 if test -z "$CC"; then
4758 if test -n "$ac_tool_prefix"; then
4759 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4760 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762 printf %s
"checking for $ac_word... " >&6; }
4763 if test ${ac_cv_prog_CC+y}
4765 printf %s
"(cached) " >&6
4767 if test -n "$CC"; then
4768 ac_cv_prog_CC
="$CC" # Let the user override the test.
4770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4774 case $as_dir in #(((
4777 *) as_dir
=$as_dir/ ;;
4779 for ac_exec_ext
in '' $ac_executable_extensions; do
4780 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4781 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4792 if test -n "$CC"; then
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4794 printf "%s\n" "$CC" >&6; }
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 printf "%s\n" "no" >&6; }
4803 if test -z "$CC"; then
4804 # Extract the first word of "cc", so it can be a program name with args.
4805 set dummy cc
; ac_word
=$2
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807 printf %s
"checking for $ac_word... " >&6; }
4808 if test ${ac_cv_prog_CC+y}
4810 printf %s
"(cached) " >&6
4812 if test -n "$CC"; then
4813 ac_cv_prog_CC
="$CC" # Let the user override the test.
4816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4820 case $as_dir in #(((
4823 *) as_dir
=$as_dir/ ;;
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4827 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4828 ac_prog_rejected
=yes
4832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4839 if test $ac_prog_rejected = yes; then
4840 # We found a bogon in the path, so make sure we never use it.
4841 set dummy
$ac_cv_prog_CC
4843 if test $# != 0; then
4844 # We chose a different compiler from the bogus one.
4845 # However, it has the same basename, so the bogon will be chosen
4846 # first if we set CC to just the basename; use the full file name.
4848 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4854 if test -n "$CC"; then
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4856 printf "%s\n" "$CC" >&6; }
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 printf "%s\n" "no" >&6; }
4864 if test -z "$CC"; then
4865 if test -n "$ac_tool_prefix"; then
4866 for ac_prog
in cl.exe
4868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4869 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 printf %s
"checking for $ac_word... " >&6; }
4872 if test ${ac_cv_prog_CC+y}
4874 printf %s
"(cached) " >&6
4876 if test -n "$CC"; then
4877 ac_cv_prog_CC
="$CC" # Let the user override the test.
4879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4883 case $as_dir in #(((
4886 *) as_dir
=$as_dir/ ;;
4888 for ac_exec_ext
in '' $ac_executable_extensions; do
4889 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4901 if test -n "$CC"; then
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4903 printf "%s\n" "$CC" >&6; }
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 printf "%s\n" "no" >&6; }
4910 test -n "$CC" && break
4913 if test -z "$CC"; then
4915 for ac_prog
in cl.exe
4917 # Extract the first word of "$ac_prog", so it can be a program name with args.
4918 set dummy
$ac_prog; ac_word
=$2
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 printf %s
"checking for $ac_word... " >&6; }
4921 if test ${ac_cv_prog_ac_ct_CC+y}
4923 printf %s
"(cached) " >&6
4925 if test -n "$ac_ct_CC"; then
4926 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 case $as_dir in #(((
4935 *) as_dir
=$as_dir/ ;;
4937 for ac_exec_ext
in '' $ac_executable_extensions; do
4938 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_ac_ct_CC
="$ac_prog"
4940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4949 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4950 if test -n "$ac_ct_CC"; then
4951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4952 printf "%s\n" "$ac_ct_CC" >&6; }
4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 printf "%s\n" "no" >&6; }
4959 test -n "$ac_ct_CC" && break
4962 if test "x$ac_ct_CC" = x
; then
4965 case $cross_compiling:$ac_tool_warned in
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969 ac_tool_warned
=yes ;;
4976 if test -z "$CC"; then
4977 if test -n "$ac_tool_prefix"; then
4978 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4979 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 printf %s
"checking for $ac_word... " >&6; }
4982 if test ${ac_cv_prog_CC+y}
4984 printf %s
"(cached) " >&6
4986 if test -n "$CC"; then
4987 ac_cv_prog_CC
="$CC" # Let the user override the test.
4989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4993 case $as_dir in #(((
4996 *) as_dir
=$as_dir/ ;;
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5011 if test -n "$CC"; then
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5013 printf "%s\n" "$CC" >&6; }
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 printf "%s\n" "no" >&6; }
5021 if test -z "$ac_cv_prog_CC"; then
5023 # Extract the first word of "clang", so it can be a program name with args.
5024 set dummy clang
; ac_word
=$2
5025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 printf %s
"checking for $ac_word... " >&6; }
5027 if test ${ac_cv_prog_ac_ct_CC+y}
5029 printf %s
"(cached) " >&6
5031 if test -n "$ac_ct_CC"; then
5032 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5038 case $as_dir in #(((
5041 *) as_dir
=$as_dir/ ;;
5043 for ac_exec_ext
in '' $ac_executable_extensions; do
5044 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_ac_ct_CC
="clang"
5046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5055 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5056 if test -n "$ac_ct_CC"; then
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5058 printf "%s\n" "$ac_ct_CC" >&6; }
5060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 printf "%s\n" "no" >&6; }
5064 if test "x$ac_ct_CC" = x
; then
5067 case $cross_compiling:$ac_tool_warned in
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5070 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5071 ac_tool_warned
=yes ;;
5082 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5083 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5084 as_fn_error $?
"no acceptable C compiler found in \$PATH
5085 See \`config.log' for more details" "$LINENO" 5; }
5087 # Provide some information about the compiler.
5088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5091 for ac_option
in --version -v -V -qversion -version; do
5092 { { ac_try
="$ac_compiler $ac_option >&5"
5094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 printf "%s\n" "$ac_try_echo"; } >&5
5099 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5101 if test -s conftest.err; then
5103 ... rest of stderr output deleted ...
5104 10q' conftest.err >conftest.er1
5105 cat conftest.er1 >&5
5107 rm -f conftest.er1 conftest.err
5108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5109 test $ac_status = 0; }
5112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5123 ac_clean_files_save=$ac_clean_files
5124 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5125 # Try to create an executable without -o first, disregard a.out.
5126 # It will help us diagnose broken compilers, and finding out an intuition
5128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5129 printf %s "checking whether the C compiler works... " >&6; }
5130 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5132 # The possible output files:
5133 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5136 for ac_file in $ac_files
5139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5140 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5145 if { { ac_try="$ac_link_default"
5147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5148 *) ac_try_echo
=$ac_try;;
5150 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5151 printf "%s\n" "$ac_try_echo"; } >&5
5152 (eval "$ac_link_default") 2>&5
5154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5155 test $ac_status = 0; }
5157 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5158 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5159 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5160 # so that the user can short-circuit this test for compilers unknown to
5162 for ac_file
in $ac_files ''
5164 test -f "$ac_file" ||
continue
5166 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5169 # We found the default executable, but exeext='' is most
5173 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5175 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5177 # We set ac_cv_exeext here because the later test for it is not
5178 # safe: cross compilers may not add the suffix if given an `-o'
5179 # argument, so we may need to know it at that point already.
5180 # Even if this section looks crufty: it has the advantage of
5187 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5192 if test -z "$ac_file"
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 printf "%s\n" "no" >&6; }
5196 printf "%s\n" "$as_me: failed program was:" >&5
5197 sed 's/^/| /' conftest.
$ac_ext >&5
5199 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5200 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5201 as_fn_error
77 "C compiler cannot create executables
5202 See \`config.log' for more details" "$LINENO" 5; }
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5205 printf "%s\n" "yes" >&6; }
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5208 printf %s
"checking for C compiler default output file name... " >&6; }
5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5210 printf "%s\n" "$ac_file" >&6; }
5211 ac_exeext
=$ac_cv_exeext
5213 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5214 ac_clean_files
=$ac_clean_files_save
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5216 printf %s
"checking for suffix of executables... " >&6; }
5217 if { { ac_try
="$ac_link"
5219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5220 *) ac_try_echo=$ac_try;;
5222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5223 printf "%s\n" "$ac_try_echo"; } >&5
5224 (eval "$ac_link") 2>&5
5226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5227 test $ac_status = 0; }
5229 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5230 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5231 # work properly (i.e., refer to `conftest.exe'), while it won't with
5233 for ac_file
in conftest.exe conftest conftest.
*; do
5234 test -f "$ac_file" ||
continue
5236 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5237 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5243 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5244 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5245 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5246 See \`config.log' for more details" "$LINENO" 5; }
5248 rm -f conftest conftest
$ac_cv_exeext
5249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5250 printf "%s\n" "$ac_cv_exeext" >&6; }
5252 rm -f conftest.
$ac_ext
5253 EXEEXT
=$ac_cv_exeext
5255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5261 FILE *f = fopen ("conftest.out", "w");
5262 return ferror (f) || fclose (f) != 0;
5268 ac_clean_files
="$ac_clean_files conftest.out"
5269 # Check that the compiler produces executables we can run. If not, either
5270 # the compiler is broken, or we cross compile.
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5272 printf %s
"checking whether we are cross compiling... " >&6; }
5273 if test "$cross_compiling" != yes; then
5274 { { ac_try
="$ac_link"
5276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5277 *) ac_try_echo=$ac_try;;
5279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5280 printf "%s\n" "$ac_try_echo"; } >&5
5281 (eval "$ac_link") 2>&5
5283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5284 test $ac_status = 0; }
5285 if { ac_try='./conftest$ac_cv_exeext'
5286 { { case "(($ac_try" in
5287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5288 *) ac_try_echo
=$ac_try;;
5290 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5291 printf "%s\n" "$ac_try_echo"; } >&5
5292 (eval "$ac_try") 2>&5
5294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }; }; then
5298 if test "$cross_compiling" = maybe
; then
5301 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5302 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5303 as_fn_error
77 "cannot run C compiled programs.
5304 If you meant to cross compile, use \`--host'.
5305 See \`config.log' for more details" "$LINENO" 5; }
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5310 printf "%s\n" "$cross_compiling" >&6; }
5312 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5313 ac_clean_files
=$ac_clean_files_save
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5315 printf %s
"checking for suffix of object files... " >&6; }
5316 if test ${ac_cv_objext+y}
5318 printf %s
"(cached) " >&6
5320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5331 rm -f conftest.o conftest.obj
5332 if { { ac_try
="$ac_compile"
5334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5335 *) ac_try_echo=$ac_try;;
5337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5338 printf "%s\n" "$ac_try_echo"; } >&5
5339 (eval "$ac_compile") 2>&5
5341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5342 test $ac_status = 0; }
5344 for ac_file in conftest.o conftest.obj conftest.*; do
5345 test -f "$ac_file" || continue;
5347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5353 printf "%s\n" "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5356 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5357 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5358 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5359 See \
`config.log' for more details" "$LINENO" 5; }
5361 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5364 printf "%s\n" "$ac_cv_objext" >&6; }
5365 OBJEXT=$ac_cv_objext
5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5368 printf %s "checking whether the compiler supports GNU C... " >&6; }
5369 if test ${ac_cv_c_compiler_gnu+y}
5371 printf %s "(cached) " >&6
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5387 if ac_fn_c_try_compile "$LINENO"
5393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5394 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5398 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5401 if test $ac_compiler_gnu = yes; then
5406 ac_test_CFLAGS=${CFLAGS+y}
5407 ac_save_CFLAGS=$CFLAGS
5408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5409 printf %s "checking whether $CC accepts -g... " >&6; }
5410 if test ${ac_cv_prog_cc_g+y}
5412 printf %s "(cached) " >&6
5414 ac_save_c_werror_flag=$ac_c_werror_flag
5415 ac_c_werror_flag=yes
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5429 if ac_fn_c_try_compile "$LINENO"
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5445 if ac_fn_c_try_compile "$LINENO"
5449 ac_c_werror_flag=$ac_save_c_werror_flag
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5462 if ac_fn_c_try_compile "$LINENO"
5466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 ac_c_werror_flag=$ac_save_c_werror_flag
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5474 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5475 if test $ac_test_CFLAGS; then
5476 CFLAGS=$ac_save_CFLAGS
5477 elif test $ac_cv_prog_cc_g = yes; then
5478 if test "$GCC" = yes; then
5484 if test "$GCC" = yes; then
5491 if test x$ac_prog_cc_stdc = xno
5493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5494 printf %s "checking for $CC option to enable C11 features... " >&6; }
5495 if test ${ac_cv_prog_cc_c11+y}
5497 printf %s "(cached) " >&6
5499 ac_cv_prog_cc_c11=no
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5503 $ac_c_conftest_c11_program
5505 for ac_arg in '' -std=gnu11
5507 CC="$ac_save_CC $ac_arg"
5508 if ac_fn_c_try_compile "$LINENO"
5510 ac_cv_prog_cc_c11=$ac_arg
5512 rm -f core conftest.err conftest.$ac_objext conftest.beam
5513 test "x$ac_cv_prog_cc_c11" != "xno" && break
5515 rm -f conftest.$ac_ext
5519 if test "x$ac_cv_prog_cc_c11" = xno
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5522 printf "%s\n" "unsupported" >&6; }
5524 if test "x$ac_cv_prog_cc_c11" = x
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5527 printf "%s\n" "none needed" >&6; }
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5530 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5531 CC="$CC $ac_cv_prog_cc_c11"
5533 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5537 if test x$ac_prog_cc_stdc = xno
5539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5540 printf %s "checking for $CC option to enable C99 features... " >&6; }
5541 if test ${ac_cv_prog_cc_c99+y}
5543 printf %s "(cached) " >&6
5545 ac_cv_prog_cc_c99=no
5547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h. */
5549 $ac_c_conftest_c99_program
5551 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5553 CC="$ac_save_CC $ac_arg"
5554 if ac_fn_c_try_compile "$LINENO"
5556 ac_cv_prog_cc_c99=$ac_arg
5558 rm -f core conftest.err conftest.$ac_objext conftest.beam
5559 test "x$ac_cv_prog_cc_c99" != "xno" && break
5561 rm -f conftest.$ac_ext
5565 if test "x$ac_cv_prog_cc_c99" = xno
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5568 printf "%s\n" "unsupported" >&6; }
5570 if test "x$ac_cv_prog_cc_c99" = x
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5573 printf "%s\n" "none needed" >&6; }
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5576 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5577 CC="$CC $ac_cv_prog_cc_c99"
5579 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5583 if test x$ac_prog_cc_stdc = xno
5585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5586 printf %s "checking for $CC option to enable C89 features... " >&6; }
5587 if test ${ac_cv_prog_cc_c89+y}
5589 printf %s "(cached) " >&6
5591 ac_cv_prog_cc_c89=no
5593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5595 $ac_c_conftest_c89_program
5597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5599 CC="$ac_save_CC $ac_arg"
5600 if ac_fn_c_try_compile "$LINENO"
5602 ac_cv_prog_cc_c89=$ac_arg
5604 rm -f core conftest.err conftest.$ac_objext conftest.beam
5605 test "x$ac_cv_prog_cc_c89" != "xno" && break
5607 rm -f conftest.$ac_ext
5611 if test "x$ac_cv_prog_cc_c89" = xno
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5614 printf "%s\n" "unsupported" >&6; }
5616 if test "x$ac_cv_prog_cc_c89" = x
5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5619 printf "%s\n" "none needed" >&6; }
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5622 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5623 CC="$CC $ac_cv_prog_cc_c89"
5625 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5631 ac_cpp='$CPP $CPPFLAGS'
5632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5643 ac_cpp='$CXXCPP $CPPFLAGS'
5644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5647 if test -z "$CXX"; then
5648 if test -n "$CCC"; then
5651 if test -n "$ac_tool_prefix"; then
5652 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5655 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 printf %s "checking for $ac_word... " >&6; }
5658 if test ${ac_cv_prog_CXX+y}
5660 printf %s "(cached) " >&6
5662 if test -n "$CXX"; then
5663 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 case $as_dir in #(((
5672 *) as_dir=$as_dir/ ;;
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5687 if test -n "$CXX"; then
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5689 printf "%s\n" "$CXX" >&6; }
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 printf "%s\n" "no" >&6; }
5696 test -n "$CXX" && break
5699 if test -z "$CXX"; then
5701 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy $ac_prog; ac_word=$2
5705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 printf %s "checking for $ac_word... " >&6; }
5707 if test ${ac_cv_prog_ac_ct_CXX+y}
5709 printf %s "(cached) " >&6
5711 if test -n "$ac_ct_CXX"; then
5712 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 case $as_dir in #(((
5721 *) as_dir=$as_dir/ ;;
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_ac_ct_CXX="$ac_prog"
5726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5735 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5736 if test -n "$ac_ct_CXX"; then
5737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5738 printf "%s\n" "$ac_ct_CXX" >&6; }
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 printf "%s\n" "no" >&6; }
5745 test -n "$ac_ct_CXX" && break
5748 if test "x$ac_ct_CXX" = x; then
5751 case $cross_compiling:$ac_tool_warned in
5753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5755 ac_tool_warned=yes ;;
5763 # Provide some information about the compiler.
5764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5767 for ac_option in --version -v -V -qversion; do
5768 { { ac_try="$ac_compiler $ac_option >&5"
5770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5771 *) ac_try_echo
=$ac_try;;
5773 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5774 printf "%s\n" "$ac_try_echo"; } >&5
5775 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5777 if test -s conftest.err
; then
5779 ... rest of stderr output deleted ...
5780 10q' conftest.err
>conftest.er1
5781 cat conftest.er1
>&5
5783 rm -f conftest.er1 conftest.err
5784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5785 test $ac_status = 0; }
5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5789 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5790 if test ${ac_cv_cxx_compiler_gnu+y}
5792 printf %s
"(cached) " >&6
5794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5795 /* end confdefs.h. */
5808 if ac_fn_cxx_try_compile
"$LINENO"
5814 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5815 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5819 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5820 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5822 if test $ac_compiler_gnu = yes; then
5827 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5828 ac_save_CXXFLAGS
=$CXXFLAGS
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5830 printf %s
"checking whether $CXX accepts -g... " >&6; }
5831 if test ${ac_cv_prog_cxx_g+y}
5833 printf %s
"(cached) " >&6
5835 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5836 ac_cxx_werror_flag
=yes
5839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5850 if ac_fn_cxx_try_compile
"$LINENO"
5852 ac_cv_prog_cxx_g
=yes
5855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5866 if ac_fn_cxx_try_compile
"$LINENO"
5870 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5883 if ac_fn_cxx_try_compile
"$LINENO"
5885 ac_cv_prog_cxx_g
=yes
5887 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5889 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5891 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5892 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5895 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5896 if test $ac_test_CXXFLAGS; then
5897 CXXFLAGS
=$ac_save_CXXFLAGS
5898 elif test $ac_cv_prog_cxx_g = yes; then
5899 if test "$GXX" = yes; then
5905 if test "$GXX" = yes; then
5911 ac_prog_cxx_stdcxx
=no
5912 if test x
$ac_prog_cxx_stdcxx = xno
5914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5915 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5916 if test ${ac_cv_prog_cxx_cxx11+y}
5918 printf %s
"(cached) " >&6
5920 ac_cv_prog_cxx_cxx11
=no
5922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5924 $ac_cxx_conftest_cxx11_program
5926 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5928 CXX
="$ac_save_CXX $ac_arg"
5929 if ac_fn_cxx_try_compile
"$LINENO"
5931 ac_cv_prog_cxx_cxx11
=$ac_arg
5933 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5934 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5936 rm -f conftest.
$ac_ext
5940 if test "x$ac_cv_prog_cxx_cxx11" = xno
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5943 printf "%s\n" "unsupported" >&6; }
5945 if test "x$ac_cv_prog_cxx_cxx11" = x
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5948 printf "%s\n" "none needed" >&6; }
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5951 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5952 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5954 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5955 ac_prog_cxx_stdcxx
=cxx11
5958 if test x
$ac_prog_cxx_stdcxx = xno
5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5961 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5962 if test ${ac_cv_prog_cxx_cxx98+y}
5964 printf %s
"(cached) " >&6
5966 ac_cv_prog_cxx_cxx98
=no
5968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5970 $ac_cxx_conftest_cxx98_program
5972 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5974 CXX
="$ac_save_CXX $ac_arg"
5975 if ac_fn_cxx_try_compile
"$LINENO"
5977 ac_cv_prog_cxx_cxx98
=$ac_arg
5979 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5980 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5982 rm -f conftest.
$ac_ext
5986 if test "x$ac_cv_prog_cxx_cxx98" = xno
5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5989 printf "%s\n" "unsupported" >&6; }
5991 if test "x$ac_cv_prog_cxx_cxx98" = x
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5994 printf "%s\n" "none needed" >&6; }
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5997 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5998 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6000 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6001 ac_prog_cxx_stdcxx
=cxx98
6006 ac_cpp
='$CPP $CPPFLAGS'
6007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6011 if test -n "$ac_tool_prefix"; then
6012 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6013 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 printf %s
"checking for $ac_word... " >&6; }
6016 if test ${ac_cv_prog_CPPBIN+y}
6018 printf %s
"(cached) " >&6
6020 if test -n "$CPPBIN"; then
6021 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6027 case $as_dir in #(((
6030 *) as_dir
=$as_dir/ ;;
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6044 CPPBIN
=$ac_cv_prog_CPPBIN
6045 if test -n "$CPPBIN"; then
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6047 printf "%s\n" "$CPPBIN" >&6; }
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 printf "%s\n" "no" >&6; }
6055 if test -z "$ac_cv_prog_CPPBIN"; then
6056 ac_ct_CPPBIN
=$CPPBIN
6057 # Extract the first word of "cpp", so it can be a program name with args.
6058 set dummy cpp
; ac_word
=$2
6059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 printf %s
"checking for $ac_word... " >&6; }
6061 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6063 printf %s
"(cached) " >&6
6065 if test -n "$ac_ct_CPPBIN"; then
6066 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6072 case $as_dir in #(((
6075 *) as_dir
=$as_dir/ ;;
6077 for ac_exec_ext
in '' $ac_executable_extensions; do
6078 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6089 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6090 if test -n "$ac_ct_CPPBIN"; then
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6092 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 printf "%s\n" "no" >&6; }
6098 if test "x$ac_ct_CPPBIN" = x
; then
6101 case $cross_compiling:$ac_tool_warned in
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105 ac_tool_warned
=yes ;;
6107 CPPBIN
=$ac_ct_CPPBIN
6110 CPPBIN
="$ac_cv_prog_CPPBIN"
6114 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6118 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 printf %s
"checking for $ac_word... " >&6; }
6121 if test ${ac_cv_prog_LD+y}
6123 printf %s
"(cached) " >&6
6125 if test -n "$LD"; then
6126 ac_cv_prog_LD
="$LD" # Let the user override the test.
6128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6132 case $as_dir in #(((
6135 *) as_dir
=$as_dir/ ;;
6137 for ac_exec_ext
in '' $ac_executable_extensions; do
6138 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6150 if test -n "$LD"; then
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6152 printf "%s\n" "$LD" >&6; }
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 printf "%s\n" "no" >&6; }
6160 if test -z "$ac_cv_prog_LD"; then
6162 # Extract the first word of "ld", so it can be a program name with args.
6163 set dummy ld
; ac_word
=$2
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 printf %s
"checking for $ac_word... " >&6; }
6166 if test ${ac_cv_prog_ac_ct_LD+y}
6168 printf %s
"(cached) " >&6
6170 if test -n "$ac_ct_LD"; then
6171 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6177 case $as_dir in #(((
6180 *) as_dir
=$as_dir/ ;;
6182 for ac_exec_ext
in '' $ac_executable_extensions; do
6183 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6184 ac_cv_prog_ac_ct_LD
="ld"
6185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6194 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6195 if test -n "$ac_ct_LD"; then
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6197 printf "%s\n" "$ac_ct_LD" >&6; }
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 printf "%s\n" "no" >&6; }
6203 if test "x$ac_ct_LD" = x
; then
6206 case $cross_compiling:$ac_tool_warned in
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6209 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6210 ac_tool_warned
=yes ;;
6221 with_fontconfig
=${with_fontconfig:-no}
6223 *-mingw32*|
*-cygwin*)
6224 enable_win16
=${enable_win16:-no}
6225 with_mingw
=${with_mingw:-no}
6232 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6238 printf %s
"checking whether $CC works... " >&6; }
6239 if test ${wine_cv_cc_m32+y}
6241 printf %s
"(cached) " >&6
6243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6254 if ac_fn_c_try_link
"$LINENO"
6260 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6261 conftest
$ac_exeext conftest.
$ac_ext
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6264 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6265 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
6267 notice_platform
="32-bit "
6268 TARGETFLAGS
="$TARGETFLAGS -m32"
6269 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6270 export PKG_CONFIG_LIBDIR
6271 with_unwind
=${with_unwind:-no}
6273 if test "x${GCC}" = "xyes"
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6276 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6277 if test ${wine_cv_builtin_ms_va_list+y}
6279 printf %s
"(cached) " >&6
6281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6287 void func(__builtin_ms_va_list *args);
6292 if ac_fn_c_try_compile
"$LINENO"
6294 wine_cv_builtin_ms_va_list
=yes
6296 wine_cv_builtin_ms_va_list
=no
6298 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6301 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6302 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
6307 notice_platform
="64-bit "
6308 TARGETFLAGS
="$TARGETFLAGS -m64"
6312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6313 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6314 if test ${wine_cv_thumb2+y}
6316 printf %s
"(cached) " >&6
6318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6324 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6329 if ac_fn_c_try_link
"$LINENO"
6335 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6336 conftest
$ac_exeext conftest.
$ac_ext
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6339 printf "%s\n" "$wine_cv_thumb2" >&6; }
6340 if test x
"$wine_cv_thumb2" = xyes
6342 CFLAGS
="$CFLAGS -mthumb"
6343 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6345 CFLAGS
="$CFLAGS -marm"
6346 TARGETFLAGS
="$TARGETFLAGS -marm"
6348 case $with_float_abi in
6350 float_abi
=$with_float_abi ;;
6357 saved_CFLAGS
=$CFLAGS
6358 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6360 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6361 if test ${wine_cv_float_abi+y}
6363 printf %s
"(cached) " >&6
6365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6371 asm("vmrs r2,fpscr");
6376 if ac_fn_c_try_link
"$LINENO"
6378 wine_cv_float_abi
=yes
6380 wine_cv_float_abi
=no
6382 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6383 conftest
$ac_exeext conftest.
$ac_ext
6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6386 printf "%s\n" "$wine_cv_float_abi" >&6; }
6387 if test $wine_cv_float_abi = no
6390 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6392 CFLAGS
=$saved_CFLAGS
6396 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6397 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6400 with_unwind
=${with_unwind:-no}
6404 enable_win16
=${enable_win16:-i386}
6405 enable_win64
=${enable_win64:-no}
6406 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6407 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6408 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6410 enable_winetest
=${enable_winetest:-$enable_tests}
6412 if test "x$enable_win64" = "xyes"
6414 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6415 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6419 cygwin
*|mingw32
*) toolsext
=".exe"
6427 aarch64
*) HOST_ARCH
=aarch64
;;
6428 arm
*) HOST_ARCH
=arm
;;
6429 i
[3456789]86*) HOST_ARCH
=i386
;;
6430 x86_64
) HOST_ARCH
=x86_64
;;
6434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6435 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6436 if test ${wine_cv_toolsdir+y}
6438 printf %s
"(cached) " >&6
6440 wine_cv_toolsdir
="$with_wine_tools"
6441 if test -z "$with_wine_tools"; then
6442 if test "$cross_compiling" = "yes"; then
6443 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6444 elif test -n "$with_wine64"; then
6445 wine_cv_toolsdir
="$with_wine64"
6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6450 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6451 if test -z "$wine_cv_toolsdir"; then
6452 wine_makedep
=tools
/makedep
$toolsext
6453 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6454 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6455 enable_tools
=${enable_tools:-no}
6456 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6458 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6460 toolsdir
=$wine_cv_toolsdir
6462 MAKEDEP
=$wine_makedep
6464 RUNTESTFLAGS
="-q -P wine"
6466 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'"
6469 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6471 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6476 # Extract the first word of "$ac_prog", so it can be a program name with args.
6477 set dummy
$ac_prog; ac_word
=$2
6478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479 printf %s
"checking for $ac_word... " >&6; }
6480 if test ${ac_cv_prog_FLEX+y}
6482 printf %s
"(cached) " >&6
6484 if test -n "$FLEX"; then
6485 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6491 case $as_dir in #(((
6494 *) as_dir
=$as_dir/ ;;
6496 for ac_exec_ext
in '' $ac_executable_extensions; do
6497 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_FLEX
="$ac_prog"
6499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6508 FLEX
=$ac_cv_prog_FLEX
6509 if test -n "$FLEX"; then
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6511 printf "%s\n" "$FLEX" >&6; }
6513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 printf "%s\n" "no" >&6; }
6518 test -n "$FLEX" && break
6520 test -n "$FLEX" || FLEX
="none"
6522 if test "$FLEX" = "none"
6524 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6527 printf %s
"checking whether flex is recent enough... " >&6; }
6528 if test ${wine_cv_recent_flex+y}
6530 printf %s
"(cached) " >&6
6532 cat >conftest.l
<<EOF
6534 #include "prediluvian.h"
6538 if $FLEX -t conftest.l
>/dev
/null
2>&5
6540 wine_cv_recent_flex
=yes
6542 wine_cv_recent_flex
=no
6545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6546 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6547 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
6549 for ac_prog
in bison
6551 # Extract the first word of "$ac_prog", so it can be a program name with args.
6552 set dummy
$ac_prog; ac_word
=$2
6553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 printf %s
"checking for $ac_word... " >&6; }
6555 if test ${ac_cv_prog_BISON+y}
6557 printf %s
"(cached) " >&6
6559 if test -n "$BISON"; then
6560 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6566 case $as_dir in #(((
6569 *) as_dir
=$as_dir/ ;;
6571 for ac_exec_ext
in '' $ac_executable_extensions; do
6572 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_BISON
="$ac_prog"
6574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6583 BISON
=$ac_cv_prog_BISON
6584 if test -n "$BISON"; then
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6586 printf "%s\n" "$BISON" >&6; }
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589 printf "%s\n" "no" >&6; }
6593 test -n "$BISON" && break
6595 test -n "$BISON" || BISON
="none"
6597 if test "$BISON" = "none"
6599 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6602 printf %s
"checking whether bison is recent enough... " >&6; }
6603 if test ${wine_cv_recent_bison+y}
6605 printf %s
"(cached) " >&6
6607 cat >conftest.y
<<EOF
6608 %define parse.error verbose
6612 if $BISON conftest.y
>/dev
/null
2>&5
6614 wine_cv_recent_bison
=yes
6616 wine_cv_recent_bison
=no
6619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6620 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6621 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
6623 if test -n "$ac_tool_prefix"; then
6624 for ac_prog
in ar gar
6626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6627 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 printf %s
"checking for $ac_word... " >&6; }
6630 if test ${ac_cv_prog_AR+y}
6632 printf %s
"(cached) " >&6
6634 if test -n "$AR"; then
6635 ac_cv_prog_AR
="$AR" # Let the user override the test.
6637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6641 case $as_dir in #(((
6644 *) as_dir
=$as_dir/ ;;
6646 for ac_exec_ext
in '' $ac_executable_extensions; do
6647 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6659 if test -n "$AR"; then
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6661 printf "%s\n" "$AR" >&6; }
6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664 printf "%s\n" "no" >&6; }
6668 test -n "$AR" && break
6671 if test -z "$AR"; then
6673 for ac_prog
in ar gar
6675 # Extract the first word of "$ac_prog", so it can be a program name with args.
6676 set dummy
$ac_prog; ac_word
=$2
6677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 printf %s
"checking for $ac_word... " >&6; }
6679 if test ${ac_cv_prog_ac_ct_AR+y}
6681 printf %s
"(cached) " >&6
6683 if test -n "$ac_ct_AR"; then
6684 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6690 case $as_dir in #(((
6693 *) as_dir
=$as_dir/ ;;
6695 for ac_exec_ext
in '' $ac_executable_extensions; do
6696 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6697 ac_cv_prog_ac_ct_AR
="$ac_prog"
6698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6707 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6708 if test -n "$ac_ct_AR"; then
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6710 printf "%s\n" "$ac_ct_AR" >&6; }
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 printf "%s\n" "no" >&6; }
6717 test -n "$ac_ct_AR" && break
6720 if test "x$ac_ct_AR" = x
; then
6723 case $cross_compiling:$ac_tool_warned in
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6726 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6727 ac_tool_warned
=yes ;;
6733 if test -n "$ac_tool_prefix"; then
6734 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6735 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 printf %s
"checking for $ac_word... " >&6; }
6738 if test ${ac_cv_prog_STRIP+y}
6740 printf %s
"(cached) " >&6
6742 if test -n "$STRIP"; then
6743 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6749 case $as_dir in #(((
6752 *) as_dir
=$as_dir/ ;;
6754 for ac_exec_ext
in '' $ac_executable_extensions; do
6755 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6766 STRIP
=$ac_cv_prog_STRIP
6767 if test -n "$STRIP"; then
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6769 printf "%s\n" "$STRIP" >&6; }
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 printf "%s\n" "no" >&6; }
6777 if test -z "$ac_cv_prog_STRIP"; then
6779 # Extract the first word of "strip", so it can be a program name with args.
6780 set dummy strip
; ac_word
=$2
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 printf %s
"checking for $ac_word... " >&6; }
6783 if test ${ac_cv_prog_ac_ct_STRIP+y}
6785 printf %s
"(cached) " >&6
6787 if test -n "$ac_ct_STRIP"; then
6788 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6794 case $as_dir in #(((
6797 *) as_dir
=$as_dir/ ;;
6799 for ac_exec_ext
in '' $ac_executable_extensions; do
6800 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_ac_ct_STRIP
="strip"
6802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6811 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6812 if test -n "$ac_ct_STRIP"; then
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6814 printf "%s\n" "$ac_ct_STRIP" >&6; }
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 printf "%s\n" "no" >&6; }
6820 if test "x$ac_ct_STRIP" = x
; then
6823 case $cross_compiling:$ac_tool_warned in
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6826 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6827 ac_tool_warned
=yes ;;
6832 STRIP
="$ac_cv_prog_STRIP"
6835 if test -n "$ac_tool_prefix"; then
6836 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6837 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6839 printf %s
"checking for $ac_word... " >&6; }
6840 if test ${ac_cv_prog_RANLIB+y}
6842 printf %s
"(cached) " >&6
6844 if test -n "$RANLIB"; then
6845 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6851 case $as_dir in #(((
6854 *) as_dir
=$as_dir/ ;;
6856 for ac_exec_ext
in '' $ac_executable_extensions; do
6857 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6858 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6868 RANLIB
=$ac_cv_prog_RANLIB
6869 if test -n "$RANLIB"; then
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6871 printf "%s\n" "$RANLIB" >&6; }
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 printf "%s\n" "no" >&6; }
6879 if test -z "$ac_cv_prog_RANLIB"; then
6880 ac_ct_RANLIB
=$RANLIB
6881 # Extract the first word of "ranlib", so it can be a program name with args.
6882 set dummy ranlib
; ac_word
=$2
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 printf %s
"checking for $ac_word... " >&6; }
6885 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6887 printf %s
"(cached) " >&6
6889 if test -n "$ac_ct_RANLIB"; then
6890 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6896 case $as_dir in #(((
6899 *) as_dir
=$as_dir/ ;;
6901 for ac_exec_ext
in '' $ac_executable_extensions; do
6902 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6913 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6914 if test -n "$ac_ct_RANLIB"; then
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6916 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 printf "%s\n" "no" >&6; }
6922 if test "x$ac_ct_RANLIB" = x
; then
6925 case $cross_compiling:$ac_tool_warned in
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6928 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6929 ac_tool_warned
=yes ;;
6931 RANLIB
=$ac_ct_RANLIB
6934 RANLIB
="$ac_cv_prog_RANLIB"
6937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6938 printf %s
"checking whether ln -s works... " >&6; }
6940 if test "$LN_S" = "ln -s"; then
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6942 printf "%s\n" "yes" >&6; }
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6945 printf "%s\n" "no, using $LN_S" >&6; }
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6949 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6950 if test ${ac_cv_path_GREP+y}
6952 printf %s
"(cached) " >&6
6954 if test -z "$GREP"; then
6955 ac_path_GREP_found
=false
6956 # Loop through the user's path and test for each of PROGNAME-LIST
6957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6958 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6961 case $as_dir in #(((
6964 *) as_dir
=$as_dir/ ;;
6966 for ac_prog
in grep ggrep
6968 for ac_exec_ext
in '' $ac_executable_extensions; do
6969 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6970 as_fn_executable_p
"$ac_path_GREP" ||
continue
6971 # Check for GNU ac_path_GREP and select it if it is found.
6972 # Check for GNU $ac_path_GREP
6973 case `"$ac_path_GREP" --version 2>&1` in
6975 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6978 printf %s
0123456789 >"conftest.in"
6981 cat "conftest.in" "conftest.in" >"conftest.tmp"
6982 mv "conftest.tmp" "conftest.in"
6983 cp "conftest.in" "conftest.nl"
6984 printf "%s\n" 'GREP' >> "conftest.nl"
6985 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6986 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6987 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6988 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6989 # Best one so far, save it but keep looking for a better one
6990 ac_cv_path_GREP
="$ac_path_GREP"
6991 ac_path_GREP_max
=$ac_count
6993 # 10*(2^10) chars as input seems more than enough
6994 test $ac_count -gt 10 && break
6996 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6999 $ac_path_GREP_found && break 3
7004 if test -z "$ac_cv_path_GREP"; then
7005 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7008 ac_cv_path_GREP
=$GREP
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7013 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7014 GREP
="$ac_cv_path_GREP"
7017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7018 printf %s
"checking for egrep... " >&6; }
7019 if test ${ac_cv_path_EGREP+y}
7021 printf %s
"(cached) " >&6
7023 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7024 then ac_cv_path_EGREP
="$GREP -E"
7026 if test -z "$EGREP"; then
7027 ac_path_EGREP_found
=false
7028 # Loop through the user's path and test for each of PROGNAME-LIST
7029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7030 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7033 case $as_dir in #(((
7036 *) as_dir
=$as_dir/ ;;
7038 for ac_prog
in egrep
7040 for ac_exec_ext
in '' $ac_executable_extensions; do
7041 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7042 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7043 # Check for GNU ac_path_EGREP and select it if it is found.
7044 # Check for GNU $ac_path_EGREP
7045 case `"$ac_path_EGREP" --version 2>&1` in
7047 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7050 printf %s
0123456789 >"conftest.in"
7053 cat "conftest.in" "conftest.in" >"conftest.tmp"
7054 mv "conftest.tmp" "conftest.in"
7055 cp "conftest.in" "conftest.nl"
7056 printf "%s\n" 'EGREP' >> "conftest.nl"
7057 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7058 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7059 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7060 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7061 # Best one so far, save it but keep looking for a better one
7062 ac_cv_path_EGREP
="$ac_path_EGREP"
7063 ac_path_EGREP_max
=$ac_count
7065 # 10*(2^10) chars as input seems more than enough
7066 test $ac_count -gt 10 && break
7068 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7071 $ac_path_EGREP_found && break 3
7076 if test -z "$ac_cv_path_EGREP"; then
7077 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7080 ac_cv_path_EGREP
=$EGREP
7085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7086 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7087 EGREP
="$ac_cv_path_EGREP"
7090 # Extract the first word of "ldconfig", so it can be a program name with args.
7091 set dummy ldconfig
; ac_word
=$2
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 printf %s
"checking for $ac_word... " >&6; }
7094 if test ${ac_cv_path_LDCONFIG+y}
7096 printf %s
"(cached) " >&6
7100 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7104 for as_dir
in /sbin
/usr
/sbin
$PATH
7107 case $as_dir in #(((
7110 *) as_dir
=$as_dir/ ;;
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7114 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7122 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7126 LDCONFIG
=$ac_cv_path_LDCONFIG
7127 if test -n "$LDCONFIG"; then
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7129 printf "%s\n" "$LDCONFIG" >&6; }
7131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 printf "%s\n" "no" >&6; }
7136 for ac_prog
in msgfmt
7138 # Extract the first word of "$ac_prog", so it can be a program name with args.
7139 set dummy
$ac_prog; ac_word
=$2
7140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 printf %s
"checking for $ac_word... " >&6; }
7142 if test ${ac_cv_prog_MSGFMT+y}
7144 printf %s
"(cached) " >&6
7146 if test -n "$MSGFMT"; then
7147 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7153 case $as_dir in #(((
7156 *) as_dir
=$as_dir/ ;;
7158 for ac_exec_ext
in '' $ac_executable_extensions; do
7159 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_MSGFMT
="$ac_prog"
7161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7170 MSGFMT
=$ac_cv_prog_MSGFMT
7171 if test -n "$MSGFMT"; then
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7173 printf "%s\n" "$MSGFMT" >&6; }
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 printf "%s\n" "no" >&6; }
7180 test -n "$MSGFMT" && break
7182 test -n "$MSGFMT" || MSGFMT
="false"
7184 if test ${ac_tool_prefix+y}
7186 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7187 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 printf %s
"checking for $ac_word... " >&6; }
7190 if test ${ac_cv_prog_PKG_CONFIG+y}
7192 printf %s
"(cached) " >&6
7194 if test -n "$PKG_CONFIG"; then
7195 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7201 case $as_dir in #(((
7204 *) as_dir
=$as_dir/ ;;
7206 for ac_exec_ext
in '' $ac_executable_extensions; do
7207 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7218 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7219 if test -n "$PKG_CONFIG"; then
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7221 printf "%s\n" "$PKG_CONFIG" >&6; }
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 printf "%s\n" "no" >&6; }
7229 if ${ac_cv_prog_PKG_CONFIG:+false} :
7231 if test "x$cross_compiling" = xyes
7235 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7236 # Extract the first word of "pkg-config", so it can be a program name with args.
7237 set dummy pkg-config
; ac_word
=$2
7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 printf %s
"checking for $ac_word... " >&6; }
7240 if test ${ac_cv_prog_PKG_CONFIG+y}
7242 printf %s
"(cached) " >&6
7244 if test -n "$PKG_CONFIG"; then
7245 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7251 case $as_dir in #(((
7254 *) as_dir
=$as_dir/ ;;
7256 for ac_exec_ext
in '' $ac_executable_extensions; do
7257 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7258 ac_cv_prog_PKG_CONFIG
="pkg-config"
7259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7268 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7269 if test -n "$PKG_CONFIG"; then
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7271 printf "%s\n" "$PKG_CONFIG" >&6; }
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 printf "%s\n" "no" >&6; }
7280 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7283 if test "x$enable_maintainer_mode" != "xyes"
7290 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7291 for ac_prog
in fontforge
7293 # Extract the first word of "$ac_prog", so it can be a program name with args.
7294 set dummy
$ac_prog; ac_word
=$2
7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 printf %s
"checking for $ac_word... " >&6; }
7297 if test ${ac_cv_prog_FONTFORGE+y}
7299 printf %s
"(cached) " >&6
7301 if test -n "$FONTFORGE"; then
7302 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7308 case $as_dir in #(((
7311 *) as_dir
=$as_dir/ ;;
7313 for ac_exec_ext
in '' $ac_executable_extensions; do
7314 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_FONTFORGE
="$ac_prog"
7316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7325 FONTFORGE
=$ac_cv_prog_FONTFORGE
7326 if test -n "$FONTFORGE"; then
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7328 printf "%s\n" "$FONTFORGE" >&6; }
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 printf "%s\n" "no" >&6; }
7335 test -n "$FONTFORGE" && break
7337 test -n "$FONTFORGE" || FONTFORGE
="false"
7339 for ac_prog
in rsvg-convert rsvg
7341 # Extract the first word of "$ac_prog", so it can be a program name with args.
7342 set dummy
$ac_prog; ac_word
=$2
7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 printf %s
"checking for $ac_word... " >&6; }
7345 if test ${ac_cv_prog_RSVG+y}
7347 printf %s
"(cached) " >&6
7349 if test -n "$RSVG"; then
7350 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7356 case $as_dir in #(((
7359 *) as_dir
=$as_dir/ ;;
7361 for ac_exec_ext
in '' $ac_executable_extensions; do
7362 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_RSVG
="$ac_prog"
7364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7373 RSVG
=$ac_cv_prog_RSVG
7374 if test -n "$RSVG"; then
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7376 printf "%s\n" "$RSVG" >&6; }
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 printf "%s\n" "no" >&6; }
7383 test -n "$RSVG" && break
7385 test -n "$RSVG" || RSVG
="false"
7387 for ac_prog
in convert
7389 # Extract the first word of "$ac_prog", so it can be a program name with args.
7390 set dummy
$ac_prog; ac_word
=$2
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 printf %s
"checking for $ac_word... " >&6; }
7393 if test ${ac_cv_prog_CONVERT+y}
7395 printf %s
"(cached) " >&6
7397 if test -n "$CONVERT"; then
7398 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7404 case $as_dir in #(((
7407 *) as_dir
=$as_dir/ ;;
7409 for ac_exec_ext
in '' $ac_executable_extensions; do
7410 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7411 ac_cv_prog_CONVERT
="$ac_prog"
7412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7421 CONVERT
=$ac_cv_prog_CONVERT
7422 if test -n "$CONVERT"; then
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7424 printf "%s\n" "$CONVERT" >&6; }
7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 printf "%s\n" "no" >&6; }
7431 test -n "$CONVERT" && break
7433 test -n "$CONVERT" || CONVERT
="false"
7435 for ac_prog
in icotool
7437 # Extract the first word of "$ac_prog", so it can be a program name with args.
7438 set dummy
$ac_prog; ac_word
=$2
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 printf %s
"checking for $ac_word... " >&6; }
7441 if test ${ac_cv_prog_ICOTOOL+y}
7443 printf %s
"(cached) " >&6
7445 if test -n "$ICOTOOL"; then
7446 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7452 case $as_dir in #(((
7455 *) as_dir
=$as_dir/ ;;
7457 for ac_exec_ext
in '' $ac_executable_extensions; do
7458 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_ICOTOOL
="$ac_prog"
7460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7469 ICOTOOL
=$ac_cv_prog_ICOTOOL
7470 if test -n "$ICOTOOL"; then
7471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7472 printf "%s\n" "$ICOTOOL" >&6; }
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 printf "%s\n" "no" >&6; }
7479 test -n "$ICOTOOL" && break
7481 test -n "$ICOTOOL" || ICOTOOL
="false"
7483 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7484 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7486 if test "$CONVERT" = false
7488 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7491 printf %s
"checking for recent enough imagemagick... " >&6; }
7492 convert_version
=`convert --version | head -n1`
7493 if test "x$convert_version" != "x"
7495 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7496 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7497 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7502 if test "$CONVERT" = false
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7505 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7506 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7509 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7513 if test "$ICOTOOL" = false
7515 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7518 printf %s
"checking for recent enough icotool... " >&6; }
7519 icotool_version
=`icotool --version | head -n1`
7520 if test "x$icotool_version" != "x"
7522 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7523 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7524 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7527 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7530 if test "$ICOTOOL" = false
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7533 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7534 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7537 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7547 test "x$with_gettext" != xno || MSGFMT
=false
7548 if test "$MSGFMT" != "false"
7550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7551 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7552 if test ${wine_cv_msgfmt_contexts+y}
7554 printf %s
"(cached) " >&6
7556 cat >conftest.po
<<EOF
7562 if $MSGFMT -o /dev
/null conftest.po
2>&5
7564 wine_cv_msgfmt_contexts
=yes
7566 wine_cv_msgfmt_contexts
=no
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7570 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7571 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7573 if test "$MSGFMT" = false
7575 case "x$with_gettext" in
7576 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7578 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7579 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7581 enable_po
=${enable_po:-no}
7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7586 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7587 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7589 printf %s
"(cached) " >&6
7591 ac_check_lib_save_LIBS
=$LIBS
7593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7594 /* end confdefs.h. */
7596 /* Override any GCC internal prototype to avoid an error.
7597 Use char because int might match the return type of a GCC
7598 builtin and then its argument prototype would still apply. */
7599 char i386_set_ldt ();
7603 return i386_set_ldt ();
7608 if ac_fn_c_try_link
"$LINENO"
7610 ac_cv_lib_i386_i386_set_ldt
=yes
7612 ac_cv_lib_i386_i386_set_ldt
=no
7614 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7615 conftest
$ac_exeext conftest.
$ac_ext
7616 LIBS
=$ac_check_lib_save_LIBS
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7619 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7620 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7631 # Check whether --enable-largefile was given.
7632 if test ${enable_largefile+y}
7634 enableval
=$enable_largefile;
7637 if test "$enable_largefile" != no
; then
7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7640 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7641 if test ${ac_cv_sys_largefile_CC+y}
7643 printf %s
"(cached) " >&6
7645 ac_cv_sys_largefile_CC
=no
7646 if test "$GCC" != yes; then
7649 # IRIX 6.2 and later do not support large files by default,
7650 # so use the C compiler's -n32 option if that helps.
7651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7653 #include <sys/types.h>
7654 /* Check that off_t can represent 2**63 - 1 correctly.
7655 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7656 since some C++ compilers masquerading as C compilers
7657 incorrectly reject 9223372036854775807. */
7658 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7659 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7660 && LARGE_OFF_T % 2147483647 == 1)
7670 if ac_fn_c_try_compile
"$LINENO"
7674 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7676 if ac_fn_c_try_compile
"$LINENO"
7678 ac_cv_sys_largefile_CC
=' -n32'; break
7680 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7684 rm -f conftest.
$ac_ext
7687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7688 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7689 if test "$ac_cv_sys_largefile_CC" != no
; then
7690 CC
=$CC$ac_cv_sys_largefile_CC
7693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7694 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7695 if test ${ac_cv_sys_file_offset_bits+y}
7697 printf %s
"(cached) " >&6
7700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7702 #include <sys/types.h>
7703 /* Check that off_t can represent 2**63 - 1 correctly.
7704 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7705 since some C++ compilers masquerading as C compilers
7706 incorrectly reject 9223372036854775807. */
7707 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7708 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7709 && LARGE_OFF_T % 2147483647 == 1)
7719 if ac_fn_c_try_compile
"$LINENO"
7721 ac_cv_sys_file_offset_bits
=no
; break
7723 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7725 /* end confdefs.h. */
7726 #define _FILE_OFFSET_BITS 64
7727 #include <sys/types.h>
7728 /* Check that off_t can represent 2**63 - 1 correctly.
7729 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7730 since some C++ compilers masquerading as C compilers
7731 incorrectly reject 9223372036854775807. */
7732 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7733 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7734 && LARGE_OFF_T % 2147483647 == 1)
7744 if ac_fn_c_try_compile
"$LINENO"
7746 ac_cv_sys_file_offset_bits
=64; break
7748 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7749 ac_cv_sys_file_offset_bits
=unknown
7753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7754 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7755 case $ac_cv_sys_file_offset_bits in #(
7758 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7762 if test $ac_cv_sys_file_offset_bits = unknown
; then
7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7764 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7765 if test ${ac_cv_sys_large_files+y}
7767 printf %s
"(cached) " >&6
7770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7771 /* end confdefs.h. */
7772 #include <sys/types.h>
7773 /* Check that off_t can represent 2**63 - 1 correctly.
7774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7775 since some C++ compilers masquerading as C compilers
7776 incorrectly reject 9223372036854775807. */
7777 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7779 && LARGE_OFF_T % 2147483647 == 1)
7789 if ac_fn_c_try_compile
"$LINENO"
7791 ac_cv_sys_large_files
=no
; break
7793 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7796 #define _LARGE_FILES 1
7797 #include <sys/types.h>
7798 /* Check that off_t can represent 2**63 - 1 correctly.
7799 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7800 since some C++ compilers masquerading as C compilers
7801 incorrectly reject 9223372036854775807. */
7802 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7803 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7804 && LARGE_OFF_T % 2147483647 == 1)
7814 if ac_fn_c_try_compile
"$LINENO"
7816 ac_cv_sys_large_files
=1; break
7818 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7819 ac_cv_sys_large_files
=unknown
7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7824 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7825 case $ac_cv_sys_large_files in #(
7828 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7836 ac_header
= ac_cache
=
7837 for ac_item
in $ac_header_c_list
7839 if test $ac_cache; then
7840 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7841 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7842 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7844 ac_header
= ac_cache
=
7845 elif test $ac_header; then
7859 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7862 printf "%s\n" "#define STDC_HEADERS 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" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_EGL_egl_h" = xyes
7874 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7880 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_arpa_inet_h" = xyes
7886 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7892 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_asm_types_h" = xyes
7898 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_asm_user_h" = xyes
7904 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_elf_h" = xyes
7910 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_float_h" = xyes
7916 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_gettext_po_h" = xyes
7922 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_libproc_h" = xyes
7928 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_link_h" = xyes
7934 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7940 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_linux_filter_h" = xyes
7946 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7952 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7958 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_input_h" = xyes
7964 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7970 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_major_h" = xyes
7976 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_param_h" = xyes
7982 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_serial_h" = xyes
7988 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_types_h" = xyes
7994 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8000 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_lwp_h" = xyes
8006 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8012 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_mach_mach_h" = xyes
8018 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_machine_cpu_h" = xyes
8024 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8030 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_mntent_h" = xyes
8036 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_netdb_h" = xyes
8042 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_netinet_in_h" = xyes
8048 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8054 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8060 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8066 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8072 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_port_h" = xyes
8078 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_pthread_h" = xyes
8084 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_pwd_h" = xyes
8090 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_sched_h" = xyes
8096 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8102 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8108 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_scsi_sg_h" = xyes
8114 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_stdint_h" = xyes
8120 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_sys_attr_h" = xyes
8126 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_sys_auxv_h" = xyes
8132 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_sys_cdio_h" = xyes
8138 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_sys_epoll_h" = xyes
8144 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_event_h" = xyes
8150 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_extattr_h" = xyes
8156 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_filio_h" = xyes
8162 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_ipc_h" = xyes
8168 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_link_h" = xyes
8174 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_modem_h" = xyes
8180 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_mtio_h" = xyes
8186 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_param_h" = xyes
8192 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_prctl_h" = xyes
8198 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8204 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_queue_h" = xyes
8210 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_random_h" = xyes
8216 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_resource_h" = xyes
8222 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8228 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_shm_h" = xyes
8234 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_signal_h" = xyes
8240 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8246 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_sockio_h" = xyes
8252 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8258 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_strtio_h" = xyes
8264 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_syscall_h" = xyes
8270 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8276 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_times_h" = xyes
8282 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_uio_h" = xyes
8288 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_user_h" = xyes
8294 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_utsname_h" = xyes
8300 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_vnode_h" = xyes
8306 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_xattr_h" = xyes
8312 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_syscall_h" = xyes
8318 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_utime_h" = xyes
8324 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8330 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8336 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8344 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8348 if test $ac_cv_header_sys_mkdev_h = no
; then
8349 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8350 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8353 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8359 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8360 if test ${ac_cv_header_stat_broken+y}
8362 printf %s
"(cached) " >&6
8364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 #include <sys/types.h>
8367 #include <sys/stat.h>
8369 #if defined S_ISBLK && defined S_IFDIR
8370 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8373 #if defined S_ISBLK && defined S_IFCHR
8374 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8377 #if defined S_ISLNK && defined S_IFREG
8378 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8381 #if defined S_ISSOCK && defined S_IFREG
8382 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8386 if ac_fn_c_try_compile
"$LINENO"
8388 ac_cv_header_stat_broken
=no
8390 ac_cv_header_stat_broken
=yes
8392 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8395 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8396 if test $ac_cv_header_stat_broken = yes; then
8398 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8404 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8405 #ifdef HAVE_SYS_PARAM_H
8406 # include <sys/param.h>
8409 if test "x$ac_cv_header_sys_conf_h" = xyes
8411 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8414 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8415 #ifdef HAVE_SYS_PARAM_H
8416 # include <sys/param.h>
8419 if test "x$ac_cv_header_sys_mount_h" = xyes
8421 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8424 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8429 if test "x$ac_cv_header_sys_statfs_h" = xyes
8431 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8435 #ifdef HAVE_SYS_PARAM_H
8436 # include <sys/param.h>
8439 if test "x$ac_cv_header_sys_user_h" = xyes
8441 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8449 if test "x$ac_cv_header_sys_vfs_h" = xyes
8451 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8456 saved_sysctl_h_CFLAGS
=$CFLAGS
8457 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8458 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8459 #ifdef HAVE_SYS_PARAM_H
8460 # include <sys/param.h>
8463 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8465 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8469 CFLAGS
=$saved_sysctl_h_CFLAGS
8471 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8472 #include <sys/socket.h>
8473 #ifdef HAVE_SYS_SOCKETVAR_H
8474 # include <sys/socketvar.h>
8476 #ifdef HAVE_NET_ROUTE_H
8477 # include <net/route.h>
8479 #ifdef HAVE_NETINET_IN_H
8480 # include <netinet/in.h>
8482 #ifdef HAVE_NETINET_IN_SYSTM_H
8483 # include <netinet/in_systm.h>
8485 #ifdef HAVE_NET_IF_H
8486 # include <net/if.h>
8488 #ifdef HAVE_NETINET_IP_H
8489 # include <netinet/ip.h>
8492 if test "x$ac_cv_header_netinet_ip_h" = xyes
8494 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8498 #include <sys/socket.h>
8499 #ifdef HAVE_SYS_SOCKETVAR_H
8500 # include <sys/socketvar.h>
8502 #ifdef HAVE_NET_ROUTE_H
8503 # include <net/route.h>
8505 #ifdef HAVE_NETINET_IN_H
8506 # include <netinet/in.h>
8508 #ifdef HAVE_NETINET_IN_SYSTM_H
8509 # include <netinet/in_systm.h>
8511 #ifdef HAVE_NET_IF_H
8512 # include <net/if.h>
8514 #ifdef HAVE_NETINET_IP_H
8515 # include <netinet/ip.h>
8518 if test "x$ac_cv_header_net_if_h" = xyes
8520 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8523 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8524 #include <sys/socket.h>
8525 #ifdef HAVE_SYS_SOCKETVAR_H
8526 # include <sys/socketvar.h>
8528 #ifdef HAVE_NET_ROUTE_H
8529 # include <net/route.h>
8531 #ifdef HAVE_NETINET_IN_H
8532 # include <netinet/in.h>
8534 #ifdef HAVE_NETINET_IN_SYSTM_H
8535 # include <netinet/in_systm.h>
8537 #ifdef HAVE_NET_IF_H
8538 # include <net/if.h>
8540 #ifdef HAVE_NETINET_IP_H
8541 # include <netinet/ip.h>
8544 if test "x$ac_cv_header_net_if_arp_h" = xyes
8546 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8549 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8550 #include <sys/socket.h>
8551 #ifdef HAVE_SYS_SOCKETVAR_H
8552 # include <sys/socketvar.h>
8554 #ifdef HAVE_NET_ROUTE_H
8555 # include <net/route.h>
8557 #ifdef HAVE_NETINET_IN_H
8558 # include <netinet/in.h>
8560 #ifdef HAVE_NETINET_IN_SYSTM_H
8561 # include <netinet/in_systm.h>
8563 #ifdef HAVE_NET_IF_H
8564 # include <net/if.h>
8566 #ifdef HAVE_NETINET_IP_H
8567 # include <netinet/ip.h>
8570 if test "x$ac_cv_header_net_if_dl_h" = xyes
8572 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8575 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8576 #include <sys/socket.h>
8577 #ifdef HAVE_SYS_SOCKETVAR_H
8578 # include <sys/socketvar.h>
8580 #ifdef HAVE_NET_ROUTE_H
8581 # include <net/route.h>
8583 #ifdef HAVE_NETINET_IN_H
8584 # include <netinet/in.h>
8586 #ifdef HAVE_NETINET_IN_SYSTM_H
8587 # include <netinet/in_systm.h>
8589 #ifdef HAVE_NET_IF_H
8590 # include <net/if.h>
8592 #ifdef HAVE_NETINET_IP_H
8593 # include <netinet/ip.h>
8596 if test "x$ac_cv_header_net_if_types_h" = xyes
8598 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8601 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8602 #include <sys/socket.h>
8603 #ifdef HAVE_SYS_SOCKETVAR_H
8604 # include <sys/socketvar.h>
8606 #ifdef HAVE_NET_ROUTE_H
8607 # include <net/route.h>
8609 #ifdef HAVE_NETINET_IN_H
8610 # include <netinet/in.h>
8612 #ifdef HAVE_NETINET_IN_SYSTM_H
8613 # include <netinet/in_systm.h>
8615 #ifdef HAVE_NET_IF_H
8616 # include <net/if.h>
8618 #ifdef HAVE_NETINET_IP_H
8619 # include <netinet/ip.h>
8622 if test "x$ac_cv_header_net_route_h" = xyes
8624 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8627 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8628 #include <sys/socket.h>
8629 #ifdef HAVE_SYS_SOCKETVAR_H
8630 # include <sys/socketvar.h>
8632 #ifdef HAVE_NET_ROUTE_H
8633 # include <net/route.h>
8635 #ifdef HAVE_NETINET_IN_H
8636 # include <netinet/in.h>
8638 #ifdef HAVE_NETINET_IN_SYSTM_H
8639 # include <netinet/in_systm.h>
8641 #ifdef HAVE_NET_IF_H
8642 # include <net/if.h>
8644 #ifdef HAVE_NETINET_IP_H
8645 # include <netinet/ip.h>
8648 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8650 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8653 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8654 #include <sys/socket.h>
8655 #ifdef HAVE_SYS_SOCKETVAR_H
8656 # include <sys/socketvar.h>
8658 #ifdef HAVE_NET_ROUTE_H
8659 # include <net/route.h>
8661 #ifdef HAVE_NETINET_IN_H
8662 # include <netinet/in.h>
8664 #ifdef HAVE_NETINET_IN_SYSTM_H
8665 # include <netinet/in_systm.h>
8667 #ifdef HAVE_NET_IF_H
8668 # include <net/if.h>
8670 #ifdef HAVE_NETINET_IP_H
8671 # include <netinet/ip.h>
8674 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8676 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8679 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8680 #include <sys/socket.h>
8681 #ifdef HAVE_SYS_SOCKETVAR_H
8682 # include <sys/socketvar.h>
8684 #ifdef HAVE_NET_ROUTE_H
8685 # include <net/route.h>
8687 #ifdef HAVE_NETINET_IN_H
8688 # include <netinet/in.h>
8690 #ifdef HAVE_NETINET_IN_SYSTM_H
8691 # include <netinet/in_systm.h>
8693 #ifdef HAVE_NET_IF_H
8694 # include <net/if.h>
8696 #ifdef HAVE_NETINET_IP_H
8697 # include <netinet/ip.h>
8700 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8702 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8705 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8706 #include <sys/socket.h>
8707 #ifdef HAVE_SYS_SOCKETVAR_H
8708 # include <sys/socketvar.h>
8710 #ifdef HAVE_NET_ROUTE_H
8711 # include <net/route.h>
8713 #ifdef HAVE_NETINET_IN_H
8714 # include <netinet/in.h>
8716 #ifdef HAVE_NETINET_IN_SYSTM_H
8717 # include <netinet/in_systm.h>
8719 #ifdef HAVE_NET_IF_H
8720 # include <net/if.h>
8722 #ifdef HAVE_NETINET_IP_H
8723 # include <netinet/ip.h>
8726 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8728 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8731 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8732 #include <sys/socket.h>
8733 #ifdef HAVE_SYS_SOCKETVAR_H
8734 # include <sys/socketvar.h>
8736 #ifdef HAVE_NET_ROUTE_H
8737 # include <net/route.h>
8739 #ifdef HAVE_NETINET_IN_H
8740 # include <netinet/in.h>
8742 #ifdef HAVE_NETINET_IN_SYSTM_H
8743 # include <netinet/in_systm.h>
8745 #ifdef HAVE_NET_IF_H
8746 # include <net/if.h>
8748 #ifdef HAVE_NETINET_IP_H
8749 # include <netinet/ip.h>
8752 if test "x$ac_cv_header_netinet_udp_h" = xyes
8754 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8757 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8758 #include <sys/socket.h>
8759 #ifdef HAVE_SYS_SOCKETVAR_H
8760 # include <sys/socketvar.h>
8762 #ifdef HAVE_NET_ROUTE_H
8763 # include <net/route.h>
8765 #ifdef HAVE_NETINET_IN_H
8766 # include <netinet/in.h>
8768 #ifdef HAVE_NETINET_IN_SYSTM_H
8769 # include <netinet/in_systm.h>
8771 #ifdef HAVE_NET_IF_H
8772 # include <net/if.h>
8774 #ifdef HAVE_NETINET_IP_H
8775 # include <netinet/ip.h>
8778 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8780 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8783 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8784 #include <sys/socket.h>
8785 #ifdef HAVE_SYS_SOCKETVAR_H
8786 # include <sys/socketvar.h>
8788 #ifdef HAVE_NET_ROUTE_H
8789 # include <net/route.h>
8791 #ifdef HAVE_NETINET_IN_H
8792 # include <netinet/in.h>
8794 #ifdef HAVE_NETINET_IN_SYSTM_H
8795 # include <netinet/in_systm.h>
8797 #ifdef HAVE_NET_IF_H
8798 # include <net/if.h>
8800 #ifdef HAVE_NETINET_IP_H
8801 # include <netinet/ip.h>
8804 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8806 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8809 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8810 #include <sys/socket.h>
8811 #ifdef HAVE_SYS_SOCKETVAR_H
8812 # include <sys/socketvar.h>
8814 #ifdef HAVE_NET_ROUTE_H
8815 # include <net/route.h>
8817 #ifdef HAVE_NETINET_IN_H
8818 # include <netinet/in.h>
8820 #ifdef HAVE_NETINET_IN_SYSTM_H
8821 # include <netinet/in_systm.h>
8823 #ifdef HAVE_NET_IF_H
8824 # include <net/if.h>
8826 #ifdef HAVE_NETINET_IP_H
8827 # include <netinet/ip.h>
8830 if test "x$ac_cv_header_sys_un_h" = xyes
8832 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8837 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8838 #include <sys/socket.h>
8839 #ifdef HAVE_SYS_SOCKETVAR_H
8840 # include <sys/socketvar.h>
8842 #ifdef HAVE_NETINET_IN_H
8843 # include <netinet/in.h>
8845 #ifdef HAVE_NETINET_IN_SYSTM_H
8846 # include <netinet/in_systm.h>
8848 #ifdef HAVE_NETINET_IP_H
8849 # include <netinet/ip.h>
8851 #ifdef HAVE_NETINET_IP_VAR_H
8852 # include <netinet/ip_var.h>
8854 #ifdef HAVE_NETINET_IP_ICMP_H
8855 # include <netinet/ip_icmp.h>
8857 #ifdef HAVE_NETINET_UDP_H
8858 # include <netinet/udp.h>
8860 #ifdef HAVE_NETINET_TCP_H
8861 # include <netinet/tcp.h>
8864 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8866 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8869 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8870 #include <sys/socket.h>
8871 #ifdef HAVE_SYS_SOCKETVAR_H
8872 # include <sys/socketvar.h>
8874 #ifdef HAVE_NETINET_IN_H
8875 # include <netinet/in.h>
8877 #ifdef HAVE_NETINET_IN_SYSTM_H
8878 # include <netinet/in_systm.h>
8880 #ifdef HAVE_NETINET_IP_H
8881 # include <netinet/ip.h>
8883 #ifdef HAVE_NETINET_IP_VAR_H
8884 # include <netinet/ip_var.h>
8886 #ifdef HAVE_NETINET_IP_ICMP_H
8887 # include <netinet/ip_icmp.h>
8889 #ifdef HAVE_NETINET_UDP_H
8890 # include <netinet/udp.h>
8892 #ifdef HAVE_NETINET_TCP_H
8893 # include <netinet/tcp.h>
8896 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8898 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8901 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8902 #include <sys/socket.h>
8903 #ifdef HAVE_SYS_SOCKETVAR_H
8904 # include <sys/socketvar.h>
8906 #ifdef HAVE_NETINET_IN_H
8907 # include <netinet/in.h>
8909 #ifdef HAVE_NETINET_IN_SYSTM_H
8910 # include <netinet/in_systm.h>
8912 #ifdef HAVE_NETINET_IP_H
8913 # include <netinet/ip.h>
8915 #ifdef HAVE_NETINET_IP_VAR_H
8916 # include <netinet/ip_var.h>
8918 #ifdef HAVE_NETINET_IP_ICMP_H
8919 # include <netinet/ip_icmp.h>
8921 #ifdef HAVE_NETINET_UDP_H
8922 # include <netinet/udp.h>
8924 #ifdef HAVE_NETINET_TCP_H
8925 # include <netinet/tcp.h>
8928 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8930 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8933 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8934 #include <sys/socket.h>
8935 #ifdef HAVE_SYS_SOCKETVAR_H
8936 # include <sys/socketvar.h>
8938 #ifdef HAVE_NETINET_IN_H
8939 # include <netinet/in.h>
8941 #ifdef HAVE_NETINET_IN_SYSTM_H
8942 # include <netinet/in_systm.h>
8944 #ifdef HAVE_NETINET_IP_H
8945 # include <netinet/ip.h>
8947 #ifdef HAVE_NETINET_IP_VAR_H
8948 # include <netinet/ip_var.h>
8950 #ifdef HAVE_NETINET_IP_ICMP_H
8951 # include <netinet/ip_icmp.h>
8953 #ifdef HAVE_NETINET_UDP_H
8954 # include <netinet/udp.h>
8956 #ifdef HAVE_NETINET_TCP_H
8957 # include <netinet/tcp.h>
8960 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8962 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8967 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8968 #include <sys/socket.h>
8969 #ifdef HAVE_ASM_TYPES_H
8970 # include <asm/types.h>
8972 #ifdef HAVE_LINUX_TYPES_H
8973 # include <linux/types.h>
8976 if test "x$ac_cv_header_linux_ipx_h" = xyes
8978 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8981 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8982 #include <sys/socket.h>
8983 #ifdef HAVE_ASM_TYPES_H
8984 # include <asm/types.h>
8986 #ifdef HAVE_LINUX_TYPES_H
8987 # include <linux/types.h>
8990 if test "x$ac_cv_header_linux_irda_h" = xyes
8992 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8995 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8996 #include <sys/socket.h>
8997 #ifdef HAVE_ASM_TYPES_H
8998 # include <asm/types.h>
9000 #ifdef HAVE_LINUX_TYPES_H
9001 # include <linux/types.h>
9004 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9006 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9012 #include <sys/socket.h>
9013 #ifdef HAVE_NETINET_IN_H
9014 # include <netinet/in.h>
9016 #ifdef HAVE_ARPA_NAMESER_H
9017 # include <arpa/nameser.h>
9020 if test "x$ac_cv_header_resolv_h" = xyes
9022 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9027 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9029 if test "x$ac_cv_header_ifaddrs_h" = xyes
9031 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9036 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9038 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9040 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9045 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9046 #ifdef HAVE_SYS_UCONTEXT_H
9047 #include <sys/ucontext.h>
9050 if test "x$ac_cv_header_sys_thr_h" = xyes
9052 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9057 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9058 #include <pthread.h>
9061 if test "x$ac_cv_header_pthread_np_h" = xyes
9063 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9068 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9069 #include <sys/types.h>
9070 #ifdef HAVE_ASM_TYPES_H
9071 #include <asm/types.h>
9074 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9076 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9082 #include <sys/param.h>
9084 #include <sys/socket.h>
9085 #ifdef HAVE_SYS_QUEUE_H
9086 #include <sys/queue.h>
9089 if test "x$ac_cv_header_libprocstat_h" = xyes
9091 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9096 if test "x$ac_cv_header_sys_xattr_h" = xyes
9098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9099 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9100 if test ${wine_cv_xattr_extra_args+y}
9102 printf %s
"(cached) " >&6
9104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 #include <sys/xattr.h>
9110 getxattr("", "", "", 0, 0, 0);
9115 if ac_fn_c_try_compile
"$LINENO"
9117 wine_cv_xattr_extra_args
=yes
9119 wine_cv_xattr_extra_args
=no
9121 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9124 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9125 test $wine_cv_xattr_extra_args != yes ||
9126 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9139 UNIXDLLFLAGS
="-fPIC"
9141 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9147 WINELOADER_LDFLAGS
=""
9149 WINEPRELOADER_LDFLAGS
=""
9154 # Extract the first word of "ldd", so it can be a program name with args.
9155 set dummy ldd
; ac_word
=$2
9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157 printf %s
"checking for $ac_word... " >&6; }
9158 if test ${ac_cv_path_LDD+y}
9160 printf %s
"(cached) " >&6
9164 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9168 as_dummy
="/sbin:/usr/sbin:$PATH"
9169 for as_dir
in $as_dummy
9172 case $as_dir in #(((
9175 *) as_dir
=$as_dir/ ;;
9177 for ac_exec_ext
in '' $ac_executable_extensions; do
9178 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9179 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9187 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9192 if test -n "$LDD"; then
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9194 printf "%s\n" "$LDD" >&6; }
9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 printf "%s\n" "no" >&6; }
9201 if test -n "$ac_tool_prefix"; then
9202 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9203 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9205 printf %s
"checking for $ac_word... " >&6; }
9206 if test ${ac_cv_prog_OTOOL+y}
9208 printf %s
"(cached) " >&6
9210 if test -n "$OTOOL"; then
9211 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9217 case $as_dir in #(((
9220 *) as_dir
=$as_dir/ ;;
9222 for ac_exec_ext
in '' $ac_executable_extensions; do
9223 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9224 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9234 OTOOL
=$ac_cv_prog_OTOOL
9235 if test -n "$OTOOL"; then
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9237 printf "%s\n" "$OTOOL" >&6; }
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 printf "%s\n" "no" >&6; }
9245 if test -z "$ac_cv_prog_OTOOL"; then
9247 # Extract the first word of "otool", so it can be a program name with args.
9248 set dummy otool
; ac_word
=$2
9249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9250 printf %s
"checking for $ac_word... " >&6; }
9251 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9253 printf %s
"(cached) " >&6
9255 if test -n "$ac_ct_OTOOL"; then
9256 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9262 case $as_dir in #(((
9265 *) as_dir
=$as_dir/ ;;
9267 for ac_exec_ext
in '' $ac_executable_extensions; do
9268 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9269 ac_cv_prog_ac_ct_OTOOL
="otool"
9270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9279 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9280 if test -n "$ac_ct_OTOOL"; then
9281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9282 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9285 printf "%s\n" "no" >&6; }
9288 if test "x$ac_ct_OTOOL" = x
; then
9291 case $cross_compiling:$ac_tool_warned in
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9294 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9295 ac_tool_warned
=yes ;;
9300 OTOOL
="$ac_cv_prog_OTOOL"
9303 if test -n "$ac_tool_prefix"; then
9304 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9305 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9307 printf %s
"checking for $ac_word... " >&6; }
9308 if test ${ac_cv_prog_READELF+y}
9310 printf %s
"(cached) " >&6
9312 if test -n "$READELF"; then
9313 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9319 case $as_dir in #(((
9322 *) as_dir
=$as_dir/ ;;
9324 for ac_exec_ext
in '' $ac_executable_extensions; do
9325 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9326 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9336 READELF
=$ac_cv_prog_READELF
9337 if test -n "$READELF"; then
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9339 printf "%s\n" "$READELF" >&6; }
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9342 printf "%s\n" "no" >&6; }
9347 if test -z "$ac_cv_prog_READELF"; then
9348 ac_ct_READELF
=$READELF
9349 # Extract the first word of "readelf", so it can be a program name with args.
9350 set dummy readelf
; ac_word
=$2
9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9352 printf %s
"checking for $ac_word... " >&6; }
9353 if test ${ac_cv_prog_ac_ct_READELF+y}
9355 printf %s
"(cached) " >&6
9357 if test -n "$ac_ct_READELF"; then
9358 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9364 case $as_dir in #(((
9367 *) as_dir
=$as_dir/ ;;
9369 for ac_exec_ext
in '' $ac_executable_extensions; do
9370 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9371 ac_cv_prog_ac_ct_READELF
="readelf"
9372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9381 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9382 if test -n "$ac_ct_READELF"; then
9383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9384 printf "%s\n" "$ac_ct_READELF" >&6; }
9386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9387 printf "%s\n" "no" >&6; }
9390 if test "x$ac_ct_READELF" = x
; then
9393 case $cross_compiling:$ac_tool_warned in
9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9396 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9397 ac_tool_warned
=yes ;;
9399 READELF
=$ac_ct_READELF
9402 READELF
="$ac_cv_prog_READELF"
9410 CONFIGURE_TARGETS
=""
9413 wine_fn_config_makefile
()
9415 as_fn_append SUBDIRS
" \\$as_nl $1"
9418 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9419 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9420 if test -n "$PE_ARCHS"
9424 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9427 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9432 wine_fn_config_symlink
()
9435 as_fn_append wine_rules
"
9437 @./config.status \$@"
9438 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9445 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9447 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9448 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9449 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9451 printf %s
"(cached) " >&6
9453 ac_wine_try_cflags_saved
=$CFLAGS
9454 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9459 if ac_fn_c_try_link
"$LINENO"
9461 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9463 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9465 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9466 conftest
$ac_exeext conftest.
$ac_ext
9467 CFLAGS
=$ac_wine_try_cflags_saved
9469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9470 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9471 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9473 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9476 enable_loader
=${enable_loader:-no}
9477 enable_server
=${enable_server:-no}
9478 with_x
=${with_x:-no}
9479 with_pthread
=${with_pthread:-no}
9484 DLLFLAGS
="$DLLFLAGS -fPIC"
9486 enable_winemac_drv
=${enable_winemac_drv:-yes}
9487 CARBON_LIBS
="-framework Carbon"
9489 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9491 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9493 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9495 METAL_LIBS
="-framework Metal"
9497 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9499 CORESERVICES_LIBS
="-framework CoreServices"
9501 APPKIT_LIBS
="-framework AppKit"
9503 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9505 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9508 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9510 wine_can_build_preloader
=yes
9511 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"
9512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9513 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9514 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9516 printf %s
"(cached) " >&6
9518 ac_wine_try_cflags_saved
=$CFLAGS
9519 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9522 int main(int argc, char **argv) { return 0; }
9524 if ac_fn_c_try_link
"$LINENO"
9526 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9528 ac_cv_cflags__Wl__no_new_main__e__main
=no
9530 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9531 conftest
$ac_exeext conftest.
$ac_ext
9532 CFLAGS
=$ac_wine_try_cflags_saved
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9535 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9536 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9538 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9539 { 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
9540 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9541 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9543 printf %s
"(cached) " >&6
9545 ac_wine_try_cflags_saved
=$CFLAGS
9546 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9549 int main(int argc, char **argv) { return 0; }
9551 if ac_fn_c_try_link
"$LINENO"
9553 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9555 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9557 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9558 conftest
$ac_exeext conftest.
$ac_ext
9559 CFLAGS
=$ac_wine_try_cflags_saved
9561 { 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
9562 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9563 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9565 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9567 wine_can_build_preloader
=no
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9571 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9572 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9574 printf %s
"(cached) " >&6
9576 ac_wine_try_cflags_saved
=$CFLAGS
9577 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9580 int main(int argc, char **argv) { return 0; }
9582 if ac_fn_c_try_link
"$LINENO"
9584 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9586 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9588 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9589 conftest
$ac_exeext conftest.
$ac_ext
9590 CFLAGS
=$ac_wine_try_cflags_saved
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9593 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9594 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9596 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9598 wine_can_build_preloader
=no
9601 if test "$wine_can_build_preloader" = "yes"
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9604 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9605 if test ${ac_cv_cflags__Wl__no_pie+y}
9607 printf %s
"(cached) " >&6
9609 ac_wine_try_cflags_saved
=$CFLAGS
9610 CFLAGS
="$CFLAGS -Wl,-no_pie"
9611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9613 int main(int argc, char **argv) { return 0; }
9615 if ac_fn_c_try_link
"$LINENO"
9617 ac_cv_cflags__Wl__no_pie
=yes
9619 ac_cv_cflags__Wl__no_pie
=no
9621 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9622 conftest
$ac_exeext conftest.
$ac_ext
9623 CFLAGS
=$ac_wine_try_cflags_saved
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9626 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9627 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9629 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9631 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9633 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9636 if test "x$with_coreaudio" != "xno";
9638 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9640 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9642 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9644 OPENCL_LIBS
="-framework OpenCL"
9646 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9650 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9652 ac_cpp
='$OBJCPP $CPPFLAGS'
9653 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9654 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9655 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9658 ac_cpp
='$OBJCPP $CPPFLAGS'
9659 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9660 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9661 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9662 if test -n "$ac_tool_prefix"; then
9663 for ac_prog
in gcc objcc objc cc CC clang
9665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9666 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9668 printf %s
"checking for $ac_word... " >&6; }
9669 if test ${ac_cv_prog_OBJC+y}
9671 printf %s
"(cached) " >&6
9673 if test -n "$OBJC"; then
9674 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9680 case $as_dir in #(((
9683 *) as_dir
=$as_dir/ ;;
9685 for ac_exec_ext
in '' $ac_executable_extensions; do
9686 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9687 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9697 OBJC
=$ac_cv_prog_OBJC
9698 if test -n "$OBJC"; then
9699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9700 printf "%s\n" "$OBJC" >&6; }
9702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9703 printf "%s\n" "no" >&6; }
9707 test -n "$OBJC" && break
9710 if test -z "$OBJC"; then
9712 for ac_prog
in gcc objcc objc cc CC clang
9714 # Extract the first word of "$ac_prog", so it can be a program name with args.
9715 set dummy
$ac_prog; ac_word
=$2
9716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9717 printf %s
"checking for $ac_word... " >&6; }
9718 if test ${ac_cv_prog_ac_ct_OBJC+y}
9720 printf %s
"(cached) " >&6
9722 if test -n "$ac_ct_OBJC"; then
9723 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9729 case $as_dir in #(((
9732 *) as_dir
=$as_dir/ ;;
9734 for ac_exec_ext
in '' $ac_executable_extensions; do
9735 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9736 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9746 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9747 if test -n "$ac_ct_OBJC"; then
9748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9749 printf "%s\n" "$ac_ct_OBJC" >&6; }
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9752 printf "%s\n" "no" >&6; }
9756 test -n "$ac_ct_OBJC" && break
9759 if test "x$ac_ct_OBJC" = x
; then
9762 case $cross_compiling:$ac_tool_warned in
9764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9765 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9766 ac_tool_warned
=yes ;;
9772 # Provide some information about the compiler.
9773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9776 for ac_option
in --version -v -V -qversion; do
9777 { { ac_try
="$ac_compiler $ac_option >&5"
9779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9780 *) ac_try_echo=$ac_try;;
9782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9783 printf "%s\n" "$ac_try_echo"; } >&5
9784 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9786 if test -s conftest.err; then
9788 ... rest of stderr output deleted ...
9789 10q' conftest.err >conftest.er1
9790 cat conftest.er1 >&5
9792 rm -f conftest.er1 conftest.err
9793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9794 test $ac_status = 0; }
9797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9798 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9799 if test ${ac_cv_objc_compiler_gnu+y}
9801 printf %s "(cached) " >&6
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9817 if ac_fn_objc_try_compile "$LINENO"
9823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9824 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9828 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9829 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9831 if test $ac_compiler_gnu = yes; then
9836 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9837 ac_save_OBJCFLAGS=$OBJCFLAGS
9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9839 printf %s "checking whether $OBJC accepts -g... " >&6; }
9840 if test ${ac_cv_prog_objc_g+y}
9842 printf %s "(cached) " >&6
9844 ac_save_objc_werror_flag=$ac_objc_werror_flag
9845 ac_objc_werror_flag=yes
9846 ac_cv_prog_objc_g=no
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9859 if ac_fn_objc_try_compile "$LINENO"
9861 ac_cv_prog_objc_g=yes
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9875 if ac_fn_objc_try_compile "$LINENO"
9879 ac_objc_werror_flag=$ac_save_objc_werror_flag
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9892 if ac_fn_objc_try_compile "$LINENO"
9894 ac_cv_prog_objc_g=yes
9896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9901 ac_objc_werror_flag=$ac_save_objc_werror_flag
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9904 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9905 if test $ac_test_OBJCFLAGS; then
9906 OBJCFLAGS=$ac_save_OBJCFLAGS
9907 elif test $ac_cv_prog_objc_g = yes; then
9908 if test "$GOBJC" = yes; then
9914 if test "$GOBJC" = yes; then
9921 ac_cpp='$OBJCPP $CPPFLAGS'
9922 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9923 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9924 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 #include <Metal/Metal.h>
9933 id<MTLDevice> device; device.registryID;
9938 if ac_fn_objc_try_compile "$LINENO"
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9941 printf "%s\n" "yes" >&6; }
9943 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9947 printf "%s\n" "no" >&6; }
9949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9951 ac_cpp='$CPP $CPPFLAGS'
9952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9957 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9958 WINELOADER_DEPENDS="wine_info.plist"
9964 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9966 DLLFLAGS="$DLLFLAGS -fPIC"
9968 LDEXECFLAGS="-Wl,-pie"
9969 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9971 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9972 if test ${ac_cv_cflags__Wl__z_defs+y}
9974 printf %s "(cached) " >&6
9976 ac_wine_try_cflags_saved=$CFLAGS
9977 CFLAGS="$CFLAGS -Wl,-z,defs"
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9980 int main(int argc, char **argv) { return 0; }
9982 if ac_fn_c_try_link "$LINENO"
9984 ac_cv_cflags__Wl__z_defs=yes
9986 ac_cv_cflags__Wl__z_defs=no
9988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9989 conftest$ac_exeext conftest.$ac_ext
9990 CFLAGS=$ac_wine_try_cflags_saved
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9993 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9994 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9996 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9999 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10000 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10002 printf %s "(cached) " >&6
10004 ac_wine_try_cflags_saved=$CFLAGS
10005 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 int main(int argc, char **argv) { return 0; }
10010 if ac_fn_c_try_link "$LINENO"
10012 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10014 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10017 conftest$ac_exeext conftest.$ac_ext
10018 CFLAGS=$ac_wine_try_cflags_saved
10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10021 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10022 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10024 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10026 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10029 printf %s "checking for -lEGL... " >&6; }
10030 if test ${ac_cv_lib_soname_EGL+y}
10032 printf %s "(cached) " >&6
10034 ac_check_soname_save_LIBS=$LIBS
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10042 char eglGetProcAddress ();
10046 return eglGetProcAddress ();
10051 if ac_fn_c_try_link "$LINENO"
10054 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10055 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'` ;;
10056 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10057 if ${ac_cv_lib_soname_EGL:+false} :
10059 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10063 ac_cv_lib_soname_EGL=
10065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_soname_save_LIBS
10069 if ${ac_cv_lib_soname_EGL:+false} :
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10072 printf "%s\n" "not found" >&6; }
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10076 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10078 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10083 printf %s "checking for -lGLESv2... " >&6; }
10084 if test ${ac_cv_lib_soname_GLESv2+y}
10086 printf %s "(cached) " >&6
10088 ac_check_soname_save_LIBS=$LIBS
10089 LIBS="-lGLESv2 $LIBS"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10105 if ac_fn_c_try_link "$LINENO"
10108 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10109 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'` ;;
10110 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10111 if ${ac_cv_lib_soname_GLESv2:+false} :
10113 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10117 ac_cv_lib_soname_GLESv2=
10119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10120 conftest$ac_exeext conftest.$ac_ext
10121 LIBS=$ac_check_soname_save_LIBS
10123 if ${ac_cv_lib_soname_GLESv2:+false} :
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10126 printf "%s\n" "not found" >&6; }
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10130 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10132 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10137 if test "x$exec_prefix" = xNONE
10140 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10141 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10142 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10143 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10150 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10152 test "$ac_cv_sys_file_offset_bits" = 64 &&
10153 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10157 DLLFLAGS="$DLLFLAGS -fno-PIC"
10158 LDDLLFLAGS="-fno-PIC"
10159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10160 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10161 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10163 printf %s "(cached) " >&6
10165 ac_wine_try_cflags_saved=$CFLAGS
10166 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10169 int main(int argc, char **argv) { return 0; }
10171 if ac_fn_c_try_link "$LINENO"
10173 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10175 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10178 conftest$ac_exeext conftest.$ac_ext
10179 CFLAGS=$ac_wine_try_cflags_saved
10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10182 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10183 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10185 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10189 DLLFLAGS="$DLLFLAGS -fPIC"
10190 LDDLLFLAGS="-fPIC" ;;
10193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10194 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10195 if test ${ac_cv_cflags__Wl__z_defs+y}
10197 printf %s "(cached) " >&6
10199 ac_wine_try_cflags_saved=$CFLAGS
10200 CFLAGS="$CFLAGS -Wl,-z,defs"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 int main(int argc, char **argv) { return 0; }
10205 if ac_fn_c_try_link "$LINENO"
10207 ac_cv_cflags__Wl__z_defs=yes
10209 ac_cv_cflags__Wl__z_defs=no
10211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10212 conftest$ac_exeext conftest.$ac_ext
10213 CFLAGS=$ac_wine_try_cflags_saved
10215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10216 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10217 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10219 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10222 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10223 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10225 printf %s "(cached) " >&6
10227 ac_wine_try_cflags_saved=$CFLAGS
10228 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10231 int main(int argc, char **argv) { return 0; }
10233 if ac_fn_c_try_link "$LINENO"
10235 ac_cv_cflags__Wl___export_dynamic=yes
10237 ac_cv_cflags__Wl___export_dynamic=no
10239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10240 conftest$ac_exeext conftest.$ac_ext
10241 CFLAGS=$ac_wine_try_cflags_saved
10243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10244 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10245 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10247 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10249 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10253 as_fn_append WINELOADER_LDFLAGS " -pie"
10256 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10259 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10260 if test ${ac_cv_cflags__static_pie+y}
10262 printf %s "(cached) " >&6
10264 ac_wine_try_cflags_saved=$CFLAGS
10265 CFLAGS="$CFLAGS -static-pie"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10268 int main(int argc, char **argv) { return 0; }
10270 if ac_fn_c_try_link "$LINENO"
10272 ac_cv_cflags__static_pie=yes
10274 ac_cv_cflags__static_pie=no
10276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10277 conftest$ac_exeext conftest.$ac_ext
10278 CFLAGS=$ac_wine_try_cflags_saved
10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10281 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10282 if test "x$ac_cv_cflags__static_pie" = xyes
10284 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10286 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10295 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10296 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10298 printf %s "(cached) " >&6
10300 ac_wine_try_cflags_saved=$CFLAGS
10301 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10304 int main(int argc, char **argv) { return 0; }
10306 if ac_fn_c_try_link "$LINENO"
10308 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10310 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10313 conftest$ac_exeext conftest.$ac_ext
10314 CFLAGS=$ac_wine_try_cflags_saved
10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10317 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10318 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10320 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10323 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10324 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10326 printf %s "(cached) " >&6
10328 ac_wine_try_cflags_saved=$CFLAGS
10329 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10332 int main(int argc, char **argv) { return 0; }
10334 if ac_fn_c_try_link "$LINENO"
10336 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10338 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10341 conftest$ac_exeext conftest.$ac_ext
10342 CFLAGS=$ac_wine_try_cflags_saved
10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10345 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10346 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10348 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10353 as_fn_append WINELOADER_LDFLAGS " -pie"
10361 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10362 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10363 enable_winemac_drv=${enable_winemac_drv:-no}
10368 if test ${enable_archs+y}
10370 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10373 set x $enable_archs
10379 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10380 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10384 if test "x$with_mingw" != xno
10386 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10387 case "x$with_mingw" in
10389 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10394 for wine_arch in $cross_archs
10396 if eval \${${wine_arch}_CC:+false} :
10400 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10402 # Extract the first word of "$ac_prog", so it can be a program name with args.
10403 set dummy $ac_prog; ac_word=$2
10404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10405 printf %s "checking for $ac_word... " >&6; }
10406 if test ${ac_cv_prog_aarch64_CC+y}
10408 printf %s "(cached) " >&6
10410 if test -n "$aarch64_CC"; then
10411 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10414 for as_dir in $PATH
10417 case $as_dir in #(((
10420 *) as_dir=$as_dir/ ;;
10422 for ac_exec_ext in '' $ac_executable_extensions; do
10423 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10424 ac_cv_prog_aarch64_CC="$ac_prog"
10425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10434 aarch64_CC=$ac_cv_prog_aarch64_CC
10435 if test -n "$aarch64_CC"; then
10436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10437 printf "%s\n" "$aarch64_CC" >&6; }
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10440 printf "%s\n" "no" >&6; }
10444 test -n "$aarch64_CC" && break
10446 test -n "$aarch64_CC" || aarch64_CC="false"
10450 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10452 # Extract the first word of "$ac_prog", so it can be a program name with args.
10453 set dummy $ac_prog; ac_word=$2
10454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10455 printf %s "checking for $ac_word... " >&6; }
10456 if test ${ac_cv_prog_arm_CC+y}
10458 printf %s "(cached) " >&6
10460 if test -n "$arm_CC"; then
10461 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10464 for as_dir in $PATH
10467 case $as_dir in #(((
10470 *) as_dir=$as_dir/ ;;
10472 for ac_exec_ext in '' $ac_executable_extensions; do
10473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10474 ac_cv_prog_arm_CC="$ac_prog"
10475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10484 arm_CC=$ac_cv_prog_arm_CC
10485 if test -n "$arm_CC"; then
10486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10487 printf "%s\n" "$arm_CC" >&6; }
10489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10490 printf "%s\n" "no" >&6; }
10494 test -n "$arm_CC" && break
10496 test -n "$arm_CC" || arm_CC="false"
10500 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 "
10501 for ac_prog in $ac_prefix_list clang
10503 # Extract the first word of "$ac_prog", so it can be a program name with args.
10504 set dummy $ac_prog; ac_word=$2
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10506 printf %s "checking for $ac_word... " >&6; }
10507 if test ${ac_cv_prog_i386_CC+y}
10509 printf %s "(cached) " >&6
10511 if test -n "$i386_CC"; then
10512 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10515 for as_dir in $PATH
10518 case $as_dir in #(((
10521 *) as_dir=$as_dir/ ;;
10523 for ac_exec_ext in '' $ac_executable_extensions; do
10524 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10525 ac_cv_prog_i386_CC="$ac_prog"
10526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10535 i386_CC=$ac_cv_prog_i386_CC
10536 if test -n "$i386_CC"; then
10537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10538 printf "%s\n" "$i386_CC" >&6; }
10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10541 printf "%s\n" "no" >&6; }
10545 test -n "$i386_CC" && break
10547 test -n "$i386_CC" || i386_CC="false"
10551 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10552 for ac_prog in $ac_prefix_list clang
10554 # Extract the first word of "$ac_prog", so it can be a program name with args.
10555 set dummy $ac_prog; ac_word=$2
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10557 printf %s "checking for $ac_word... " >&6; }
10558 if test ${ac_cv_prog_x86_64_CC+y}
10560 printf %s "(cached) " >&6
10562 if test -n "$x86_64_CC"; then
10563 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10566 for as_dir in $PATH
10569 case $as_dir in #(((
10572 *) as_dir=$as_dir/ ;;
10574 for ac_exec_ext in '' $ac_executable_extensions; do
10575 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10576 ac_cv_prog_x86_64_CC="$ac_prog"
10577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10586 x86_64_CC=$ac_cv_prog_x86_64_CC
10587 if test -n "$x86_64_CC"; then
10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10589 printf "%s\n" "$x86_64_CC" >&6; }
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10592 printf "%s\n" "no" >&6; }
10596 test -n "$x86_64_CC" && break
10598 test -n "$x86_64_CC" || x86_64_CC="false"
10604 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10610 saved_CFLAGS=$CFLAGS
10611 saved_LDFLAGS=$LDFLAGS
10613 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10614 LDFLAGS=$CROSSLDFLAGS
10615 eval CC=\$${wine_arch}_CC
10616 eval ${wine_arch}_CFLAGS=\$CFLAGS
10617 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10618 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10621 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10624 printf %s "checking whether $CC works... " >&6; }
10625 if eval test \${$as_wine_cv_crosscc+y}
10627 printf %s "(cached) " >&6
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10640 if ac_fn_c_try_compile "$LINENO"
10642 eval "$as_wine_cv_crosscc=yes"
10644 eval "$as_wine_cv_crosscc=no"
10646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10648 eval ac_res=\$$as_wine_cv_crosscc
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10650 printf "%s\n" "$ac_res" >&6; }
10651 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10655 while test $# -ge 1
10658 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10659 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10664 llvm_target=$target
10665 if test -z "$llvm_target"
10668 i386) llvm_target=i686-windows ;;
10669 arm) llvm_target=armv7-windows ;;
10670 *) llvm_target=$wine_arch-windows ;;
10673 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10674 case $llvm_target in
10675 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10677 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10679 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10680 if eval test \${$as_ac_var+y}
10682 printf %s "(cached) " >&6
10684 ac_wine_try_cflags_saved=$CFLAGS
10685 ac_wine_try_cflags_saved_exeext=$ac_exeext
10686 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10690 int __cdecl mainCRTStartup(void) { return 0; }
10692 if ac_fn_c_try_link "$LINENO"
10694 eval "$as_ac_var=yes"
10696 eval "$as_ac_var=no"
10698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10699 conftest$ac_exeext conftest.$ac_ext
10700 CFLAGS=$ac_wine_try_cflags_saved
10701 ac_exeext=$ac_wine_try_cflags_saved_exeext
10703 eval ac_res=\$$as_ac_var
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10705 printf "%s\n" "$ac_res" >&6; }
10706 if eval test \"x\$"$as_ac_var"\" = x"yes"
10708 target=$llvm_target
10709 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10710 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10711 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10713 eval "${wine_arch}_TARGET=\$target"
10717 if test -z "$target"
10720 CFLAGS=$saved_CFLAGS
10721 LDFLAGS=$saved_LDFLAGS
10724 as_fn_append PE_ARCHS " $wine_arch"
10726 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10729 printf %s "checking for $CC option to enable C99 features... " >&6; }
10730 if eval test \${$as_wine_cv_crosscc_c99+y}
10732 printf %s "(cached) " >&6
10734 eval "$as_wine_cv_crosscc_c99=no"
10735 for arg in '' '-std=gnu99'
10737 test -z "$arg" || CC="$CC $arg"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 $ac_c_conftest_c99_program
10742 if ac_fn_c_try_compile "$LINENO"
10744 eval "$as_wine_cv_crosscc_c99=\$arg"
10746 eval "$as_wine_cv_crosscc_c99=no"
10748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10749 eval CC=\$${wine_arch}_CC
10750 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10759 eval res=\$$as_wine_cv_crosscc_c99
10761 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10762 printf "%s\n" "none needed" >&6; } ;;
10763 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10764 printf "%s\n" "unsupported" >&6; } ;;
10765 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10766 printf "%s\n" "$res" >&6; }
10767 as_fn_append ${wine_arch}_CC " $res" ;;
10771 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10773 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10774 if eval test \${$as_ac_var+y}
10776 printf %s "(cached) " >&6
10778 ac_wine_try_cflags_saved=$CFLAGS
10779 ac_wine_try_cflags_saved_exeext=$ac_exeext
10780 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10784 int __cdecl mainCRTStartup(void) { return 0; }
10786 if ac_fn_c_try_link "$LINENO"
10788 eval "$as_ac_var=yes"
10790 eval "$as_ac_var=no"
10792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10793 conftest$ac_exeext conftest.$ac_ext
10794 CFLAGS=$ac_wine_try_cflags_saved
10795 ac_exeext=$ac_wine_try_cflags_saved_exeext
10797 eval ac_res=\$$as_ac_var
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10799 printf "%s\n" "$ac_res" >&6; }
10800 if eval test \"x\$"$as_ac_var"\" = x"yes"
10802 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10804 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10806 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10807 if eval test \${$as_ac_var+y}
10809 printf %s "(cached) " >&6
10811 ac_wine_try_cflags_saved=$CFLAGS
10812 ac_wine_try_cflags_saved_exeext=$ac_exeext
10813 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10817 int __cdecl mainCRTStartup(void) { return 0; }
10819 if ac_fn_c_try_link "$LINENO"
10821 eval "$as_ac_var=yes"
10823 eval "$as_ac_var=no"
10825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10826 conftest$ac_exeext conftest.$ac_ext
10827 CFLAGS=$ac_wine_try_cflags_saved
10828 ac_exeext=$ac_wine_try_cflags_saved_exeext
10830 eval ac_res=\$$as_ac_var
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10832 printf "%s\n" "$ac_res" >&6; }
10833 if eval test \"x\$"$as_ac_var"\" = x"yes"
10835 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10837 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10839 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10840 if eval test \${$as_ac_var+y}
10842 printf %s "(cached) " >&6
10844 ac_wine_try_cflags_saved=$CFLAGS
10845 ac_wine_try_cflags_saved_exeext=$ac_exeext
10846 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10850 int __cdecl mainCRTStartup(void) { return 0; }
10852 if ac_fn_c_try_link "$LINENO"
10854 eval "$as_ac_var=yes"
10856 eval "$as_ac_var=no"
10858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10859 conftest$ac_exeext conftest.$ac_ext
10860 CFLAGS=$ac_wine_try_cflags_saved
10861 ac_exeext=$ac_wine_try_cflags_saved_exeext
10863 eval ac_res=\$$as_ac_var
10864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10865 printf "%s\n" "$ac_res" >&6; }
10866 if eval test \"x\$"$as_ac_var"\" = x"yes"
10868 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10870 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10872 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10873 if eval test \${$as_ac_var+y}
10875 printf %s "(cached) " >&6
10877 ac_wine_try_cflags_saved=$CFLAGS
10878 ac_wine_try_cflags_saved_exeext=$ac_exeext
10879 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10883 int __cdecl mainCRTStartup(void) { return 0; }
10885 if ac_fn_c_try_link "$LINENO"
10887 eval "$as_ac_var=yes"
10889 eval "$as_ac_var=no"
10891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10892 conftest$ac_exeext conftest.$ac_ext
10893 CFLAGS=$ac_wine_try_cflags_saved
10894 ac_exeext=$ac_wine_try_cflags_saved_exeext
10896 eval ac_res=\$$as_ac_var
10897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10898 printf "%s\n" "$ac_res" >&6; }
10899 if eval test \"x\$"$as_ac_var"\" = x"yes"
10901 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10903 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10905 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10906 if eval test \${$as_ac_var+y}
10908 printf %s "(cached) " >&6
10910 ac_wine_try_cflags_saved=$CFLAGS
10911 ac_wine_try_cflags_saved_exeext=$ac_exeext
10912 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10916 int __cdecl mainCRTStartup(void) { return 0; }
10918 if ac_fn_c_try_link "$LINENO"
10920 eval "$as_ac_var=yes"
10922 eval "$as_ac_var=no"
10924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10925 conftest$ac_exeext conftest.$ac_ext
10926 CFLAGS=$ac_wine_try_cflags_saved
10927 ac_exeext=$ac_wine_try_cflags_saved_exeext
10929 eval ac_res=\$$as_ac_var
10930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10931 printf "%s\n" "$ac_res" >&6; }
10932 if eval test \"x\$"$as_ac_var"\" = x"yes"
10934 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10936 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10938 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10939 if eval test \${$as_ac_var+y}
10941 printf %s "(cached) " >&6
10943 ac_wine_try_cflags_saved=$CFLAGS
10944 ac_wine_try_cflags_saved_exeext=$ac_exeext
10945 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10949 int __cdecl mainCRTStartup(void) { return 0; }
10951 if ac_fn_c_try_link "$LINENO"
10953 eval "$as_ac_var=yes"
10955 eval "$as_ac_var=no"
10957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10958 conftest$ac_exeext conftest.$ac_ext
10959 CFLAGS=$ac_wine_try_cflags_saved
10960 ac_exeext=$ac_wine_try_cflags_saved_exeext
10962 eval ac_res=\$$as_ac_var
10963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10964 printf "%s\n" "$ac_res" >&6; }
10965 if eval test \"x\$"$as_ac_var"\" = x"yes"
10967 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10969 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10971 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10972 if eval test \${$as_ac_var+y}
10974 printf %s "(cached) " >&6
10976 ac_wine_try_cflags_saved=$CFLAGS
10977 ac_wine_try_cflags_saved_exeext=$ac_exeext
10978 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10982 int __cdecl mainCRTStartup(void) { return 0; }
10984 if ac_fn_c_try_link "$LINENO"
10986 eval "$as_ac_var=yes"
10988 eval "$as_ac_var=no"
10990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10991 conftest$ac_exeext conftest.$ac_ext
10992 CFLAGS=$ac_wine_try_cflags_saved
10993 ac_exeext=$ac_wine_try_cflags_saved_exeext
10995 eval ac_res=\$$as_ac_var
10996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10997 printf "%s\n" "$ac_res" >&6; }
10998 if eval test \"x\$"$as_ac_var"\" = x"yes"
11000 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11002 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11004 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11005 if eval test \${$as_ac_var+y}
11007 printf %s "(cached) " >&6
11009 ac_wine_try_cflags_saved=$CFLAGS
11010 ac_wine_try_cflags_saved_exeext=$ac_exeext
11011 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11015 int __cdecl mainCRTStartup(void) { return 0; }
11017 if ac_fn_c_try_link "$LINENO"
11019 eval "$as_ac_var=yes"
11021 eval "$as_ac_var=no"
11023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11024 conftest$ac_exeext conftest.$ac_ext
11025 CFLAGS=$ac_wine_try_cflags_saved
11026 ac_exeext=$ac_wine_try_cflags_saved_exeext
11028 eval ac_res=\$$as_ac_var
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11030 printf "%s\n" "$ac_res" >&6; }
11031 if eval test \"x\$"$as_ac_var"\" = x"yes"
11033 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11035 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11037 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11038 if eval test \${$as_ac_var+y}
11040 printf %s "(cached) " >&6
11042 ac_wine_try_cflags_saved=$CFLAGS
11043 ac_wine_try_cflags_saved_exeext=$ac_exeext
11044 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11048 int __cdecl mainCRTStartup(void) { return 0; }
11050 if ac_fn_c_try_link "$LINENO"
11052 eval "$as_ac_var=yes"
11054 eval "$as_ac_var=no"
11056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11057 conftest$ac_exeext conftest.$ac_ext
11058 CFLAGS=$ac_wine_try_cflags_saved
11059 ac_exeext=$ac_wine_try_cflags_saved_exeext
11061 eval ac_res=\$$as_ac_var
11062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11063 printf "%s\n" "$ac_res" >&6; }
11064 if eval test \"x\$"$as_ac_var"\" = x"yes"
11066 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11068 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11070 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11071 if eval test \${$as_ac_var+y}
11073 printf %s "(cached) " >&6
11075 ac_wine_try_cflags_saved=$CFLAGS
11076 ac_wine_try_cflags_saved_exeext=$ac_exeext
11077 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11081 int __cdecl mainCRTStartup(void) { return 0; }
11083 if ac_fn_c_try_link "$LINENO"
11085 eval "$as_ac_var=yes"
11087 eval "$as_ac_var=no"
11089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11090 conftest$ac_exeext conftest.$ac_ext
11091 CFLAGS=$ac_wine_try_cflags_saved
11092 ac_exeext=$ac_wine_try_cflags_saved_exeext
11094 eval ac_res=\$$as_ac_var
11095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11096 printf "%s\n" "$ac_res" >&6; }
11097 if eval test \"x\$"$as_ac_var"\" = x"yes"
11099 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11101 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11103 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11104 if eval test \${$as_ac_var+y}
11106 printf %s "(cached) " >&6
11108 ac_wine_try_cflags_saved=$CFLAGS
11109 ac_wine_try_cflags_saved_exeext=$ac_exeext
11110 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11114 int __cdecl mainCRTStartup(void) { return 0; }
11116 if ac_fn_c_try_link "$LINENO"
11118 eval "$as_ac_var=yes"
11120 eval "$as_ac_var=no"
11122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11123 conftest$ac_exeext conftest.$ac_ext
11124 CFLAGS=$ac_wine_try_cflags_saved
11125 ac_exeext=$ac_wine_try_cflags_saved_exeext
11127 eval ac_res=\$$as_ac_var
11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11129 printf "%s\n" "$ac_res" >&6; }
11130 if eval test \"x\$"$as_ac_var"\" = x"yes"
11132 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11134 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11136 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11137 if eval test \${$as_ac_var+y}
11139 printf %s "(cached) " >&6
11141 ac_wine_try_cflags_saved=$CFLAGS
11142 ac_wine_try_cflags_saved_exeext=$ac_exeext
11143 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11147 int __cdecl mainCRTStartup(void) { return 0; }
11149 if ac_fn_c_try_link "$LINENO"
11151 eval "$as_ac_var=yes"
11153 eval "$as_ac_var=no"
11155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11156 conftest$ac_exeext conftest.$ac_ext
11157 CFLAGS=$ac_wine_try_cflags_saved
11158 ac_exeext=$ac_wine_try_cflags_saved_exeext
11160 eval ac_res=\$$as_ac_var
11161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11162 printf "%s\n" "$ac_res" >&6; }
11163 if eval test \"x\$"$as_ac_var"\" = x"yes"
11165 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11167 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11169 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11170 if eval test \${$as_ac_var+y}
11172 printf %s "(cached) " >&6
11174 ac_wine_try_cflags_saved=$CFLAGS
11175 ac_wine_try_cflags_saved_exeext=$ac_exeext
11176 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11180 int __cdecl mainCRTStartup(void) { return 0; }
11182 if ac_fn_c_try_link "$LINENO"
11184 eval "$as_ac_var=yes"
11186 eval "$as_ac_var=no"
11188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11189 conftest$ac_exeext conftest.$ac_ext
11190 CFLAGS=$ac_wine_try_cflags_saved
11191 ac_exeext=$ac_wine_try_cflags_saved_exeext
11193 eval ac_res=\$$as_ac_var
11194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11195 printf "%s\n" "$ac_res" >&6; }
11196 if eval test \"x\$"$as_ac_var"\" = x"yes"
11198 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11200 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11202 printf %s "checking whether $CC supports -Wvla... " >&6; }
11203 if eval test \${$as_ac_var+y}
11205 printf %s "(cached) " >&6
11207 ac_wine_try_cflags_saved=$CFLAGS
11208 ac_wine_try_cflags_saved_exeext=$ac_exeext
11209 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11213 int __cdecl mainCRTStartup(void) { return 0; }
11215 if ac_fn_c_try_link "$LINENO"
11217 eval "$as_ac_var=yes"
11219 eval "$as_ac_var=no"
11221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11222 conftest$ac_exeext conftest.$ac_ext
11223 CFLAGS=$ac_wine_try_cflags_saved
11224 ac_exeext=$ac_wine_try_cflags_saved_exeext
11226 eval ac_res=\$$as_ac_var
11227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11228 printf "%s\n" "$ac_res" >&6; }
11229 if eval test \"x\$"$as_ac_var"\" = x"yes"
11231 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11233 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11235 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11236 if eval test \${$as_ac_var+y}
11238 printf %s "(cached) " >&6
11240 ac_wine_try_cflags_saved=$CFLAGS
11241 ac_wine_try_cflags_saved_exeext=$ac_exeext
11242 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11246 int __cdecl mainCRTStartup(void) { return 0; }
11248 if ac_fn_c_try_link "$LINENO"
11250 eval "$as_ac_var=yes"
11252 eval "$as_ac_var=no"
11254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11255 conftest$ac_exeext conftest.$ac_ext
11256 CFLAGS=$ac_wine_try_cflags_saved
11257 ac_exeext=$ac_wine_try_cflags_saved_exeext
11259 eval ac_res=\$$as_ac_var
11260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11261 printf "%s\n" "$ac_res" >&6; }
11262 if eval test \"x\$"$as_ac_var"\" = x"yes"
11264 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11266 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11268 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11269 if eval test \${$as_ac_var+y}
11271 printf %s "(cached) " >&6
11273 ac_wine_try_cflags_saved=$CFLAGS
11274 ac_wine_try_cflags_saved_exeext=$ac_exeext
11275 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11279 int __cdecl mainCRTStartup(void) { return 0; }
11281 if ac_fn_c_try_link "$LINENO"
11283 eval "$as_ac_var=yes"
11285 eval "$as_ac_var=no"
11287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11288 conftest$ac_exeext conftest.$ac_ext
11289 CFLAGS=$ac_wine_try_cflags_saved
11290 ac_exeext=$ac_wine_try_cflags_saved_exeext
11292 eval ac_res=\$$as_ac_var
11293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11294 printf "%s\n" "$ac_res" >&6; }
11295 if eval test \"x\$"$as_ac_var"\" = x"yes"
11297 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11299 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11301 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11302 if eval test \${$as_ac_var+y}
11304 printf %s "(cached) " >&6
11306 ac_wine_try_cflags_saved=$CFLAGS
11307 ac_wine_try_cflags_saved_exeext=$ac_exeext
11308 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11312 int __cdecl mainCRTStartup(void) { return 0; }
11314 if ac_fn_c_try_link "$LINENO"
11316 eval "$as_ac_var=yes"
11318 eval "$as_ac_var=no"
11320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11321 conftest$ac_exeext conftest.$ac_ext
11322 CFLAGS=$ac_wine_try_cflags_saved
11323 ac_exeext=$ac_wine_try_cflags_saved_exeext
11325 eval ac_res=\$$as_ac_var
11326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11327 printf "%s\n" "$ac_res" >&6; }
11328 if eval test \"x\$"$as_ac_var"\" = x"yes"
11330 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11332 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11334 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11335 if eval test \${$as_ac_var+y}
11337 printf %s "(cached) " >&6
11339 ac_wine_try_cflags_saved=$CFLAGS
11340 ac_wine_try_cflags_saved_exeext=$ac_exeext
11341 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11345 int __cdecl mainCRTStartup(void) { return 0; }
11347 if ac_fn_c_try_link "$LINENO"
11349 eval "$as_ac_var=yes"
11351 eval "$as_ac_var=no"
11353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11354 conftest$ac_exeext conftest.$ac_ext
11355 CFLAGS=$ac_wine_try_cflags_saved
11356 ac_exeext=$ac_wine_try_cflags_saved_exeext
11358 eval ac_res=\$$as_ac_var
11359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11360 printf "%s\n" "$ac_res" >&6; }
11361 if eval test \"x\$"$as_ac_var"\" = x"yes"
11363 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11367 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11369 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11370 if eval test \${$as_ac_var+y}
11372 printf %s "(cached) " >&6
11374 ac_wine_try_cflags_saved=$CFLAGS
11375 ac_wine_try_cflags_saved_exeext=$ac_exeext
11376 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11380 int __cdecl mainCRTStartup(void) { return 0; }
11382 if ac_fn_c_try_link "$LINENO"
11384 eval "$as_ac_var=yes"
11386 eval "$as_ac_var=no"
11388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11389 conftest$ac_exeext conftest.$ac_ext
11390 CFLAGS=$ac_wine_try_cflags_saved
11391 ac_exeext=$ac_wine_try_cflags_saved_exeext
11393 eval ac_res=\$$as_ac_var
11394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11395 printf "%s\n" "$ac_res" >&6; }
11396 if eval test \"x\$"$as_ac_var"\" = x"yes"
11398 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11400 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11402 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11403 if eval test \${$as_ac_var+y}
11405 printf %s "(cached) " >&6
11407 ac_wine_try_cflags_saved=$CFLAGS
11408 ac_wine_try_cflags_saved_exeext=$ac_exeext
11409 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11413 int __cdecl mainCRTStartup(void) { return 0; }
11415 if ac_fn_c_try_link "$LINENO"
11417 eval "$as_ac_var=yes"
11419 eval "$as_ac_var=no"
11421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11422 conftest$ac_exeext conftest.$ac_ext
11423 CFLAGS=$ac_wine_try_cflags_saved
11424 ac_exeext=$ac_wine_try_cflags_saved_exeext
11426 eval ac_res=\$$as_ac_var
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11428 printf "%s\n" "$ac_res" >&6; }
11429 if eval test \"x\$"$as_ac_var"\" = x"yes"
11431 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11433 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11435 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11436 if eval test \${$as_ac_var+y}
11438 printf %s "(cached) " >&6
11440 ac_wine_try_cflags_saved=$CFLAGS
11441 ac_wine_try_cflags_saved_exeext=$ac_exeext
11442 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11446 int __cdecl mainCRTStartup(void) { return 0; }
11448 if ac_fn_c_try_link "$LINENO"
11450 eval "$as_ac_var=yes"
11452 eval "$as_ac_var=no"
11454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11455 conftest$ac_exeext conftest.$ac_ext
11456 CFLAGS=$ac_wine_try_cflags_saved
11457 ac_exeext=$ac_wine_try_cflags_saved_exeext
11459 eval ac_res=\$$as_ac_var
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11461 printf "%s\n" "$ac_res" >&6; }
11462 if eval test \"x\$"$as_ac_var"\" = x"yes"
11464 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11466 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11468 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11469 if eval test \${$as_ac_var+y}
11471 printf %s "(cached) " >&6
11473 ac_wine_try_cflags_saved=$CFLAGS
11474 ac_wine_try_cflags_saved_exeext=$ac_exeext
11475 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11479 int __cdecl mainCRTStartup(void) { return 0; }
11481 if ac_fn_c_try_link "$LINENO"
11483 eval "$as_ac_var=yes"
11485 eval "$as_ac_var=no"
11487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11488 conftest$ac_exeext conftest.$ac_ext
11489 CFLAGS=$ac_wine_try_cflags_saved
11490 ac_exeext=$ac_wine_try_cflags_saved_exeext
11492 eval ac_res=\$$as_ac_var
11493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11494 printf "%s\n" "$ac_res" >&6; }
11495 if eval test \"x\$"$as_ac_var"\" = x"yes"
11497 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11499 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11501 printf %s "checking whether $CC supports -mcx16... " >&6; }
11502 if eval test \${$as_ac_var+y}
11504 printf %s "(cached) " >&6
11506 ac_wine_try_cflags_saved=$CFLAGS
11507 ac_wine_try_cflags_saved_exeext=$ac_exeext
11508 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11512 int __cdecl mainCRTStartup(void) { return 0; }
11514 if ac_fn_c_try_link "$LINENO"
11516 eval "$as_ac_var=yes"
11518 eval "$as_ac_var=no"
11520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11521 conftest$ac_exeext conftest.$ac_ext
11522 CFLAGS=$ac_wine_try_cflags_saved
11523 ac_exeext=$ac_wine_try_cflags_saved_exeext
11525 eval ac_res=\$$as_ac_var
11526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11527 printf "%s\n" "$ac_res" >&6; }
11528 if eval test \"x\$"$as_ac_var"\" = x"yes"
11530 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11532 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11534 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11535 if eval test \${$as_ac_var+y}
11537 printf %s "(cached) " >&6
11539 ac_wine_try_cflags_saved=$CFLAGS
11540 ac_wine_try_cflags_saved_exeext=$ac_exeext
11541 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11545 int __cdecl mainCRTStartup(void) { return 0; }
11547 if ac_fn_c_try_link "$LINENO"
11549 eval "$as_ac_var=yes"
11551 eval "$as_ac_var=no"
11553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11554 conftest$ac_exeext conftest.$ac_ext
11555 CFLAGS=$ac_wine_try_cflags_saved
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 eval ac_res=\$$as_ac_var
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11560 printf "%s\n" "$ac_res" >&6; }
11561 if eval test \"x\$"$as_ac_var"\" = x"yes"
11563 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11567 wine_crossdebug=$CROSSDEBUG
11568 if test -z "$wine_crossdebug"
11570 for ac_flag in $CFLAGS; do
11572 -gdwarf*) wine_crossdebug=dwarf ;;
11573 -gcodeview) wine_crossdebug=pdb ;;
11574 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11579 ac_debug_format_seen=""
11580 for ac_flag in $CFLAGS; do
11582 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11585 if test "x$ac_debug_format_seen" = x
11587 case $wine_crossdebug in
11588 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11590 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11591 if eval test \${$as_ac_var+y}
11593 printf %s "(cached) " >&6
11595 ac_wine_try_cflags_saved=$CFLAGS
11596 ac_wine_try_cflags_saved_exeext=$ac_exeext
11597 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11601 int __cdecl mainCRTStartup(void) { return 0; }
11603 if ac_fn_c_try_link "$LINENO"
11605 eval "$as_ac_var=yes"
11607 eval "$as_ac_var=no"
11609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11610 conftest$ac_exeext conftest.$ac_ext
11611 CFLAGS=$ac_wine_try_cflags_saved
11612 ac_exeext=$ac_wine_try_cflags_saved_exeext
11614 eval ac_res=\$$as_ac_var
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11616 printf "%s\n" "$ac_res" >&6; }
11617 if eval test \"x\$"$as_ac_var"\" = x"yes"
11619 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11621 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11623 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11624 if eval test \${$as_ac_var+y}
11626 printf %s "(cached) " >&6
11628 ac_wine_try_cflags_saved=$CFLAGS
11629 ac_wine_try_cflags_saved_exeext=$ac_exeext
11630 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 int __cdecl mainCRTStartup(void) { return 0; }
11636 if ac_fn_c_try_link "$LINENO"
11638 eval "$as_ac_var=yes"
11640 eval "$as_ac_var=no"
11642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11643 conftest$ac_exeext conftest.$ac_ext
11644 CFLAGS=$ac_wine_try_cflags_saved
11645 ac_exeext=$ac_wine_try_cflags_saved_exeext
11647 eval ac_res=\$$as_ac_var
11648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11649 printf "%s\n" "$ac_res" >&6; }
11650 if eval test \"x\$"$as_ac_var"\" = x"yes"
11652 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11656 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11658 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11660 printf %s "checking whether $CC supports -Werror... " >&6; }
11661 if eval test \${$as_ac_var+y}
11663 printf %s "(cached) " >&6
11665 ac_wine_try_cflags_saved=$CFLAGS
11666 ac_wine_try_cflags_saved_exeext=$ac_exeext
11667 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11671 int __cdecl mainCRTStartup(void) { return 0; }
11673 if ac_fn_c_try_link "$LINENO"
11675 eval "$as_ac_var=yes"
11677 eval "$as_ac_var=no"
11679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11680 conftest$ac_exeext conftest.$ac_ext
11681 CFLAGS=$ac_wine_try_cflags_saved
11682 ac_exeext=$ac_wine_try_cflags_saved_exeext
11684 eval ac_res=\$$as_ac_var
11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11686 printf "%s\n" "$ac_res" >&6; }
11687 if eval test \"x\$"$as_ac_var"\" = x"yes"
11689 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11691 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11693 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11694 if eval test \${$as_ac_var+y}
11696 printf %s "(cached) " >&6
11698 ac_wine_try_cflags_saved=$CFLAGS
11699 ac_wine_try_cflags_saved_exeext=$ac_exeext
11700 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11704 int __cdecl mainCRTStartup(void) { return 0; }
11706 if ac_fn_c_try_link "$LINENO"
11708 eval "$as_ac_var=yes"
11710 eval "$as_ac_var=no"
11712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11713 conftest$ac_exeext conftest.$ac_ext
11714 CFLAGS=$ac_wine_try_cflags_saved
11715 ac_exeext=$ac_wine_try_cflags_saved_exeext
11717 eval ac_res=\$$as_ac_var
11718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11719 printf "%s\n" "$ac_res" >&6; }
11720 if eval test \"x\$"$as_ac_var"\" = x"yes"
11722 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11723 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11727 CFLAGS=$saved_CFLAGS
11728 LDFLAGS=$saved_LDFLAGS
11731 if test $HOST_ARCH = aarch64
11733 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11736 if test "x$PE_ARCHS" = "x"
11738 case "x$with_mingw" in
11739 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11741 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11742 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11749 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11751 case "$host_cpu" in
11753 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11755 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11757 for ac_prog in $ac_prefix_list
11759 # Extract the first word of "$ac_prog", so it can be a program name with args.
11760 set dummy $ac_prog; ac_word=$2
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11762 printf %s "checking for $ac_word... " >&6; }
11763 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11765 printf %s "(cached) " >&6
11767 if test -n "$MINGW_PKG_CONFIG"; then
11768 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11771 for as_dir in $PATH
11774 case $as_dir in #(((
11777 *) as_dir=$as_dir/ ;;
11779 for ac_exec_ext in '' $ac_executable_extensions; do
11780 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11781 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11791 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11792 if test -n "$MINGW_PKG_CONFIG"; then
11793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11794 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 printf "%s\n" "no" >&6; }
11801 test -n "$MINGW_PKG_CONFIG" && break
11803 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11805 if ${FAUDIO_PE_CFLAGS:+false} :
11807 if test ${MINGW_PKG_CONFIG+y}
11809 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11812 if ${FAUDIO_PE_LIBS:+false} :
11814 if test ${MINGW_PKG_CONFIG+y}
11816 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11819 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11820 ac_save_CPPFLAGS=$CPPFLAGS
11821 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11823 printf %s "checking for MinGW FAudio.h... " >&6; }
11824 if test ${ac_cv_mingw_header_FAudio_h+y}
11826 printf %s "(cached) " >&6
11828 ac_wine_check_headers_saved_cc=$CC
11829 ac_wine_check_headers_saved_exeext=$ac_exeext
11830 eval CC=\$${wine_arch}_CC
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 #include <FAudio.h>
11844 if ac_fn_c_try_compile "$LINENO"
11846 ac_cv_mingw_header_FAudio_h=yes
11848 ac_cv_mingw_header_FAudio_h=no
11850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11851 CC=$ac_wine_check_headers_saved_cc
11852 ac_exeext=$ac_wine_check_headers_saved_exeext
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11855 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11856 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11859 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11860 if test ${ac_cv_mingw_lib_FAudio+y}
11862 printf %s "(cached) " >&6
11864 ac_wine_check_headers_saved_cc=$CC
11865 ac_wine_check_headers_saved_exeext=$ac_exeext
11866 ac_wine_check_headers_saved_libs=$LIBS
11867 eval CC=\$${wine_arch}_CC
11869 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h. */
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11876 char FAudio_CommitOperationSet ();
11880 return FAudio_CommitOperationSet ();
11885 if ac_fn_c_try_link "$LINENO"
11887 ac_cv_mingw_lib_FAudio=yes
11889 ac_cv_mingw_lib_FAudio=no
11891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11892 conftest$ac_exeext conftest.$ac_ext
11893 CC=$ac_wine_check_headers_saved_cc
11894 ac_exeext=$ac_wine_check_headers_saved_exeext
11895 LIBS=$ac_wine_check_headers_saved_libs
11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11898 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11899 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11903 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11906 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11908 CPPFLAGS=$ac_save_CPPFLAGS
11910 if test "x$FAUDIO_PE_LIBS" = "x"
11912 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11915 if ${JPEG_PE_CFLAGS:+false} :
11917 if test ${MINGW_PKG_CONFIG+y}
11919 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11922 if ${JPEG_PE_LIBS:+false} :
11924 if test ${MINGW_PKG_CONFIG+y}
11926 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11930 ac_save_CPPFLAGS=$CPPFLAGS
11931 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11933 printf %s "checking for MinGW jpeglib.h... " >&6; }
11934 if test ${ac_cv_mingw_header_jpeglib_h+y}
11936 printf %s "(cached) " >&6
11938 ac_wine_check_headers_saved_cc=$CC
11939 ac_wine_check_headers_saved_exeext=$ac_exeext
11940 eval CC=\$${wine_arch}_CC
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #include <stddef.h>
11946 #include <jpeglib.h>
11955 if ac_fn_c_try_compile "$LINENO"
11957 ac_cv_mingw_header_jpeglib_h=yes
11959 ac_cv_mingw_header_jpeglib_h=no
11961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11962 CC=$ac_wine_check_headers_saved_cc
11963 ac_exeext=$ac_wine_check_headers_saved_exeext
11965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11966 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11967 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11970 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11971 if test ${ac_cv_mingw_lib_jpeg+y}
11973 printf %s "(cached) " >&6
11975 ac_wine_check_headers_saved_cc=$CC
11976 ac_wine_check_headers_saved_exeext=$ac_exeext
11977 ac_wine_check_headers_saved_libs=$LIBS
11978 eval CC=\$${wine_arch}_CC
11980 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 char jpeg_start_decompress ();
11991 return jpeg_start_decompress ();
11996 if ac_fn_c_try_link "$LINENO"
11998 ac_cv_mingw_lib_jpeg=yes
12000 ac_cv_mingw_lib_jpeg=no
12002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12003 conftest$ac_exeext conftest.$ac_ext
12004 CC=$ac_wine_check_headers_saved_cc
12005 ac_exeext=$ac_wine_check_headers_saved_exeext
12006 LIBS=$ac_wine_check_headers_saved_libs
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12009 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12010 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12014 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12017 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12019 CPPFLAGS=$ac_save_CPPFLAGS
12021 if test "x$JPEG_PE_LIBS" = "x"
12023 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12026 if ${LCMS2_PE_CFLAGS:+false} :
12028 if test ${MINGW_PKG_CONFIG+y}
12030 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12033 if ${LCMS2_PE_LIBS:+false} :
12035 if test ${MINGW_PKG_CONFIG+y}
12037 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12040 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12041 ac_save_CPPFLAGS=$CPPFLAGS
12042 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12044 printf %s "checking for MinGW lcms2.h... " >&6; }
12045 if test ${ac_cv_mingw_header_lcms2_h+y}
12047 printf %s "(cached) " >&6
12049 ac_wine_check_headers_saved_cc=$CC
12050 ac_wine_check_headers_saved_exeext=$ac_exeext
12051 eval CC=\$${wine_arch}_CC
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12065 if ac_fn_c_try_compile "$LINENO"
12067 ac_cv_mingw_header_lcms2_h=yes
12069 ac_cv_mingw_header_lcms2_h=no
12071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12072 CC=$ac_wine_check_headers_saved_cc
12073 ac_exeext=$ac_wine_check_headers_saved_exeext
12075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12076 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12077 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12080 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12081 if test ${ac_cv_mingw_lib_lcms2+y}
12083 printf %s "(cached) " >&6
12085 ac_wine_check_headers_saved_cc=$CC
12086 ac_wine_check_headers_saved_exeext=$ac_exeext
12087 ac_wine_check_headers_saved_libs=$LIBS
12088 eval CC=\$${wine_arch}_CC
12090 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12094 /* Override any GCC internal prototype to avoid an error.
12095 Use char because int might match the return type of a GCC
12096 builtin and then its argument prototype would still apply. */
12097 char cmsOpenProfileFromFile ();
12101 return cmsOpenProfileFromFile ();
12106 if ac_fn_c_try_link "$LINENO"
12108 ac_cv_mingw_lib_lcms2=yes
12110 ac_cv_mingw_lib_lcms2=no
12112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12113 conftest$ac_exeext conftest.$ac_ext
12114 CC=$ac_wine_check_headers_saved_cc
12115 ac_exeext=$ac_wine_check_headers_saved_exeext
12116 LIBS=$ac_wine_check_headers_saved_libs
12118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12119 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12120 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12124 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12127 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12129 CPPFLAGS=$ac_save_CPPFLAGS
12131 if test "x$LCMS2_PE_LIBS" = "x"
12133 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12136 if ${MPG123_PE_CFLAGS:+false} :
12138 if test ${MINGW_PKG_CONFIG+y}
12140 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12143 if ${MPG123_PE_LIBS:+false} :
12145 if test ${MINGW_PKG_CONFIG+y}
12147 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12150 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12151 ac_save_CPPFLAGS=$CPPFLAGS
12152 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12154 printf %s "checking for MinGW mpg123.h... " >&6; }
12155 if test ${ac_cv_mingw_header_mpg123_h+y}
12157 printf %s "(cached) " >&6
12159 ac_wine_check_headers_saved_cc=$CC
12160 ac_wine_check_headers_saved_exeext=$ac_exeext
12161 eval CC=\$${wine_arch}_CC
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 #include <mpg123.h>
12175 if ac_fn_c_try_compile "$LINENO"
12177 ac_cv_mingw_header_mpg123_h=yes
12179 ac_cv_mingw_header_mpg123_h=no
12181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12182 CC=$ac_wine_check_headers_saved_cc
12183 ac_exeext=$ac_wine_check_headers_saved_exeext
12185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12186 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12187 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12190 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12191 if test ${ac_cv_mingw_lib_mpg123+y}
12193 printf %s "(cached) " >&6
12195 ac_wine_check_headers_saved_cc=$CC
12196 ac_wine_check_headers_saved_exeext=$ac_exeext
12197 ac_wine_check_headers_saved_libs=$LIBS
12198 eval CC=\$${wine_arch}_CC
12200 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12204 /* Override any GCC internal prototype to avoid an error.
12205 Use char because int might match the return type of a GCC
12206 builtin and then its argument prototype would still apply. */
12207 char mpg123_feed ();
12211 return mpg123_feed ();
12216 if ac_fn_c_try_link "$LINENO"
12218 ac_cv_mingw_lib_mpg123=yes
12220 ac_cv_mingw_lib_mpg123=no
12222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12223 conftest$ac_exeext conftest.$ac_ext
12224 CC=$ac_wine_check_headers_saved_cc
12225 ac_exeext=$ac_wine_check_headers_saved_exeext
12226 LIBS=$ac_wine_check_headers_saved_libs
12228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12229 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12230 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12234 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12237 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12239 CPPFLAGS=$ac_save_CPPFLAGS
12241 if test "x$MPG123_PE_LIBS" = "x"
12243 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12246 if ${PNG_PE_CFLAGS:+false} :
12248 if test ${MINGW_PKG_CONFIG+y}
12250 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12253 if ${PNG_PE_LIBS:+false} :
12255 if test ${MINGW_PKG_CONFIG+y}
12257 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12261 ac_save_CPPFLAGS=$CPPFLAGS
12262 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12264 printf %s "checking for MinGW png.h... " >&6; }
12265 if test ${ac_cv_mingw_header_png_h+y}
12267 printf %s "(cached) " >&6
12269 ac_wine_check_headers_saved_cc=$CC
12270 ac_wine_check_headers_saved_exeext=$ac_exeext
12271 eval CC=\$${wine_arch}_CC
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12285 if ac_fn_c_try_compile "$LINENO"
12287 ac_cv_mingw_header_png_h=yes
12289 ac_cv_mingw_header_png_h=no
12291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12292 CC=$ac_wine_check_headers_saved_cc
12293 ac_exeext=$ac_wine_check_headers_saved_exeext
12295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12296 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12297 if test "x$ac_cv_mingw_header_png_h" = xyes
12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12300 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12301 if test ${ac_cv_mingw_lib_png+y}
12303 printf %s "(cached) " >&6
12305 ac_wine_check_headers_saved_cc=$CC
12306 ac_wine_check_headers_saved_exeext=$ac_exeext
12307 ac_wine_check_headers_saved_libs=$LIBS
12308 eval CC=\$${wine_arch}_CC
12310 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12317 char png_create_read_struct ();
12321 return png_create_read_struct ();
12326 if ac_fn_c_try_link "$LINENO"
12328 ac_cv_mingw_lib_png=yes
12330 ac_cv_mingw_lib_png=no
12332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12333 conftest$ac_exeext conftest.$ac_ext
12334 CC=$ac_wine_check_headers_saved_cc
12335 ac_exeext=$ac_wine_check_headers_saved_exeext
12336 LIBS=$ac_wine_check_headers_saved_libs
12338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12339 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12340 if test "x$ac_cv_mingw_lib_png" = xyes
12344 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12347 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12349 CPPFLAGS=$ac_save_CPPFLAGS
12351 if test "x$PNG_PE_LIBS" = "x"
12353 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12356 if ${TIFF_PE_CFLAGS:+false} :
12358 if test ${MINGW_PKG_CONFIG+y}
12360 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12363 if ${TIFF_PE_LIBS:+false} :
12365 if test ${MINGW_PKG_CONFIG+y}
12367 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12371 ac_save_CPPFLAGS=$CPPFLAGS
12372 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12374 printf %s "checking for MinGW tiffio.h... " >&6; }
12375 if test ${ac_cv_mingw_header_tiffio_h+y}
12377 printf %s "(cached) " >&6
12379 ac_wine_check_headers_saved_cc=$CC
12380 ac_wine_check_headers_saved_exeext=$ac_exeext
12381 eval CC=\$${wine_arch}_CC
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 #include <tiffio.h>
12395 if ac_fn_c_try_compile "$LINENO"
12397 ac_cv_mingw_header_tiffio_h=yes
12399 ac_cv_mingw_header_tiffio_h=no
12401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12402 CC=$ac_wine_check_headers_saved_cc
12403 ac_exeext=$ac_wine_check_headers_saved_exeext
12405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12406 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12407 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12410 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12411 if test ${ac_cv_mingw_lib_tiff+y}
12413 printf %s "(cached) " >&6
12415 ac_wine_check_headers_saved_cc=$CC
12416 ac_wine_check_headers_saved_exeext=$ac_exeext
12417 ac_wine_check_headers_saved_libs=$LIBS
12418 eval CC=\$${wine_arch}_CC
12420 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 char TIFFClientOpen ();
12431 return TIFFClientOpen ();
12436 if ac_fn_c_try_link "$LINENO"
12438 ac_cv_mingw_lib_tiff=yes
12440 ac_cv_mingw_lib_tiff=no
12442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12443 conftest$ac_exeext conftest.$ac_ext
12444 CC=$ac_wine_check_headers_saved_cc
12445 ac_exeext=$ac_wine_check_headers_saved_exeext
12446 LIBS=$ac_wine_check_headers_saved_libs
12448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12449 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12450 if test "x$ac_cv_mingw_lib_tiff" = xyes
12454 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12457 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12459 CPPFLAGS=$ac_save_CPPFLAGS
12461 if test "x$TIFF_PE_LIBS" = "x"
12463 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12466 if ${XML2_PE_CFLAGS:+false} :
12468 if test ${MINGW_PKG_CONFIG+y}
12470 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12473 if ${XML2_PE_LIBS:+false} :
12475 if test ${MINGW_PKG_CONFIG+y}
12477 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12480 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12481 ac_save_CPPFLAGS=$CPPFLAGS
12482 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12484 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12485 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12487 printf %s "(cached) " >&6
12489 ac_wine_check_headers_saved_cc=$CC
12490 ac_wine_check_headers_saved_exeext=$ac_exeext
12491 eval CC=\$${wine_arch}_CC
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 #include <libxml/parser.h>
12505 if ac_fn_c_try_compile "$LINENO"
12507 ac_cv_mingw_header_libxml_parser_h=yes
12509 ac_cv_mingw_header_libxml_parser_h=no
12511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12512 CC=$ac_wine_check_headers_saved_cc
12513 ac_exeext=$ac_wine_check_headers_saved_exeext
12515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12516 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12517 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12522 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12523 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12525 printf %s "(cached) " >&6
12527 ac_wine_check_headers_saved_cc=$CC
12528 ac_wine_check_headers_saved_exeext=$ac_exeext
12529 eval CC=\$${wine_arch}_CC
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 #include <libxml/xmlsave.h>
12543 if ac_fn_c_try_compile "$LINENO"
12545 ac_cv_mingw_header_libxml_xmlsave_h=yes
12547 ac_cv_mingw_header_libxml_xmlsave_h=no
12549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12550 CC=$ac_wine_check_headers_saved_cc
12551 ac_exeext=$ac_wine_check_headers_saved_exeext
12553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12554 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12555 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12560 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12561 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12563 printf %s "(cached) " >&6
12565 ac_wine_check_headers_saved_cc=$CC
12566 ac_wine_check_headers_saved_exeext=$ac_exeext
12567 eval CC=\$${wine_arch}_CC
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 #include <libxml/SAX2.h>
12581 if ac_fn_c_try_compile "$LINENO"
12583 ac_cv_mingw_header_libxml_SAX2_h=yes
12585 ac_cv_mingw_header_libxml_SAX2_h=no
12587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12588 CC=$ac_wine_check_headers_saved_cc
12589 ac_exeext=$ac_wine_check_headers_saved_exeext
12591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12592 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12593 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12597 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"
12599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12600 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12601 if test ${ac_cv_mingw_lib_xml2+y}
12603 printf %s "(cached) " >&6
12605 ac_wine_check_headers_saved_cc=$CC
12606 ac_wine_check_headers_saved_exeext=$ac_exeext
12607 ac_wine_check_headers_saved_libs=$LIBS
12608 eval CC=\$${wine_arch}_CC
12610 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12617 char xmlFirstElementChild ();
12621 return xmlFirstElementChild ();
12626 if ac_fn_c_try_link "$LINENO"
12628 ac_cv_mingw_lib_xml2=yes
12630 ac_cv_mingw_lib_xml2=no
12632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12633 conftest$ac_exeext conftest.$ac_ext
12634 CC=$ac_wine_check_headers_saved_cc
12635 ac_exeext=$ac_wine_check_headers_saved_exeext
12636 LIBS=$ac_wine_check_headers_saved_libs
12638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12639 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12640 if test "x$ac_cv_mingw_lib_xml2" = xyes
12644 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12650 CPPFLAGS=$ac_save_CPPFLAGS
12652 if test "x$XML2_PE_LIBS" = "x"
12654 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12657 if ${XSLT_PE_CFLAGS:+false} :
12659 if test ${MINGW_PKG_CONFIG+y}
12661 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12664 if ${XSLT_PE_LIBS:+false} :
12666 if test ${MINGW_PKG_CONFIG+y}
12668 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12671 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12672 ac_save_CPPFLAGS=$CPPFLAGS
12673 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12675 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12676 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12678 printf %s "(cached) " >&6
12680 ac_wine_check_headers_saved_cc=$CC
12681 ac_wine_check_headers_saved_exeext=$ac_exeext
12682 eval CC=\$${wine_arch}_CC
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12687 #include <libxslt/pattern.h>
12696 if ac_fn_c_try_compile "$LINENO"
12698 ac_cv_mingw_header_libxslt_pattern_h=yes
12700 ac_cv_mingw_header_libxslt_pattern_h=no
12702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12703 CC=$ac_wine_check_headers_saved_cc
12704 ac_exeext=$ac_wine_check_headers_saved_exeext
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12707 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12708 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12713 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12714 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12716 printf %s "(cached) " >&6
12718 ac_wine_check_headers_saved_cc=$CC
12719 ac_wine_check_headers_saved_exeext=$ac_exeext
12720 eval CC=\$${wine_arch}_CC
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12725 #include <libxslt/transform.h>
12734 if ac_fn_c_try_compile "$LINENO"
12736 ac_cv_mingw_header_libxslt_transform_h=yes
12738 ac_cv_mingw_header_libxslt_transform_h=no
12740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12741 CC=$ac_wine_check_headers_saved_cc
12742 ac_exeext=$ac_wine_check_headers_saved_exeext
12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12745 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12746 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12750 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12753 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12754 if test ${ac_cv_mingw_lib_xslt+y}
12756 printf %s "(cached) " >&6
12758 ac_wine_check_headers_saved_cc=$CC
12759 ac_wine_check_headers_saved_exeext=$ac_exeext
12760 ac_wine_check_headers_saved_libs=$LIBS
12761 eval CC=\$${wine_arch}_CC
12763 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12770 char xsltCompilePattern ();
12774 return xsltCompilePattern ();
12779 if ac_fn_c_try_link "$LINENO"
12781 ac_cv_mingw_lib_xslt=yes
12783 ac_cv_mingw_lib_xslt=no
12785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12786 conftest$ac_exeext conftest.$ac_ext
12787 CC=$ac_wine_check_headers_saved_cc
12788 ac_exeext=$ac_wine_check_headers_saved_exeext
12789 LIBS=$ac_wine_check_headers_saved_libs
12791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12792 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12793 if test "x$ac_cv_mingw_lib_xslt" = xyes
12797 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12803 CPPFLAGS=$ac_save_CPPFLAGS
12805 if test "x$XSLT_PE_LIBS" = "x"
12807 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12810 if ${VKD3D_PE_CFLAGS:+false} :
12812 if test ${MINGW_PKG_CONFIG+y}
12814 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12817 if ${VKD3D_PE_LIBS:+false} :
12819 if test ${MINGW_PKG_CONFIG+y}
12821 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12824 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12825 ac_save_CPPFLAGS=$CPPFLAGS
12826 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12828 printf %s "checking for MinGW vkd3d.h... " >&6; }
12829 if test ${ac_cv_mingw_header_vkd3d_h+y}
12831 printf %s "(cached) " >&6
12833 ac_wine_check_headers_saved_cc=$CC
12834 ac_wine_check_headers_saved_exeext=$ac_exeext
12835 eval CC=\$${wine_arch}_CC
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12849 if ac_fn_c_try_compile "$LINENO"
12851 ac_cv_mingw_header_vkd3d_h=yes
12853 ac_cv_mingw_header_vkd3d_h=no
12855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12856 CC=$ac_wine_check_headers_saved_cc
12857 ac_exeext=$ac_wine_check_headers_saved_exeext
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12860 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12861 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12866 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12867 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12869 printf %s "(cached) " >&6
12871 ac_wine_check_headers_saved_cc=$CC
12872 ac_wine_check_headers_saved_exeext=$ac_exeext
12873 eval CC=\$${wine_arch}_CC
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 #include <vkd3d_shader.h>
12887 if ac_fn_c_try_compile "$LINENO"
12889 ac_cv_mingw_header_vkd3d_shader_h=yes
12891 ac_cv_mingw_header_vkd3d_shader_h=no
12893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12894 CC=$ac_wine_check_headers_saved_cc
12895 ac_exeext=$ac_wine_check_headers_saved_exeext
12897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12898 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12899 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12903 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12906 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12907 if test ${ac_cv_mingw_lib_vkd3d+y}
12909 printf %s "(cached) " >&6
12911 ac_wine_check_headers_saved_cc=$CC
12912 ac_wine_check_headers_saved_exeext=$ac_exeext
12913 ac_wine_check_headers_saved_libs=$LIBS
12914 eval CC=\$${wine_arch}_CC
12916 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12923 char vkd3d_set_log_callback ();
12927 return vkd3d_set_log_callback ();
12932 if ac_fn_c_try_link "$LINENO"
12934 ac_cv_mingw_lib_vkd3d=yes
12936 ac_cv_mingw_lib_vkd3d=no
12938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12939 conftest$ac_exeext conftest.$ac_ext
12940 CC=$ac_wine_check_headers_saved_cc
12941 ac_exeext=$ac_wine_check_headers_saved_exeext
12942 LIBS=$ac_wine_check_headers_saved_libs
12944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12945 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12946 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12953 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12954 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12956 printf %s "(cached) " >&6
12958 ac_wine_check_headers_saved_cc=$CC
12959 ac_wine_check_headers_saved_exeext=$ac_exeext
12960 ac_wine_check_headers_saved_libs=$LIBS
12961 eval CC=\$${wine_arch}_CC
12963 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12967 /* Override any GCC internal prototype to avoid an error.
12968 Use char because int might match the return type of a GCC
12969 builtin and then its argument prototype would still apply. */
12970 char vkd3d_shader_serialize_dxbc ();
12974 return vkd3d_shader_serialize_dxbc ();
12979 if ac_fn_c_try_link "$LINENO"
12981 ac_cv_mingw_lib_vkd3d_shader=yes
12983 ac_cv_mingw_lib_vkd3d_shader=no
12985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12986 conftest$ac_exeext conftest.$ac_ext
12987 CC=$ac_wine_check_headers_saved_cc
12988 ac_exeext=$ac_wine_check_headers_saved_exeext
12989 LIBS=$ac_wine_check_headers_saved_libs
12991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12992 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12993 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12999 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13008 CPPFLAGS=$ac_save_CPPFLAGS
13010 if test "x$VKD3D_PE_LIBS" = "x"
13012 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13015 if ${ZLIB_PE_CFLAGS:+false} :
13017 if test ${MINGW_PKG_CONFIG+y}
13019 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13022 if ${ZLIB_PE_LIBS:+false} :
13024 if test ${MINGW_PKG_CONFIG+y}
13026 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13029 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13030 ac_save_CPPFLAGS=$CPPFLAGS
13031 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13033 printf %s "checking for MinGW zlib.h... " >&6; }
13034 if test ${ac_cv_mingw_header_zlib_h+y}
13036 printf %s "(cached) " >&6
13038 ac_wine_check_headers_saved_cc=$CC
13039 ac_wine_check_headers_saved_exeext=$ac_exeext
13040 eval CC=\$${wine_arch}_CC
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13054 if ac_fn_c_try_compile "$LINENO"
13056 ac_cv_mingw_header_zlib_h=yes
13058 ac_cv_mingw_header_zlib_h=no
13060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13061 CC=$ac_wine_check_headers_saved_cc
13062 ac_exeext=$ac_wine_check_headers_saved_exeext
13064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13065 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13066 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13069 printf %s "checking for inflate in MinGW -lz... " >&6; }
13070 if test ${ac_cv_mingw_lib_z+y}
13072 printf %s "(cached) " >&6
13074 ac_wine_check_headers_saved_cc=$CC
13075 ac_wine_check_headers_saved_exeext=$ac_exeext
13076 ac_wine_check_headers_saved_libs=$LIBS
13077 eval CC=\$${wine_arch}_CC
13079 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13083 /* Override any GCC internal prototype to avoid an error.
13084 Use char because int might match the return type of a GCC
13085 builtin and then its argument prototype would still apply. */
13095 if ac_fn_c_try_link "$LINENO"
13097 ac_cv_mingw_lib_z=yes
13099 ac_cv_mingw_lib_z=no
13101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13102 conftest$ac_exeext conftest.$ac_ext
13103 CC=$ac_wine_check_headers_saved_cc
13104 ac_exeext=$ac_wine_check_headers_saved_exeext
13105 LIBS=$ac_wine_check_headers_saved_libs
13107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13108 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13109 if test "x$ac_cv_mingw_lib_z" = xyes
13113 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13116 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13118 CPPFLAGS=$ac_save_CPPFLAGS
13120 if test "x$ZLIB_PE_LIBS" = "x"
13122 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13126 if ${FAUDIO_PE_LIBS:+false} :
13128 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13129 if ${FAUDIO_PE_CFLAGS:+false} :
13131 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13141 if ${GSM_PE_LIBS:+false} :
13144 if ${GSM_PE_CFLAGS:+false} :
13146 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13156 if ${JPEG_PE_LIBS:+false} :
13159 if ${JPEG_PE_CFLAGS:+false} :
13161 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13171 if ${JXR_PE_LIBS:+false} :
13174 if ${JXR_PE_CFLAGS:+false} :
13176 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13186 if ${LCMS2_PE_LIBS:+false} :
13188 LCMS2_PE_LIBS=lcms2
13189 if ${LCMS2_PE_CFLAGS:+false} :
13191 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13201 if ${LDAP_PE_LIBS:+false} :
13204 if ${LDAP_PE_CFLAGS:+false} :
13206 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13216 if ${MPG123_PE_LIBS:+false} :
13218 MPG123_PE_LIBS=mpg123
13219 if ${MPG123_PE_CFLAGS:+false} :
13221 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13231 if ${MUSL_PE_LIBS:+false} :
13234 if ${MUSL_PE_CFLAGS:+false} :
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13246 if ${PNG_PE_LIBS:+false} :
13248 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13249 if ${PNG_PE_CFLAGS:+false} :
13251 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13261 if ${TIFF_PE_LIBS:+false} :
13263 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13264 if ${TIFF_PE_CFLAGS:+false} :
13266 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13276 if ${VKD3D_PE_LIBS:+false} :
13278 VKD3D_PE_LIBS=vkd3d
13279 if ${VKD3D_PE_CFLAGS:+false} :
13281 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13291 if ${XML2_PE_LIBS:+false} :
13294 if ${XML2_PE_CFLAGS:+false} :
13296 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13306 if ${XSLT_PE_LIBS:+false} :
13309 if ${XSLT_PE_CFLAGS:+false} :
13311 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13321 if ${ZLIB_PE_LIBS:+false} :
13324 if ${ZLIB_PE_CFLAGS:+false} :
13326 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13336 if ${ZYDIS_PE_LIBS:+false} :
13338 ZYDIS_PE_LIBS=zydis
13339 if ${ZYDIS_PE_CFLAGS:+false} :
13341 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13353 if test "$ac_cv_header_pthread_h" = "yes"
13355 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13356 if test "x$ac_cv_func_pthread_create" = xyes
13360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13361 printf %s "checking for pthread_create in -lpthread... " >&6; }
13362 if test ${ac_cv_lib_pthread_pthread_create+y}
13364 printf %s "(cached) " >&6
13366 ac_check_lib_save_LIBS=$LIBS
13367 LIBS="-lpthread $LIBS"
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13371 /* Override any GCC internal prototype to avoid an error.
13372 Use char because int might match the return type of a GCC
13373 builtin and then its argument prototype would still apply. */
13374 char pthread_create ();
13378 return pthread_create ();
13383 if ac_fn_c_try_link "$LINENO"
13385 ac_cv_lib_pthread_pthread_create=yes
13387 ac_cv_lib_pthread_pthread_create=no
13389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13390 conftest$ac_exeext conftest.$ac_ext
13391 LIBS=$ac_check_lib_save_LIBS
13393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13394 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13395 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13397 PTHREAD_LIBS="-lpthread"
13404 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13406 case "x$with_pthread" in
13408 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13409 Wine cannot support threads without libpthread.
13410 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13417 ac_cpp='$CPP $CPPFLAGS'
13418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13422 printf %s "checking how to run the C preprocessor... " >&6; }
13423 # On Suns, sometimes $CPP names a directory.
13424 if test -n "$CPP" && test -d "$CPP"; then
13427 if test -z "$CPP"; then
13428 if test ${ac_cv_prog_CPP+y}
13430 printf %s "(cached) " >&6
13432 # Double quotes because $CC needs to be expanded
13433 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13435 ac_preproc_ok=false
13436 for ac_c_preproc_warn_flag in '' yes
13438 # Use a header file that comes with gcc, so configuring glibc
13439 # with a fresh cross-compiler works.
13440 # On the NeXT, cc -E runs the code through the compiler's parser,
13441 # not just through cpp. "Syntax error" is here to catch this case.
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13444 #include <limits.h>
13447 if ac_fn_c_try_cpp "$LINENO"
13451 # Broken: fails on valid input.
13454 rm -f conftest.err conftest.i conftest.$ac_ext
13456 # OK, works on sane cases. Now check whether nonexistent headers
13457 # can be detected and how.
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13460 #include <ac_nonexistent.h>
13462 if ac_fn_c_try_cpp "$LINENO"
13464 # Broken: success on invalid input.
13467 # Passes both tests.
13471 rm -f conftest.err conftest.i conftest.$ac_ext
13474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13475 rm -f conftest.i conftest.err conftest.
$ac_ext
13482 ac_cv_prog_CPP
=$CPP
13485 CPP
=$ac_cv_prog_CPP
13487 ac_cv_prog_CPP
=$CPP
13489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13490 printf "%s\n" "$CPP" >&6; }
13491 ac_preproc_ok
=false
13492 for ac_c_preproc_warn_flag
in '' yes
13494 # Use a header file that comes with gcc, so configuring glibc
13495 # with a fresh cross-compiler works.
13496 # On the NeXT, cc -E runs the code through the compiler's parser,
13497 # not just through cpp. "Syntax error" is here to catch this case.
13498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13500 #include <limits.h>
13503 if ac_fn_c_try_cpp
"$LINENO"
13507 # Broken: fails on valid input.
13510 rm -f conftest.err conftest.i conftest.
$ac_ext
13512 # OK, works on sane cases. Now check whether nonexistent headers
13513 # can be detected and how.
13514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13516 #include <ac_nonexistent.h>
13518 if ac_fn_c_try_cpp
"$LINENO"
13520 # Broken: success on invalid input.
13523 # Passes both tests.
13527 rm -f conftest.err conftest.i conftest.
$ac_ext
13530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13531 rm -f conftest.i conftest.err conftest.
$ac_ext
13536 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13537 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13538 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13539 See \`config.log' for more details" "$LINENO" 5; }
13543 ac_cpp
='$CPP $CPPFLAGS'
13544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13550 printf %s
"checking for X... " >&6; }
13553 # Check whether --with-x was given.
13554 if test ${with_x+y}
13559 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13560 if test "x$with_x" = xno
; then
13561 # The user explicitly disabled X.
13564 case $x_includes,$x_libraries in #(
13565 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13566 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13568 printf %s
"(cached) " >&6
13570 # One or both of the vars are not set, and there is no cached value.
13573 # Do we need to do anything special at all?
13576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13578 #include <X11/Xlib.h>
13587 if ac_fn_c_try_link
"$LINENO"
13589 # We can compile and link X programs with no special options.
13593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13594 conftest
$ac_exeext conftest.
$ac_ext
13595 LIBS
="$ac_save_LIBS"
13596 # If that didn't work, only try xmkmf and file system searches
13597 # for native compilation.
13598 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13600 rm -f -r conftest.dir
13601 if mkdir conftest.dir
; then
13603 cat >Imakefile
<<'_ACEOF'
13605 @echo incroot='${INCROOT}'
13607 @echo usrlibdir='${USRLIBDIR}'
13609 @echo libdir='${LIBDIR}'
13611 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13612 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13613 for ac_var
in incroot usrlibdir libdir
; do
13614 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13616 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13617 for ac_extension
in a so sl dylib la dll
; do
13618 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13619 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13620 ac_im_usrlibdir
=$ac_im_libdir; break
13623 # Screen out bogus values from the imake configuration. They are
13624 # bogus both because they are the default anyway, and because
13625 # using them would break gcc on systems where it needs fixed includes.
13626 case $ac_im_incroot in
13627 /usr
/include
) ac_x_includes
= ;;
13628 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13630 case $ac_im_usrlibdir in
13631 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13632 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13636 rm -f -r conftest.dir
13639 # Standard set of common directories for X headers.
13640 # Check X11 before X11Rn because it is often a symlink to the current release.
13654 /usr/local/X11/include
13655 /usr/local/X11R7/include
13656 /usr/local/X11R6/include
13657 /usr/local/X11R5/include
13658 /usr/local/X11R4/include
13660 /usr/local/include/X11
13661 /usr/local/include/X11R7
13662 /usr/local/include/X11R6
13663 /usr/local/include/X11R5
13664 /usr/local/include/X11R4
13670 /usr/XFree86/include/X11
13674 /usr/unsupported/include
13675 /usr/athena/include
13676 /usr/local/x11r5/include
13677 /usr/lpp/Xamples/include
13679 /usr/openwin/include
13680 /usr/openwin/share/include'
13682 if test "$ac_x_includes" = no
; then
13683 # Guess where to find include files, by looking for Xlib.h.
13684 # First, try using that file with no special directory specified.
13685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13687 #include <X11/Xlib.h>
13689 if ac_fn_c_try_cpp
"$LINENO"
13691 # We can compile using X headers with no special include directory.
13694 for ac_dir
in $ac_x_header_dirs; do
13695 if test -r "$ac_dir/X11/Xlib.h"; then
13696 ac_x_includes
=$ac_dir
13701 rm -f conftest.err conftest.i conftest.
$ac_ext
13702 fi # $ac_x_includes = no
13704 if test "$ac_x_libraries" = no
; then
13705 # Check for the libraries.
13706 # See if we find them without any special options.
13707 # Don't add to $LIBS permanently.
13710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13712 #include <X11/Xlib.h>
13721 if ac_fn_c_try_link
"$LINENO"
13724 # We can link X programs with no special library path.
13728 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13730 # Don't even attempt the hair of trying to link an X program!
13731 for ac_extension
in a so sl dylib la dll
; do
13732 if test -r "$ac_dir/libX11.$ac_extension"; then
13733 ac_x_libraries
=$ac_dir
13739 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13740 conftest
$ac_exeext conftest.
$ac_ext
13741 fi # $ac_x_libraries = no
13744 # Record the results.
13745 case $ac_x_includes,$ac_x_libraries in #(
13746 no
,* |
*,no |
*\'*) :
13747 # Didn't find X, or a directory has "'" in its name.
13748 ac_cv_have_x
="have_x=no" ;; #(
13750 # Record where we found X for the cache.
13751 ac_cv_have_x
="have_x=yes\
13752 ac_x_includes='$ac_x_includes'\
13753 ac_x_libraries='$ac_x_libraries'" ;;
13759 eval "$ac_cv_have_x"
13762 if test "$have_x" != yes; then
13763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13764 printf "%s\n" "$have_x" >&6; }
13767 # If each of the values was on the command line, it overrides each guess.
13768 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13769 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13770 # Update the cache value to reflect the command line values.
13771 ac_cv_have_x
="have_x=yes\
13772 ac_x_includes='$x_includes'\
13773 ac_x_libraries='$x_libraries'"
13774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13775 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13778 if test "$no_x" = yes; then
13779 # Not all programs may use this symbol, but it does not hurt to define it.
13781 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13783 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13785 if test -n "$x_includes"; then
13786 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13789 # It would also be nice to do this for all -L options, not just this one.
13790 if test -n "$x_libraries"; then
13791 X_LIBS
="$X_LIBS -L$x_libraries"
13792 # For Solaris; some versions of Sun CC require a space after -R and
13793 # others require no space. Words are not sufficient . . . .
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13795 printf %s
"checking whether -R must be followed by a space... " >&6; }
13796 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13797 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13798 ac_c_werror_flag
=yes
13799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13810 if ac_fn_c_try_link
"$LINENO"
13812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13813 printf "%s\n" "no" >&6; }
13814 X_LIBS
="$X_LIBS -R$x_libraries"
13816 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13828 if ac_fn_c_try_link
"$LINENO"
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13831 printf "%s\n" "yes" >&6; }
13832 X_LIBS
="$X_LIBS -R $x_libraries"
13834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13835 printf "%s\n" "neither works" >&6; }
13837 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13838 conftest
$ac_exeext conftest.
$ac_ext
13840 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13841 conftest
$ac_exeext conftest.
$ac_ext
13842 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13843 LIBS
=$ac_xsave_LIBS
13846 # Check for system-dependent libraries X programs must link with.
13847 # Do this before checking for the system-independent R6 libraries
13848 # (-lICE), since we may need -lsocket or whatever for X linking.
13850 if test "$ISC" = yes; then
13851 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13853 # Martyn Johnson says this is needed for Ultrix, if the X
13854 # libraries were built with DECnet support. And Karl Berry says
13855 # the Alpha needs dnet_stub (dnet does not exist).
13856 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 char XOpenDisplay ();
13867 return XOpenDisplay ();
13872 if ac_fn_c_try_link
"$LINENO"
13876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13877 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13878 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13880 printf %s
"(cached) " >&6
13882 ac_check_lib_save_LIBS
=$LIBS
13883 LIBS
="-ldnet $LIBS"
13884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13894 return dnet_ntoa ();
13899 if ac_fn_c_try_link
"$LINENO"
13901 ac_cv_lib_dnet_dnet_ntoa
=yes
13903 ac_cv_lib_dnet_dnet_ntoa
=no
13905 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13906 conftest
$ac_exeext conftest.
$ac_ext
13907 LIBS
=$ac_check_lib_save_LIBS
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13910 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13911 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13913 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13916 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13918 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13919 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13921 printf %s
"(cached) " >&6
13923 ac_check_lib_save_LIBS
=$LIBS
13924 LIBS
="-ldnet_stub $LIBS"
13925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13928 /* Override any GCC internal prototype to avoid an error.
13929 Use char because int might match the return type of a GCC
13930 builtin and then its argument prototype would still apply. */
13935 return dnet_ntoa ();
13940 if ac_fn_c_try_link
"$LINENO"
13942 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13944 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13946 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13947 conftest
$ac_exeext conftest.
$ac_ext
13948 LIBS
=$ac_check_lib_save_LIBS
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13951 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13952 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13954 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13959 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13960 conftest
$ac_exeext conftest.
$ac_ext
13961 LIBS
="$ac_xsave_LIBS"
13963 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13964 # to get the SysV transport functions.
13965 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13967 # The nsl library prevents programs from opening the X display
13968 # on Irix 5.2, according to T.E. Dickey.
13969 # The functions gethostbyname, getservbyname, and inet_addr are
13970 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13971 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13972 if test "x$ac_cv_func_gethostbyname" = xyes
13977 if test $ac_cv_func_gethostbyname = no
; then
13978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13979 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13980 if test ${ac_cv_lib_nsl_gethostbyname+y}
13982 printf %s
"(cached) " >&6
13984 ac_check_lib_save_LIBS
=$LIBS
13986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 char gethostbyname ();
13996 return gethostbyname ();
14001 if ac_fn_c_try_link
"$LINENO"
14003 ac_cv_lib_nsl_gethostbyname
=yes
14005 ac_cv_lib_nsl_gethostbyname
=no
14007 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14008 conftest
$ac_exeext conftest.
$ac_ext
14009 LIBS
=$ac_check_lib_save_LIBS
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14012 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14013 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14015 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14018 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14020 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14021 if test ${ac_cv_lib_bsd_gethostbyname+y}
14023 printf %s
"(cached) " >&6
14025 ac_check_lib_save_LIBS
=$LIBS
14027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14028 /* end confdefs.h. */
14030 /* Override any GCC internal prototype to avoid an error.
14031 Use char because int might match the return type of a GCC
14032 builtin and then its argument prototype would still apply. */
14033 char gethostbyname ();
14037 return gethostbyname ();
14042 if ac_fn_c_try_link
"$LINENO"
14044 ac_cv_lib_bsd_gethostbyname
=yes
14046 ac_cv_lib_bsd_gethostbyname
=no
14048 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14049 conftest
$ac_exeext conftest.
$ac_ext
14050 LIBS
=$ac_check_lib_save_LIBS
14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14053 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14054 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14056 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14062 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14063 # socket/setsockopt and other routines are undefined under SCO ODT
14064 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14065 # on later versions), says Simon Leinen: it contains gethostby*
14066 # variants that don't use the name server (or something). -lsocket
14067 # must be given before -lnsl if both are needed. We assume that
14068 # if connect needs -lnsl, so does gethostbyname.
14069 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14070 if test "x$ac_cv_func_connect" = xyes
14075 if test $ac_cv_func_connect = no
; then
14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14077 printf %s
"checking for connect in -lsocket... " >&6; }
14078 if test ${ac_cv_lib_socket_connect+y}
14080 printf %s
"(cached) " >&6
14082 ac_check_lib_save_LIBS
=$LIBS
14083 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14099 if ac_fn_c_try_link
"$LINENO"
14101 ac_cv_lib_socket_connect
=yes
14103 ac_cv_lib_socket_connect
=no
14105 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14106 conftest
$ac_exeext conftest.
$ac_ext
14107 LIBS
=$ac_check_lib_save_LIBS
14109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14110 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14111 if test "x$ac_cv_lib_socket_connect" = xyes
14113 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14118 # Guillermo Gomez says -lposix is necessary on A/UX.
14119 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14120 if test "x$ac_cv_func_remove" = xyes
14125 if test $ac_cv_func_remove = no
; then
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14127 printf %s
"checking for remove in -lposix... " >&6; }
14128 if test ${ac_cv_lib_posix_remove+y}
14130 printf %s
"(cached) " >&6
14132 ac_check_lib_save_LIBS
=$LIBS
14133 LIBS
="-lposix $LIBS"
14134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14137 /* Override any GCC internal prototype to avoid an error.
14138 Use char because int might match the return type of a GCC
14139 builtin and then its argument prototype would still apply. */
14149 if ac_fn_c_try_link
"$LINENO"
14151 ac_cv_lib_posix_remove
=yes
14153 ac_cv_lib_posix_remove
=no
14155 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14156 conftest
$ac_exeext conftest.
$ac_ext
14157 LIBS
=$ac_check_lib_save_LIBS
14159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14160 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14161 if test "x$ac_cv_lib_posix_remove" = xyes
14163 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14168 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14169 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14170 if test "x$ac_cv_func_shmat" = xyes
14175 if test $ac_cv_func_shmat = no
; then
14176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14177 printf %s
"checking for shmat in -lipc... " >&6; }
14178 if test ${ac_cv_lib_ipc_shmat+y}
14180 printf %s
"(cached) " >&6
14182 ac_check_lib_save_LIBS
=$LIBS
14184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14187 /* Override any GCC internal prototype to avoid an error.
14188 Use char because int might match the return type of a GCC
14189 builtin and then its argument prototype would still apply. */
14199 if ac_fn_c_try_link
"$LINENO"
14201 ac_cv_lib_ipc_shmat
=yes
14203 ac_cv_lib_ipc_shmat
=no
14205 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14206 conftest
$ac_exeext conftest.
$ac_ext
14207 LIBS
=$ac_check_lib_save_LIBS
14209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14210 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14211 if test "x$ac_cv_lib_ipc_shmat" = xyes
14213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14219 # Check for libraries that X11R6 Xt/Xaw programs need.
14220 ac_save_LDFLAGS
=$LDFLAGS
14221 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14222 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14223 # check for ICE first), but we must link in the order -lSM -lICE or
14224 # we get undefined symbols. So assume we have SM if we have ICE.
14225 # These have to be linked with before -lX11, unlike the other
14226 # libraries we check for below, so use a different variable.
14227 # John Interrante, Karl Berry
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14229 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14230 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14232 printf %s
"(cached) " >&6
14234 ac_check_lib_save_LIBS
=$LIBS
14235 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14239 /* Override any GCC internal prototype to avoid an error.
14240 Use char because int might match the return type of a GCC
14241 builtin and then its argument prototype would still apply. */
14242 char IceConnectionNumber ();
14246 return IceConnectionNumber ();
14251 if ac_fn_c_try_link
"$LINENO"
14253 ac_cv_lib_ICE_IceConnectionNumber
=yes
14255 ac_cv_lib_ICE_IceConnectionNumber
=no
14257 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14258 conftest
$ac_exeext conftest.
$ac_ext
14259 LIBS
=$ac_check_lib_save_LIBS
14261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14262 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14263 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14265 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14268 LDFLAGS
=$ac_save_LDFLAGS
14273 if test "$have_x" = "yes"
14275 ac_save_CPPFLAGS
="$CPPFLAGS"
14276 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14279 printf %s
"checking for -lX11... " >&6; }
14280 if test ${ac_cv_lib_soname_X11+y}
14282 printf %s
"(cached) " >&6
14284 ac_check_soname_save_LIBS
=$LIBS
14285 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14289 /* Override any GCC internal prototype to avoid an error.
14290 Use char because int might match the return type of a GCC
14291 builtin and then its argument prototype would still apply. */
14292 char XCreateWindow ();
14296 return XCreateWindow ();
14301 if ac_fn_c_try_link
"$LINENO"
14304 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14305 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'` ;;
14306 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14307 if ${ac_cv_lib_soname_X11:+false} :
14309 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14313 ac_cv_lib_soname_X11
=
14315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14316 conftest
$ac_exeext conftest.
$ac_ext
14317 LIBS
=$ac_check_soname_save_LIBS
14319 if ${ac_cv_lib_soname_X11:+false} :
14321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14322 printf "%s\n" "not found" >&6; }
14325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14326 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14328 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14333 printf %s
"checking for -lXext... " >&6; }
14334 if test ${ac_cv_lib_soname_Xext+y}
14336 printf %s
"(cached) " >&6
14338 ac_check_soname_save_LIBS
=$LIBS
14339 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14343 /* Override any GCC internal prototype to avoid an error.
14344 Use char because int might match the return type of a GCC
14345 builtin and then its argument prototype would still apply. */
14346 char XextCreateExtension ();
14350 return XextCreateExtension ();
14355 if ac_fn_c_try_link
"$LINENO"
14358 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14359 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'` ;;
14360 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14361 if ${ac_cv_lib_soname_Xext:+false} :
14363 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14367 ac_cv_lib_soname_Xext
=
14369 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14370 conftest
$ac_exeext conftest.
$ac_ext
14371 LIBS
=$ac_check_soname_save_LIBS
14373 if ${ac_cv_lib_soname_Xext:+false} :
14375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14376 printf "%s\n" "not found" >&6; }
14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14380 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14382 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14384 X_LIBS
="$X_LIBS -lXext"
14386 X_LIBS
="$X_LIBS -lX11"
14388 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14389 # include <X11/Xlib.h>
14391 #ifdef HAVE_X11_XUTIL_H
14392 # include <X11/Xutil.h>
14395 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14397 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14400 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14401 # include <X11/Xlib.h>
14403 #ifdef HAVE_X11_XUTIL_H
14404 # include <X11/Xutil.h>
14407 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14409 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14412 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14413 # include <X11/Xlib.h>
14415 #ifdef HAVE_X11_XUTIL_H
14416 # include <X11/Xutil.h>
14419 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14421 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14424 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14425 # include <X11/Xlib.h>
14427 #ifdef HAVE_X11_XUTIL_H
14428 # include <X11/Xutil.h>
14431 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14433 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14436 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14437 # include <X11/Xlib.h>
14439 #ifdef HAVE_X11_XUTIL_H
14440 # include <X11/Xutil.h>
14443 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14445 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14448 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14449 # include <X11/Xlib.h>
14451 #ifdef HAVE_X11_XUTIL_H
14452 # include <X11/Xutil.h>
14455 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14457 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14460 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14461 # include <X11/Xlib.h>
14463 #ifdef HAVE_X11_XUTIL_H
14464 # include <X11/Xutil.h>
14467 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14469 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14472 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14473 # include <X11/Xlib.h>
14475 #ifdef HAVE_X11_XUTIL_H
14476 # include <X11/Xutil.h>
14479 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14481 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14484 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14485 # include <X11/Xlib.h>
14487 #ifdef HAVE_X11_XUTIL_H
14488 # include <X11/Xutil.h>
14491 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14493 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14496 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14497 # include <X11/Xlib.h>
14499 #ifdef HAVE_X11_XUTIL_H
14500 # include <X11/Xutil.h>
14503 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14505 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14508 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14509 # include <X11/Xlib.h>
14511 #ifdef HAVE_X11_XUTIL_H
14512 # include <X11/Xutil.h>
14515 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14517 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14520 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14521 # include <X11/Xlib.h>
14523 #ifdef HAVE_X11_XUTIL_H
14524 # include <X11/Xutil.h>
14527 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14529 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14532 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14533 # include <X11/Xlib.h>
14535 #ifdef HAVE_X11_XUTIL_H
14536 # include <X11/Xutil.h>
14539 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14541 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14544 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14545 # include <X11/Xlib.h>
14547 #ifdef HAVE_X11_XUTIL_H
14548 # include <X11/Xutil.h>
14551 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14553 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14556 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14557 # include <X11/Xlib.h>
14559 #ifdef HAVE_X11_XUTIL_H
14560 # include <X11/Xutil.h>
14563 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14565 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14570 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14573 printf %s
"checking for -lXcursor... " >&6; }
14574 if test ${ac_cv_lib_soname_Xcursor+y}
14576 printf %s
"(cached) " >&6
14578 ac_check_soname_save_LIBS
=$LIBS
14579 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14583 /* Override any GCC internal prototype to avoid an error.
14584 Use char because int might match the return type of a GCC
14585 builtin and then its argument prototype would still apply. */
14586 char XcursorImageLoadCursor ();
14590 return XcursorImageLoadCursor ();
14595 if ac_fn_c_try_link
"$LINENO"
14598 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14599 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'` ;;
14600 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14601 if ${ac_cv_lib_soname_Xcursor:+false} :
14603 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14607 ac_cv_lib_soname_Xcursor
=
14609 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14610 conftest
$ac_exeext conftest.
$ac_ext
14611 LIBS
=$ac_check_soname_save_LIBS
14613 if ${ac_cv_lib_soname_Xcursor:+false} :
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14616 printf "%s\n" "not found" >&6; }
14619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14620 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14622 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14627 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14629 case "x$with_xcursor" in
14630 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14632 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14633 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14638 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14641 printf %s
"checking for -lXi... " >&6; }
14642 if test ${ac_cv_lib_soname_Xi+y}
14644 printf %s
"(cached) " >&6
14646 ac_check_soname_save_LIBS
=$LIBS
14647 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14654 char XOpenDevice ();
14658 return XOpenDevice ();
14663 if ac_fn_c_try_link
"$LINENO"
14666 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14667 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'` ;;
14668 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14669 if ${ac_cv_lib_soname_Xi:+false} :
14671 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14675 ac_cv_lib_soname_Xi
=
14677 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14678 conftest
$ac_exeext conftest.
$ac_ext
14679 LIBS
=$ac_check_soname_save_LIBS
14681 if ${ac_cv_lib_soname_Xi:+false} :
14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14684 printf "%s\n" "not found" >&6; }
14687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14688 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14690 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14695 if test "x$ac_cv_lib_soname_Xi" = "x"
14697 case "x$with_xinput" in
14698 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14700 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14701 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14706 if test "x$ac_cv_lib_soname_Xi" != x
14708 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14710 case "x$with_xinput2" in
14711 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14713 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14714 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14720 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14723 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14724 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14726 printf %s
"(cached) " >&6
14728 ac_check_lib_save_LIBS
=$LIBS
14729 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 char XShmQueryExtension ();
14740 return XShmQueryExtension ();
14745 if ac_fn_c_try_link
"$LINENO"
14747 ac_cv_lib_Xext_XShmQueryExtension
=yes
14749 ac_cv_lib_Xext_XShmQueryExtension
=no
14751 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14752 conftest
$ac_exeext conftest.
$ac_ext
14753 LIBS
=$ac_check_lib_save_LIBS
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14756 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14757 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14760 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14765 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14767 case "x$with_xshm" in
14768 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14770 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14771 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14776 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14779 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14780 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14782 printf %s
"(cached) " >&6
14784 ac_check_lib_save_LIBS
=$LIBS
14785 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 char XShapeQueryExtension ();
14796 return XShapeQueryExtension ();
14801 if ac_fn_c_try_link
"$LINENO"
14803 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14805 ac_cv_lib_Xext_XShapeQueryExtension
=no
14807 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14808 conftest
$ac_exeext conftest.
$ac_ext
14809 LIBS
=$ac_check_lib_save_LIBS
14811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14812 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14813 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14816 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14821 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14823 case "x$with_xshape" in
14824 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14826 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14827 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14832 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14835 printf %s
"checking for -lXxf86vm... " >&6; }
14836 if test ${ac_cv_lib_soname_Xxf86vm+y}
14838 printf %s
"(cached) " >&6
14840 ac_check_soname_save_LIBS
=$LIBS
14841 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14845 /* Override any GCC internal prototype to avoid an error.
14846 Use char because int might match the return type of a GCC
14847 builtin and then its argument prototype would still apply. */
14848 char XF86VidModeQueryExtension ();
14852 return XF86VidModeQueryExtension ();
14857 if ac_fn_c_try_link
"$LINENO"
14860 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14861 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'` ;;
14862 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14863 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14865 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14869 ac_cv_lib_soname_Xxf86vm
=
14871 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14872 conftest
$ac_exeext conftest.
$ac_ext
14873 LIBS
=$ac_check_soname_save_LIBS
14875 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14878 printf "%s\n" "not found" >&6; }
14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14882 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14884 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14889 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14891 case "x$with_xxf86vm" in
14892 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14894 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14895 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14900 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14903 printf %s
"checking for -lXrender... " >&6; }
14904 if test ${ac_cv_lib_soname_Xrender+y}
14906 printf %s
"(cached) " >&6
14908 ac_check_soname_save_LIBS
=$LIBS
14909 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14913 /* Override any GCC internal prototype to avoid an error.
14914 Use char because int might match the return type of a GCC
14915 builtin and then its argument prototype would still apply. */
14916 char XRenderQueryExtension ();
14920 return XRenderQueryExtension ();
14925 if ac_fn_c_try_link
"$LINENO"
14928 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14929 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'` ;;
14930 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14931 if ${ac_cv_lib_soname_Xrender:+false} :
14933 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14937 ac_cv_lib_soname_Xrender
=
14939 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14940 conftest
$ac_exeext conftest.
$ac_ext
14941 LIBS
=$ac_check_soname_save_LIBS
14943 if ${ac_cv_lib_soname_Xrender:+false} :
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14946 printf "%s\n" "not found" >&6; }
14949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14950 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14952 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14955 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14956 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14958 printf %s
"(cached) " >&6
14960 ac_check_lib_save_LIBS
=$LIBS
14961 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 /* Override any GCC internal prototype to avoid an error.
14966 Use char because int might match the return type of a GCC
14967 builtin and then its argument prototype would still apply. */
14968 char XRenderSetPictureTransform ();
14972 return XRenderSetPictureTransform ();
14977 if ac_fn_c_try_link
"$LINENO"
14979 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14981 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14983 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14984 conftest
$ac_exeext conftest.
$ac_ext
14985 LIBS
=$ac_check_lib_save_LIBS
14987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14988 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14989 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14992 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14997 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14998 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15000 printf %s
"(cached) " >&6
15002 ac_check_lib_save_LIBS
=$LIBS
15003 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15007 /* Override any GCC internal prototype to avoid an error.
15008 Use char because int might match the return type of a GCC
15009 builtin and then its argument prototype would still apply. */
15010 char XRenderCreateLinearGradient ();
15014 return XRenderCreateLinearGradient ();
15019 if ac_fn_c_try_link
"$LINENO"
15021 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15023 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15025 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15026 conftest
$ac_exeext conftest.
$ac_ext
15027 LIBS
=$ac_check_lib_save_LIBS
15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15030 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15031 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15034 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15041 if test "x$ac_cv_lib_soname_Xrender" = "x"
15043 case "x$with_xrender" in
15044 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15046 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15047 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15052 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15056 #include <X11/Xlib.h>
15057 #include <X11/extensions/Xrandr.h>
15061 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15066 if ac_fn_c_try_compile
"$LINENO"
15068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15069 printf %s
"checking for -lXrandr... " >&6; }
15070 if test ${ac_cv_lib_soname_Xrandr+y}
15072 printf %s
"(cached) " >&6
15074 ac_check_soname_save_LIBS
=$LIBS
15075 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15079 /* Override any GCC internal prototype to avoid an error.
15080 Use char because int might match the return type of a GCC
15081 builtin and then its argument prototype would still apply. */
15082 char XRRQueryExtension ();
15086 return XRRQueryExtension ();
15091 if ac_fn_c_try_link
"$LINENO"
15094 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15095 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'` ;;
15096 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15097 if ${ac_cv_lib_soname_Xrandr:+false} :
15099 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15103 ac_cv_lib_soname_Xrandr
=
15105 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15106 conftest
$ac_exeext conftest.
$ac_ext
15107 LIBS
=$ac_check_soname_save_LIBS
15109 if ${ac_cv_lib_soname_Xrandr:+false} :
15111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15112 printf "%s\n" "not found" >&6; }
15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15116 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15118 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 #include <X11/Xlib.h>
15123 #include <X11/extensions/Xrandr.h>
15127 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15132 if ac_fn_c_try_compile
"$LINENO"
15135 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15138 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15140 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15143 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15145 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15147 case "x$with_xrandr" in
15148 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15150 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15151 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15156 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #include <X11/Xlib.h>
15161 #include <X11/extensions/Xfixes.h>
15165 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15170 if ac_fn_c_try_compile
"$LINENO"
15172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15173 printf %s
"checking for -lXfixes... " >&6; }
15174 if test ${ac_cv_lib_soname_Xfixes+y}
15176 printf %s
"(cached) " >&6
15178 ac_check_soname_save_LIBS
=$LIBS
15179 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 char XFixesQueryVersion ();
15190 return XFixesQueryVersion ();
15195 if ac_fn_c_try_link
"$LINENO"
15198 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15199 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'` ;;
15200 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15201 if ${ac_cv_lib_soname_Xfixes:+false} :
15203 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15207 ac_cv_lib_soname_Xfixes
=
15209 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15210 conftest
$ac_exeext conftest.
$ac_ext
15211 LIBS
=$ac_check_soname_save_LIBS
15213 if ${ac_cv_lib_soname_Xfixes:+false} :
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15216 printf "%s\n" "not found" >&6; }
15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15220 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15222 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15227 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15229 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15231 case "x$with_xfixes" in
15232 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15234 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15235 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15240 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244 #include <X11/Xlib.h>
15245 #include <X11/extensions/Xinerama.h>
15249 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15254 if ac_fn_c_try_compile
"$LINENO"
15256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15257 printf %s
"checking for -lXinerama... " >&6; }
15258 if test ${ac_cv_lib_soname_Xinerama+y}
15260 printf %s
"(cached) " >&6
15262 ac_check_soname_save_LIBS
=$LIBS
15263 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 char XineramaQueryScreens ();
15274 return XineramaQueryScreens ();
15279 if ac_fn_c_try_link
"$LINENO"
15282 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15283 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'` ;;
15284 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15285 if ${ac_cv_lib_soname_Xinerama:+false} :
15287 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15291 ac_cv_lib_soname_Xinerama
=
15293 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15294 conftest
$ac_exeext conftest.
$ac_ext
15295 LIBS
=$ac_check_soname_save_LIBS
15297 if ${ac_cv_lib_soname_Xinerama:+false} :
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15300 printf "%s\n" "not found" >&6; }
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15304 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15306 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15311 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15313 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15315 case "x$with_xinerama" in
15316 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15318 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15319 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15324 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15327 printf %s
"checking for -lXcomposite... " >&6; }
15328 if test ${ac_cv_lib_soname_Xcomposite+y}
15330 printf %s
"(cached) " >&6
15332 ac_check_soname_save_LIBS
=$LIBS
15333 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15337 /* Override any GCC internal prototype to avoid an error.
15338 Use char because int might match the return type of a GCC
15339 builtin and then its argument prototype would still apply. */
15340 char XCompositeRedirectWindow ();
15344 return XCompositeRedirectWindow ();
15349 if ac_fn_c_try_link
"$LINENO"
15352 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15353 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'` ;;
15354 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15355 if ${ac_cv_lib_soname_Xcomposite:+false} :
15357 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15361 ac_cv_lib_soname_Xcomposite
=
15363 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15364 conftest
$ac_exeext conftest.
$ac_ext
15365 LIBS
=$ac_check_soname_save_LIBS
15367 if ${ac_cv_lib_soname_Xcomposite:+false} :
15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15370 printf "%s\n" "not found" >&6; }
15373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15374 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15376 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15381 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15383 case "x$with_xcomposite" in
15384 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15386 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15387 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15392 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15393 #include <X11/Xlib.h>
15396 if test "x$ac_cv_member_XICCallback_callback" = xyes
15399 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15403 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15404 #include <X11/Xlib.h>
15407 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15410 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15418 if test "x$with_opengl" != "xno"
15420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15421 printf %s
"checking for -lGL... " >&6; }
15422 if test ${ac_cv_lib_soname_GL+y}
15424 printf %s
"(cached) " >&6
15426 ac_check_soname_save_LIBS
=$LIBS
15427 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15431 /* Override any GCC internal prototype to avoid an error.
15432 Use char because int might match the return type of a GCC
15433 builtin and then its argument prototype would still apply. */
15434 char glXCreateContext ();
15438 return glXCreateContext ();
15443 if ac_fn_c_try_link
"$LINENO"
15446 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15447 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'` ;;
15448 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15449 if ${ac_cv_lib_soname_GL:+false} :
15451 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15455 ac_cv_lib_soname_GL
=
15457 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15458 conftest
$ac_exeext conftest.
$ac_ext
15459 LIBS
=$ac_check_soname_save_LIBS
15461 if ${ac_cv_lib_soname_GL:+false} :
15463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15464 printf "%s\n" "not found" >&6; }
15465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15466 printf %s
"checking for -lGL... " >&6; }
15467 if test ${ac_cv_lib_soname_GL+y}
15469 printf %s
"(cached) " >&6
15471 ac_check_soname_save_LIBS
=$LIBS
15472 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"
15473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15476 /* Override any GCC internal prototype to avoid an error.
15477 Use char because int might match the return type of a GCC
15478 builtin and then its argument prototype would still apply. */
15479 char glXCreateContext ();
15483 return glXCreateContext ();
15488 if ac_fn_c_try_link
"$LINENO"
15491 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15492 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'` ;;
15493 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15494 if ${ac_cv_lib_soname_GL:+false} :
15496 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15500 ac_cv_lib_soname_GL
=
15502 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15503 conftest
$ac_exeext conftest.
$ac_ext
15504 LIBS
=$ac_check_soname_save_LIBS
15506 if ${ac_cv_lib_soname_GL:+false} :
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15509 printf "%s\n" "not found" >&6; }
15510 if test -f /usr
/X11R
6/lib
/libGL.a
15512 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15513 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15515 opengl_msg
="No OpenGL library found on this system."
15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15519 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15521 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15523 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"
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15527 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15529 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15533 if test "x$with_osmesa" != "xno"
15535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15536 printf %s
"checking for -lOSMesa... " >&6; }
15537 if test ${ac_cv_lib_soname_OSMesa+y}
15539 printf %s
"(cached) " >&6
15541 ac_check_soname_save_LIBS
=$LIBS
15542 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15546 /* Override any GCC internal prototype to avoid an error.
15547 Use char because int might match the return type of a GCC
15548 builtin and then its argument prototype would still apply. */
15549 char OSMesaGetProcAddress ();
15553 return OSMesaGetProcAddress ();
15558 if ac_fn_c_try_link
"$LINENO"
15561 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15562 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'` ;;
15563 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15564 if ${ac_cv_lib_soname_OSMesa:+false} :
15566 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15570 ac_cv_lib_soname_OSMesa
=
15572 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15573 conftest
$ac_exeext conftest.
$ac_ext
15574 LIBS
=$ac_check_soname_save_LIBS
15576 if ${ac_cv_lib_soname_OSMesa:+false} :
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15579 printf "%s\n" "not found" >&6; }
15582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15583 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15585 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15589 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15591 case "x$with_osmesa" in
15592 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15594 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15595 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15601 if test -n "$opengl_msg"
15603 case "x$with_opengl" in
15604 x
) as_fn_append wine_warnings
"|$opengl_msg
15605 OpenGL and Direct3D won't be supported." ;;
15607 *) as_fn_error $?
"$opengl_msg
15608 OpenGL and Direct3D won't be supported.
15609 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15614 CPPFLAGS
="$ac_save_CPPFLAGS"
15620 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15622 if test "x$X_LIBS" = "x"
15626 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15627 without X support, which probably isn't what you want. You will need
15628 to install ${notice_platform}development packages of Xlib at the very least.
15629 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15631 enable_winex11_drv
=${enable_winex11_drv:-no}
15634 if test "x$X_LIBS" = "x"
15637 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15639 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15640 This is an error since --with-x was requested." "$LINENO" 5 ;;
15642 enable_winex11_drv
=${enable_winex11_drv:-no}
15646 if test "x$with_wayland" != "xno"
15649 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15651 if test ${PKG_CONFIG+y}
15653 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15657 if ${WAYLAND_CLIENT_LIBS:+false} :
15659 if test ${PKG_CONFIG+y}
15661 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15668 if test -s conftest.err
; then
15669 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15670 cat conftest.err
>&5
15673 ac_save_CPPFLAGS
=$CPPFLAGS
15674 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15675 for ac_header
in wayland-client.h
15677 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15678 if test "x$ac_cv_header_wayland_client_h" = xyes
15680 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15682 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15683 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15685 printf %s
"(cached) " >&6
15687 ac_check_lib_save_LIBS
=$LIBS
15688 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 char wl_display_connect ();
15699 return wl_display_connect ();
15704 if ac_fn_c_try_link
"$LINENO"
15706 ac_cv_lib_wayland_client_wl_display_connect
=yes
15708 ac_cv_lib_wayland_client_wl_display_connect
=no
15710 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15711 conftest
$ac_exeext conftest.
$ac_ext
15712 LIBS
=$ac_check_lib_save_LIBS
15714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15715 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15716 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15718 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15719 set dummy wayland-scanner
; ac_word
=$2
15720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15721 printf %s
"checking for $ac_word... " >&6; }
15722 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15724 printf %s
"(cached) " >&6
15726 case $WAYLAND_SCANNER in
15728 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15732 for as_dir
in $PATH
15735 case $as_dir in #(((
15738 *) as_dir
=$as_dir/ ;;
15740 for ac_exec_ext
in '' $ac_executable_extensions; do
15741 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15742 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15750 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER
="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15754 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15755 if test -n "$WAYLAND_SCANNER"; then
15756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15757 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15760 printf "%s\n" "no" >&6; }
15765 WAYLAND_CLIENT_LIBS
=""
15771 CPPFLAGS
=$ac_save_CPPFLAGS
15774 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15776 case "x$with_wayland" in
15777 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15779 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15780 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15782 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15785 if test "$ac_cv_header_CL_cl_h" = "yes"
15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15788 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15789 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15791 printf %s
"(cached) " >&6
15793 ac_check_lib_save_LIBS
=$LIBS
15794 LIBS
="-lOpenCL $LIBS"
15795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15796 /* end confdefs.h. */
15798 /* Override any GCC internal prototype to avoid an error.
15799 Use char because int might match the return type of a GCC
15800 builtin and then its argument prototype would still apply. */
15801 char clGetPlatformInfo ();
15805 return clGetPlatformInfo ();
15810 if ac_fn_c_try_link
"$LINENO"
15812 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15814 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15816 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15817 conftest
$ac_exeext conftest.
$ac_ext
15818 LIBS
=$ac_check_lib_save_LIBS
15820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15821 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15822 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15824 OPENCL_LIBS
="-lOpenCL"
15829 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15831 case "x$with_opencl" in
15832 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15834 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15835 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15837 enable_opencl
=${enable_opencl:-no}
15840 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15843 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15844 if test ${ac_cv_lib_pcap_pcap_init+y}
15846 printf %s
"(cached) " >&6
15848 ac_check_lib_save_LIBS
=$LIBS
15849 LIBS
="-lpcap $LIBS"
15850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15853 /* Override any GCC internal prototype to avoid an error.
15854 Use char because int might match the return type of a GCC
15855 builtin and then its argument prototype would still apply. */
15860 return pcap_init ();
15865 if ac_fn_c_try_link
"$LINENO"
15867 ac_cv_lib_pcap_pcap_init
=yes
15869 ac_cv_lib_pcap_pcap_init
=no
15871 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15872 conftest
$ac_exeext conftest.
$ac_ext
15873 LIBS
=$ac_check_lib_save_LIBS
15875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15876 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15877 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15884 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15886 case "x$with_pcap" in
15887 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15889 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15890 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15892 enable_wpcap
=${enable_wpcap:-no}
15895 if test "x$with_pcsclite" != "xno"
15897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15898 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15899 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15901 printf %s
"(cached) " >&6
15903 ac_check_lib_save_LIBS
=$LIBS
15904 LIBS
="-lpcsclite $LIBS"
15905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 char SCardEstablishContext ();
15915 return SCardEstablishContext ();
15920 if ac_fn_c_try_link
"$LINENO"
15922 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15924 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15926 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15927 conftest
$ac_exeext conftest.
$ac_ext
15928 LIBS
=$ac_check_lib_save_LIBS
15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15931 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15932 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15934 PCSCLITE_LIBS
="-lpcsclite"
15939 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15941 case "x$with_pcsclite" in
15942 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15944 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15945 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15947 enable_winscard
=${enable_winscard:-no}
15950 if test "x$with_inotify" != "xno"
15953 if ${INOTIFY_CFLAGS:+false} :
15955 if test ${PKG_CONFIG+y}
15957 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15961 if ${INOTIFY_LIBS:+false} :
15963 if test ${PKG_CONFIG+y}
15965 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15972 if test -s conftest.err
; then
15973 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15974 cat conftest.err
>&5
15977 ac_save_CPPFLAGS
=$CPPFLAGS
15978 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15979 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15980 if test "x$ac_cv_header_sys_inotify_h" = xyes
15982 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15987 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15988 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15990 printf %s
"(cached) " >&6
15992 ac_check_lib_save_LIBS
=$LIBS
15993 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15995 /* end confdefs.h. */
15997 /* Override any GCC internal prototype to avoid an error.
15998 Use char because int might match the return type of a GCC
15999 builtin and then its argument prototype would still apply. */
16000 char inotify_add_watch ();
16004 return inotify_add_watch ();
16009 if ac_fn_c_try_link
"$LINENO"
16011 ac_cv_lib_inotify_inotify_add_watch
=yes
16013 ac_cv_lib_inotify_inotify_add_watch
=no
16015 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16016 conftest
$ac_exeext conftest.
$ac_ext
16017 LIBS
=$ac_check_lib_save_LIBS
16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16020 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16021 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16028 CPPFLAGS
=$ac_save_CPPFLAGS
16031 if test "$ac_cv_header_sys_inotify_h" != "yes"
16033 case "x$with_inotify" in
16034 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16036 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16037 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16042 if test "x$with_dbus" != "xno"
16045 if ${DBUS_CFLAGS:+false} :
16047 if test ${PKG_CONFIG+y}
16049 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16053 if ${DBUS_LIBS:+false} :
16055 if test ${PKG_CONFIG+y}
16057 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16064 if test -s conftest.err
; then
16065 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16066 cat conftest.err
>&5
16069 ac_save_CPPFLAGS
=$CPPFLAGS
16070 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16071 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16072 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16075 printf %s
"checking for -ldbus-1... " >&6; }
16076 if test ${ac_cv_lib_soname_dbus_1+y}
16078 printf %s
"(cached) " >&6
16080 ac_check_soname_save_LIBS
=$LIBS
16081 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16083 /* end confdefs.h. */
16085 /* Override any GCC internal prototype to avoid an error.
16086 Use char because int might match the return type of a GCC
16087 builtin and then its argument prototype would still apply. */
16088 char dbus_connection_close ();
16092 return dbus_connection_close ();
16097 if ac_fn_c_try_link
"$LINENO"
16100 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16101 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'` ;;
16102 *) 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'`
16103 if ${ac_cv_lib_soname_dbus_1:+false} :
16105 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16109 ac_cv_lib_soname_dbus_1
=
16111 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16112 conftest
$ac_exeext conftest.
$ac_ext
16113 LIBS
=$ac_check_soname_save_LIBS
16115 if ${ac_cv_lib_soname_dbus_1:+false} :
16117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16118 printf "%s\n" "not found" >&6; }
16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16122 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16124 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16132 CPPFLAGS
=$ac_save_CPPFLAGS
16136 darwin
*|macosx
*) ;;
16137 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16139 case "x$with_dbus" in
16140 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16142 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16143 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16149 if test "x$with_gnutls" != "xno"
16152 if ${GNUTLS_CFLAGS:+false} :
16154 if test ${PKG_CONFIG+y}
16156 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16160 if ${GNUTLS_LIBS:+false} :
16162 if test ${PKG_CONFIG+y}
16164 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16168 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16171 if test -s conftest.err
; then
16172 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16173 cat conftest.err
>&5
16176 ac_save_CPPFLAGS
=$CPPFLAGS
16177 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16178 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16179 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 #include <gnutls/gnutls.h>
16184 #include <gnutls/crypto.h>
16188 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16193 if ac_fn_c_try_compile
"$LINENO"
16195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16196 printf %s
"checking for -lgnutls... " >&6; }
16197 if test ${ac_cv_lib_soname_gnutls+y}
16199 printf %s
"(cached) " >&6
16201 ac_check_soname_save_LIBS
=$LIBS
16202 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16206 /* Override any GCC internal prototype to avoid an error.
16207 Use char because int might match the return type of a GCC
16208 builtin and then its argument prototype would still apply. */
16209 char gnutls_global_init ();
16213 return gnutls_global_init ();
16218 if ac_fn_c_try_link
"$LINENO"
16221 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16222 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'` ;;
16223 *) 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'`
16224 if ${ac_cv_lib_soname_gnutls:+false} :
16226 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'`
16230 ac_cv_lib_soname_gnutls
=
16232 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16233 conftest
$ac_exeext conftest.
$ac_ext
16234 LIBS
=$ac_check_soname_save_LIBS
16236 if ${ac_cv_lib_soname_gnutls:+false} :
16238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16239 printf "%s\n" "not found" >&6; }
16242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16243 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16245 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16249 ac_wine_check_funcs_save_LIBS
="$LIBS"
16250 LIBS
="$LIBS $GNUTLS_LIBS"
16252 for ac_func
in gnutls_cipher_init
16254 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16255 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16257 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16260 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16264 LIBS
="$ac_wine_check_funcs_save_LIBS"
16266 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16271 CPPFLAGS
=$ac_save_CPPFLAGS
16274 if test "x$ac_cv_lib_soname_gnutls" = "x"
16276 case "x$with_gnutls" in
16277 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16279 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16280 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16285 if test "x$with_sane" != "xno"
16288 if ${SANE_CFLAGS:+false} :
16290 if test ${PKG_CONFIG+y}
16292 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16295 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16296 if ${SANE_LIBS:+false} :
16298 if test ${PKG_CONFIG+y}
16300 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16303 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16307 if test -s conftest.err
; then
16308 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16309 cat conftest.err
>&5
16312 ac_save_CPPFLAGS
=$CPPFLAGS
16313 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16314 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16315 if test "x$ac_cv_header_sane_sane_h" = xyes
16317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16318 printf %s
"checking for sane_init in -lsane... " >&6; }
16319 if test ${ac_cv_lib_sane_sane_init+y}
16321 printf %s
"(cached) " >&6
16323 ac_check_lib_save_LIBS
=$LIBS
16324 LIBS
="-lsane $SANE_LIBS $LIBS"
16325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16328 /* Override any GCC internal prototype to avoid an error.
16329 Use char because int might match the return type of a GCC
16330 builtin and then its argument prototype would still apply. */
16335 return sane_init ();
16340 if ac_fn_c_try_link
"$LINENO"
16342 ac_cv_lib_sane_sane_init
=yes
16344 ac_cv_lib_sane_sane_init
=no
16346 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16347 conftest
$ac_exeext conftest.
$ac_ext
16348 LIBS
=$ac_check_lib_save_LIBS
16350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16351 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16352 if test "x$ac_cv_lib_sane_sane_init" = xyes
16359 CPPFLAGS
=$ac_save_CPPFLAGS
16362 if test "$ac_cv_lib_sane_sane_init" != "yes"
16364 case "x$with_sane" in
16365 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16367 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16368 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16370 enable_sane_ds
=${enable_sane_ds:-no}
16373 if test "x$with_usb" != "xno"
16376 if ${USB_CFLAGS:+false} :
16378 if test ${PKG_CONFIG+y}
16380 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16384 if ${USB_LIBS:+false} :
16386 if test ${PKG_CONFIG+y}
16388 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16392 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16395 if test -s conftest.err
; then
16396 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16397 cat conftest.err
>&5
16400 ac_save_CPPFLAGS
=$CPPFLAGS
16401 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16402 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16403 if test "x$ac_cv_header_libusb_h" = xyes
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16406 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16407 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16409 printf %s
"(cached) " >&6
16411 ac_check_lib_save_LIBS
=$LIBS
16412 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16416 /* Override any GCC internal prototype to avoid an error.
16417 Use char because int might match the return type of a GCC
16418 builtin and then its argument prototype would still apply. */
16419 char libusb_interrupt_event_handler ();
16423 return libusb_interrupt_event_handler ();
16428 if ac_fn_c_try_link
"$LINENO"
16430 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16432 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16434 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16435 conftest
$ac_exeext conftest.
$ac_ext
16436 LIBS
=$ac_check_lib_save_LIBS
16438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16439 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16440 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16451 CPPFLAGS
=$ac_save_CPPFLAGS
16454 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16456 case "x$with_usb" in
16457 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16459 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16460 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16462 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16465 if test "x$with_v4l2" != "xno"
16467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16468 printf %s
"checking for -lv4l2... " >&6; }
16469 if test ${ac_cv_lib_soname_v4l2+y}
16471 printf %s
"(cached) " >&6
16473 ac_check_soname_save_LIBS
=$LIBS
16474 LIBS
="-lv4l2 $LIBS"
16475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16478 /* Override any GCC internal prototype to avoid an error.
16479 Use char because int might match the return type of a GCC
16480 builtin and then its argument prototype would still apply. */
16485 return v4l2_open ();
16490 if ac_fn_c_try_link
"$LINENO"
16493 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16494 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'` ;;
16495 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16496 if ${ac_cv_lib_soname_v4l2:+false} :
16498 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16502 ac_cv_lib_soname_v4l2
=
16504 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16505 conftest
$ac_exeext conftest.
$ac_ext
16506 LIBS
=$ac_check_soname_save_LIBS
16508 if ${ac_cv_lib_soname_v4l2:+false} :
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16511 printf "%s\n" "not found" >&6; }
16514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16515 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16517 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16522 if test "x$ac_cv_lib_soname_v4l2" = "x"
16524 case "x$with_v4l2" in
16525 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16527 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16528 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16533 if test "x$with_gphoto" != "xno"
16536 if ${GPHOTO2_CFLAGS:+false} :
16538 if test ${PKG_CONFIG+y}
16540 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16543 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16544 if ${GPHOTO2_LIBS:+false} :
16546 if test ${PKG_CONFIG+y}
16548 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16551 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16552 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16555 if test -s conftest.err
; then
16556 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16557 cat conftest.err
>&5
16560 ac_save_CPPFLAGS
=$CPPFLAGS
16561 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16562 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16563 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16566 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16567 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16569 printf %s
"(cached) " >&6
16571 ac_check_lib_save_LIBS
=$LIBS
16572 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16576 /* Override any GCC internal prototype to avoid an error.
16577 Use char because int might match the return type of a GCC
16578 builtin and then its argument prototype would still apply. */
16579 char gp_camera_new ();
16583 return gp_camera_new ();
16588 if ac_fn_c_try_link
"$LINENO"
16590 ac_cv_lib_gphoto2_gp_camera_new
=yes
16592 ac_cv_lib_gphoto2_gp_camera_new
=no
16594 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16595 conftest
$ac_exeext conftest.
$ac_ext
16596 LIBS
=$ac_check_lib_save_LIBS
16598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16599 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16600 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16607 CPPFLAGS
=$ac_save_CPPFLAGS
16610 if ${GPHOTO2_PORT_CFLAGS:+false} :
16612 if test ${PKG_CONFIG+y}
16614 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16617 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16618 if ${GPHOTO2_PORT_LIBS:+false} :
16620 if test ${PKG_CONFIG+y}
16622 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16625 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16626 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16629 if test -s conftest.err
; then
16630 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16631 cat conftest.err
>&5
16634 ac_save_CPPFLAGS
=$CPPFLAGS
16635 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16636 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16637 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16640 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16641 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16643 printf %s
"(cached) " >&6
16645 ac_check_lib_save_LIBS
=$LIBS
16646 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16650 /* Override any GCC internal prototype to avoid an error.
16651 Use char because int might match the return type of a GCC
16652 builtin and then its argument prototype would still apply. */
16653 char gp_port_info_list_new ();
16657 return gp_port_info_list_new ();
16662 if ac_fn_c_try_link
"$LINENO"
16664 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16666 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16668 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16669 conftest
$ac_exeext conftest.
$ac_ext
16670 LIBS
=$ac_check_lib_save_LIBS
16672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16673 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16674 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16677 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16680 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16684 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16687 CPPFLAGS
=$ac_save_CPPFLAGS
16690 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16692 case "x$with_gphoto" in
16693 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16695 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16696 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16698 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16700 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16702 case "x$with_gphoto" in
16703 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16705 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16706 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16712 if test "$ac_cv_header_resolv_h" = "yes"
16714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16715 printf %s
"checking for resolver library... " >&6; }
16716 if test ${ac_cv_have_resolv+y}
16718 printf %s
"(cached) " >&6
16720 ac_save_LIBS
="$LIBS"
16721 for lib
in '' -lresolv
16723 LIBS
="$lib $ac_save_LIBS"
16724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16726 #ifdef HAVE_NETINET_IN_H
16727 #include <netinet/in.h>
16729 #include <resolv.h>
16733 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16738 if ac_fn_c_try_link
"$LINENO"
16740 ac_cv_have_resolv
=${lib:-"none required"}
16742 ac_cv_have_resolv
="not found"
16744 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16745 conftest
$ac_exeext conftest.
$ac_ext
16746 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16748 LIBS
="$ac_save_LIBS"
16750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16751 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16753 case "$ac_cv_have_resolv" in
16757 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16760 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16762 RESOLV_LIBS
=$ac_cv_have_resolv
16766 if test "x$ac_cv_have_resolv" != "xnot found"
16768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16769 printf %s
"checking for res_getservers... " >&6; }
16770 if test ${ac_cv_have_res_getservers+y}
16772 printf %s
"(cached) " >&6
16774 ac_save_LIBS
="$LIBS"
16775 LIBS
="$RESOLV_LIBS $LIBS"
16776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #include <resolv.h>
16782 res_getservers(NULL, NULL, 0);
16787 if ac_fn_c_try_link
"$LINENO"
16789 ac_cv_have_res_getservers
=yes
16791 ac_cv_have_res_getservers
=no
16793 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16794 conftest
$ac_exeext conftest.
$ac_ext
16795 LIBS
="$ac_save_LIBS"
16797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16798 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16799 if test "$ac_cv_have_res_getservers" = "yes"
16802 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16808 if test "x$with_freetype" != "xno"
16811 if ${FREETYPE_CFLAGS:+false} :
16813 if test ${PKG_CONFIG+y}
16815 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16818 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16819 if ${FREETYPE_LIBS:+false} :
16821 if test ${PKG_CONFIG+y}
16823 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16826 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16827 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16830 if test -s conftest.err
; then
16831 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16832 cat conftest.err
>&5
16835 ac_save_CPPFLAGS
=$CPPFLAGS
16836 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16837 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16838 if test "x$ac_cv_header_ft2build_h" = xyes
16840 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16844 if test "$ac_cv_header_ft2build_h" = "yes"
16846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16847 printf %s
"checking for -lfreetype... " >&6; }
16848 if test ${ac_cv_lib_soname_freetype+y}
16850 printf %s
"(cached) " >&6
16852 ac_check_soname_save_LIBS
=$LIBS
16853 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16857 /* Override any GCC internal prototype to avoid an error.
16858 Use char because int might match the return type of a GCC
16859 builtin and then its argument prototype would still apply. */
16860 char FT_Init_FreeType ();
16864 return FT_Init_FreeType ();
16869 if ac_fn_c_try_link
"$LINENO"
16872 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16873 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'` ;;
16874 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16875 if ${ac_cv_lib_soname_freetype:+false} :
16877 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16881 ac_cv_lib_soname_freetype
=
16883 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16884 conftest
$ac_exeext conftest.
$ac_ext
16885 LIBS
=$ac_check_soname_save_LIBS
16887 if ${ac_cv_lib_soname_freetype:+false} :
16889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16890 printf "%s\n" "not found" >&6; }
16893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16894 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16896 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16899 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16901 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16902 #include FT_MODULE_H
16904 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16907 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16917 CPPFLAGS
=$ac_save_CPPFLAGS
16920 if test "x$ac_cv_lib_soname_freetype" = x
16922 case "x$with_freetype" in
16924 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16925 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16927 enable_fonts
=${enable_fonts:-no}
16930 ac_wine_check_funcs_save_LIBS
="$LIBS"
16931 LIBS
="$LIBS $PTHREAD_LIBS"
16932 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16933 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16935 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16939 LIBS
="$ac_wine_check_funcs_save_LIBS"
16941 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16943 if test "$ac_cv_header_gettext_po_h" = "yes"
16945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16946 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16947 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16949 printf %s
"(cached) " >&6
16951 ac_check_lib_save_LIBS
=$LIBS
16952 LIBS
="-lgettextpo $LIBS"
16953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16956 /* Override any GCC internal prototype to avoid an error.
16957 Use char because int might match the return type of a GCC
16958 builtin and then its argument prototype would still apply. */
16959 char po_message_msgctxt ();
16963 return po_message_msgctxt ();
16968 if ac_fn_c_try_link
"$LINENO"
16970 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16972 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16974 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16975 conftest
$ac_exeext conftest.
$ac_ext
16976 LIBS
=$ac_check_lib_save_LIBS
16978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16979 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16980 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16983 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16985 GETTEXTPO_LIBS
="-lgettextpo"
16990 if test "x$GETTEXTPO_LIBS" = "x"
16992 case "x$with_gettextpo" in
16993 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16995 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16996 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17000 if test "$srcdir" != .
17002 case "x$with_gettextpo" in
17003 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
17005 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
17006 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17012 if test "x$with_pulse" != "xno";
17015 if ${PULSE_CFLAGS:+false} :
17017 if test ${PKG_CONFIG+y}
17019 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17023 if ${PULSE_LIBS:+false} :
17025 if test ${PKG_CONFIG+y}
17027 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17034 if test -s conftest.err
; then
17035 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17036 cat conftest.err
>&5
17039 ac_save_CPPFLAGS
=$CPPFLAGS
17040 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17041 for ac_header
in pulse
/pulseaudio.h
17043 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17044 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17046 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17048 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17049 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17051 printf %s
"(cached) " >&6
17053 ac_check_lib_save_LIBS
=$LIBS
17054 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17058 /* Override any GCC internal prototype to avoid an error.
17059 Use char because int might match the return type of a GCC
17060 builtin and then its argument prototype would still apply. */
17061 char pa_stream_is_corked ();
17065 return pa_stream_is_corked ();
17070 if ac_fn_c_try_link
"$LINENO"
17072 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17074 ac_cv_lib_pulse_pa_stream_is_corked
=no
17076 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17077 conftest
$ac_exeext conftest.
$ac_ext
17078 LIBS
=$ac_check_lib_save_LIBS
17080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17081 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17082 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17094 CPPFLAGS
=$ac_save_CPPFLAGS
17097 if test -z "$PULSE_LIBS"
17099 case "x$with_pulse" in
17100 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17102 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17103 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17105 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17108 if test "x$with_gstreamer" != "xno"
17111 if ${GSTREAMER_CFLAGS:+false} :
17113 if test ${PKG_CONFIG+y}
17115 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17119 if ${GSTREAMER_LIBS:+false} :
17121 if test ${PKG_CONFIG+y}
17123 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 libs: $GSTREAMER_LIBS" >&5
17130 if test -s conftest.err
; then
17131 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17132 cat conftest.err
>&5
17135 ac_save_CPPFLAGS
=$CPPFLAGS
17136 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17137 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17138 if test "x$ac_cv_header_gst_gst_h" = xyes
17140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17141 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17144 #include <gst/gst.h>
17148 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17153 if ac_fn_c_try_compile
"$LINENO"
17155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17156 printf "%s\n" "yes" >&6; }
17157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17158 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17159 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17161 printf %s
"(cached) " >&6
17163 ac_check_lib_save_LIBS
=$LIBS
17164 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17168 /* Override any GCC internal prototype to avoid an error.
17169 Use char because int might match the return type of a GCC
17170 builtin and then its argument prototype would still apply. */
17171 char gst_pad_new ();
17175 return gst_pad_new ();
17180 if ac_fn_c_try_link
"$LINENO"
17182 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17184 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17186 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17187 conftest
$ac_exeext conftest.
$ac_ext
17188 LIBS
=$ac_check_lib_save_LIBS
17190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17191 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17192 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17199 printf "%s\n" "no" >&6; }
17200 ac_glib2_broken
=yes
17201 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17203 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17206 CPPFLAGS
=$ac_save_CPPFLAGS
17209 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17211 case "x$with_gstreamer" in
17212 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17214 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17215 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17217 enable_winegstreamer
=${enable_winegstreamer:-no}
17222 if test "x$with_alsa" != "xno"
17224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17225 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17226 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17228 printf %s
"(cached) " >&6
17230 ac_check_lib_save_LIBS
=$LIBS
17231 LIBS
="-lasound $LIBS"
17232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17235 /* Override any GCC internal prototype to avoid an error.
17236 Use char because int might match the return type of a GCC
17237 builtin and then its argument prototype would still apply. */
17238 char snd_pcm_hw_params_get_access_mask ();
17242 return snd_pcm_hw_params_get_access_mask ();
17247 if ac_fn_c_try_link
"$LINENO"
17249 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17251 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17253 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17254 conftest
$ac_exeext conftest.
$ac_ext
17255 LIBS
=$ac_check_lib_save_LIBS
17257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17258 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17259 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263 #include <alsa/asoundlib.h>
17267 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17272 if ac_fn_c_try_compile
"$LINENO"
17274 ALSA_LIBS
="-lasound"
17276 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17280 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17282 if test "x$with_oss" != xno
17284 ac_save_CPPFLAGS
="$CPPFLAGS"
17285 if test -f /etc
/oss.conf
17289 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17290 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17291 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17292 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17294 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17296 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17299 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17301 OSS4_CFLAGS
="$ac_oss_incl"
17303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17304 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17305 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17307 printf %s
"(cached) " >&6
17309 ac_check_lib_save_LIBS
=$LIBS
17310 LIBS
="-lossaudio $LIBS"
17311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17314 /* Override any GCC internal prototype to avoid an error.
17315 Use char because int might match the return type of a GCC
17316 builtin and then its argument prototype would still apply. */
17317 char _oss_ioctl ();
17321 return _oss_ioctl ();
17326 if ac_fn_c_try_link
"$LINENO"
17328 ac_cv_lib_ossaudio__oss_ioctl
=yes
17330 ac_cv_lib_ossaudio__oss_ioctl
=no
17332 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17333 conftest
$ac_exeext conftest.
$ac_ext
17334 LIBS
=$ac_check_lib_save_LIBS
17336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17337 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17338 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17340 OSS4_LIBS
="-lossaudio"
17348 CPPFLAGS
="$ac_save_CPPFLAGS"
17350 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17352 case "x$with_oss" in
17353 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17355 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17356 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17358 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17361 if test "x$with_udev" != "xno"
17364 if ${UDEV_CFLAGS:+false} :
17366 if test ${PKG_CONFIG+y}
17368 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17372 if ${UDEV_LIBS:+false} :
17374 if test ${PKG_CONFIG+y}
17376 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17380 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17383 if test -s conftest.err
; then
17384 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17385 cat conftest.err
>&5
17388 ac_save_CPPFLAGS
=$CPPFLAGS
17389 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17390 for ac_header
in libudev.h
17392 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17393 if test "x$ac_cv_header_libudev_h" = xyes
17395 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17397 printf %s
"checking for udev_new in -ludev... " >&6; }
17398 if test ${ac_cv_lib_udev_udev_new+y}
17400 printf %s
"(cached) " >&6
17402 ac_check_lib_save_LIBS
=$LIBS
17403 LIBS
="-ludev $UDEV_LIBS $LIBS"
17404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17407 /* Override any GCC internal prototype to avoid an error.
17408 Use char because int might match the return type of a GCC
17409 builtin and then its argument prototype would still apply. */
17414 return udev_new ();
17419 if ac_fn_c_try_link
"$LINENO"
17421 ac_cv_lib_udev_udev_new
=yes
17423 ac_cv_lib_udev_udev_new
=no
17425 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17426 conftest
$ac_exeext conftest.
$ac_ext
17427 LIBS
=$ac_check_lib_save_LIBS
17429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17430 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17431 if test "x$ac_cv_lib_udev_udev_new" = xyes
17434 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17445 CPPFLAGS
=$ac_save_CPPFLAGS
17448 if test "x$UDEV_LIBS" = "x"
17450 case "x$with_udev" in
17451 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17453 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17454 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17459 if test "x$with_unwind" != xno
17462 if ${UNWIND_CFLAGS:+false} :
17464 if test ${PKG_CONFIG+y}
17466 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17470 if ${UNWIND_LIBS:+false} :
17472 if test ${PKG_CONFIG+y}
17474 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17478 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17481 if test -s conftest.err
; then
17482 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17483 cat conftest.err
>&5
17486 ac_save_CPPFLAGS
=$CPPFLAGS
17487 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17489 printf %s
"checking for unw_step... " >&6; }
17490 if test ${wine_cv_have_unw_step+y}
17492 printf %s
"(cached) " >&6
17494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #define UNW_LOCAL_ONLY
17497 #include <libunwind.h>
17501 unw_cursor_t cursor; unw_step( &cursor );
17506 if ac_fn_c_try_link
"$LINENO"
17508 wine_cv_have_unw_step
="yes"
17510 wine_cv_have_unw_step
="no"
17512 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17513 conftest
$ac_exeext conftest.
$ac_ext
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17516 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17517 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17520 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17521 LIBS
="$UNWIND_LIBS $LIBS"
17522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17523 printf %s
"checking for unw_step in libunwind... " >&6; }
17524 if test ${wine_cv_have_libunwind_unw_step+y}
17526 printf %s
"(cached) " >&6
17528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #define UNW_LOCAL_ONLY
17531 #include <libunwind.h>
17535 unw_cursor_t cursor; unw_step( &cursor );
17540 if ac_fn_c_try_link
"$LINENO"
17542 wine_cv_have_libunwind_unw_step
="yes"
17544 wine_cv_have_libunwind_unw_step
="no"
17546 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17547 conftest
$ac_exeext conftest.
$ac_ext
17549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17550 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17553 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17554 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17557 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17560 CPPFLAGS
=$ac_save_CPPFLAGS
17564 aarch64
*|
*-darwin*)
17565 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17567 case "x$with_unwind" in
17568 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17570 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17571 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17577 if test "x$with_sdl" != "xno"
17580 if ${SDL2_CFLAGS:+false} :
17582 if test ${PKG_CONFIG+y}
17584 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17588 if ${SDL2_LIBS:+false} :
17590 if test ${PKG_CONFIG+y}
17592 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17596 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17599 if test -s conftest.err
; then
17600 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17601 cat conftest.err
>&5
17604 ac_save_CPPFLAGS
=$CPPFLAGS
17605 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17606 for ac_header
in SDL.h
17608 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17609 if test "x$ac_cv_header_SDL_h" = xyes
17611 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17613 printf %s
"checking for -lSDL2... " >&6; }
17614 if test ${ac_cv_lib_soname_SDL2+y}
17616 printf %s
"(cached) " >&6
17618 ac_check_soname_save_LIBS
=$LIBS
17619 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17623 /* Override any GCC internal prototype to avoid an error.
17624 Use char because int might match the return type of a GCC
17625 builtin and then its argument prototype would still apply. */
17630 return SDL_Init ();
17635 if ac_fn_c_try_link
"$LINENO"
17638 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17639 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'` ;;
17640 *) 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'`
17641 if ${ac_cv_lib_soname_SDL2:+false} :
17643 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17647 ac_cv_lib_soname_SDL2
=
17649 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17650 conftest
$ac_exeext conftest.
$ac_ext
17651 LIBS
=$ac_check_soname_save_LIBS
17653 if ${ac_cv_lib_soname_SDL2:+false} :
17655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17656 printf "%s\n" "not found" >&6; }
17659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17660 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17662 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17669 CPPFLAGS
=$ac_save_CPPFLAGS
17672 if test "x$ac_cv_lib_soname_SDL2" = "x"
17674 case "x$with_sdl" in
17675 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17677 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17678 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17683 if test "x$with_capi" != "xno"
17686 if ${CAPI20_CFLAGS:+false} :
17688 if test ${PKG_CONFIG+y}
17690 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17694 if ${CAPI20_LIBS:+false} :
17696 if test ${PKG_CONFIG+y}
17698 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17705 if test -s conftest.err
; then
17706 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17707 cat conftest.err
>&5
17710 ac_save_CPPFLAGS
=$CPPFLAGS
17711 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17712 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17714 if test "x$ac_cv_header_capi20_h" = xyes
17716 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17719 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17721 if test "x$ac_cv_header_linux_capi_h" = xyes
17723 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17727 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17730 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17731 if test ${ac_cv_lib_capi20_capi20_register+y}
17733 printf %s
"(cached) " >&6
17735 ac_check_lib_save_LIBS
=$LIBS
17736 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17740 /* Override any GCC internal prototype to avoid an error.
17741 Use char because int might match the return type of a GCC
17742 builtin and then its argument prototype would still apply. */
17743 char capi20_register ();
17747 return capi20_register ();
17752 if ac_fn_c_try_link
"$LINENO"
17754 ac_cv_lib_capi20_capi20_register
=yes
17756 ac_cv_lib_capi20_capi20_register
=no
17758 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17759 conftest
$ac_exeext conftest.
$ac_ext
17760 LIBS
=$ac_check_lib_save_LIBS
17762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17763 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17764 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17772 CPPFLAGS
=$ac_save_CPPFLAGS
17775 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17777 case "x$with_capi" in
17778 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17780 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17781 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17783 enable_capi2032
=${enable_capi2032:-no}
17786 if test "x$with_cups" != "xno"
17789 if ${CUPS_CFLAGS:+false} :
17791 if test ${PKG_CONFIG+y}
17793 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17796 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17797 if ${CUPS_LIBS:+false} :
17799 if test ${PKG_CONFIG+y}
17801 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17804 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17805 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17808 if test -s conftest.err
; then
17809 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17810 cat conftest.err
>&5
17813 ac_save_CPPFLAGS
=$CPPFLAGS
17814 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17815 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17816 if test "x$ac_cv_header_cups_cups_h" = xyes
17818 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17821 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17822 if test "x$ac_cv_header_cups_ppd_h" = xyes
17824 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17828 if test "$ac_cv_header_cups_cups_h" = "yes"
17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17831 printf %s
"checking for -lcups... " >&6; }
17832 if test ${ac_cv_lib_soname_cups+y}
17834 printf %s
"(cached) " >&6
17836 ac_check_soname_save_LIBS
=$LIBS
17837 LIBS
="-lcups $CUPS_LIBS $LIBS"
17838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17841 /* Override any GCC internal prototype to avoid an error.
17842 Use char because int might match the return type of a GCC
17843 builtin and then its argument prototype would still apply. */
17844 char cupsGetDefault ();
17848 return cupsGetDefault ();
17853 if ac_fn_c_try_link
"$LINENO"
17856 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17857 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'` ;;
17858 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17859 if ${ac_cv_lib_soname_cups:+false} :
17861 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17865 ac_cv_lib_soname_cups
=
17867 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17868 conftest
$ac_exeext conftest.
$ac_ext
17869 LIBS
=$ac_check_soname_save_LIBS
17871 if ${ac_cv_lib_soname_cups:+false} :
17873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17874 printf "%s\n" "not found" >&6; }
17877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17878 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17880 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17888 CPPFLAGS
=$ac_save_CPPFLAGS
17891 if test "x$ac_cv_lib_soname_cups" = "x"
17893 case "x$with_cups" in
17894 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17896 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17897 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17902 if test "x$with_fontconfig" != "xno"
17905 if ${FONTCONFIG_CFLAGS:+false} :
17907 if test ${PKG_CONFIG+y}
17909 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17912 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17913 if ${FONTCONFIG_LIBS:+false} :
17915 if test ${PKG_CONFIG+y}
17917 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17920 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17924 if test -s conftest.err
; then
17925 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17926 cat conftest.err
>&5
17929 ac_save_CPPFLAGS
=$CPPFLAGS
17930 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17931 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17932 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17934 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17938 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17941 printf %s
"checking for -lfontconfig... " >&6; }
17942 if test ${ac_cv_lib_soname_fontconfig+y}
17944 printf %s
"(cached) " >&6
17946 ac_check_soname_save_LIBS
=$LIBS
17947 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17951 /* Override any GCC internal prototype to avoid an error.
17952 Use char because int might match the return type of a GCC
17953 builtin and then its argument prototype would still apply. */
17963 if ac_fn_c_try_link
"$LINENO"
17966 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17967 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'` ;;
17968 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17969 if ${ac_cv_lib_soname_fontconfig:+false} :
17971 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17975 ac_cv_lib_soname_fontconfig
=
17977 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17978 conftest
$ac_exeext conftest.
$ac_ext
17979 LIBS
=$ac_check_soname_save_LIBS
17981 if ${ac_cv_lib_soname_fontconfig:+false} :
17983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17984 printf "%s\n" "not found" >&6; }
17985 FONTCONFIG_CFLAGS
=""
17987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17988 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17990 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17995 FONTCONFIG_CFLAGS
=""
17997 CPPFLAGS
=$ac_save_CPPFLAGS
18000 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18002 case "x$with_fontconfig" in
18003 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18005 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18006 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18011 if test "x$with_krb5" != "xno"
18014 if ${KRB5_CFLAGS:+false} :
18016 if test ${PKG_CONFIG+y}
18018 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18021 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18022 if ${KRB5_LIBS:+false} :
18024 if test ${PKG_CONFIG+y}
18026 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18029 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18033 if test -s conftest.err
; then
18034 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18035 cat conftest.err
>&5
18038 ac_save_CPPFLAGS
=$CPPFLAGS
18039 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18040 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18041 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18043 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18047 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18050 printf %s
"checking for -lkrb5... " >&6; }
18051 if test ${ac_cv_lib_soname_krb5+y}
18053 printf %s
"(cached) " >&6
18055 ac_check_soname_save_LIBS
=$LIBS
18056 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18063 char krb5_is_config_principal ();
18067 return krb5_is_config_principal ();
18072 if ac_fn_c_try_link
"$LINENO"
18075 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18076 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'` ;;
18077 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18078 if ${ac_cv_lib_soname_krb5:+false} :
18080 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18084 ac_cv_lib_soname_krb5
=
18086 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18087 conftest
$ac_exeext conftest.
$ac_ext
18088 LIBS
=$ac_check_soname_save_LIBS
18090 if ${ac_cv_lib_soname_krb5:+false} :
18092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18093 printf "%s\n" "not found" >&6; }
18096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18097 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18099 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18106 CPPFLAGS
=$ac_save_CPPFLAGS
18109 if test "x$ac_cv_lib_soname_krb5" = "x"
18111 case "x$with_krb5" in
18112 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18114 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18115 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18119 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18121 if test "x$with_gssapi" != "xno"
18124 if ${GSSAPI_CFLAGS:+false} :
18126 if test ${PKG_CONFIG+y}
18128 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18131 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18132 if ${GSSAPI_LIBS:+false} :
18134 if test ${PKG_CONFIG+y}
18136 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18139 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18143 if test -s conftest.err
; then
18144 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18145 cat conftest.err
>&5
18148 ac_save_CPPFLAGS
=$CPPFLAGS
18149 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18150 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18151 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18153 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18156 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18157 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18159 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18163 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18166 printf %s
"checking for -lgssapi_krb5... " >&6; }
18167 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18169 printf %s
"(cached) " >&6
18171 ac_check_soname_save_LIBS
=$LIBS
18172 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18179 char gss_init_sec_context ();
18183 return gss_init_sec_context ();
18188 if ac_fn_c_try_link
"$LINENO"
18191 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18192 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'` ;;
18193 *) 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'`
18194 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18196 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18200 ac_cv_lib_soname_gssapi_krb5
=
18202 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18203 conftest
$ac_exeext conftest.
$ac_ext
18204 LIBS
=$ac_check_soname_save_LIBS
18206 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18209 printf "%s\n" "not found" >&6; }
18212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18213 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18215 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18222 CPPFLAGS
=$ac_save_CPPFLAGS
18225 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18227 case "x$with_gssapi" in
18228 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18230 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18231 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18236 if test "$ac_cv_header_libprocstat_h" = "yes"
18238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18239 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18240 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18242 printf %s
"(cached) " >&6
18244 ac_check_lib_save_LIBS
=$LIBS
18245 LIBS
="-lprocstat $LIBS"
18246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18249 /* Override any GCC internal prototype to avoid an error.
18250 Use char because int might match the return type of a GCC
18251 builtin and then its argument prototype would still apply. */
18252 char procstat_open_sysctl ();
18256 return procstat_open_sysctl ();
18261 if ac_fn_c_try_link
"$LINENO"
18263 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18265 ac_cv_lib_procstat_procstat_open_sysctl
=no
18267 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18268 conftest
$ac_exeext conftest.
$ac_ext
18269 LIBS
=$ac_check_lib_save_LIBS
18271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18272 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18273 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18276 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18278 PROCSTAT_LIBS
="-lprocstat"
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18285 printf %s
"checking for -lodbc... " >&6; }
18286 if test ${ac_cv_lib_soname_odbc+y}
18288 printf %s
"(cached) " >&6
18290 ac_check_soname_save_LIBS
=$LIBS
18291 LIBS
="-lodbc $LIBS"
18292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18295 /* Override any GCC internal prototype to avoid an error.
18296 Use char because int might match the return type of a GCC
18297 builtin and then its argument prototype would still apply. */
18298 char SQLConnect ();
18302 return SQLConnect ();
18307 if ac_fn_c_try_link
"$LINENO"
18310 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18311 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'` ;;
18312 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18313 if ${ac_cv_lib_soname_odbc:+false} :
18315 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18319 ac_cv_lib_soname_odbc
=
18321 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18322 conftest
$ac_exeext conftest.
$ac_ext
18323 LIBS
=$ac_check_soname_save_LIBS
18325 if ${ac_cv_lib_soname_odbc:+false} :
18327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18328 printf "%s\n" "not found" >&6; }
18329 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18333 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18335 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18340 if test "x$with_netapi" != "xno"
18343 if ${NETAPI_CFLAGS:+false} :
18345 if test ${PKG_CONFIG+y}
18347 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18351 if ${NETAPI_LIBS:+false} :
18353 if test ${PKG_CONFIG+y}
18355 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18362 if test -s conftest.err
; then
18363 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18364 cat conftest.err
>&5
18367 ac_save_CPPFLAGS
=$CPPFLAGS
18368 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18370 printf %s
"checking for -lnetapi... " >&6; }
18371 if test ${ac_cv_lib_soname_netapi+y}
18373 printf %s
"(cached) " >&6
18375 ac_check_soname_save_LIBS
=$LIBS
18376 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18380 /* Override any GCC internal prototype to avoid an error.
18381 Use char because int might match the return type of a GCC
18382 builtin and then its argument prototype would still apply. */
18383 char libnetapi_init ();
18387 return libnetapi_init ();
18392 if ac_fn_c_try_link
"$LINENO"
18395 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18396 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'` ;;
18397 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18398 if ${ac_cv_lib_soname_netapi:+false} :
18400 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18404 ac_cv_lib_soname_netapi
=
18406 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18407 conftest
$ac_exeext conftest.
$ac_ext
18408 LIBS
=$ac_check_soname_save_LIBS
18410 if ${ac_cv_lib_soname_netapi:+false} :
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18413 printf "%s\n" "not found" >&6; }
18414 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18418 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18420 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18424 CPPFLAGS
=$ac_save_CPPFLAGS
18427 if test "x$ac_cv_lib_soname_netapi" = "x"
18429 case "x$with_netapi" in
18430 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18432 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18433 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18435 enable_netapi
=${enable_netapi:-no}
18439 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18440 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18442 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18445 if test "x$with_vulkan" != "xno"
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18448 printf %s
"checking for -lvulkan... " >&6; }
18449 if test ${ac_cv_lib_soname_vulkan+y}
18451 printf %s
"(cached) " >&6
18453 ac_check_soname_save_LIBS
=$LIBS
18454 LIBS
="-lvulkan $LIBS"
18455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18458 /* Override any GCC internal prototype to avoid an error.
18459 Use char because int might match the return type of a GCC
18460 builtin and then its argument prototype would still apply. */
18461 char vkGetInstanceProcAddr ();
18465 return vkGetInstanceProcAddr ();
18470 if ac_fn_c_try_link
"$LINENO"
18473 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18474 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'` ;;
18475 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18476 if ${ac_cv_lib_soname_vulkan:+false} :
18478 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18482 ac_cv_lib_soname_vulkan
=
18484 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18485 conftest
$ac_exeext conftest.
$ac_ext
18486 LIBS
=$ac_check_soname_save_LIBS
18488 if ${ac_cv_lib_soname_vulkan:+false} :
18490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18491 printf "%s\n" "not found" >&6; }
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18495 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18497 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18501 if test "x$ac_cv_lib_soname_vulkan" = "x"
18503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18504 printf %s
"checking for -lMoltenVK... " >&6; }
18505 if test ${ac_cv_lib_soname_MoltenVK+y}
18507 printf %s
"(cached) " >&6
18509 ac_check_soname_save_LIBS
=$LIBS
18510 LIBS
="-lMoltenVK $LIBS"
18511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18514 /* Override any GCC internal prototype to avoid an error.
18515 Use char because int might match the return type of a GCC
18516 builtin and then its argument prototype would still apply. */
18517 char vkGetInstanceProcAddr ();
18521 return vkGetInstanceProcAddr ();
18526 if ac_fn_c_try_link
"$LINENO"
18529 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18530 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'` ;;
18531 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18532 if ${ac_cv_lib_soname_MoltenVK:+false} :
18534 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18538 ac_cv_lib_soname_MoltenVK
=
18540 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18541 conftest
$ac_exeext conftest.
$ac_ext
18542 LIBS
=$ac_check_soname_save_LIBS
18544 if ${ac_cv_lib_soname_MoltenVK:+false} :
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18547 printf "%s\n" "not found" >&6; }
18550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18551 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18553 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18559 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18561 case "x$with_vulkan" in
18562 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18564 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18565 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18571 if test "x${GCC}" = "xyes"
18573 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18575 saved_CFLAGS
=$CFLAGS
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18577 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18578 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18580 printf %s
"(cached) " >&6
18582 ac_wine_try_cflags_saved
=$CFLAGS
18583 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18586 int main(int argc, char **argv) { return 0; }
18588 if ac_fn_c_try_link
"$LINENO"
18590 ac_cv_cflags__Werror_unknown_warning_option
=yes
18592 ac_cv_cflags__Werror_unknown_warning_option
=no
18594 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18595 conftest
$ac_exeext conftest.
$ac_ext
18596 CFLAGS
=$ac_wine_try_cflags_saved
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18599 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18600 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18602 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18605 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18606 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18608 printf %s
"(cached) " >&6
18610 ac_wine_try_cflags_saved
=$CFLAGS
18611 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h. */
18614 int main(int argc, char **argv) { return 0; }
18616 if ac_fn_c_try_link
"$LINENO"
18618 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18620 ac_cv_cflags__Werror_unused_command_line_argument
=no
18622 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18623 conftest
$ac_exeext conftest.
$ac_ext
18624 CFLAGS
=$ac_wine_try_cflags_saved
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18627 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18628 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18630 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18633 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18634 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18636 printf %s
"(cached) " >&6
18638 ac_wine_try_cflags_saved
=$CFLAGS
18639 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 int main(int argc, char **argv) { return 0; }
18644 if ac_fn_c_try_link
"$LINENO"
18646 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18648 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18650 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18651 conftest
$ac_exeext conftest.
$ac_ext
18652 CFLAGS
=$ac_wine_try_cflags_saved
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18655 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18656 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18658 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18661 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18662 if test ${ac_cv_cflags__fcf_protection_none+y}
18664 printf %s
"(cached) " >&6
18666 ac_wine_try_cflags_saved
=$CFLAGS
18667 CFLAGS
="$CFLAGS -fcf-protection=none"
18668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18670 int main(int argc, char **argv) { return 0; }
18672 if ac_fn_c_try_link
"$LINENO"
18674 ac_cv_cflags__fcf_protection_none
=yes
18676 ac_cv_cflags__fcf_protection_none
=no
18678 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18679 conftest
$ac_exeext conftest.
$ac_ext
18680 CFLAGS
=$ac_wine_try_cflags_saved
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18683 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18684 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18686 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18689 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18690 if test ${ac_cv_cflags__fno_stack_protector+y}
18692 printf %s
"(cached) " >&6
18694 ac_wine_try_cflags_saved
=$CFLAGS
18695 CFLAGS
="$CFLAGS -fno-stack-protector"
18696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 int main(int argc, char **argv) { return 0; }
18700 if ac_fn_c_try_link
"$LINENO"
18702 ac_cv_cflags__fno_stack_protector
=yes
18704 ac_cv_cflags__fno_stack_protector
=no
18706 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18707 conftest
$ac_exeext conftest.
$ac_ext
18708 CFLAGS
=$ac_wine_try_cflags_saved
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18711 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18712 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18714 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18717 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18718 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18720 printf %s
"(cached) " >&6
18722 ac_wine_try_cflags_saved
=$CFLAGS
18723 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18726 int main(int argc, char **argv) { return 0; }
18728 if ac_fn_c_try_link
"$LINENO"
18730 ac_cv_cflags__fno_strict_aliasing
=yes
18732 ac_cv_cflags__fno_strict_aliasing
=no
18734 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18735 conftest
$ac_exeext conftest.
$ac_ext
18736 CFLAGS
=$ac_wine_try_cflags_saved
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18739 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18740 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18742 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18745 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18746 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18748 printf %s
"(cached) " >&6
18750 ac_wine_try_cflags_saved
=$CFLAGS
18751 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18754 int main(int argc, char **argv) { return 0; }
18756 if ac_fn_c_try_link
"$LINENO"
18758 ac_cv_cflags__Wdeclaration_after_statement
=yes
18760 ac_cv_cflags__Wdeclaration_after_statement
=no
18762 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18763 conftest
$ac_exeext conftest.
$ac_ext
18764 CFLAGS
=$ac_wine_try_cflags_saved
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18767 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18768 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18770 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18773 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18774 if test ${ac_cv_cflags__Wempty_body+y}
18776 printf %s
"(cached) " >&6
18778 ac_wine_try_cflags_saved
=$CFLAGS
18779 CFLAGS
="$CFLAGS -Wempty-body"
18780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 int main(int argc, char **argv) { return 0; }
18784 if ac_fn_c_try_link
"$LINENO"
18786 ac_cv_cflags__Wempty_body
=yes
18788 ac_cv_cflags__Wempty_body
=no
18790 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18791 conftest
$ac_exeext conftest.
$ac_ext
18792 CFLAGS
=$ac_wine_try_cflags_saved
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18795 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18796 if test "x$ac_cv_cflags__Wempty_body" = xyes
18798 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18801 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18802 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18804 printf %s
"(cached) " >&6
18806 ac_wine_try_cflags_saved
=$CFLAGS
18807 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 int main(int argc, char **argv) { return 0; }
18812 if ac_fn_c_try_link
"$LINENO"
18814 ac_cv_cflags__Wignored_qualifiers
=yes
18816 ac_cv_cflags__Wignored_qualifiers
=no
18818 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18819 conftest
$ac_exeext conftest.
$ac_ext
18820 CFLAGS
=$ac_wine_try_cflags_saved
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18823 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18824 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18826 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18829 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18830 if test ${ac_cv_cflags__Winit_self+y}
18832 printf %s
"(cached) " >&6
18834 ac_wine_try_cflags_saved
=$CFLAGS
18835 CFLAGS
="$CFLAGS -Winit-self"
18836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 int main(int argc, char **argv) { return 0; }
18840 if ac_fn_c_try_link
"$LINENO"
18842 ac_cv_cflags__Winit_self
=yes
18844 ac_cv_cflags__Winit_self
=no
18846 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18847 conftest
$ac_exeext conftest.
$ac_ext
18848 CFLAGS
=$ac_wine_try_cflags_saved
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18851 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18852 if test "x$ac_cv_cflags__Winit_self" = xyes
18854 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18857 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18858 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18860 printf %s
"(cached) " >&6
18862 ac_wine_try_cflags_saved
=$CFLAGS
18863 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 int main(int argc, char **argv) { return 0; }
18868 if ac_fn_c_try_link
"$LINENO"
18870 ac_cv_cflags__Wpacked_not_aligned
=yes
18872 ac_cv_cflags__Wpacked_not_aligned
=no
18874 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18875 conftest
$ac_exeext conftest.
$ac_ext
18876 CFLAGS
=$ac_wine_try_cflags_saved
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18879 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18880 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18882 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18885 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18886 if test ${ac_cv_cflags__Wpragma_pack+y}
18888 printf %s
"(cached) " >&6
18890 ac_wine_try_cflags_saved
=$CFLAGS
18891 CFLAGS
="$CFLAGS -Wpragma-pack"
18892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 int main(int argc, char **argv) { return 0; }
18896 if ac_fn_c_try_link
"$LINENO"
18898 ac_cv_cflags__Wpragma_pack
=yes
18900 ac_cv_cflags__Wpragma_pack
=no
18902 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18903 conftest
$ac_exeext conftest.
$ac_ext
18904 CFLAGS
=$ac_wine_try_cflags_saved
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18907 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18908 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18910 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18913 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18914 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18916 printf %s
"(cached) " >&6
18918 ac_wine_try_cflags_saved
=$CFLAGS
18919 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 int main(int argc, char **argv) { return 0; }
18924 if ac_fn_c_try_link
"$LINENO"
18926 ac_cv_cflags__Wshift_overflow_2
=yes
18928 ac_cv_cflags__Wshift_overflow_2
=no
18930 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18931 conftest
$ac_exeext conftest.
$ac_ext
18932 CFLAGS
=$ac_wine_try_cflags_saved
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18935 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18936 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18938 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18941 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18942 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18944 printf %s
"(cached) " >&6
18946 ac_wine_try_cflags_saved
=$CFLAGS
18947 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18950 int main(int argc, char **argv) { return 0; }
18952 if ac_fn_c_try_link
"$LINENO"
18954 ac_cv_cflags__Wstrict_prototypes
=yes
18956 ac_cv_cflags__Wstrict_prototypes
=no
18958 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18959 conftest
$ac_exeext conftest.
$ac_ext
18960 CFLAGS
=$ac_wine_try_cflags_saved
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18963 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18964 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18966 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18969 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18970 if test ${ac_cv_cflags__Wtype_limits+y}
18972 printf %s
"(cached) " >&6
18974 ac_wine_try_cflags_saved
=$CFLAGS
18975 CFLAGS
="$CFLAGS -Wtype-limits"
18976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 int main(int argc, char **argv) { return 0; }
18980 if ac_fn_c_try_link
"$LINENO"
18982 ac_cv_cflags__Wtype_limits
=yes
18984 ac_cv_cflags__Wtype_limits
=no
18986 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18987 conftest
$ac_exeext conftest.
$ac_ext
18988 CFLAGS
=$ac_wine_try_cflags_saved
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18991 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18992 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18994 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18997 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18998 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19000 printf %s
"(cached) " >&6
19002 ac_wine_try_cflags_saved
=$CFLAGS
19003 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
19004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19006 int main(int argc, char **argv) { return 0; }
19008 if ac_fn_c_try_link
"$LINENO"
19010 ac_cv_cflags__Wunused_but_set_parameter
=yes
19012 ac_cv_cflags__Wunused_but_set_parameter
=no
19014 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19015 conftest
$ac_exeext conftest.
$ac_ext
19016 CFLAGS
=$ac_wine_try_cflags_saved
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19019 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19020 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19022 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19025 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19026 if test ${ac_cv_cflags__Wvla+y}
19028 printf %s
"(cached) " >&6
19030 ac_wine_try_cflags_saved
=$CFLAGS
19031 CFLAGS
="$CFLAGS -Wvla"
19032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19034 int main(int argc, char **argv) { return 0; }
19036 if ac_fn_c_try_link
"$LINENO"
19038 ac_cv_cflags__Wvla
=yes
19040 ac_cv_cflags__Wvla
=no
19042 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19043 conftest
$ac_exeext conftest.
$ac_ext
19044 CFLAGS
=$ac_wine_try_cflags_saved
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19047 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19048 if test "x$ac_cv_cflags__Wvla" = xyes
19050 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19053 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19054 if test ${ac_cv_cflags__Wwrite_strings+y}
19056 printf %s
"(cached) " >&6
19058 ac_wine_try_cflags_saved
=$CFLAGS
19059 CFLAGS
="$CFLAGS -Wwrite-strings"
19060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19061 /* end confdefs.h. */
19062 int main(int argc, char **argv) { return 0; }
19064 if ac_fn_c_try_link
"$LINENO"
19066 ac_cv_cflags__Wwrite_strings
=yes
19068 ac_cv_cflags__Wwrite_strings
=no
19070 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19071 conftest
$ac_exeext conftest.
$ac_ext
19072 CFLAGS
=$ac_wine_try_cflags_saved
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19075 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19076 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19078 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19082 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19083 if test ${ac_cv_cflags__Wpointer_arith+y}
19085 printf %s
"(cached) " >&6
19087 ac_wine_try_cflags_saved
=$CFLAGS
19088 CFLAGS
="$CFLAGS -Wpointer-arith"
19089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 int main(int argc, char **argv) { return 0; }
19093 if ac_fn_c_try_link
"$LINENO"
19095 ac_cv_cflags__Wpointer_arith
=yes
19097 ac_cv_cflags__Wpointer_arith
=no
19099 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19100 conftest
$ac_exeext conftest.
$ac_ext
19101 CFLAGS
=$ac_wine_try_cflags_saved
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19104 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19105 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19107 saved_string_h_CFLAGS
=$CFLAGS
19108 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19110 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19111 if test ${ac_cv_c_string_h_warnings+y}
19113 printf %s
"(cached) " >&6
19115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19117 #include <string.h>
19126 if ac_fn_c_try_compile
"$LINENO"
19128 ac_cv_c_string_h_warnings
=no
19130 ac_cv_c_string_h_warnings
=yes
19132 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19135 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19136 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19137 CFLAGS
=$saved_string_h_CFLAGS
19140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19141 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19142 if test ${ac_cv_cflags__Wlogical_op+y}
19144 printf %s
"(cached) " >&6
19146 ac_wine_try_cflags_saved
=$CFLAGS
19147 CFLAGS
="$CFLAGS -Wlogical-op"
19148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19149 /* end confdefs.h. */
19150 int main(int argc, char **argv) { return 0; }
19152 if ac_fn_c_try_link
"$LINENO"
19154 ac_cv_cflags__Wlogical_op
=yes
19156 ac_cv_cflags__Wlogical_op
=no
19158 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19159 conftest
$ac_exeext conftest.
$ac_ext
19160 CFLAGS
=$ac_wine_try_cflags_saved
19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19163 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19164 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19166 saved_string_h_CFLAGS
=$CFLAGS
19167 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19169 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19170 if test ${ac_cv_c_logicalop_noisy+y}
19172 printf %s
"(cached) " >&6
19174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 #include <string.h>
19177 char*f(const char *h,char n) {return strchr(h,n);}
19186 if ac_fn_c_try_compile
"$LINENO"
19188 ac_cv_c_logicalop_noisy
=no
19190 ac_cv_c_logicalop_noisy
=yes
19192 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19195 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19196 CFLAGS
=$saved_string_h_CFLAGS
19197 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19201 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19202 if test ${wine_cv_64bit_compare_swap+y}
19204 printf %s
"(cached) " >&6
19206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19208 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19219 if ac_fn_c_try_compile
"$LINENO"
19221 wine_cv_64bit_compare_swap
="none needed"
19224 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19225 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19226 *) wine_cv_64bit_compare_swap
="unknown" ;;
19228 if test "x$wine_cv_64bit_compare_swap" != xunknown
19230 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19233 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19244 if ac_fn_c_try_compile
"$LINENO"
19248 wine_cv_64bit_compare_swap
="unknown"
19250 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19251 CFLAGS
=$saved_CFLAGS
19254 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19257 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19258 case "$wine_cv_64bit_compare_swap" in
19259 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19261 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19264 ac_debug_format_seen
=""
19265 for ac_flag
in $CFLAGS; do
19267 -gdwarf*) ac_debug_format_seen
=yes ;;
19268 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19271 if test "x$ac_debug_format_seen" = xdefault
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19274 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19275 if test ${ac_cv_cflags__gdwarf_4+y}
19277 printf %s
"(cached) " >&6
19279 ac_wine_try_cflags_saved
=$CFLAGS
19280 CFLAGS
="$CFLAGS -gdwarf-4"
19281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19283 int main(int argc, char **argv) { return 0; }
19285 if ac_fn_c_try_link
"$LINENO"
19287 ac_cv_cflags__gdwarf_4
=yes
19289 ac_cv_cflags__gdwarf_4
=no
19291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19292 conftest
$ac_exeext conftest.
$ac_ext
19293 CFLAGS
=$ac_wine_try_cflags_saved
19295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19296 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19297 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19299 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19306 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19307 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19308 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19310 printf %s
"(cached) " >&6
19312 ac_wine_try_cflags_saved
=$CFLAGS
19313 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19315 /* end confdefs.h. */
19316 int main(int argc, char **argv) { return 0; }
19318 if ac_fn_c_try_link
"$LINENO"
19320 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19322 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19324 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19325 conftest
$ac_exeext conftest.
$ac_ext
19326 CFLAGS
=$ac_wine_try_cflags_saved
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19329 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19330 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19332 DELAYLOADFLAG
="-Wl,-delayload,"
19335 *) MSVCRTFLAGS
="-D_WIN32"
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19337 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19338 if test ${ac_cv_cflags__fno_builtin+y}
19340 printf %s
"(cached) " >&6
19342 ac_wine_try_cflags_saved
=$CFLAGS
19343 CFLAGS
="$CFLAGS -fno-builtin"
19344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19346 int main(int argc, char **argv) { return 0; }
19348 if ac_fn_c_try_link
"$LINENO"
19350 ac_cv_cflags__fno_builtin
=yes
19352 ac_cv_cflags__fno_builtin
=no
19354 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19355 conftest
$ac_exeext conftest.
$ac_ext
19356 CFLAGS
=$ac_wine_try_cflags_saved
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19359 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19360 if test "x$ac_cv_cflags__fno_builtin" = xyes
19362 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19365 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19366 if test ${ac_cv_cflags__fshort_wchar+y}
19368 printf %s
"(cached) " >&6
19370 ac_wine_try_cflags_saved
=$CFLAGS
19371 CFLAGS
="$CFLAGS -fshort-wchar"
19372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 int main(int argc, char **argv) { return 0; }
19376 if ac_fn_c_try_link
"$LINENO"
19378 ac_cv_cflags__fshort_wchar
=yes
19380 ac_cv_cflags__fshort_wchar
=no
19382 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19383 conftest
$ac_exeext conftest.
$ac_ext
19384 CFLAGS
=$ac_wine_try_cflags_saved
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19387 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19388 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19390 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19393 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19394 if test ${ac_cv_cflags__fvisibility_hidden+y}
19396 printf %s
"(cached) " >&6
19398 ac_wine_try_cflags_saved
=$CFLAGS
19399 CFLAGS
="$CFLAGS -fvisibility=hidden"
19400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 int main(int argc, char **argv) { return 0; }
19404 if ac_fn_c_try_link
"$LINENO"
19406 ac_cv_cflags__fvisibility_hidden
=yes
19408 ac_cv_cflags__fvisibility_hidden
=no
19410 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19411 conftest
$ac_exeext conftest.
$ac_ext
19412 CFLAGS
=$ac_wine_try_cflags_saved
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19415 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19416 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19418 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19421 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19422 if test ${ac_cv_cflags__Wno_format+y}
19424 printf %s
"(cached) " >&6
19426 ac_wine_try_cflags_saved
=$CFLAGS
19427 CFLAGS
="$CFLAGS -Wno-format"
19428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19429 /* end confdefs.h. */
19430 int main(int argc, char **argv) { return 0; }
19432 if ac_fn_c_try_link
"$LINENO"
19434 ac_cv_cflags__Wno_format
=yes
19436 ac_cv_cflags__Wno_format
=no
19438 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19439 conftest
$ac_exeext conftest.
$ac_ext
19440 CFLAGS
=$ac_wine_try_cflags_saved
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19443 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19444 if test "x$ac_cv_cflags__Wno_format" = xyes
19446 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19451 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19452 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19453 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19455 printf %s
"(cached) " >&6
19457 ac_wine_try_cflags_saved
=$CFLAGS
19458 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19460 /* end confdefs.h. */
19461 int main(int argc, char **argv) { return 0; }
19463 if ac_fn_c_try_link
"$LINENO"
19465 ac_cv_cflags__fno_omit_frame_pointer
=yes
19467 ac_cv_cflags__fno_omit_frame_pointer
=no
19469 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19470 conftest
$ac_exeext conftest.
$ac_ext
19471 CFLAGS
=$ac_wine_try_cflags_saved
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19474 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19475 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19477 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19481 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19482 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19483 if test ${ac_cv_cflags__Wno_format+y}
19485 printf %s
"(cached) " >&6
19487 ac_wine_try_cflags_saved
=$CFLAGS
19488 CFLAGS
="$CFLAGS -Wno-format"
19489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 int main(int argc, char **argv) { return 0; }
19493 if ac_fn_c_try_link
"$LINENO"
19495 ac_cv_cflags__Wno_format
=yes
19497 ac_cv_cflags__Wno_format
=no
19499 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19500 conftest
$ac_exeext conftest.
$ac_ext
19501 CFLAGS
=$ac_wine_try_cflags_saved
19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19504 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19505 if test "x$ac_cv_cflags__Wno_format" = xyes
19507 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19509 *) if test -z "$PE_ARCHS"
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19512 printf %s
"checking for working -mabi=ms... " >&6; }
19513 if test ${ac_cv_mabi_ms+y}
19515 printf %s
"(cached) " >&6
19517 CFLAGS
="$CFLAGS -mabi=ms"
19518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 #include <stdarg.h>
19521 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19530 if ac_fn_c_try_compile
"$LINENO"
19536 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19537 CFLAGS
=$saved_CFLAGS
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19540 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19541 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
19543 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19547 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19548 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19550 printf %s
"(cached) " >&6
19552 ac_wine_try_cflags_saved
=$CFLAGS
19553 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 int main(int argc, char **argv) { return 0; }
19558 if ac_fn_c_try_link
"$LINENO"
19560 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19562 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19564 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19565 conftest
$ac_exeext conftest.
$ac_ext
19566 CFLAGS
=$ac_wine_try_cflags_saved
19568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19569 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19570 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19572 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19576 CFLAGS
=$saved_CFLAGS
19578 if test "x$enable_werror" = "xyes"
19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19581 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19582 if test ${ac_cv_cflags__Werror+y}
19584 printf %s
"(cached) " >&6
19586 ac_wine_try_cflags_saved
=$CFLAGS
19587 CFLAGS
="$CFLAGS -Werror"
19588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590 int main(int argc, char **argv) { return 0; }
19592 if ac_fn_c_try_link
"$LINENO"
19594 ac_cv_cflags__Werror
=yes
19596 ac_cv_cflags__Werror
=no
19598 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19599 conftest
$ac_exeext conftest.
$ac_ext
19600 CFLAGS
=$ac_wine_try_cflags_saved
19602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19603 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19604 if test "x$ac_cv_cflags__Werror" = xyes
19606 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19609 if test "x$enable_build_id" = "xyes"
19611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19612 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19613 if test ${ac_cv_cflags__Wl___build_id+y}
19615 printf %s
"(cached) " >&6
19617 ac_wine_try_cflags_saved
=$CFLAGS
19618 CFLAGS
="$CFLAGS -Wl,--build-id"
19619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19621 int main(int argc, char **argv) { return 0; }
19623 if ac_fn_c_try_link
"$LINENO"
19625 ac_cv_cflags__Wl___build_id
=yes
19627 ac_cv_cflags__Wl___build_id
=no
19629 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19630 conftest
$ac_exeext conftest.
$ac_ext
19631 CFLAGS
=$ac_wine_try_cflags_saved
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19634 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19635 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19637 CFLAGS
="$CFLAGS -Wl,--build-id"
19638 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19645 printf %s
"checking for the need to disable Fortify... " >&6; }
19646 if test ${ac_cv_c_fortify_enabled+y}
19648 printf %s
"(cached) " >&6
19650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19652 #include <string.h>
19656 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19657 #error Fortify enabled
19663 if ac_fn_c_try_compile
"$LINENO"
19665 ac_cv_c_fortify_enabled
=no
19667 ac_cv_c_fortify_enabled
=yes
19669 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19672 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19673 if test "$ac_cv_c_fortify_enabled" = yes
19675 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19680 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19681 if test ${ac_cv_c_cfi_support+y}
19683 printf %s
"(cached) " >&6
19685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19686 /* end confdefs.h. */
19687 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19696 if ac_fn_c_try_compile
"$LINENO"
19698 ac_cv_c_cfi_support
="yes"
19700 ac_cv_c_cfi_support
="no"
19702 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19705 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19706 if test "$ac_cv_c_cfi_support" = "yes"
19708 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19709 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19710 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19711 elif test $HOST_ARCH = x86_64
19713 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19717 case "$HOST_ARCH,$PE_ARCHS" in
19718 x86_64
,*i386
*) wine_binary
="wine" ;;
19719 x86_64
,*) wine_binary
="wine64" ;;
19720 *) wine_binary
="wine" ;;
19722 WINELOADER_PROGRAMS
="$wine_binary"
19728 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19729 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19730 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19735 if test "$wine_can_build_preloader" = "yes"
19737 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19738 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19745 printf %s
"checking for library containing dlopen... " >&6; }
19746 if test ${ac_cv_search_dlopen+y}
19748 printf %s
"(cached) " >&6
19750 ac_func_search_save_LIBS
=$LIBS
19751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19754 /* Override any GCC internal prototype to avoid an error.
19755 Use char because int might match the return type of a GCC
19756 builtin and then its argument prototype would still apply. */
19766 for ac_lib
in '' dl
19768 if test -z "$ac_lib"; then
19769 ac_res
="none required"
19772 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19774 if ac_fn_c_try_link
"$LINENO"
19776 ac_cv_search_dlopen
=$ac_res
19778 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19780 if test ${ac_cv_search_dlopen+y}
19785 if test ${ac_cv_search_dlopen+y}
19789 ac_cv_search_dlopen
=no
19791 rm conftest.
$ac_ext
19792 LIBS
=$ac_func_search_save_LIBS
19794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19795 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19796 ac_res
=$ac_cv_search_dlopen
19797 if test "$ac_res" != no
19799 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19805 printf %s
"checking for library containing gethostbyname... " >&6; }
19806 if test ${ac_cv_search_gethostbyname+y}
19808 printf %s
"(cached) " >&6
19810 ac_func_search_save_LIBS
=$LIBS
19811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19812 /* end confdefs.h. */
19814 /* Override any GCC internal prototype to avoid an error.
19815 Use char because int might match the return type of a GCC
19816 builtin and then its argument prototype would still apply. */
19817 char gethostbyname ();
19821 return gethostbyname ();
19826 for ac_lib
in '' nsl
19828 if test -z "$ac_lib"; then
19829 ac_res
="none required"
19832 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19834 if ac_fn_c_try_link
"$LINENO"
19836 ac_cv_search_gethostbyname
=$ac_res
19838 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19840 if test ${ac_cv_search_gethostbyname+y}
19845 if test ${ac_cv_search_gethostbyname+y}
19849 ac_cv_search_gethostbyname
=no
19851 rm conftest.
$ac_ext
19852 LIBS
=$ac_func_search_save_LIBS
19854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19855 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19856 ac_res
=$ac_cv_search_gethostbyname
19857 if test "$ac_res" != no
19859 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19865 printf %s
"checking for library containing connect... " >&6; }
19866 if test ${ac_cv_search_connect+y}
19868 printf %s
"(cached) " >&6
19870 ac_func_search_save_LIBS
=$LIBS
19871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19874 /* Override any GCC internal prototype to avoid an error.
19875 Use char because int might match the return type of a GCC
19876 builtin and then its argument prototype would still apply. */
19886 for ac_lib
in '' socket
19888 if test -z "$ac_lib"; then
19889 ac_res
="none required"
19892 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19894 if ac_fn_c_try_link
"$LINENO"
19896 ac_cv_search_connect
=$ac_res
19898 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19900 if test ${ac_cv_search_connect+y}
19905 if test ${ac_cv_search_connect+y}
19909 ac_cv_search_connect
=no
19911 rm conftest.
$ac_ext
19912 LIBS
=$ac_func_search_save_LIBS
19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19915 printf "%s\n" "$ac_cv_search_connect" >&6; }
19916 ac_res
=$ac_cv_search_connect
19917 if test "$ac_res" != no
19919 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19925 printf %s
"checking for library containing inet_aton... " >&6; }
19926 if test ${ac_cv_search_inet_aton+y}
19928 printf %s
"(cached) " >&6
19930 ac_func_search_save_LIBS
=$LIBS
19931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19934 /* Override any GCC internal prototype to avoid an error.
19935 Use char because int might match the return type of a GCC
19936 builtin and then its argument prototype would still apply. */
19941 return inet_aton ();
19946 for ac_lib
in '' resolv
19948 if test -z "$ac_lib"; then
19949 ac_res
="none required"
19952 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19954 if ac_fn_c_try_link
"$LINENO"
19956 ac_cv_search_inet_aton
=$ac_res
19958 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19960 if test ${ac_cv_search_inet_aton+y}
19965 if test ${ac_cv_search_inet_aton+y}
19969 ac_cv_search_inet_aton
=no
19971 rm conftest.
$ac_ext
19972 LIBS
=$ac_func_search_save_LIBS
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19975 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19976 ac_res
=$ac_cv_search_inet_aton
19977 if test "$ac_res" != no
19979 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19984 ac_save_CFLAGS
="$CFLAGS"
19985 CFLAGS
="$CFLAGS $BUILTINFLAG"
19986 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19987 if test "x$ac_cv_func_dladdr1" = xyes
19989 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19992 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19993 if test "x$ac_cv_func_dlinfo" = xyes
19995 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19998 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19999 if test "x$ac_cv_func_epoll_create" = xyes
20001 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20004 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20005 if test "x$ac_cv_func_fstatfs" = xyes
20007 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20010 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
20011 if test "x$ac_cv_func_futimens" = xyes
20013 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20016 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
20017 if test "x$ac_cv_func_futimes" = xyes
20019 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20022 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
20023 if test "x$ac_cv_func_futimesat" = xyes
20025 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20028 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20029 if test "x$ac_cv_func_getaddrinfo" = xyes
20031 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20034 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20035 if test "x$ac_cv_func_getattrlist" = xyes
20037 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20040 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20041 if test "x$ac_cv_func_getauxval" = xyes
20043 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20046 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20047 if test "x$ac_cv_func_getifaddrs" = xyes
20049 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20052 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20053 if test "x$ac_cv_func_getrandom" = xyes
20055 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20058 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20059 if test "x$ac_cv_func_kqueue" = xyes
20061 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20064 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20065 if test "x$ac_cv_func_mach_continuous_time" = xyes
20067 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20070 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20071 if test "x$ac_cv_func_pipe2" = xyes
20073 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20076 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20077 if test "x$ac_cv_func_port_create" = xyes
20079 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20082 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20083 if test "x$ac_cv_func_posix_fadvise" = xyes
20085 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20088 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20089 if test "x$ac_cv_func_posix_fallocate" = xyes
20091 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20094 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20095 if test "x$ac_cv_func_prctl" = xyes
20097 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20100 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20101 if test "x$ac_cv_func_proc_pidinfo" = xyes
20103 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20106 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20107 if test "x$ac_cv_func_sched_yield" = xyes
20109 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20112 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20113 if test "x$ac_cv_func_setproctitle" = xyes
20115 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20118 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20119 if test "x$ac_cv_func_setprogname" = xyes
20121 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20124 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20125 if test "x$ac_cv_func_sigprocmask" = xyes
20127 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20130 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20131 if test "x$ac_cv_func_sysinfo" = xyes
20133 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20136 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20137 if test "x$ac_cv_func_tcdrain" = xyes
20139 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20142 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20143 if test "x$ac_cv_func_thr_kill2" = xyes
20145 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20149 CFLAGS
="$ac_save_CFLAGS"
20152 darwin
*|macosx
*) ;;
20153 *) ac_save_LIBS
=$LIBS
20154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20155 printf %s
"checking for library containing clock_gettime... " >&6; }
20156 if test ${ac_cv_search_clock_gettime+y}
20158 printf %s
"(cached) " >&6
20160 ac_func_search_save_LIBS
=$LIBS
20161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h. */
20164 /* Override any GCC internal prototype to avoid an error.
20165 Use char because int might match the return type of a GCC
20166 builtin and then its argument prototype would still apply. */
20167 char clock_gettime ();
20171 return clock_gettime ();
20176 for ac_lib
in '' rt
20178 if test -z "$ac_lib"; then
20179 ac_res
="none required"
20182 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20184 if ac_fn_c_try_link
"$LINENO"
20186 ac_cv_search_clock_gettime
=$ac_res
20188 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20190 if test ${ac_cv_search_clock_gettime+y}
20195 if test ${ac_cv_search_clock_gettime+y}
20199 ac_cv_search_clock_gettime
=no
20201 rm conftest.
$ac_ext
20202 LIBS
=$ac_func_search_save_LIBS
20204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20205 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20206 ac_res
=$ac_cv_search_clock_gettime
20207 if test "$ac_res" != no
20209 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20211 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20213 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20222 printf %s
"checking for sched_setaffinity... " >&6; }
20223 if test ${wine_cv_have_sched_setaffinity+y}
20225 printf %s
"(cached) " >&6
20227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20233 sched_setaffinity(0, 0, 0);
20238 if ac_fn_c_try_link
"$LINENO"
20240 wine_cv_have_sched_setaffinity
=yes
20242 wine_cv_have_sched_setaffinity
=no
20244 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20245 conftest
$ac_exeext conftest.
$ac_ext
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20248 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20249 if test "$wine_cv_have_sched_setaffinity" = "yes"
20252 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20258 printf %s
"checking for inline... " >&6; }
20259 if test ${ac_cv_c_inline+y}
20261 printf %s
"(cached) " >&6
20264 for ac_kw
in inline __inline__ __inline
; do
20265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20266 /* end confdefs.h. */
20267 #ifndef __cplusplus
20269 static $ac_kw foo_t static_foo (void) {return 0; }
20270 $ac_kw foo_t foo (void) {return 0; }
20274 if ac_fn_c_try_compile
"$LINENO"
20276 ac_cv_c_inline
=$ac_kw
20278 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20279 test "$ac_cv_c_inline" != no
&& break
20283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20284 printf "%s\n" "$ac_cv_c_inline" >&6; }
20286 case $ac_cv_c_inline in
20289 case $ac_cv_c_inline in
20291 *) ac_val
=$ac_cv_c_inline;;
20293 cat >>confdefs.h
<<_ACEOF
20294 #ifndef __cplusplus
20295 #define inline $ac_val
20301 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20303 if test "x$ac_cv_type_request_sense" = xyes
20306 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20312 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20313 #include <sys/socket.h>
20314 #ifdef HAVE_SYS_SOCKETVAR_H
20315 #include <sys/socketvar.h>
20317 #ifdef HAVE_NET_ROUTE_H
20318 #include <net/route.h>
20320 #ifdef HAVE_NETINET_IN_H
20321 #include <netinet/in.h>
20323 #ifdef HAVE_NETINET_IN_SYSTM_H
20324 #include <netinet/in_systm.h>
20326 #ifdef HAVE_NETINET_IP_H
20327 #include <netinet/ip.h>
20329 #ifdef HAVE_NETINET_IN_PCB_H
20330 #include <netinet/in_pcb.h>
20333 if test "x$ac_cv_type_struct_xinpgen" = xyes
20336 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20343 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20344 if test ${wine_cv_linux_gethostbyname_r_6+y}
20346 printf %s
"(cached) " >&6
20348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20357 struct hostent *result;
20364 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20365 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20371 if ac_fn_c_try_link
"$LINENO"
20373 wine_cv_linux_gethostbyname_r_6
=yes
20375 wine_cv_linux_gethostbyname_r_6
=no
20378 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20379 conftest
$ac_exeext conftest.
$ac_ext
20382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20383 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20384 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20387 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20391 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20392 #include <sys/socket.h>
20393 #ifdef HAVE_SYS_UN_H
20394 # include <sys/un.h>
20397 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20400 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20404 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20405 #include <sys/socket.h>
20406 #ifdef HAVE_SYS_UN_H
20407 # include <sys/un.h>
20410 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20413 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20419 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20420 #ifdef HAVE_SCSI_SG_H
20421 #include <scsi/sg.h>
20424 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20427 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20431 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>
20432 #ifdef HAVE_SCSI_SG_H
20433 #include <scsi/sg.h>
20436 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20439 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20445 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20447 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20450 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20456 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20457 #ifdef HAVE_SYS_MTIO_H
20458 #include <sys/mtio.h>
20461 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20464 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20468 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20469 #ifdef HAVE_SYS_MTIO_H
20470 #include <sys/mtio.h>
20473 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20476 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20480 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20481 #ifdef HAVE_SYS_MTIO_H
20482 #include <sys/mtio.h>
20485 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20488 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20494 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20495 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20498 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20502 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20503 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20506 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20510 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20511 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20514 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20518 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20519 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20522 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20526 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20527 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20530 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20534 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20535 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20538 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20542 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20543 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20546 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20550 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20551 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20554 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20558 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20559 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20562 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20566 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20567 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20570 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20574 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20575 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20578 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20584 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>
20585 #ifdef HAVE_NETINET_IN_H
20586 #include <netinet/in.h>
20589 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20592 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20598 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
20599 #include <resolv.h>
20602 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20605 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20611 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20612 #include <netinet/in.h>
20615 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20618 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20624 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_SOCKETVAR_H
20626 #include <sys/socketvar.h>
20628 #ifdef HAVE_NETINET_IN_H
20629 #include <netinet/in.h>
20631 #ifdef HAVE_NETINET_IP_VAR_H
20632 #include <netinet/ip_var.h>
20635 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20638 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20644 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
20645 #include <netinet/ip_var.h>
20648 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20651 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20657 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20658 #ifdef HAVE_SYS_SOCKETVAR_H
20659 #include <sys/socketvar.h>
20661 #ifdef HAVE_NETINET_IN_H
20662 #include <netinet/in.h>
20664 #ifdef HAVE_NETINET6_IP6_VAR_H
20665 #include <netinet6/ip6_var.h>
20668 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20671 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20677 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20678 #ifdef HAVE_SYS_SOCKETVAR_H
20679 #include <sys/socketvar.h>
20681 #ifdef HAVE_NETINET_IN_H
20682 #include <netinet/in.h>
20684 #ifdef HAVE_NETINET_IP_H
20685 #include <netinet/ip.h>
20687 #ifdef HAVE_NETINET_IP_ICMP_H
20688 #include <netinet/ip_icmp.h>
20690 #ifdef HAVE_NETINET_ICMP_VAR_H
20691 #include <netinet/icmp_var.h>
20694 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20697 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20703 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20704 #ifdef HAVE_SYS_SOCKETVAR_H
20705 #include <sys/socketvar.h>
20707 #ifdef HAVE_NETINET_IN_H
20708 #include <netinet/in.h>
20710 #ifdef HAVE_NETINET_ICMP6_H
20711 #include <netinet/icmp6.h>
20714 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20717 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20723 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20724 #ifdef HAVE_SYS_SOCKETVAR_H
20725 #include <sys/socketvar.h>
20727 #ifdef HAVE_NETINET_IN_H
20728 #include <netinet/in.h>
20730 #ifdef HAVE_NETINET_TCP_H
20731 #include <netinet/tcp.h>
20733 #ifdef HAVE_NETINET_TCP_VAR_H
20734 #include <netinet/tcp_var.h>
20737 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20740 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20746 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
20747 #include <netinet/tcp_var.h>
20750 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20753 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20759 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20760 #ifdef HAVE_NETINET_IN_H
20761 #include <netinet/in.h>
20763 #ifdef HAVE_NETINET_IP_VAR_H
20764 #include <netinet/ip_var.h>
20766 #ifdef HAVE_NETINET_UDP_H
20767 #include <netinet/udp.h>
20769 #ifdef HAVE_NETINET_UDP_VAR_H
20770 #include <netinet/udp_var.h>
20773 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20776 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20782 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20783 #ifdef HAVE_NET_IF_H
20784 # include <net/if.h>
20787 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20790 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20796 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20797 # include <sys/sysinfo.h>
20800 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20803 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20807 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20808 # include <sys/sysinfo.h>
20811 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20814 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20820 LIBS
="$ac_save_LIBS"
20822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20823 printf %s
"checking for __builtin_popcount... " >&6; }
20824 if test ${ac_cv_have___builtin_popcount+y}
20826 printf %s
"(cached) " >&6
20828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20834 return __builtin_popcount(1)
20839 if ac_fn_c_try_link
"$LINENO"
20841 ac_cv_have___builtin_popcount
="yes"
20843 ac_cv_have___builtin_popcount
="no"
20845 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20846 conftest
$ac_exeext conftest.
$ac_ext
20848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20849 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20850 if test "$ac_cv_have___builtin_popcount" = "yes"
20853 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20858 printf %s
"checking for __clear_cache... " >&6; }
20859 if test ${ac_cv_have___clear_cache+y}
20861 printf %s
"(cached) " >&6
20863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20869 __clear_cache((void*)0, (void*)0); return 0;
20874 if ac_fn_c_try_link
"$LINENO"
20876 ac_cv_have___clear_cache
="yes"
20878 ac_cv_have___clear_cache
="no"
20880 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20881 conftest
$ac_exeext conftest.
$ac_ext
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20884 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20885 if test "$ac_cv_have___clear_cache" = "yes"
20888 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20894 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20895 printf %s
"checking whether we need to define __i386__... " >&6; }
20896 if test ${ac_cv_cpp_def___i386__+y}
20898 printf %s
"(cached) " >&6
20900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20907 $EGREP "yes" >/dev
/null
2>&1
20909 ac_cv_cpp_def___i386__
=yes
20911 ac_cv_cpp_def___i386__
=no
20916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20917 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20918 if test "x$ac_cv_cpp_def___i386__" = xyes
20920 CFLAGS
="$CFLAGS -D__i386__"
20921 LINTFLAGS
="$LINTFLAGS -D__i386__"
20923 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20924 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20925 if test ${ac_cv_cpp_def___x86_64__+y}
20927 printf %s
"(cached) " >&6
20929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20936 $EGREP "yes" >/dev
/null
2>&1
20938 ac_cv_cpp_def___x86_64__
=yes
20940 ac_cv_cpp_def___x86_64__
=no
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20946 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20947 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20949 CFLAGS
="$CFLAGS -D__x86_64__"
20950 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20952 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20953 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20954 if test ${ac_cv_cpp_def___sparc64__+y}
20956 printf %s
"(cached) " >&6
20958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20960 #ifndef __sparc64__
20964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20965 $EGREP "yes" >/dev
/null
2>&1
20967 ac_cv_cpp_def___sparc64__
=yes
20969 ac_cv_cpp_def___sparc64__
=no
20974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20975 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20976 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20978 CFLAGS
="$CFLAGS -D__sparc64__"
20979 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20981 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20982 printf %s
"checking whether we need to define __sparc__... " >&6; }
20983 if test ${ac_cv_cpp_def___sparc__+y}
20985 printf %s
"(cached) " >&6
20987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20994 $EGREP "yes" >/dev
/null
2>&1
20996 ac_cv_cpp_def___sparc__
=yes
20998 ac_cv_cpp_def___sparc__
=no
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21004 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21005 if test "x$ac_cv_cpp_def___sparc__" = xyes
21007 CFLAGS
="$CFLAGS -D__sparc__"
21008 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21010 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21011 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21012 if test ${ac_cv_cpp_def___powerpc64__+y}
21014 printf %s
"(cached) " >&6
21016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21018 #ifndef __powerpc64__
21022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21023 $EGREP "yes" >/dev
/null
2>&1
21025 ac_cv_cpp_def___powerpc64__
=yes
21027 ac_cv_cpp_def___powerpc64__
=no
21032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21033 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21034 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21036 CFLAGS
="$CFLAGS -D__powerpc64__"
21037 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21039 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21040 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21041 if test ${ac_cv_cpp_def___powerpc__+y}
21043 printf %s
"(cached) " >&6
21045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21047 #ifndef __powerpc__
21051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21052 $EGREP "yes" >/dev
/null
2>&1
21054 ac_cv_cpp_def___powerpc__
=yes
21056 ac_cv_cpp_def___powerpc__
=no
21061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21062 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21063 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21065 CFLAGS
="$CFLAGS -D__powerpc__"
21066 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21068 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21069 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21070 if test ${ac_cv_cpp_def___aarch64__+y}
21072 printf %s
"(cached) " >&6
21074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21075 /* end confdefs.h. */
21076 #ifndef __aarch64__
21080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21081 $EGREP "yes" >/dev
/null
2>&1
21083 ac_cv_cpp_def___aarch64__
=yes
21085 ac_cv_cpp_def___aarch64__
=no
21090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21091 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21092 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21094 CFLAGS
="$CFLAGS -D__aarch64__"
21095 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21097 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21098 printf %s
"checking whether we need to define __arm__... " >&6; }
21099 if test ${ac_cv_cpp_def___arm__+y}
21101 printf %s
"(cached) " >&6
21103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21110 $EGREP "yes" >/dev
/null
2>&1
21112 ac_cv_cpp_def___arm__
=yes
21114 ac_cv_cpp_def___arm__
=no
21119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21120 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21121 if test "x$ac_cv_cpp_def___arm__" = xyes
21123 CFLAGS
="$CFLAGS -D__arm__"
21124 LINTFLAGS
="$LINTFLAGS -D__arm__"
21128 case $host_vendor in
21129 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21130 printf %s
"checking whether we need to define __sun__... " >&6; }
21131 if test ${ac_cv_cpp_def___sun__+y}
21133 printf %s
"(cached) " >&6
21135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21142 $EGREP "yes" >/dev
/null
2>&1
21144 ac_cv_cpp_def___sun__
=yes
21146 ac_cv_cpp_def___sun__
=no
21151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21152 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21153 if test "x$ac_cv_cpp_def___sun__" = xyes
21155 CFLAGS
="$CFLAGS -D__sun__"
21156 LINTFLAGS
="$LINTFLAGS -D__sun__"
21164 ac_config_commands
="$ac_config_commands include/stamp-h"
21166 printf %s
"creating Makefile rules..." >&6
21169 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21172 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21174 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21175 wine_fn_config_symlink wine
21176 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21177 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21178 wine_fn_config_symlink wine64
21181 wine_fn_config_makefile dlls
/acledit enable_acledit
21182 wine_fn_config_makefile dlls
/aclui enable_aclui
21183 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21184 wine_fn_config_makefile dlls
/activeds enable_activeds
21185 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21186 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21187 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21188 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21189 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21190 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21191 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21192 wine_fn_config_makefile dlls
/advpack enable_advpack
21193 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21194 wine_fn_config_makefile dlls
/amsi enable_amsi
21195 wine_fn_config_makefile dlls
/amstream enable_amstream
21196 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21197 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21198 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21199 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21200 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21201 wine_fn_config_makefile dlls
/atl enable_atl
21202 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21203 wine_fn_config_makefile dlls
/atl100 enable_atl100
21204 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21205 wine_fn_config_makefile dlls
/atl110 enable_atl110
21206 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21207 wine_fn_config_makefile dlls
/atl80 enable_atl80
21208 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21209 wine_fn_config_makefile dlls
/atl90 enable_atl90
21210 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21211 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21212 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21213 wine_fn_config_makefile dlls
/authz enable_authz
21214 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21215 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21216 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21217 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21218 wine_fn_config_makefile dlls
/avrt enable_avrt
21219 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21220 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21221 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21222 wine_fn_config_makefile dlls
/browseui enable_browseui
21223 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21224 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21225 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21226 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21227 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21228 wine_fn_config_makefile dlls
/cards enable_cards
21229 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21230 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21231 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21232 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21233 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21234 wine_fn_config_makefile dlls
/combase enable_combase
21235 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21236 wine_fn_config_makefile dlls
/comcat enable_comcat
21237 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21238 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21239 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21240 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21241 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21242 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21243 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21244 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21245 wine_fn_config_makefile dlls
/compstui enable_compstui
21246 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21247 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21248 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21249 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21250 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21251 wine_fn_config_makefile dlls
/connect enable_connect
21252 wine_fn_config_makefile dlls
/credui enable_credui
21253 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21254 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21255 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21256 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21257 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21258 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21259 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21260 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21261 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21262 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21263 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21264 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21265 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21266 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21267 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21268 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21269 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21270 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21271 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21272 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21273 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21274 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21275 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21276 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21277 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21278 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21279 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21280 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21281 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21282 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21283 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21284 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21285 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21286 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21287 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21288 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21289 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21290 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21291 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21292 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21293 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21294 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21295 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21296 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21297 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21298 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21299 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21300 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21301 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21302 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21303 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21304 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21305 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21306 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21307 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21308 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21309 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21310 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21311 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21312 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21313 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21314 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21315 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21316 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21317 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21318 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21319 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21320 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21321 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21322 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21323 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21324 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21325 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21326 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21327 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21328 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21329 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21330 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21331 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21332 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21333 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21334 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21335 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21336 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21337 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21338 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21339 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21340 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21341 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21342 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21343 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21344 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21345 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21346 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21347 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21348 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21349 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21350 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21351 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21352 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21353 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21354 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21355 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21356 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21357 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21358 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21359 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21360 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21361 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21362 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21363 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21364 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21365 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21366 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21367 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21368 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21369 wine_fn_config_makefile dlls
/devenum enable_devenum
21370 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21371 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21372 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21373 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21374 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21375 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21376 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21377 wine_fn_config_makefile dlls
/dinput enable_dinput
21378 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21379 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21380 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21381 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21382 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21383 wine_fn_config_makefile dlls
/dispex enable_dispex
21384 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21385 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21386 wine_fn_config_makefile dlls
/dmband enable_dmband
21387 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21388 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21389 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21390 wine_fn_config_makefile dlls
/dmime enable_dmime
21391 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21392 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21393 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21394 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21395 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21396 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21397 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21398 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21399 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21400 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21401 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21402 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21403 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21404 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21405 wine_fn_config_makefile dlls
/dplay enable_dplay
21406 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21407 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21408 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21409 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21410 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21411 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21412 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21413 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21414 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21415 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21416 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21417 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21418 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21419 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21420 wine_fn_config_makefile dlls
/dsound enable_dsound
21421 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21422 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21423 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21424 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21425 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21426 wine_fn_config_makefile dlls
/dswave enable_dswave
21427 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21428 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21429 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21430 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21431 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21432 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21433 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21434 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21435 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21436 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21437 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21438 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21439 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21440 wine_fn_config_makefile dlls
/esent enable_esent
21441 wine_fn_config_makefile dlls
/evr enable_evr
21442 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21443 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21444 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21445 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21446 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21447 wine_fn_config_makefile dlls
/feclient enable_feclient
21448 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21449 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21450 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21451 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21452 wine_fn_config_makefile dlls
/fusion enable_fusion
21453 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21454 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21455 wine_fn_config_makefile dlls
/gameux enable_gameux
21456 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21457 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21458 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21459 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21460 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21461 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21462 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21463 wine_fn_config_makefile dlls
/glu32 enable_glu32
21464 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21465 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21466 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21467 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21468 wine_fn_config_makefile dlls
/hal enable_hal
21469 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21470 wine_fn_config_makefile dlls
/hid enable_hid
21471 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21472 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21473 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21474 wine_fn_config_makefile dlls
/hlink enable_hlink
21475 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21476 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21477 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21478 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21479 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21480 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21481 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21482 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21483 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21484 wine_fn_config_makefile dlls
/icmp enable_icmp
21485 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21486 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21487 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21488 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21489 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21490 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21491 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21492 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21493 wine_fn_config_makefile dlls
/imm32 enable_imm32
21494 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21495 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21496 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21497 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21498 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21499 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21500 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21501 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21502 wine_fn_config_makefile dlls
/initpki enable_initpki
21503 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21504 wine_fn_config_makefile dlls
/inseng enable_inseng
21505 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21506 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21507 wine_fn_config_makefile dlls
/iprop enable_iprop
21508 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21509 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21510 wine_fn_config_makefile dlls
/itircl enable_itircl
21511 wine_fn_config_makefile dlls
/itss enable_itss
21512 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21513 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21514 wine_fn_config_makefile dlls
/jscript enable_jscript
21515 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21516 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21517 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21518 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21519 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21520 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21521 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21522 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21523 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21524 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21525 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21526 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21527 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21528 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21529 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21530 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21531 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21532 wine_fn_config_makefile dlls
/localspl enable_localspl
21533 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21534 wine_fn_config_makefile dlls
/localui enable_localui
21535 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21536 wine_fn_config_makefile dlls
/lz32 enable_lz32
21537 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21538 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21539 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21540 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21541 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21542 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21543 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21544 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21545 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21546 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21547 wine_fn_config_makefile dlls
/mf enable_mf
21548 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21549 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21550 wine_fn_config_makefile dlls
/mferror enable_mferror
21551 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21552 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21553 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21554 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21555 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21556 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21557 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21558 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21559 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21560 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21561 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21562 wine_fn_config_makefile dlls
/midimap enable_midimap
21563 wine_fn_config_makefile dlls
/mlang enable_mlang
21564 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21565 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21566 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21567 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21568 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21569 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21570 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21571 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21572 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21573 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21574 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21575 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21576 wine_fn_config_makefile dlls
/mpr enable_mpr
21577 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21578 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21579 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21580 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21581 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21582 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msado15 enable_msado15
21584 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21585 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21586 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21587 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21588 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21589 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21590 wine_fn_config_makefile dlls
/mscms enable_mscms
21591 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21592 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21593 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21594 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21595 wine_fn_config_makefile dlls
/msctf enable_msctf
21596 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21597 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21598 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21599 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21600 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21601 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21602 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21603 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21604 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21605 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21606 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21607 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21608 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21609 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21610 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21611 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21612 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21613 wine_fn_config_makefile dlls
/msi enable_msi
21614 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21615 wine_fn_config_makefile dlls
/msident enable_msident
21616 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21617 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21618 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21619 wine_fn_config_makefile dlls
/msisip enable_msisip
21620 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21621 wine_fn_config_makefile dlls
/msls31 enable_msls31
21622 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21623 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21624 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21625 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21626 wine_fn_config_makefile dlls
/msports enable_msports
21627 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21628 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21629 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21630 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21631 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21632 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21633 wine_fn_config_makefile dlls
/mstask enable_mstask
21634 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21635 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21636 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21637 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21638 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21639 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21640 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21641 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21642 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21643 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21644 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21645 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21646 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21647 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21648 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21649 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21650 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21651 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21652 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21653 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21654 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21655 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21656 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21657 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21658 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21659 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21660 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21661 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21662 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21663 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21664 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21665 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21666 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21667 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21668 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21669 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21670 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21671 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21672 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21673 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21674 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21675 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21676 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21677 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21678 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21679 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21680 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21681 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21682 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21683 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21684 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21685 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21686 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21687 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21688 wine_fn_config_makefile dlls
/msxml enable_msxml
21689 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21690 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21691 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21692 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21693 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21694 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21695 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21696 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21697 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21698 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21699 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21700 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21701 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21702 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21703 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21704 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21705 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21706 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21707 wine_fn_config_makefile dlls
/netutils enable_netutils
21708 wine_fn_config_makefile dlls
/newdev enable_newdev
21709 wine_fn_config_makefile dlls
/ninput enable_ninput
21710 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21711 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21712 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21713 wine_fn_config_makefile dlls
/npptools enable_npptools
21714 wine_fn_config_makefile dlls
/nsi enable_nsi
21715 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21716 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21717 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21718 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21719 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21720 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21721 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21722 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21723 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21724 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21725 wine_fn_config_makefile dlls
/objsel enable_objsel
21726 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21727 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21728 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21729 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21730 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21731 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21732 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21733 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21734 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21735 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21736 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21737 wine_fn_config_makefile dlls
/ole32 enable_ole32
21738 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21739 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21740 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21741 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21742 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21743 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21744 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21745 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21746 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21747 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21748 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21749 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21750 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21751 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21752 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21753 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21754 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21755 wine_fn_config_makefile dlls
/opencl enable_opencl
21756 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21757 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21758 wine_fn_config_makefile dlls
/packager enable_packager
21759 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21760 wine_fn_config_makefile dlls
/pdh enable_pdh
21761 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21762 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21763 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21764 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21765 wine_fn_config_makefile dlls
/printui enable_printui
21766 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21767 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21768 wine_fn_config_makefile dlls
/propsys enable_propsys
21769 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21770 wine_fn_config_makefile dlls
/psapi enable_psapi
21771 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21772 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21773 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21774 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21775 wine_fn_config_makefile dlls
/qasf enable_qasf
21776 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21777 wine_fn_config_makefile dlls
/qcap enable_qcap
21778 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21779 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21780 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21781 wine_fn_config_makefile dlls
/qedit enable_qedit
21782 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21783 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21784 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21785 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21786 wine_fn_config_makefile dlls
/quartz enable_quartz
21787 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21788 wine_fn_config_makefile dlls
/query enable_query
21789 wine_fn_config_makefile dlls
/qwave enable_qwave
21790 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21791 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21792 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21793 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21794 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21795 wine_fn_config_makefile dlls
/regapi enable_regapi
21796 wine_fn_config_makefile dlls
/resutils enable_resutils
21797 wine_fn_config_makefile dlls
/riched20 enable_riched20
21798 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21799 wine_fn_config_makefile dlls
/riched32 enable_riched32
21800 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21801 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21802 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21803 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21804 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21805 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21806 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21807 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21808 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21809 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21810 wine_fn_config_makefile dlls
/samlib enable_samlib
21811 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21812 wine_fn_config_makefile dlls
/sapi enable_sapi
21813 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21814 wine_fn_config_makefile dlls
/sas enable_sas
21815 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21816 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21817 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21818 wine_fn_config_makefile dlls
/schannel enable_schannel
21819 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21820 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21821 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21822 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21823 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21824 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21825 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21826 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21827 wine_fn_config_makefile dlls
/sechost enable_sechost
21828 wine_fn_config_makefile dlls
/secur32 enable_secur32
21829 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21830 wine_fn_config_makefile dlls
/security enable_security
21831 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21832 wine_fn_config_makefile dlls
/serialui enable_serialui
21833 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21834 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21835 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21836 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21837 wine_fn_config_makefile dlls
/sfc enable_sfc
21838 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21839 wine_fn_config_makefile dlls
/shcore enable_shcore
21840 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21841 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21842 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21843 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21844 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21845 wine_fn_config_makefile dlls
/shell32 enable_shell32
21846 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21847 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21848 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21849 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21850 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21851 wine_fn_config_makefile dlls
/slc enable_slc
21852 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21853 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21854 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21855 wine_fn_config_makefile dlls
/softpub enable_softpub
21856 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21857 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21858 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21859 wine_fn_config_makefile dlls
/sppc enable_sppc
21860 wine_fn_config_makefile dlls
/srclient enable_srclient
21861 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21862 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21863 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21864 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21865 wine_fn_config_makefile dlls
/sti enable_sti
21866 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21867 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21868 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21869 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21870 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21871 wine_fn_config_makefile dlls
/sxs enable_sxs
21872 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21873 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21874 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21875 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21876 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21877 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21878 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21879 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21880 wine_fn_config_makefile dlls
/tbs enable_tbs
21881 wine_fn_config_makefile dlls
/tdh enable_tdh
21882 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21883 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21884 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21885 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21886 wine_fn_config_makefile dlls
/traffic enable_traffic
21887 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21888 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21889 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21890 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21891 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21892 wine_fn_config_makefile dlls
/tzres enable_tzres
21893 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21894 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21895 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21896 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21897 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21898 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21899 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21900 wine_fn_config_makefile dlls
/unicows enable_unicows
21901 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21902 wine_fn_config_makefile dlls
/url enable_url
21903 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21904 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21905 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21906 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21907 wine_fn_config_makefile dlls
/user32 enable_user32
21908 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21909 wine_fn_config_makefile dlls
/userenv enable_userenv
21910 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21911 wine_fn_config_makefile dlls
/usp10 enable_usp10
21912 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21913 wine_fn_config_makefile dlls
/utildll enable_utildll
21914 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21915 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21916 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21917 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21918 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21919 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21920 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21921 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21922 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21923 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21924 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21925 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21926 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21927 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21928 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21929 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21930 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21931 wine_fn_config_makefile dlls
/version enable_version
21932 wine_fn_config_makefile dlls
/version
/tests enable_tests
21933 wine_fn_config_makefile dlls
/vga enable_vga
21934 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21935 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21936 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21937 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21938 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21939 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21940 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21941 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21942 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21943 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21944 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21945 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21946 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21947 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21948 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21949 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21950 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21951 wine_fn_config_makefile dlls
/webservices enable_webservices
21952 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21953 wine_fn_config_makefile dlls
/websocket enable_websocket
21954 wine_fn_config_makefile dlls
/wer enable_wer
21955 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21956 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21957 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21958 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21959 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21960 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21961 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21962 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21963 wine_fn_config_makefile dlls
/win32u enable_win32u
21964 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21965 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21966 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21967 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21968 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21969 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21970 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21971 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21972 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21973 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21974 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21975 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21976 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21977 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21978 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21979 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21980 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21981 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21982 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21983 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21984 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21985 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21986 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21987 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21988 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21989 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21990 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21991 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21992 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21993 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21994 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21995 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21996 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21997 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21998 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21999 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22000 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22001 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22002 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22003 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22004 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22005 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22006 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22007 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22008 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22009 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
22010 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22011 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22012 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22013 wine_fn_config_makefile dlls
/wing32 enable_wing32
22014 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22015 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22016 wine_fn_config_makefile dlls
/wininet enable_wininet
22017 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22018 wine_fn_config_makefile dlls
/winmm enable_winmm
22019 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22020 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22021 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22022 wine_fn_config_makefile dlls
/winprint enable_winprint
22023 wine_fn_config_makefile dlls
/winscard enable_winscard
22024 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22025 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22026 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22027 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22028 wine_fn_config_makefile dlls
/winsta enable_winsta
22029 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22030 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22031 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22032 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22033 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22034 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22035 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22036 wine_fn_config_makefile dlls
/winusb enable_winusb
22037 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22038 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22039 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22040 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22041 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22042 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22043 wine_fn_config_makefile dlls
/wmi enable_wmi
22044 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22045 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22046 wine_fn_config_makefile dlls
/wmp enable_wmp
22047 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22048 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22049 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22050 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22051 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22052 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22053 wine_fn_config_makefile dlls
/wow32 enable_win16
22054 wine_fn_config_makefile dlls
/wow64 enable_wow64
22055 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22056 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22057 wine_fn_config_makefile dlls
/wpc enable_wpc
22058 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22059 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22060 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22061 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22062 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22063 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22064 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22065 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22066 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22067 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22068 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22069 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22070 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22071 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22072 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22073 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22074 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22075 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22076 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22077 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22078 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22079 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22080 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22081 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22082 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22083 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22084 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22085 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22086 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22087 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22088 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22089 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22090 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22091 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22092 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22093 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22094 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22095 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22096 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22097 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22098 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22099 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22100 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22101 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22102 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22103 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22104 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22105 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22106 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22107 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22108 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22109 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22110 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22111 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22112 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22113 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22114 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22115 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22116 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22117 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22118 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22119 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22120 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22121 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22122 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22123 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22124 wine_fn_config_makefile fonts enable_fonts
22125 wine_fn_config_makefile include enable_include
22126 wine_fn_config_makefile libs
/adsiid enable_adsiid
22127 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22128 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22129 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22130 wine_fn_config_makefile libs
/dxguid enable_dxguid
22131 wine_fn_config_makefile libs
/faudio enable_faudio
22132 wine_fn_config_makefile libs
/gsm enable_gsm
22133 wine_fn_config_makefile libs
/jpeg enable_jpeg
22134 wine_fn_config_makefile libs
/jxr enable_jxr
22135 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22136 wine_fn_config_makefile libs
/ldap enable_ldap
22137 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22138 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22139 wine_fn_config_makefile libs
/musl enable_musl
22140 wine_fn_config_makefile libs
/png enable_png
22141 wine_fn_config_makefile libs
/strmbase enable_strmbase
22142 wine_fn_config_makefile libs
/strmiids enable_strmiids
22143 wine_fn_config_makefile libs
/tiff enable_tiff
22144 wine_fn_config_makefile libs
/uuid enable_uuid
22145 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22146 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22147 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22148 wine_fn_config_makefile libs
/xml2 enable_xml2
22149 wine_fn_config_makefile libs
/xslt enable_xslt
22150 wine_fn_config_makefile libs
/zlib enable_zlib
22151 wine_fn_config_makefile libs
/zydis enable_zydis
22152 wine_fn_config_makefile loader enable_loader
22153 wine_fn_config_makefile nls enable_nls
22154 wine_fn_config_makefile po enable_po
22155 wine_fn_config_makefile programs
/arp enable_arp
22156 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22157 wine_fn_config_makefile programs
/attrib enable_attrib
22158 wine_fn_config_makefile programs
/cabarc enable_cabarc
22159 wine_fn_config_makefile programs
/cacls enable_cacls
22160 wine_fn_config_makefile programs
/certutil enable_certutil
22161 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22162 wine_fn_config_makefile programs
/clock enable_clock
22163 wine_fn_config_makefile programs
/cmd enable_cmd
22164 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22165 wine_fn_config_makefile programs
/conhost enable_conhost
22166 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22167 wine_fn_config_makefile programs
/control enable_control
22168 wine_fn_config_makefile programs
/cscript enable_cscript
22169 wine_fn_config_makefile programs
/dism enable_dism
22170 wine_fn_config_makefile programs
/dllhost enable_dllhost
22171 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22172 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22173 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22174 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22175 wine_fn_config_makefile programs
/eject enable_eject
22176 wine_fn_config_makefile programs
/expand enable_expand
22177 wine_fn_config_makefile programs
/explorer enable_explorer
22178 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22179 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22180 wine_fn_config_makefile programs
/fc enable_fc
22181 wine_fn_config_makefile programs
/find enable_find
22182 wine_fn_config_makefile programs
/find
/tests enable_tests
22183 wine_fn_config_makefile programs
/findstr enable_findstr
22184 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22185 wine_fn_config_makefile programs
/fsutil enable_fsutil
22186 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22187 wine_fn_config_makefile programs
/hh enable_hh
22188 wine_fn_config_makefile programs
/hostname enable_hostname
22189 wine_fn_config_makefile programs
/icacls enable_icacls
22190 wine_fn_config_makefile programs
/icinfo enable_icinfo
22191 wine_fn_config_makefile programs
/iexplore enable_iexplore
22192 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22193 wine_fn_config_makefile programs
/lodctr enable_lodctr
22194 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22195 wine_fn_config_makefile programs
/mshta enable_mshta
22196 wine_fn_config_makefile programs
/msidb enable_msidb
22197 wine_fn_config_makefile programs
/msiexec enable_msiexec
22198 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22199 wine_fn_config_makefile programs
/net enable_net
22200 wine_fn_config_makefile programs
/netsh enable_netsh
22201 wine_fn_config_makefile programs
/netstat enable_netstat
22202 wine_fn_config_makefile programs
/ngen enable_ngen
22203 wine_fn_config_makefile programs
/notepad enable_notepad
22204 wine_fn_config_makefile programs
/oleview enable_oleview
22205 wine_fn_config_makefile programs
/ping enable_ping
22206 wine_fn_config_makefile programs
/plugplay enable_plugplay
22207 wine_fn_config_makefile programs
/pnputil enable_pnputil
22208 wine_fn_config_makefile programs
/powershell enable_powershell
22209 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22210 wine_fn_config_makefile programs
/progman enable_progman
22211 wine_fn_config_makefile programs
/reg enable_reg
22212 wine_fn_config_makefile programs
/reg
/tests enable_tests
22213 wine_fn_config_makefile programs
/regasm enable_regasm
22214 wine_fn_config_makefile programs
/regedit enable_regedit
22215 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22216 wine_fn_config_makefile programs
/regini enable_regini
22217 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22218 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22219 wine_fn_config_makefile programs
/robocopy enable_robocopy
22220 wine_fn_config_makefile programs
/rpcss enable_rpcss
22221 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22222 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22223 wine_fn_config_makefile programs
/sc enable_sc
22224 wine_fn_config_makefile programs
/sc
/tests enable_tests
22225 wine_fn_config_makefile programs
/schtasks enable_schtasks
22226 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22227 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22228 wine_fn_config_makefile programs
/secedit enable_secedit
22229 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22230 wine_fn_config_makefile programs
/services enable_services
22231 wine_fn_config_makefile programs
/services
/tests enable_tests
22232 wine_fn_config_makefile programs
/setx enable_setx
22233 wine_fn_config_makefile programs
/shutdown enable_shutdown
22234 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22235 wine_fn_config_makefile programs
/start enable_start
22236 wine_fn_config_makefile programs
/subst enable_subst
22237 wine_fn_config_makefile programs
/svchost enable_svchost
22238 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22239 wine_fn_config_makefile programs
/taskkill enable_taskkill
22240 wine_fn_config_makefile programs
/tasklist enable_tasklist
22241 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22242 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22243 wine_fn_config_makefile programs
/termsv enable_termsv
22244 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22245 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22246 wine_fn_config_makefile programs
/view enable_view
22247 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22248 wine_fn_config_makefile programs
/where enable_where
22249 wine_fn_config_makefile programs
/whoami enable_whoami
22250 wine_fn_config_makefile programs
/wineboot enable_wineboot
22251 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22252 wine_fn_config_makefile programs
/winecfg enable_winecfg
22253 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22254 wine_fn_config_makefile programs
/winedbg enable_winedbg
22255 wine_fn_config_makefile programs
/winedevice enable_winedevice
22256 wine_fn_config_makefile programs
/winefile enable_winefile
22257 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22258 wine_fn_config_makefile programs
/winemine enable_winemine
22259 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22260 wine_fn_config_makefile programs
/winepath enable_winepath
22261 wine_fn_config_makefile programs
/winetest enable_winetest
22262 wine_fn_config_makefile programs
/winevdm enable_win16
22263 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22264 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22265 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22266 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22267 wine_fn_config_makefile programs
/winver enable_winver
22268 wine_fn_config_makefile programs
/wmic enable_wmic
22269 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22270 wine_fn_config_makefile programs
/wordpad enable_wordpad
22271 wine_fn_config_makefile programs
/write enable_write
22272 wine_fn_config_makefile programs
/wscript enable_wscript
22273 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22274 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22275 wine_fn_config_makefile programs
/wusa enable_wusa
22276 wine_fn_config_makefile programs
/xcopy enable_xcopy
22277 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22278 wine_fn_config_makefile server enable_server
22279 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22280 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22281 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22282 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22283 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22284 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22285 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22286 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22287 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22290 as_fn_append CONFIGURE_TARGETS
" TAGS"
22291 as_fn_append CONFIGURE_TARGETS
" tags"
22292 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22293 as_fn_append CONFIGURE_TARGETS
" config.log"
22294 as_fn_append CONFIGURE_TARGETS
" config.status"
22295 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22296 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22297 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22299 if test "x$enable_tools" != xno
22301 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22302 ac_config_commands
="$ac_config_commands tools/makedep"
22306 ac_config_commands
="$ac_config_commands Makefile"
22313 as_fn_append wine_rules
"
22315 @echo \"Wine build complete.\"
22319 Makefile: config.status \$(MAKEDEP)
22320 @./config.status Makefile
22321 depend: \$(MAKEDEP)
22322 \$(MAKEDEP)$makedep_flags"
22325 as_fn_append wine_rules
"
22326 config.status: ${wine_srcdir}configure
22327 @./config.status --recheck
22328 include/config.h: include/stamp-h
22329 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22330 @./config.status include/config.h include/stamp-h"
22332 if test "x$enable_maintainer_mode" = xyes
22334 as_fn_append wine_rules
"
22335 configure: configure.ac aclocal.m4
22336 autoconf --warnings=all
22337 include/config.h.in: include/stamp-h.in
22338 include/stamp-h.in: configure.ac aclocal.m4
22339 autoheader --warnings=all
22340 @echo timestamp > \$@"
22343 if test "x$enable_tools" != xno
22345 as_fn_append wine_rules
"
22346 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22347 @./config.status tools/makedep
22348 Makefile: tools/makedep$ac_exeext"
22350 as_fn_append wine_rules
"
22352 @echo \"You need to run make in $toolsdir first\" && false"
22356 if test -n "$with_wine64"
22358 case "$with_wine64" in
22362 rm -f fonts server
2>/dev
/null
22363 as_fn_append wine_rules
"
22364 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22365 loader/wine64 loader/wine64-preloader:
22366 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22367 $with_wine64/loader/wine:
22368 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22369 $with_wine64/loader/wine-preloader:
22370 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22372 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22374 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22375 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22379 programs/msidb/msidb \
22380 programs/msiexec/msiexec \
22381 programs/notepad/notepad \
22382 programs/regedit/regedit \
22383 programs/regsvr32/regsvr32 \
22384 programs/wineboot/wineboot \
22385 programs/winecfg/winecfg \
22386 programs/wineconsole/wineconsole \
22387 programs/winedbg/winedbg \
22388 programs/winefile/winefile \
22389 programs/winemine/winemine \
22390 programs/winepath/winepath \
22394 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22395 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22400 as_fn_append wine_rules
"
22402 rm -rf autom4te.cache
22404 rm -f configure include/config.h.in"
22407 as_fn_append wine_rules
"
22408 dlls/ntdll/unix/version.c: dummy
22409 @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)
22410 programs/winetest/build.rc: dummy
22411 @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)
22412 programs/winetest/build.nfo:
22414 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
22415 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22416 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22419 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22421 as_fn_append wine_rules
"
22424 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22427 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22429 .PHONY: depend dummy install-manpages"
22431 printf "%s\n" " done" >&6
22432 cat >confcache
<<\_ACEOF
22433 # This file is a shell script that caches the results of configure
22434 # tests run on this system so they can be shared between configure
22435 # scripts and configure runs, see configure's option --config-cache.
22436 # It is not useful on other systems. If it contains results you don't
22437 # want to keep, you may remove or edit it.
22439 # config.status only pays attention to the cache file if you give it
22440 # the --recheck option to rerun configure.
22442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22444 # following values.
22448 # The following way of writing the cache mishandles newlines in values,
22449 # but we know of no workaround that is simple, portable, and efficient.
22450 # So, we kill variables containing newlines.
22451 # Ultrix sh set writes to stderr and can't be redirected directly,
22452 # and sets the high bit in the cache file unless we assign to the vars.
22454 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22455 eval ac_val
=\$
$ac_var
22459 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22460 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22463 _ | IFS | as_nl
) ;; #(
22464 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22465 *) { eval $ac_var=; unset $ac_var;} ;;
22471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22472 *${as_nl}ac_space
=\
*)
22473 # `set' does not quote correctly, so add quotes: double-quote
22474 # substitution turns \\\\ into \\, and sed turns \\ into \.
22477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22480 # `set' quotes correctly as required by POSIX, so do not add quotes.
22481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22490 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22494 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22495 if test -w "$cache_file"; then
22496 if test "x$cache_file" != "x/dev/null"; then
22497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22498 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22499 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22500 cat confcache
>"$cache_file"
22502 case $cache_file in #(
22504 mv -f confcache
"$cache_file"$$
&&
22505 mv -f "$cache_file"$$
"$cache_file" ;; #(
22507 mv -f confcache
"$cache_file" ;;
22512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22513 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22518 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22519 # Let make expand exec_prefix.
22520 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22522 DEFS
=-DHAVE_CONFIG_H
22527 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22528 # 1. Remove the extension, and $U if already installed.
22529 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22530 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22531 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22532 # will be set to the directory where LIBOBJS objects are built.
22533 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22534 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22536 LIBOBJS
=$ac_libobjs
22538 LTLIBOBJS
=$ac_ltlibobjs
22542 : "${CONFIG_STATUS=./config.status}"
22544 ac_clean_files_save
=$ac_clean_files
22545 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22547 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22549 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22551 # Generated by $as_me.
22552 # Run this file to recreate the current configuration.
22553 # Compiler output produced by configure, useful for debugging
22554 # configure, is in config.log if it exists.
22557 ac_cs_recheck=false
22560 SHELL=\${CONFIG_SHELL-$SHELL}
22563 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22564 ## -------------------- ##
22565 ## M4sh Initialization. ##
22566 ## -------------------- ##
22568 # Be more Bourne compatible
22569 DUALCASE
=1; export DUALCASE
# for MKS sh
22571 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22575 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22576 # is contrary to our usage. Disable this feature.
22577 alias -g '${1+"$@"}'='"$@"'
22578 setopt NO_GLOB_SUBST
22580 case `(set -o) 2>/dev/null` in #(
22590 # Reset variables that may have inherited troublesome values from
22593 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22594 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22595 # side effect of setting IFS to empty, thus disabling word splitting.)
22596 # Quoting is to prevent editors from complaining about space-tab.
22606 # Ensure predictable behavior from utilities with locale-dependent output.
22612 # We cannot yet rely on "unset" to work, but we need these variables
22613 # to be unset--not just set to an empty or harmless value--now, to
22614 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22615 # also avoids known problems related to "unset" and subshell syntax
22616 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22617 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22618 do eval test \
${$as_var+y} \
22619 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22622 # Ensure that fds 0, 1, and 2 are open.
22623 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22624 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22625 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22627 # The user is always right.
22628 if ${PATH_SEPARATOR+false} :; then
22630 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22631 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22637 # Find who we are. Look in the path if we contain no directory separator.
22640 *[\\/]* ) as_myself
=$0 ;;
22641 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22642 for as_dir
in $PATH
22645 case $as_dir in #(((
22648 *) as_dir
=$as_dir/ ;;
22650 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22656 # We did not find ourselves, most probably we were run as `sh COMMAND'
22657 # in which case we are not to be found in the path.
22658 if test "x$as_myself" = x
; then
22661 if test ! -f "$as_myself"; then
22662 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22668 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22669 # ----------------------------------------
22670 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22671 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22672 # script with STATUS, using 1 if that was 0.
22675 as_status
=$1; test $as_status -eq 0 && as_status
=1
22677 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22680 printf "%s\n" "$as_me: error: $2" >&2
22681 as_fn_exit
$as_status
22686 # as_fn_set_status STATUS
22687 # -----------------------
22688 # Set $? to STATUS, without forking.
22689 as_fn_set_status
()
22692 } # as_fn_set_status
22694 # as_fn_exit STATUS
22695 # -----------------
22696 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22700 as_fn_set_status
$1
22706 # Portably unset VAR.
22709 { eval $1=; unset $1;}
22711 as_unset
=as_fn_unset
22713 # as_fn_append VAR VALUE
22714 # ----------------------
22715 # Append the text in VALUE to the end of the definition contained in VAR. Take
22716 # advantage of any shell optimizations that allow amortized linear growth over
22717 # repeated appends, instead of the typical quadratic growth present in naive
22719 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22721 eval 'as_fn_append ()
22732 # as_fn_arith ARG...
22733 # ------------------
22734 # Perform arithmetic evaluation on the ARGs, and store the result in the
22735 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22736 # must be portable across $(()) and expr.
22737 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22739 eval 'as_fn_arith ()
22746 as_val
=`expr "$@" || test $? -eq 1`
22751 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22752 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22758 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22759 as_basename
=basename
22764 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22770 as_me
=`$as_basename -- "$0" ||
22771 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22772 X"$0" : 'X\(//\)$' \| \
22773 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22774 printf "%s\n" X/"$0" |
22775 sed '/^.*\/\([^/][^/]*\)\/*$/{
22789 # Avoid depending upon Character Ranges.
22790 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22791 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22792 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22793 as_cr_digits
='0123456789'
22794 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22797 # Determine whether it's possible to make 'echo' print without a newline.
22798 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22799 # for compatibility with existing Makefiles.
22800 ECHO_C
= ECHO_N
= ECHO_T
=
22801 case `echo -n x` in #(((((
22803 case `echo 'xy\c'` in
22804 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22806 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22813 # For backward compatibility with old third-party macros, we provide
22814 # the shell variables $as_echo and $as_echo_n. New code should use
22815 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22816 as_echo
='printf %s\n'
22817 as_echo_n
='printf %s'
22819 rm -f conf$$ conf$$.exe conf$$.
file
22820 if test -d conf$$.dir
; then
22821 rm -f conf$$.dir
/conf$$.
file
22824 mkdir conf$$.dir
2>/dev
/null
22826 if (echo >conf$$.
file) 2>/dev
/null
; then
22827 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22829 # ... but there are two gotchas:
22830 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22831 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22832 # In both cases, we have to default to `cp -pR'.
22833 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22835 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22843 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22844 rmdir conf$$.dir
2>/dev
/null
22849 # Create "$as_dir" as a directory, including parents if necessary.
22854 -*) as_dir
=.
/$as_dir;;
22856 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22860 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22861 *) as_qdir
=$as_dir;;
22863 as_dirs
="'$as_qdir' $as_dirs"
22864 as_dir
=`$as_dirname -- "$as_dir" ||
22865 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22866 X"$as_dir" : 'X\(//\)[^/]' \| \
22867 X"$as_dir" : 'X\(//\)$' \| \
22868 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22869 printf "%s\n" X"$as_dir" |
22870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22874 /^X\(\/\/\)[^/].*/{
22887 test -d "$as_dir" && break
22889 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22890 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22894 if mkdir
-p .
2>/dev
/null
; then
22895 as_mkdir_p
='mkdir -p "$as_dir"'
22897 test -d .
/-p && rmdir .
/-p
22902 # as_fn_executable_p FILE
22903 # -----------------------
22904 # Test if FILE is an executable regular file.
22905 as_fn_executable_p
()
22907 test -f "$1" && test -x "$1"
22908 } # as_fn_executable_p
22909 as_test_x
='test -x'
22910 as_executable_p
=as_fn_executable_p
22912 # Sed expression to map a string onto a valid CPP name.
22913 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22915 # Sed expression to map a string onto a valid variable name.
22916 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22920 ## ----------------------------------- ##
22921 ## Main body of $CONFIG_STATUS script. ##
22922 ## ----------------------------------- ##
22924 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22927 # Save the log message, to keep $0 and so on meaningful, and to
22928 # report actual input values of CONFIG_FILES etc. instead of their
22929 # values after options handling.
22931 This file was extended by Wine $as_me 8.11, which was
22932 generated by GNU Autoconf 2.71. Invocation command line was
22934 CONFIG_FILES = $CONFIG_FILES
22935 CONFIG_HEADERS = $CONFIG_HEADERS
22936 CONFIG_LINKS = $CONFIG_LINKS
22937 CONFIG_COMMANDS = $CONFIG_COMMANDS
22940 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22946 case $ac_config_headers in *"
22947 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22952 # Files that config.status was made for.
22953 config_headers="$ac_config_headers"
22954 config_links="$ac_config_links"
22955 config_commands="$ac_config_commands"
22959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22961 \`$as_me' instantiates files and other configuration actions
22962 from templates according to the current configuration. Unless the files
22963 and actions are specified as TAGs, all are instantiated by default.
22965 Usage: $0 [OPTION]... [TAG]...
22967 -h, --help print this help, then exit
22968 -V, --version print version number and configuration settings, then exit
22969 --config print configuration, then exit
22970 -q, --quiet, --silent
22971 do not print progress messages
22972 -d, --debug don't remove temporary files
22973 --recheck update $as_me by reconfiguring in the same conditions
22974 --header=FILE[:TEMPLATE]
22975 instantiate the configuration header FILE
22977 Configuration headers:
22980 Configuration links:
22983 Configuration commands:
22986 Report bugs to <wine-devel@winehq.org>.
22987 Wine home page: <https://www.winehq.org>."
22990 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22991 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22993 ac_cs_config='$ac_cs_config_escaped'
22995 Wine config.status 8.11
22996 configured by $0, generated by GNU Autoconf 2.71,
22997 with options \\"\$ac_cs_config\\"
22999 Copyright (C) 2021 Free Software Foundation, Inc.
23000 This config.status script is free software; the Free Software Foundation
23001 gives unlimited permission to copy, distribute and modify it."
23005 test -n "\$AWK" || AWK=awk
23008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23009 # The default lists apply if the user does not specify any file.
23015 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23016 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23020 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23032 # Handling of the options.
23033 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23035 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23036 printf "%s\n" "$ac_cs_version"; exit ;;
23037 --config |
--confi |
--conf |
--con |
--co |
--c )
23038 printf "%s\n" "$ac_cs_config"; exit ;;
23039 --debug |
--debu |
--deb |
--de |
--d |
-d )
23041 --header |
--heade |
--head |
--hea )
23044 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23046 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23047 ac_need_defaults
=false
;;
23049 # Conflict between --help and --header
23050 as_fn_error $?
"ambiguous option: \`$1'
23051 Try \`$0 --help' for more information.";;
23052 --help |
--hel |
-h )
23053 printf "%s\n" "$ac_cs_usage"; exit ;;
23054 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23055 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23058 # This is an error.
23059 -*) as_fn_error $?
"unrecognized option: \`$1'
23060 Try \`$0 --help' for more information." ;;
23062 *) as_fn_append ac_config_targets
" $1"
23063 ac_need_defaults
=false
;;
23069 ac_configure_extra_args
=
23071 if $ac_cs_silent; then
23073 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23078 if \$ac_cs_recheck; then
23079 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23081 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23082 CONFIG_SHELL='$SHELL'
23083 export CONFIG_SHELL
23088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23093 ## Running $as_me. ##
23095 printf "%s\n" "$ac_log"
23099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23103 wine_fn_output_makedep ()
23105 as_dir=tools; as_fn_mkdir_p
23106 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23108 wine_fn_output_makefile ()
23110 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23111 # This Makefile understands the following targets:
23113 # all (default): build wine
23114 # clean: remove all intermediate files
23115 # distclean: also remove all files created by configure
23117 # testclean: clean test results to force running all tests again
23118 # install-lib: install libraries needed to run applications
23119 # install-dev: install development environment
23120 # install: install everything
23121 # uninstall: uninstall everything
23122 # ctags: create a tags file for vim and others.
23123 # etags: create a TAGS file for Emacs.
23126 PATH_SEPARATOR = $PATH_SEPARATOR
23127 PACKAGE_NAME = $PACKAGE_NAME
23128 PACKAGE_TARNAME = $PACKAGE_TARNAME
23129 PACKAGE_VERSION = $PACKAGE_VERSION
23130 PACKAGE_STRING = $PACKAGE_STRING
23131 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23132 PACKAGE_URL = $PACKAGE_URL
23133 exec_prefix = $exec_prefix
23135 program_transform_name = $program_transform_name
23138 libexecdir = $libexecdir
23139 datarootdir = $datarootdir
23141 sysconfdir = $sysconfdir
23142 sharedstatedir = $sharedstatedir
23143 localstatedir = $localstatedir
23144 runstatedir = $runstatedir
23145 includedir = $includedir
23146 oldincludedir = $oldincludedir
23154 localedir = $localedir
23161 build_alias = $build_alias
23162 host_alias = $host_alias
23163 target_alias = $target_alias
23164 system_dllpath = $system_dllpath
23166 build_cpu = $build_cpu
23167 build_vendor = $build_vendor
23168 build_os = $build_os
23170 host_cpu = $host_cpu
23171 host_vendor = $host_vendor
23177 SET_MAKE = $SET_MAKE
23181 CPPFLAGS = $CPPFLAGS
23182 ac_ct_CC = $ac_ct_CC
23186 CXXFLAGS = $CXXFLAGS
23187 ac_ct_CXX = $ac_ct_CXX
23190 TARGETFLAGS = $TARGETFLAGS
23191 toolsext = $toolsext
23192 HOST_ARCH = $HOST_ARCH
23193 aarch64_CC = $aarch64_CC
23194 aarch64_CFLAGS = $aarch64_CFLAGS
23195 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23196 aarch64_LDFLAGS = $aarch64_LDFLAGS
23197 aarch64_DEBUG = $aarch64_DEBUG
23198 aarch64_TARGET = $aarch64_TARGET
23199 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23200 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23202 arm_CFLAGS = $arm_CFLAGS
23203 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23204 arm_LDFLAGS = $arm_LDFLAGS
23205 arm_DEBUG = $arm_DEBUG
23206 arm_TARGET = $arm_TARGET
23207 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23208 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23210 i386_CFLAGS = $i386_CFLAGS
23211 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23212 i386_LDFLAGS = $i386_LDFLAGS
23213 i386_DEBUG = $i386_DEBUG
23214 i386_TARGET = $i386_TARGET
23215 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23216 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23217 x86_64_CC = $x86_64_CC
23218 x86_64_CFLAGS = $x86_64_CFLAGS
23219 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23220 x86_64_LDFLAGS = $x86_64_LDFLAGS
23221 x86_64_DEBUG = $x86_64_DEBUG
23222 x86_64_TARGET = $x86_64_TARGET
23223 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23224 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23225 toolsdir = $toolsdir
23227 RUNTESTFLAGS = $RUNTESTFLAGS
23232 ac_ct_AR = $ac_ct_AR
23238 LDCONFIG = $LDCONFIG
23240 PKG_CONFIG = $PKG_CONFIG
23241 FONTFORGE = $FONTFORGE
23245 I386_LIBS = $I386_LIBS
23246 OPENGL_LIBS = $OPENGL_LIBS
23247 DLLFLAGS = $DLLFLAGS
23248 LDDLLFLAGS = $LDDLLFLAGS
23249 LDEXECFLAGS = $LDEXECFLAGS
23250 EXTRACFLAGS = $EXTRACFLAGS
23251 UNIXDLLFLAGS = $UNIXDLLFLAGS
23252 UNIXLDFLAGS = $UNIXLDFLAGS
23253 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23254 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23255 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23256 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23262 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23263 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23264 CARBON_LIBS = $CARBON_LIBS
23265 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23266 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23267 IOKIT_LIBS = $IOKIT_LIBS
23268 METAL_LIBS = $METAL_LIBS
23269 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23270 CORESERVICES_LIBS = $CORESERVICES_LIBS
23271 APPKIT_LIBS = $APPKIT_LIBS
23272 SECURITY_LIBS = $SECURITY_LIBS
23273 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23274 COREAUDIO_LIBS = $COREAUDIO_LIBS
23275 OPENCL_LIBS = $OPENCL_LIBS
23277 OBJCFLAGS = $OBJCFLAGS
23278 ac_ct_OBJC = $ac_ct_OBJC
23279 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23280 PE_ARCHS = $PE_ARCHS
23281 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23282 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23283 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23284 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23285 GSM_PE_LIBS = $GSM_PE_LIBS
23286 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23287 JPEG_PE_LIBS = $JPEG_PE_LIBS
23288 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23289 JXR_PE_LIBS = $JXR_PE_LIBS
23290 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23291 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23292 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23293 LDAP_PE_LIBS = $LDAP_PE_LIBS
23294 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23295 MPG123_PE_LIBS = $MPG123_PE_LIBS
23296 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23297 MUSL_PE_LIBS = $MUSL_PE_LIBS
23298 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23299 PNG_PE_LIBS = $PNG_PE_LIBS
23300 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23301 TIFF_PE_LIBS = $TIFF_PE_LIBS
23302 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23303 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23304 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23305 XML2_PE_LIBS = $XML2_PE_LIBS
23306 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23307 XSLT_PE_LIBS = $XSLT_PE_LIBS
23308 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23309 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23310 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23311 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23312 PTHREAD_LIBS = $PTHREAD_LIBS
23315 X_CFLAGS = $X_CFLAGS
23316 X_PRE_LIBS = $X_PRE_LIBS
23318 X_EXTRA_LIBS = $X_EXTRA_LIBS
23319 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23320 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23321 WAYLAND_SCANNER = $WAYLAND_SCANNER
23322 PCAP_LIBS = $PCAP_LIBS
23323 PCSCLITE_LIBS = $PCSCLITE_LIBS
23324 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23325 INOTIFY_LIBS = $INOTIFY_LIBS
23326 DBUS_CFLAGS = $DBUS_CFLAGS
23327 DBUS_LIBS = $DBUS_LIBS
23328 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23329 GNUTLS_LIBS = $GNUTLS_LIBS
23330 SANE_CFLAGS = $SANE_CFLAGS
23331 SANE_LIBS = $SANE_LIBS
23332 USB_CFLAGS = $USB_CFLAGS
23333 USB_LIBS = $USB_LIBS
23334 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23335 GPHOTO2_LIBS = $GPHOTO2_LIBS
23336 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23337 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23338 RESOLV_LIBS = $RESOLV_LIBS
23339 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23340 FREETYPE_LIBS = $FREETYPE_LIBS
23341 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23342 PULSE_CFLAGS = $PULSE_CFLAGS
23343 PULSE_LIBS = $PULSE_LIBS
23344 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23345 GSTREAMER_LIBS = $GSTREAMER_LIBS
23346 ALSA_LIBS = $ALSA_LIBS
23347 OSS4_CFLAGS = $OSS4_CFLAGS
23348 OSS4_LIBS = $OSS4_LIBS
23349 UDEV_CFLAGS = $UDEV_CFLAGS
23350 UDEV_LIBS = $UDEV_LIBS
23351 UNWIND_CFLAGS = $UNWIND_CFLAGS
23352 UNWIND_LIBS = $UNWIND_LIBS
23353 SDL2_CFLAGS = $SDL2_CFLAGS
23354 SDL2_LIBS = $SDL2_LIBS
23355 CAPI20_CFLAGS = $CAPI20_CFLAGS
23356 CAPI20_LIBS = $CAPI20_LIBS
23357 CUPS_CFLAGS = $CUPS_CFLAGS
23358 CUPS_LIBS = $CUPS_LIBS
23359 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23360 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23361 KRB5_CFLAGS = $KRB5_CFLAGS
23362 KRB5_LIBS = $KRB5_LIBS
23363 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23364 GSSAPI_LIBS = $GSSAPI_LIBS
23365 PROCSTAT_LIBS = $PROCSTAT_LIBS
23366 NETAPI_CFLAGS = $NETAPI_CFLAGS
23367 NETAPI_LIBS = $NETAPI_LIBS
23368 MSVCRTFLAGS = $MSVCRTFLAGS
23369 DELAYLOADFLAG = $DELAYLOADFLAG
23370 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23372 TAGSFLAGS = $TAGSFLAGS
23374 LTLIBOBJS = $LTLIBOBJS
23378 as_fn_error $? "could not create Makefile" "$LINENO" 5
23383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23385 # Handling of arguments.
23386 for ac_config_target
in $ac_config_targets
23388 case $ac_config_target in
23389 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23390 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23391 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23392 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23393 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23394 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23396 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23401 # If the user did not use the arguments to specify the items to instantiate,
23402 # then the envvar interface is used. Set only those that are not.
23403 # We use the long form for the default assignment because of an extremely
23404 # bizarre bug on SunOS 4.1.3.
23405 if $ac_need_defaults; then
23406 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23407 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23408 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23411 # Have a temporary directory for convenience. Make it in the build tree
23412 # simply because there is no reason against having it here, and in addition,
23413 # creating and moving files from /tmp can sometimes cause problems.
23414 # Hook for its removal unless debugging.
23415 # Note that there is a small window in which the directory will not be cleaned:
23416 # after its creation but before its name has been assigned to `$tmp'.
23420 trap 'exit_status=$?
23421 : "${ac_tmp:=$tmp}"
23422 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23424 trap 'as_fn_exit 1' 1 2 13 15
23426 # Create a (secure) tmp directory for tmp files.
23429 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23433 tmp
=.
/conf$$
-$RANDOM
23434 (umask 077 && mkdir
"$tmp")
23435 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23438 # Set up the scripts for CONFIG_HEADERS section.
23439 # No need to generate them if there are no CONFIG_HEADERS.
23440 # This happens for instance with `./config.status Makefile'.
23441 if test -n "$CONFIG_HEADERS"; then
23442 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23446 # Transform confdefs.h into an awk script `defines.awk', embedded as
23447 # here-document in config.status, that substitutes the proper values into
23448 # config.h.in to produce config.h.
23450 # Create a delimiter string that does not exist in confdefs.h, to ease
23451 # handling of long lines.
23453 for ac_last_try
in false false
:; do
23454 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23455 if test -z "$ac_tt"; then
23457 elif $ac_last_try; then
23458 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23460 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23464 # For the awk script, D is an array of macro values keyed by name,
23465 # likewise P contains macro parameters if any. Preserve backslash
23466 # newline sequences.
23468 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23470 s/.\{148\}/&'"$ac_delim"'/g
23473 s/^[ ]*#[ ]*define[ ][ ]*/ /
23480 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23482 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23486 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23487 D["\1"]=" \3\\\\\\n"\\/p
23489 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23494 s/.\{148\}/&'"$ac_delim"'/g
23499 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23502 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23504 ' <confdefs.h |
sed '
23505 s/'"$ac_delim"'/"\\\
23506 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23509 for (key in D) D_is_set[key] = 1
23512 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23514 split(line, arg, " ")
23515 if (arg[1] == "#") {
23519 defundef = substr(arg[1], 2)
23522 split(mac1, mac2, "(") #)
23524 prefix = substr(line, 1, index(line, defundef) - 1)
23525 if (D_is_set[macro]) {
23526 # Preserve the white space surrounding the "#".
23527 print prefix "define", macro P[macro] D[macro]
23530 # Replace #undef with comments. This is necessary, for example,
23531 # in the case of _POSIX_SOURCE, which is predefined and required
23532 # on some systems where configure will not decide to define it.
23533 if (defundef == "undef") {
23534 print "/*", prefix defundef, macro, "*/"
23542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23543 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23544 fi # test -n "$CONFIG_HEADERS"
23547 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23552 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23554 case $ac_mode$ac_tag in
23556 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23557 :[FH
]-) ac_tag
=-:-;;
23558 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23575 -) ac_f
="$ac_tmp/stdin";;
23576 *) # Look for the file first in the build tree, then in the source tree
23577 # (if the path is not absolute). The absolute path cannot be DOS-style,
23578 # because $ac_f cannot contain `:'.
23582 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23584 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23586 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23587 as_fn_append ac_file_inputs
" '$ac_f'"
23590 # Let's still pretend it is `configure' which instantiates (i.e., don't
23591 # use $as_me), people would be surprised to read:
23592 # /* config.h. Generated by config.status. */
23593 configure_input
='Generated from '`
23594 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23596 if test x
"$ac_file" != x-
; then
23597 configure_input
="$ac_file. $configure_input"
23598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23599 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23601 # Neutralize special characters interpreted by sed in replacement strings.
23602 case $configure_input in #(
23603 *\
&* |
*\|
* |
*\\* )
23604 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23605 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23606 *) ac_sed_conf_input
=$configure_input;;
23610 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23611 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23616 ac_dir
=`$as_dirname -- "$ac_file" ||
23617 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23618 X"$ac_file" : 'X\(//\)[^/]' \| \
23619 X"$ac_file" : 'X\(//\)$' \| \
23620 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23621 printf "%s\n" X"$ac_file" |
23622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23626 /^X\(\/\/\)[^/].*/{
23639 as_dir
="$ac_dir"; as_fn_mkdir_p
23643 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23645 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23646 # A ".." for each directory in $ac_dir_suffix.
23647 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23648 case $ac_top_builddir_sub in
23649 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23650 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23653 ac_abs_top_builddir
=$ac_pwd
23654 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23655 # for backward compatibility:
23656 ac_top_builddir
=$ac_top_build_prefix
23659 .
) # We are building in place.
23661 ac_top_srcdir
=$ac_top_builddir_sub
23662 ac_abs_top_srcdir
=$ac_pwd ;;
23663 [\\/]* | ?
:[\\/]* ) # Absolute name.
23664 ac_srcdir
=$srcdir$ac_dir_suffix;
23665 ac_top_srcdir
=$srcdir
23666 ac_abs_top_srcdir
=$srcdir ;;
23667 *) # Relative name.
23668 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23669 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23670 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23672 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23681 if test x
"$ac_file" != x-
; then
23683 printf "%s\n" "/* $configure_input */" >&1 \
23684 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23685 } >"$ac_tmp/config.h" \
23686 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23687 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23689 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23692 mv "$ac_tmp/config.h" "$ac_file" \
23693 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23696 printf "%s\n" "/* $configure_input */" >&1 \
23697 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23698 || as_fn_error $?
"could not create -" "$LINENO" 5
23706 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23709 # Prefer the file from the source tree if names are identical.
23710 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23711 ac_source
=$srcdir/$ac_source
23714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23715 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23717 if test ! -r "$ac_source"; then
23718 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23722 # Try a relative symlink, then a hard link, then a copy.
23724 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23725 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23727 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23728 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23729 cp -p "$ac_source" "$ac_file" ||
23730 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23733 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23734 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23739 case $ac_file$ac_mode in
23740 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23741 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23742 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23750 ac_clean_files
=$ac_clean_files_save
23752 test $ac_write_fail = 0 ||
23753 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23756 # configure is writing to config.log, and then calls config.status.
23757 # config.status does its own redirection, appending to config.log.
23758 # Unfortunately, on DOS this fails, as config.log is still kept open
23759 # by configure, so config.status won't be able to write to it; its
23760 # output is simply discarded. So we exec the FD to /dev/null,
23761 # effectively closing config.log, so it can be properly (re)opened and
23762 # appended to by config.status. When coming back to configure, we
23763 # need to make the FD available again.
23764 if test "$no_create" != yes; then
23766 ac_config_status_args
=
23767 test "$silent" = yes &&
23768 ac_config_status_args
="$ac_config_status_args --quiet"
23770 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23772 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23773 # would make configure fail if this is the last instruction.
23774 $ac_cs_success || as_fn_exit
1
23776 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23778 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23782 if test "$no_create" = "yes"
23788 if test "x$wine_notices" != x
; then
23791 for msg
in $wine_notices; do
23797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23798 printf "%s\n" "$as_me: $msg" >&6;}
23803 for msg
in $wine_warnings; do
23810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23811 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23817 $as_me: Finished. Do '${ac_make}' to compile Wine.