2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.12.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='8.12'
615 PACKAGE_STRING
='Wine 8.12'
616 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
617 PACKAGE_URL
='https://www.winehq.org'
619 ac_unique_file
="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default
="\
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
652 ac_subst_vars
='LTLIBOBJS
707 WAYLAND_CLIENT_CFLAGS
753 SYSTEMCONFIGURATION_LIBS
757 APPLICATIONSERVICES_LIBS
770 WINEPRELOADER_LDFLAGS
802 x86_64_DISABLED_SUBDIRS
810 i386_DISABLED_SUBDIRS
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
891 program_transform_name
904 enable_option_checking
910 enable_maintainer_mode
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
1148 enable_graphicscapture
1191 enable_light_msstyles
1206 enable_mfmediaengine
1271 enable_msvcp140_atomic_wait
1337 enable_photometadatahandler
1414 enable_threadpoolwinrt
1417 enable_twinapi_appcore
1421 enable_uiautomationcore
1441 enable_vcruntime140_1
1459 enable_windows_devices_bluetooth
1460 enable_windows_devices_enumeration
1461 enable_windows_gaming_input
1462 enable_windows_gaming_ui_gamebar
1463 enable_windows_globalization
1464 enable_windows_media_devices
1465 enable_windows_media_speech
1466 enable_windows_media
1467 enable_windows_networking_hostname
1468 enable_windows_networking
1469 enable_windows_perception_stub
1470 enable_windows_system_profile_systemmanufacturers
1472 enable_windowscodecs
1473 enable_windowscodecsext
1475 enable_wineandroid_drv
1477 enable_winecoreaudio_drv
1480 enable_winegstreamer
1486 enable_winepulse_drv
1489 enable_winewayland_drv
1491 enable_winexinput_sys
1537 enable_xactengine2_0
1538 enable_xactengine2_4
1539 enable_xactengine2_7
1540 enable_xactengine2_9
1541 enable_xactengine3_0
1542 enable_xactengine3_1
1543 enable_xactengine3_2
1544 enable_xactengine3_3
1545 enable_xactengine3_4
1546 enable_xactengine3_5
1547 enable_xactengine3_6
1548 enable_xactengine3_7
1597 enable_wmcodecdspuuid
1606 enable_aspnet_regiis
1653 enable_presentationfontcache
1668 enable_servicemodelreg
1694 enable_winemenubuilder
1696 enable_winemsibuilder
1721 ac_precious_vars
='build_alias
1766 WAYLAND_CLIENT_CFLAGS
1808 # Initialize some variables set by options.
1810 ac_init_version
=false
1811 ac_unrecognized_opts
=
1812 ac_unrecognized_sep
=
1813 # The variables have the same names as the options, with
1814 # dashes changed to underlines.
1815 cache_file
=/dev
/null
1822 program_transform_name
=s
,x
,x
,
1830 # Installation directory options.
1831 # These are left unexpanded so users can "make install exec_prefix=/foo"
1832 # and all the variables that are supposed to be based on exec_prefix
1833 # by default will actually change.
1834 # Use braces instead of parens because sh, perl, etc. also accept them.
1835 # (The list follows the same order as the GNU Coding Standards.)
1836 bindir
='${exec_prefix}/bin'
1837 sbindir
='${exec_prefix}/sbin'
1838 libexecdir
='${exec_prefix}/libexec'
1839 datarootdir
='${prefix}/share'
1840 datadir
='${datarootdir}'
1841 sysconfdir
='${prefix}/etc'
1842 sharedstatedir
='${prefix}/com'
1843 localstatedir
='${prefix}/var'
1844 runstatedir
='${localstatedir}/run'
1845 includedir
='${prefix}/include'
1846 oldincludedir
='/usr/include'
1847 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1848 infodir
='${datarootdir}/info'
1853 libdir
='${exec_prefix}/lib'
1854 localedir
='${datarootdir}/locale'
1855 mandir
='${datarootdir}/man'
1861 # If the previous option needs an argument, assign it.
1862 if test -n "$ac_prev"; then
1863 eval $ac_prev=\
$ac_option
1869 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1874 case $ac_dashdash$ac_option in
1878 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1880 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1881 bindir
=$ac_optarg ;;
1883 -build |
--build |
--buil |
--bui |
--bu)
1884 ac_prev
=build_alias
;;
1885 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1886 build_alias
=$ac_optarg ;;
1888 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1889 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1890 ac_prev
=cache_file
;;
1891 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1892 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1893 cache_file
=$ac_optarg ;;
1895 --config-cache |
-C)
1896 cache_file
=config.cache
;;
1898 -datadir |
--datadir |
--datadi |
--datad)
1900 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1901 datadir
=$ac_optarg ;;
1903 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1904 |
--dataroo |
--dataro |
--datar)
1905 ac_prev
=datarootdir
;;
1906 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1907 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1908 datarootdir
=$ac_optarg ;;
1910 -disable-* |
--disable-*)
1911 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1912 # Reject names that are not valid shell variable names.
1913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1914 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1915 ac_useropt_orig
=$ac_useropt
1916 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1917 case $ac_user_opts in
1919 "enable_
$ac_useropt"
1921 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1922 ac_unrecognized_sep
=', ';;
1924 eval enable_
$ac_useropt=no
;;
1926 -docdir |
--docdir |
--docdi |
--doc |
--do)
1928 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1929 docdir
=$ac_optarg ;;
1931 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1933 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1934 dvidir
=$ac_optarg ;;
1936 -enable-* |
--enable-*)
1937 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1938 # Reject names that are not valid shell variable names.
1939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1940 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1941 ac_useropt_orig
=$ac_useropt
1942 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1943 case $ac_user_opts in
1945 "enable_
$ac_useropt"
1947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1948 ac_unrecognized_sep
=', ';;
1950 eval enable_
$ac_useropt=\
$ac_optarg ;;
1952 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1953 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1954 |
--exec |
--exe |
--ex)
1955 ac_prev
=exec_prefix
;;
1956 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1957 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1958 |
--exec=* |
--exe=* |
--ex=*)
1959 exec_prefix
=$ac_optarg ;;
1961 -gas |
--gas |
--ga |
--g)
1962 # Obsolete; use --with-gas.
1965 -help |
--help |
--hel |
--he |
-h)
1966 ac_init_help
=long
;;
1967 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1968 ac_init_help
=recursive
;;
1969 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1970 ac_init_help
=short
;;
1972 -host |
--host |
--hos |
--ho)
1973 ac_prev
=host_alias
;;
1974 -host=* |
--host=* |
--hos=* |
--ho=*)
1975 host_alias
=$ac_optarg ;;
1977 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1979 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1981 htmldir
=$ac_optarg ;;
1983 -includedir |
--includedir |
--includedi |
--included |
--include \
1984 |
--includ |
--inclu |
--incl |
--inc)
1985 ac_prev
=includedir
;;
1986 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1987 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1988 includedir
=$ac_optarg ;;
1990 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1992 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1993 infodir
=$ac_optarg ;;
1995 -libdir |
--libdir |
--libdi |
--libd)
1997 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1998 libdir
=$ac_optarg ;;
2000 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
2001 |
--libexe |
--libex |
--libe)
2002 ac_prev
=libexecdir
;;
2003 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
2004 |
--libexe=* |
--libex=* |
--libe=*)
2005 libexecdir
=$ac_optarg ;;
2007 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2008 ac_prev
=localedir
;;
2009 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2010 localedir
=$ac_optarg ;;
2012 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2013 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2014 ac_prev
=localstatedir
;;
2015 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2016 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2017 localstatedir
=$ac_optarg ;;
2019 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2021 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2022 mandir
=$ac_optarg ;;
2024 -nfp |
--nfp |
--nf)
2025 # Obsolete; use --without-fp.
2028 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2029 |
--no-cr |
--no-c |
-n)
2032 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2033 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2036 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2037 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2038 |
--oldin |
--oldi |
--old |
--ol |
--o)
2039 ac_prev
=oldincludedir
;;
2040 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2041 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2042 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2043 oldincludedir
=$ac_optarg ;;
2045 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2047 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2048 prefix
=$ac_optarg ;;
2050 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2051 |
--program-pre |
--program-pr |
--program-p)
2052 ac_prev
=program_prefix
;;
2053 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2054 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2055 program_prefix
=$ac_optarg ;;
2057 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2058 |
--program-suf |
--program-su |
--program-s)
2059 ac_prev
=program_suffix
;;
2060 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2061 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2062 program_suffix
=$ac_optarg ;;
2064 -program-transform-name |
--program-transform-name \
2065 |
--program-transform-nam |
--program-transform-na \
2066 |
--program-transform-n |
--program-transform- \
2067 |
--program-transform |
--program-transfor \
2068 |
--program-transfo |
--program-transf \
2069 |
--program-trans |
--program-tran \
2070 |
--progr-tra |
--program-tr |
--program-t)
2071 ac_prev
=program_transform_name
;;
2072 -program-transform-name=* |
--program-transform-name=* \
2073 |
--program-transform-nam=* |
--program-transform-na=* \
2074 |
--program-transform-n=* |
--program-transform-=* \
2075 |
--program-transform=* |
--program-transfor=* \
2076 |
--program-transfo=* |
--program-transf=* \
2077 |
--program-trans=* |
--program-tran=* \
2078 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2079 program_transform_name
=$ac_optarg ;;
2081 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2083 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2084 pdfdir
=$ac_optarg ;;
2086 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2088 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2091 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2092 |
-silent |
--silent |
--silen |
--sile |
--sil)
2095 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2096 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2097 |
--run |
--ru |
--r)
2098 ac_prev
=runstatedir
;;
2099 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2100 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2101 |
--run=* |
--ru=* |
--r=*)
2102 runstatedir
=$ac_optarg ;;
2104 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2106 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2108 sbindir
=$ac_optarg ;;
2110 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2111 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2112 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2114 ac_prev
=sharedstatedir
;;
2115 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2116 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2117 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2119 sharedstatedir
=$ac_optarg ;;
2121 -site |
--site |
--sit)
2123 -site=* |
--site=* |
--sit=*)
2126 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2128 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2129 srcdir
=$ac_optarg ;;
2131 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2132 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2133 ac_prev
=sysconfdir
;;
2134 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2135 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2136 sysconfdir
=$ac_optarg ;;
2138 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2139 ac_prev
=target_alias
;;
2140 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2141 target_alias
=$ac_optarg ;;
2143 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2146 -version |
--version |
--versio |
--versi |
--vers |
-V)
2147 ac_init_version
=: ;;
2150 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2151 # Reject names that are not valid shell variable names.
2152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2153 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2154 ac_useropt_orig
=$ac_useropt
2155 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2156 case $ac_user_opts in
2160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2161 ac_unrecognized_sep
=', ';;
2163 eval with_
$ac_useropt=\
$ac_optarg ;;
2165 -without-* |
--without-*)
2166 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2167 # Reject names that are not valid shell variable names.
2168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2169 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2170 ac_useropt_orig
=$ac_useropt
2171 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2172 case $ac_user_opts in
2176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2177 ac_unrecognized_sep
=', ';;
2179 eval with_
$ac_useropt=no
;;
2182 # Obsolete; use --with-x.
2185 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2186 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2187 ac_prev
=x_includes
;;
2188 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2189 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2190 x_includes
=$ac_optarg ;;
2192 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2193 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2194 ac_prev
=x_libraries
;;
2195 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2196 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2197 x_libraries
=$ac_optarg ;;
2199 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2200 Try \`$0 --help' for more information"
2204 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2205 # Reject names that are not valid shell variable names.
2206 case $ac_envvar in #(
2207 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2208 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2210 eval $ac_envvar=\
$ac_optarg
2211 export $ac_envvar ;;
2214 # FIXME: should be removed in autoconf 3.0.
2215 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2217 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2218 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2224 if test -n "$ac_prev"; then
2225 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2226 as_fn_error $?
"missing argument to $ac_option"
2229 if test -n "$ac_unrecognized_opts"; then
2230 case $enable_option_checking in
2232 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2233 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2237 # Check all directory arguments for consistency.
2238 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2239 datadir sysconfdir sharedstatedir localstatedir includedir \
2240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2241 libdir localedir mandir runstatedir
2243 eval ac_val
=\$
$ac_var
2244 # Remove trailing slashes.
2247 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2248 eval $ac_var=\
$ac_val;;
2250 # Be sure to have absolute directory names.
2252 [\\/$
]* | ?
:[\\/]* ) continue;;
2253 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2255 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2258 # There might be people who depend on the old broken behavior: `$host'
2259 # used to hold the argument of --host etc.
2260 # FIXME: To remove some day.
2263 target
=$target_alias
2265 # FIXME: To remove some day.
2266 if test "x$host_alias" != x
; then
2267 if test "x$build_alias" = x
; then
2268 cross_compiling
=maybe
2269 elif test "x$build_alias" != "x$host_alias"; then
2275 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2277 test "$silent" = yes && exec 6>/dev
/null
2280 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2281 ac_ls_di
=`ls -di .` &&
2282 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2283 as_fn_error $?
"working directory cannot be determined"
2284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2285 as_fn_error $?
"pwd does not report name of working directory"
2288 # Find the source files, if location was not specified.
2289 if test -z "$srcdir"; then
2290 ac_srcdir_defaulted
=yes
2291 # Try the directory containing this script, then the parent directory.
2292 ac_confdir
=`$as_dirname -- "$as_myself" ||
2293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2294 X"$as_myself" : 'X\(//\)[^/]' \| \
2295 X"$as_myself" : 'X\(//\)$' \| \
2296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2297 printf "%s\n" X"$as_myself" |
2298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2316 if test ! -r "$srcdir/$ac_unique_file"; then
2320 ac_srcdir_defaulted
=no
2322 if test ! -r "$srcdir/$ac_unique_file"; then
2323 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2324 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2326 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2330 # When building in place, set srcdir=.
2331 if test "$ac_abs_confdir" = "$ac_pwd"; then
2334 # Remove unnecessary trailing slashes from srcdir.
2335 # Double slashes in file names in object file debugging info
2336 # mess up M-x gdb in Emacs.
2338 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2340 for ac_var
in $ac_precious_vars; do
2341 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2342 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2343 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2344 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2348 # Report the --help message.
2350 if test "$ac_init_help" = "long"; then
2351 # Omit some internal or obsolete options to make the list less imposing.
2352 # This message is too long to be a string in the A/UX 3.1 sh.
2354 \`configure' configures Wine 8.12 to adapt to many kinds of systems.
2356 Usage: $0 [OPTION]... [VAR=VALUE]...
2358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2359 VAR=VALUE. See below for descriptions of some of the useful variables.
2361 Defaults for the options are specified in brackets.
2364 -h, --help display this help and exit
2365 --help=short display options specific to this package
2366 --help=recursive display the short help of all the included packages
2367 -V, --version display version information and exit
2368 -q, --quiet, --silent do not print \`checking ...' messages
2369 --cache-file=FILE cache test results in FILE [disabled]
2370 -C, --config-cache alias for \`--cache-file=config.cache'
2371 -n, --no-create do not create output files
2372 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2374 Installation directories:
2375 --prefix=PREFIX install architecture-independent files in PREFIX
2376 [$ac_default_prefix]
2377 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2380 By default, \`make install' will install all the files in
2381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2383 for instance \`--prefix=\$HOME'.
2385 For better control, use the options below.
2387 Fine tuning of the installation directories:
2388 --bindir=DIR user executables [EPREFIX/bin]
2389 --sbindir=DIR system admin executables [EPREFIX/sbin]
2390 --libexecdir=DIR program executables [EPREFIX/libexec]
2391 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2392 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2393 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2394 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2395 --libdir=DIR object code libraries [EPREFIX/lib]
2396 --includedir=DIR C header files [PREFIX/include]
2397 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2398 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2399 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2400 --infodir=DIR info documentation [DATAROOTDIR/info]
2401 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2402 --mandir=DIR man documentation [DATAROOTDIR/man]
2403 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2404 --htmldir=DIR html documentation [DOCDIR]
2405 --dvidir=DIR dvi documentation [DOCDIR]
2406 --pdfdir=DIR pdf documentation [DOCDIR]
2407 --psdir=DIR ps documentation [DOCDIR]
2413 --x-includes=DIR X include files are
in DIR
2414 --x-libraries=DIR X library files are
in DIR
2417 --build=BUILD configure
for building on BUILD
[guessed
]
2418 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2422 if test -n "$ac_init_help"; then
2423 case $ac_init_help in
2424 short | recursive
) echo "Configuration of Wine 8.12:";;
2429 --disable-option-checking ignore unrecognized
--enable/--with options
2430 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2431 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2432 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2433 enable multiple architectures
for PE compilation
2434 --disable-win16 do not include Win16 support
2435 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2437 --disable-tests do not build the regression tests
2438 --enable-build-id include .buildid section in output objects
2439 --enable-maintainer-mode
2440 enable maintainer-specific build rules
2441 --enable-silent-rules use silent build rules (override: "make V=1")
2442 --enable-werror treat compilation warnings as errors
2443 --disable-largefile omit support for large files
2446 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2447 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2448 --without-alsa do not use the Alsa sound support
2449 --without-capi do not use CAPI (ISDN support)
2450 --without-coreaudio do not use the CoreAudio sound support
2451 --without-cups do not use CUPS
2452 --without-dbus do not use DBus (dynamic device support)
2453 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2454 --without-fontconfig do not use fontconfig
2455 --without-freetype do not use the FreeType library
2456 --without-gettext do not use gettext
2457 --with-gettextpo use the GetTextPO library to rebuild po files
2458 --without-gphoto do not use gphoto (Digital Camera support)
2459 --without-gnutls do not use GnuTLS (schannel support)
2460 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2461 --without-gstreamer do not use GStreamer (codecs support)
2462 --without-inotify do not use inotify (filesystem change notifications)
2463 --without-krb5 do not use krb5 (Kerberos)
2464 --without-mingw do not use the MinGW cross-compiler
2465 --without-netapi do not use the Samba NetAPI library
2466 --without-opencl do not use OpenCL
2467 --without-opengl do not use OpenGL
2468 --without-osmesa do not use the OSMesa library
2469 --without-oss do not use the OSS sound support
2470 --without-pcap do not use the Packet Capture library
2471 --without-pcsclite do not use PCSC lite
2472 --without-pthread do not use the pthread library
2473 --without-pulse do not use PulseAudio sound support
2474 --without-sane do not use SANE (scanner support)
2475 --without-sdl do not use SDL
2476 --without-udev do not use udev (plug and play support)
2477 --without-unwind do not use the libunwind library (exception
2479 --without-usb do not use the libusb library
2480 --without-v4l2 do not use v4l2 (video capture)
2481 --without-vulkan do not use Vulkan
2482 --without-wayland do not build the Wayland driver
2483 --without-xcomposite do not use the Xcomposite extension
2484 --without-xcursor do not use the Xcursor extension
2485 --without-xfixes do not use Xfixes for clipboard change notifications
2486 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2487 --without-xinput do not use the Xinput extension
2488 --without-xinput2 do not use the Xinput 2 extension
2489 --without-xrandr do not use Xrandr (multi-monitor support)
2490 --without-xrender do not use the Xrender extension
2491 --without-xshape do not use the Xshape extension
2492 --without-xshm do not use XShm (shared memory extension)
2493 --without-xxf86vm do not use XFree video mode extension
2494 --with-system-dllpath=PATH
2495 load external PE dependencies from colon-separated
2497 --with-wine-tools=DIR use Wine tools from directory DIR
2498 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2499 --with-x use the X Window System
2501 Some influential environment variables:
2502 CC C compiler command
2503 CFLAGS C compiler flags
2504 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2505 nonstandard directory <lib dir>
2506 LIBS libraries to pass to the linker, e.g. -l<library>
2507 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2508 you have headers in a nonstandard directory <include dir>
2509 CXX C++ compiler command
2510 CXXFLAGS C++ compiler flags
2511 OBJC Objective C compiler command
2512 OBJCFLAGS Objective C compiler flags
2514 C compiler flags for the PE faudio, overriding the bundled
2517 Linker flags for the PE faudio, overriding the bundled version
2519 C compiler flags for the PE gsm, overriding the bundled version
2520 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2522 C compiler flags for the PE jpeg, overriding the bundled version
2524 Linker flags for the PE jpeg, overriding the bundled version
2526 C compiler flags for the PE jxr, overriding the bundled version
2527 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2529 C compiler flags for the PE lcms2, overriding the bundled
2532 Linker flags for the PE lcms2, overriding the bundled version
2534 C compiler flags for the PE ldap, overriding the bundled version
2536 Linker flags for the PE ldap, overriding the bundled version
2538 C compiler flags for the PE mpg123, overriding the bundled
2541 Linker flags for the PE mpg123, overriding the bundled version
2543 C compiler flags for the PE musl, overriding the bundled version
2545 Linker flags for the PE musl, overriding the bundled version
2547 C compiler flags for the PE png, overriding the bundled version
2548 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2550 C compiler flags for the PE tiff, overriding the bundled version
2552 Linker flags for the PE tiff, overriding the bundled version
2554 C compiler flags for the PE vkd3d, overriding the bundled
2557 Linker flags for the PE vkd3d, overriding the bundled version
2559 C compiler flags for the PE xml2, overriding the bundled version
2561 Linker flags for the PE xml2, overriding the bundled version
2563 C compiler flags for the PE xslt, overriding the bundled version
2565 Linker flags for the PE xslt, overriding the bundled version
2567 C compiler flags for the PE zlib, overriding the bundled version
2569 Linker flags for the PE zlib, overriding the bundled version
2571 C compiler flags for the PE zydis, overriding the bundled
2574 Linker flags for the PE zydis, overriding the bundled version
2575 XMKMF Path to xmkmf, Makefile generator for X Window System
2577 WAYLAND_CLIENT_CFLAGS
2578 C compiler flags for wayland-client, overriding pkg-config
2580 Linker flags for wayland-client, overriding pkg-config
2582 C compiler flags for libinotify, overriding pkg-config
2584 Linker flags for libinotify, overriding pkg-config
2585 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2586 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2588 C compiler flags for gnutls, overriding pkg-config
2589 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2590 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2591 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2592 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2593 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2595 C compiler flags for libgphoto2, overriding pkg-config
2597 Linker flags for libgphoto2, overriding pkg-config
2599 C compiler flags for libgphoto2_port, overriding pkg-config
2601 Linker flags for libgphoto2_port, overriding pkg-config
2603 C compiler flags for freetype2, overriding pkg-config
2605 Linker flags for freetype2, overriding pkg-config
2607 C compiler flags for libpulse, overriding pkg-config
2608 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2610 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2611 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2613 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2614 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2615 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2616 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2618 C compiler flags for libunwind, overriding pkg-config
2619 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2620 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2621 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2623 C compiler flags for capi20, overriding pkg-config
2624 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2625 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2626 CUPS_LIBS Linker flags for cups, overriding pkg-config
2628 C compiler flags for fontconfig, overriding pkg-config
2630 Linker flags for fontconfig, overriding pkg-config
2631 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2632 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2634 C compiler flags for krb5-gssapi, overriding pkg-config
2635 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2637 C compiler flags for netapi, overriding pkg-config
2638 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2640 Use these variables to override the choices made by `configure' or to
help
2641 it to
find libraries and programs with nonstandard names
/locations.
2643 Report bugs to
<wine-devel@winehq.org
>.
2644 Wine home page
: <https
://www.winehq.org
>.
2649 if test "$ac_init_help" = "recursive"; then
2650 # If there are subdirs, report their specific --help.
2651 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2652 test -d "$ac_dir" ||
2653 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2658 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2660 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2661 # A ".." for each directory in $ac_dir_suffix.
2662 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2663 case $ac_top_builddir_sub in
2664 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2665 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2668 ac_abs_top_builddir
=$ac_pwd
2669 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2670 # for backward compatibility:
2671 ac_top_builddir
=$ac_top_build_prefix
2674 .
) # We are building in place.
2676 ac_top_srcdir
=$ac_top_builddir_sub
2677 ac_abs_top_srcdir
=$ac_pwd ;;
2678 [\\/]* | ?
:[\\/]* ) # Absolute name.
2679 ac_srcdir
=$srcdir$ac_dir_suffix;
2680 ac_top_srcdir
=$srcdir
2681 ac_abs_top_srcdir
=$srcdir ;;
2683 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2684 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2685 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2687 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2689 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2690 # Check for configure.gnu first; this name is used for a wrapper for
2691 # Metaconfig's "Configure" on case-insensitive file systems.
2692 if test -f "$ac_srcdir/configure.gnu"; then
2694 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2695 elif test -f "$ac_srcdir/configure"; then
2697 $SHELL "$ac_srcdir/configure" --help=recursive
2699 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2701 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2705 test -n "$ac_init_help" && exit $ac_status
2706 if $ac_init_version; then
2709 generated by GNU Autoconf
2.71
2711 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2712 This configure
script is free software
; the Free Software Foundation
2713 gives unlimited permission to copy
, distribute and modify it.
2718 ## ------------------------ ##
2719 ## Autoconf initialization. ##
2720 ## ------------------------ ##
2722 # ac_fn_c_try_compile LINENO
2723 # --------------------------
2724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2725 ac_fn_c_try_compile
()
2727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2728 rm -f conftest.
$ac_objext conftest.beam
2729 if { { ac_try
="$ac_compile"
2731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 printf "%s\n" "$ac_try_echo"; } >&5
2736 (eval "$ac_compile") 2>conftest.err
2738 if test -s conftest.err; then
2739 grep -v '^ *+' conftest.err >conftest.er1
2740 cat conftest.er1 >&5
2741 mv -f conftest.er1 conftest.err
2743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext
2751 printf "%s\n" "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2757 as_fn_set_status $ac_retval
2759 } # ac_fn_c_try_compile
2761 # ac_fn_cxx_try_compile LINENO
2762 # ----------------------------
2763 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2764 ac_fn_cxx_try_compile ()
2766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2767 rm -f conftest.$ac_objext conftest.beam
2768 if { { ac_try="$ac_compile"
2770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2771 *) ac_try_echo
=$ac_try;;
2773 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2774 printf "%s\n" "$ac_try_echo"; } >&5
2775 (eval "$ac_compile") 2>conftest.err
2777 if test -s conftest.err
; then
2778 grep -v '^ *+' conftest.err
>conftest.er1
2779 cat conftest.er1
>&5
2780 mv -f conftest.er1 conftest.err
2782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; } && {
2784 test -z "$ac_cxx_werror_flag" ||
2785 test ! -s conftest.err
2786 } && test -s conftest.
$ac_objext
2790 printf "%s\n" "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.
$ac_ext >&5
2795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 as_fn_set_status
$ac_retval
2798 } # ac_fn_cxx_try_compile
2800 # ac_fn_c_try_link LINENO
2801 # -----------------------
2802 # Try to link conftest.$ac_ext, and return whether this succeeded.
2805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2806 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2807 if { { ac_try
="$ac_link"
2809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2813 printf "%s\n" "$ac_try_echo"; } >&5
2814 (eval "$ac_link") 2>conftest.err
2816 if test -s conftest.err; then
2817 grep -v '^ *+' conftest.err >conftest.er1
2818 cat conftest.er1 >&5
2819 mv -f conftest.er1 conftest.err
2821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2822 test $ac_status = 0; } && {
2823 test -z "$ac_c_werror_flag" ||
2824 test ! -s conftest.err
2825 } && test -s conftest$ac_exeext && {
2826 test "$cross_compiling" = yes ||
2827 test -x conftest$ac_exeext
2832 printf "%s\n" "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.$ac_ext >&5
2837 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2838 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2839 # interfere with the next link command; also delete a directory that is
2840 # left behind by Apple's compiler. We do this before executing the actions.
2841 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 as_fn_set_status $ac_retval
2845 } # ac_fn_c_try_link
2847 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2848 # -------------------------------------------------------
2849 # Tests whether HEADER exists and can be compiled using the include files in
2850 # INCLUDES, setting the cache variable VAR accordingly.
2851 ac_fn_c_check_header_compile ()
2853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2855 printf %s "checking for $2... " >&6; }
2856 if eval test \${$3+y}
2858 printf %s "(cached) " >&6
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2865 if ac_fn_c_try_compile "$LINENO"
2871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2875 printf "%s\n" "$ac_res" >&6; }
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2878 } # ac_fn_c_check_header_compile
2880 # ac_fn_objc_try_compile LINENO
2881 # -----------------------------
2882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2883 ac_fn_objc_try_compile ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 rm -f conftest.$ac_objext conftest.beam
2887 if { { ac_try="$ac_compile"
2889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2890 *) ac_try_echo
=$ac_try;;
2892 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 printf "%s\n" "$ac_try_echo"; } >&5
2894 (eval "$ac_compile") 2>conftest.err
2896 if test -s conftest.err
; then
2897 grep -v '^ *+' conftest.err
>conftest.er1
2898 cat conftest.er1
>&5
2899 mv -f conftest.er1 conftest.err
2901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; } && {
2903 test -z "$ac_objc_werror_flag" ||
2904 test ! -s conftest.err
2905 } && test -s conftest.
$ac_objext
2909 printf "%s\n" "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.
$ac_ext >&5
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 as_fn_set_status
$ac_retval
2917 } # ac_fn_objc_try_compile
2919 # ac_fn_c_check_func LINENO FUNC VAR
2920 # ----------------------------------
2921 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2922 ac_fn_c_check_func
()
2924 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2926 printf %s
"checking for $2... " >&6; }
2927 if eval test \
${$3+y}
2929 printf %s
"(cached) " >&6
2931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2933 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2935 #define $2 innocuous_$2
2937 /* System header to define __stub macros and hopefully few prototypes,
2938 which can conflict with char $2 (); below. */
2943 /* Override any GCC internal prototype to avoid an error.
2944 Use char because int might match the return type of a GCC
2945 builtin and then its argument prototype would still apply. */
2950 /* The GNU C library defines this for functions which it implements
2951 to always fail with ENOSYS. Some functions are actually named
2952 something starting with __ and the normal name is an alias. */
2953 #if defined __stub_$2 || defined __stub___$2
2965 if ac_fn_c_try_link
"$LINENO"
2971 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2972 conftest
$ac_exeext conftest.
$ac_ext
2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2976 printf "%s\n" "$ac_res" >&6; }
2977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2979 } # ac_fn_c_check_func
2981 # ac_fn_c_try_cpp LINENO
2982 # ----------------------
2983 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2987 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2993 printf "%s\n" "$ac_try_echo"; } >&5
2994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2996 if test -s conftest.err; then
2997 grep -v '^ *+' conftest.err >conftest.er1
2998 cat conftest.er1 >&5
2999 mv -f conftest.er1 conftest.err
3001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3002 test $ac_status = 0; } > conftest.i && {
3003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3004 test ! -s conftest.err
3009 printf "%s\n" "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3015 as_fn_set_status $ac_retval
3019 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3020 # ----------------------------------------------------
3021 # Tries to find if the field MEMBER exists in type AGGR, after including
3022 # INCLUDES, setting cache variable VAR accordingly.
3023 ac_fn_c_check_member ()
3025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3027 printf %s "checking for $2.$3... " >&6; }
3028 if eval test \${$4+y}
3030 printf %s "(cached) " >&6
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3045 if ac_fn_c_try_compile "$LINENO"
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3056 if (sizeof ac_aggr.$3)
3062 if ac_fn_c_try_compile "$LINENO"
3068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3074 printf "%s\n" "$ac_res" >&6; }
3075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3077 } # ac_fn_c_check_member
3079 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3080 # -------------------------------------------
3081 # Tests whether TYPE exists after having included INCLUDES, setting cache
3082 # variable VAR accordingly.
3083 ac_fn_c_check_type ()
3085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3087 printf %s "checking for $2... " >&6; }
3088 if eval test \${$3+y}
3090 printf %s "(cached) " >&6
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3105 if ac_fn_c_try_compile "$LINENO"
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3119 if ac_fn_c_try_compile "$LINENO"
3125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3131 printf "%s\n" "$ac_res" >&6; }
3132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3134 } # ac_fn_c_check_type
3135 ac_configure_args_raw=
3140 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3142 as_fn_append ac_configure_args_raw " '$ac_arg'"
3145 case $ac_configure_args_raw in
3149 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3150 ac_unsafe_a="$ac_unsafe_z#~
"
3151 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3152 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3155 cat >config.log <<_ACEOF
3156 This file contains any messages produced by compilers while
3157 running configure, to aid debugging if configure makes a mistake.
3159 It was created by Wine $as_me 8.12, which was
3160 generated by GNU Autoconf 2.71. Invocation command line was
3162 $ $0$ac_configure_args_raw
3172 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3173 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3174 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3175 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3176 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3178 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3179 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3181 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3182 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3183 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3184 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3185 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3186 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3187 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 case $as_dir in #(((
3198 *) as_dir=$as_dir/ ;;
3200 printf "%s
\n" "PATH
: $as_dir"
3216 # Keep a trace of the command line.
3217 # Strip out --no-create and --no-recursion so they do not pile up.
3218 # Strip out --silent because we don't want to record it for future runs.
3219 # Also quote any args containing shell meta-characters.
3220 # Make two passes to allow for proper duplicate-argument suppression.
3224 ac_must_keep_next=false
3230 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3232 | -silent | --silent | --silen | --sile | --sil)
3235 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3238 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3240 as_fn_append ac_configure_args1 " '$ac_arg'"
3241 if test $ac_must_keep_next = true; then
3242 ac_must_keep_next=false # Got value, back to normal.
3245 *=* | --config-cache | -C | -disable-* | --disable-* \
3246 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3247 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3248 | -with-* | --with-* | -without-* | --without-* | --x)
3249 case "$ac_configure_args0 " in
3250 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3253 -* ) ac_must_keep_next=true ;;
3256 as_fn_append ac_configure_args " '$ac_arg'"
3261 { ac_configure_args0=; unset ac_configure_args0;}
3262 { ac_configure_args1=; unset ac_configure_args1;}
3264 # When interrupted or exit'd, cleanup temporary files, and complete
3265 # config.log. We remove comments because anyway the quotes in there
3266 # would cause problems or look ugly.
3267 # WARNING: Use '\'' to represent an apostrophe within the trap.
3268 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3269 trap 'exit_status=$?
3272 # Save into config.log some information that might help in debugging.
3276 printf "%s
\n" "## ---------------- ##
3277 ## Cache variables. ##
3278 ## ---------------- ##"
3280 # The following way of writing the cache mishandles newlines in values,
3282 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3283 eval ac_val
=\$
$ac_var
3287 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3288 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3291 _ | IFS | as_nl
) ;; #(
3292 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3293 *) { eval $ac_var=; unset $ac_var;} ;;
3298 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3299 *${as_nl}ac_space
=\
*)
3301 "s/'\''/'\''\\\\'\'''\''/g;
3302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3305 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3312 printf "%s\n" "## ----------------- ##
3313 ## Output variables. ##
3314 ## ----------------- ##"
3316 for ac_var
in $ac_subst_vars
3318 eval ac_val
=\$
$ac_var
3320 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3322 printf "%s\n" "$ac_var='\''$ac_val'\''"
3326 if test -n "$ac_subst_files"; then
3327 printf "%s\n" "## ------------------- ##
3328 ## File substitutions. ##
3329 ## ------------------- ##"
3331 for ac_var in $ac_subst_files
3333 eval ac_val=\$$ac_var
3335 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3337 printf "%s\n" "$ac_var='\''$ac_val'\''"
3342 if test -s confdefs.h
; then
3343 printf "%s\n" "## ----------- ##
3350 test "$ac_signal" != 0 &&
3351 printf "%s\n" "$as_me: caught signal $ac_signal"
3352 printf "%s\n" "$as_me: exit $exit_status"
3354 rm -f core
*.core core.conftest.
* &&
3355 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3358 for ac_signal in 1 2 13 15; do
3359 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3364 rm -f -r conftest* confdefs.h
3366 printf "%s\n" "/* confdefs.h */" > confdefs.h
3368 # Predefined preprocessor variables.
3370 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3378 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3380 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3383 # Let the site file select an alternate cache file if it wants to.
3384 # Prefer an explicitly selected file to automatically selected ones.
3385 if test -n "$CONFIG_SITE"; then
3386 ac_site_files="$CONFIG_SITE"
3387 elif test "x$prefix" != xNONE; then
3388 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3390 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3393 for ac_site_file in $ac_site_files
3395 case $ac_site_file in #(
3399 ac_site_file=./$ac_site_file ;;
3401 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3403 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3404 sed 's
/^
/|
/' "$ac_site_file" >&5
3406 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3408 as_fn_error $? "failed to load site script $ac_site_file
3409 See \`config.log
' for more details" "$LINENO" 5; }
3413 if test -r "$cache_file"; then
3414 # Some versions of bash will fail to source /dev/null (special files
3415 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3416 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3418 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3420 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3421 *) . "./$cache_file";;
3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3426 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3430 # Test code for whether the C compiler supports C89 (global declarations)
3431 ac_c_conftest_c89_globals='
3432 /* Does the compiler advertise C89 conformance?
3433 Do not
test the value of __STDC__
, because some compilers
set it to
0
3434 while being otherwise adequately conformant.
*/
3435 #if !defined __STDC__
3436 # error "Compiler does not advertise C89 conformance"
3442 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3443 struct buf
{ int x
; };
3444 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3445 static char
*e
(p
, i
)
3451 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3456 s
= g
(p
, va_arg
(v
,int
));
3461 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3462 function prototypes and stuff
, but not \xHH hex character constants.
3463 These
do not provoke an error unfortunately
, instead are silently treated
3464 as an
"x". The following induces an error
, until -std is added to get
3465 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3466 array size
at least. It is necessary to
write \x00 == 0 to get something
3467 that is true only with
-std.
*/
3468 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3470 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3471 inside
strings and character constants.
*/
3472 #define FOO(x) '\''x'\''
3473 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3475 int
test (int i
, double x
);
3476 struct s1
{int
(*f
) (int a
);};
3477 struct s2
{int
(*f
) (double a
);};
3478 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3481 # Test code for whether the C compiler supports C89 (body of main).
3482 ac_c_conftest_c89_main='
3483 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3486 # Test code for whether the C compiler supports C99 (global declarations)
3487 ac_c_conftest_c99_globals='
3488 // Does the compiler advertise C99 conformance?
3489 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3490 # error "Compiler does not advertise C99 conformance"
3493 #include <stdbool.h>
3494 extern int puts
(const char
*);
3495 extern int
printf (const char
*, ...
);
3496 extern int dprintf
(int
, const char
*, ...
);
3497 extern void
*malloc
(size_t
);
3499 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3500 // dprintf is used instead of fprintf to avoid needing to
declare
3502 #define debug(...) dprintf (2, __VA_ARGS__)
3503 #define showlist(...) puts (#__VA_ARGS__)
3504 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3506 test_varargs_macros
(void
)
3511 debug
("X = %d\n", x
);
3512 showlist
(The first
, second
, and third items.
);
3513 report
(x
>y
, "x is %d but y is %d", x
, y
);
3516 // Check long long types.
3517 #define BIG64 18446744073709551615ull
3518 #define BIG32 4294967295ul
3519 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3521 #error "your preprocessor is broken"
3525 #error "your preprocessor is broken"
3527 static long long int bignum
= -9223372036854775807LL;
3528 static unsigned long long int ubignum
= BIG64
;
3530 struct incomplete_array
3538 const wchar_t
*name
;
3542 typedef const char
*ccp
;
3545 test_restrict
(ccp restrict text
)
3547 // See
if C
++-style comments work.
3548 // Iterate through items via the restricted pointer.
3549 // Also check
for declarations
in for loops.
3550 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3555 // Check varargs and va_copy.
3557 test_varargs
(const char
*format
, ...
)
3560 va_start
(args
, format
);
3562 va_copy
(args_copy
, args
);
3564 const char
*str
= "";
3572 case '\''s
'\'': // string
3573 str
= va_arg
(args_copy
, const char
*);
3575 case '\''d
'\'': // int
3576 number
= va_arg
(args_copy
, int
);
3578 case '\''f
'\'': // float
3579 fnumber
= va_arg
(args_copy
, double
);
3588 return *str
&& number
&& fnumber
;
3592 # Test code for whether the C compiler supports C99 (body of main).
3593 ac_c_conftest_c99_main='
3595 _Bool success
= false
;
3596 success |
= (argc
!= 0);
3599 if (test_restrict
("String literal") == 0)
3601 char
*restrict newvar
= "Another string";
3604 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3605 test_varargs_macros
();
3607 // Check flexible array members.
3608 struct incomplete_array
*ia
=
3609 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3611 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3612 ia-
>data
[i
] = i
* 1.234;
3614 // Check named initializers.
3615 struct named_init ni
= {
3617 .name
= L
"Test wide string",
3618 .average
= 543.34343,
3623 int dynamic_array
[ni.number
];
3624 dynamic_array
[0] = argv
[0][0];
3625 dynamic_array
[ni.number
- 1] = 543;
3627 // work around unused variable warnings
3628 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3629 || dynamic_array
[ni.number
- 1] != 543);
3632 # Test code for whether the C compiler supports C11 (global declarations)
3633 ac_c_conftest_c11_globals='
3634 // Does the compiler advertise C11 conformance?
3635 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3636 # error "Compiler does not advertise C11 conformance"
3640 char _Alignas
(double
) aligned_as_double
;
3641 char _Alignas
(0) no_special_alignment
;
3642 extern char aligned_as_int
;
3643 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3648 int_alignment
= _Alignof
(int
),
3649 int_array_alignment
= _Alignof
(int
[100]),
3650 char_alignment
= _Alignof
(char
)
3652 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3655 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3657 // Check _Static_assert.
3658 struct test_static_assert
3661 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3662 "_Static_assert does not work in struct");
3666 // Check UTF-8 literals.
3667 #define u8 syntax error!
3668 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3670 // Check duplicate typedefs.
3671 typedef long
*long_ptr
;
3672 typedef long int
*long_ptr
;
3673 typedef long_ptr long_ptr
;
3675 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3679 struct
{ int i
; int j
; };
3680 struct
{ int k
; long int l
; } w
;
3686 # Test code for whether the C compiler supports C11 (body of main).
3687 ac_c_conftest_c11_main='
3688 _Static_assert
((offsetof
(struct anonymous
, i
)
3689 == offsetof
(struct anonymous
, w.k
)),
3690 "Anonymous union alignment botch");
3696 # Test code for whether the C compiler supports C11 (complete).
3697 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3698 ${ac_c_conftest_c99_globals}
3699 ${ac_c_conftest_c11_globals}
3702 main (int argc, char **argv)
3705 ${ac_c_conftest_c89_main}
3706 ${ac_c_conftest_c99_main}
3707 ${ac_c_conftest_c11_main}
3712 # Test code for whether the C compiler supports C99 (complete).
3713 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3714 ${ac_c_conftest_c99_globals}
3717 main (int argc, char **argv)
3720 ${ac_c_conftest_c89_main}
3721 ${ac_c_conftest_c99_main}
3726 # Test code for whether the C compiler supports C89 (complete).
3727 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3730 main (int argc, char **argv)
3733 ${ac_c_conftest_c89_main}
3738 # Test code for whether the C++ compiler supports C++98 (global declarations)
3739 ac_cxx_conftest_cxx98_globals='
3740 // Does the compiler advertise C
++98 conformance?
3741 #if !defined __cplusplus || __cplusplus < 199711L
3742 # error "Compiler does not advertise C++98 conformance"
3745 // These inclusions are to reject old compilers that
3746 // lack the unsuffixed header files.
3748 #include <exception>
3750 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3751 extern void assert
(int
);
3753 extern int strcmp
(const char
*, const char
*);
3756 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3757 using std
::exception
;
3762 void test_exception_syntax
()
3766 } catch
(const char
*s
) {
3767 // Extra parentheses suppress a warning when building autoconf itself
,
3768 // due to lint rules shared with
more typical C programs.
3769 assert
(!(strcmp
) (s
, "test"));
3773 template
<typename T
> struct test_template
3776 explicit test_template
(T t
) : val
(t
) {}
3777 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3780 } // anonymous namespace
3783 # Test code for whether the C++ compiler supports C++98 (body of main)
3784 ac_cxx_conftest_cxx98_main='
3788 test_exception_syntax
();
3789 test_template
<double
> tt
(2.0);
3790 assert
(tt.add
(4) == 6.0);
3791 assert
(true
&& !false
);
3795 # Test code for whether the C++ compiler supports C++11 (global declarations)
3796 ac_cxx_conftest_cxx11_globals='
3797 // Does the compiler advertise C
++ 2011 conformance?
3798 #if !defined __cplusplus || __cplusplus < 201103L
3799 # error "Compiler does not advertise C++11 conformance"
3804 constexpr int get_val
() { return 20; }
3815 delegate
(int n
) : n
(n
) {}
3816 delegate
(): delegate
(2354) {}
3818 virtual int getval
() { return this-
>n
; };
3823 class overridden
: public delegate
3826 overridden
(int n
): delegate
(n
) {}
3827 virtual int getval
() override final
{ return this-
>n
* 2; }
3833 nocopy
(int i
): i
(i
) {}
3835 nocopy
(const nocopy
&) = delete
;
3836 nocopy
& operator
=(const nocopy
&) = delete
;
3841 // for testing lambda expressions
3842 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3847 // for testing variadic templates and trailing
return types
3848 template
<typename V
> auto
sum(V first
) -> V
3852 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3854 return first
+ sum(rest...
);
3859 # Test code for whether the C++ compiler supports C++11 (body of main)
3860 ac_cxx_conftest_cxx11_main='
3862 // Test auto and decltype
3864 auto a2
= 48573953.4;
3865 auto a3
= "String literal";
3868 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3870 decltype
(a2
) a4
= 34895.034;
3874 short sa
[cxx11test
::get_val
()] = { 0 };
3877 // Test initializer lists
3878 cxx11test
::testinit il
= { 4323, 435234.23544 };
3881 // Test range-based
for
3882 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3883 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3884 for (auto
&x
: array
) { x
+= 23; }
3887 // Test lambda expressions
3888 using cxx11test
::eval;
3889 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3891 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3893 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3897 // Test use of variadic templates
3898 using cxx11test
::sum;
3901 auto c
= sum(1.0, 2.0, 3.0);
3904 // Test constructor delegation
3905 cxx11test
::delegate d1
;
3906 cxx11test
::delegate d2
();
3907 cxx11test
::delegate d3
(45);
3910 // Test override and final
3911 cxx11test
::overridden o1
(55464);
3918 // Test template brackets
3919 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3923 char const
*utf8
= u8
"UTF-8 string \u2500";
3924 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3925 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3929 # Test code for whether the C compiler supports C++11 (complete).
3930 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3931 ${ac_cxx_conftest_cxx11_globals}
3934 main (int argc, char **argv)
3937 ${ac_cxx_conftest_cxx98_main}
3938 ${ac_cxx_conftest_cxx11_main}
3943 # Test code for whether the C compiler supports C++98 (complete).
3944 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3946 main (int argc, char **argv)
3949 ${ac_cxx_conftest_cxx98_main}
3954 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3955 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3956 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3957 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3958 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3959 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3960 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3961 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3962 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3964 # Auxiliary files required by this configure script.
3965 ac_aux_files="config.guess config.sub"
3967 # Locations in which to look for auxiliary files.
3968 ac_aux_dir_candidates="${srcdir}/tools"
3970 # Search for a directory containing all of the required auxiliary files,
3971 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3972 # If we don't
find one directory that contains all the files we need
,
3973 # we report the set of missing files from the *first* directory in
3974 # $ac_aux_dir_candidates and give up.
3975 ac_missing_aux_files
=""
3976 ac_first_candidate
=:
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 for as_dir
in $ac_aux_dir_candidates
3983 case $as_dir in #(((
3986 *) as_dir
=$as_dir/ ;;
3990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3991 ac_aux_dir_found
=yes
3993 for ac_aux
in $ac_aux_files
3995 # As a special case, if "install-sh" is required, that requirement
3996 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3997 # and $ac_install_sh is set appropriately for whichever one is found.
3998 if test x
"$ac_aux" = x
"install-sh"
4000 if 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}install.sh"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4005 ac_install_sh
="${as_dir}install.sh -c"
4006 elif test -f "${as_dir}shtool"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4008 ac_install_sh
="${as_dir}shtool install -c"
4011 if $ac_first_candidate; then
4012 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4018 if test -f "${as_dir}${ac_aux}"; then
4019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4022 if $ac_first_candidate; then
4023 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4030 if test "$ac_aux_dir_found" = yes; then
4031 ac_aux_dir
="$as_dir"
4034 ac_first_candidate
=false
4043 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4047 # These three variables are undocumented and unsupported,
4048 # and are intended to be withdrawn in a future Autoconf release.
4049 # They can cause serious problems if a builder's source tree is in a directory
4050 # whose full name contains unusual characters.
4051 if test -f "${ac_aux_dir}config.guess"; then
4052 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4054 if test -f "${ac_aux_dir}config.sub"; then
4055 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4057 if test -f "$ac_aux_dir/configure"; then
4058 ac_configure
="$SHELL ${ac_aux_dir}configure"
4061 # Check that the precious variables saved in the cache have kept the same
4063 ac_cache_corrupted
=false
4064 for ac_var
in $ac_precious_vars; do
4065 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4066 eval ac_new_set
=\
$ac_env_${ac_var}_set
4067 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4068 eval ac_new_val
=\
$ac_env_${ac_var}_value
4069 case $ac_old_set,$ac_new_set in
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4072 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4073 ac_cache_corrupted
=: ;;
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4076 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4077 ac_cache_corrupted
=: ;;
4080 if test "x$ac_old_val" != "x$ac_new_val"; then
4081 # differences in whitespace do not lead to failure.
4082 ac_old_val_w
=`echo x $ac_old_val`
4083 ac_new_val_w
=`echo x $ac_new_val`
4084 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4086 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4087 ac_cache_corrupted
=:
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4090 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4091 eval $ac_var=\
$ac_old_val
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4094 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4096 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4099 # Pass precious variables to config.status.
4100 if test "$ac_new_set" = set; then
4102 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4103 *) ac_arg
=$ac_var=$ac_new_val ;;
4105 case " $ac_configure_args " in
4106 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4107 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4111 if $ac_cache_corrupted; then
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4115 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4116 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4117 and start over" "$LINENO" 5
4119 ## -------------------- ##
4120 ## Main body of script. ##
4121 ## -------------------- ##
4124 ac_cpp
='$CPP $CPPFLAGS'
4125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4131 ac_config_headers
="$ac_config_headers include/config.h"
4135 libwine_version
="1.0"
4138 # Check whether --enable-archs was given.
4139 if test ${enable_archs+y}
4141 enableval
=$enable_archs;
4144 # Check whether --enable-win16 was given.
4145 if test ${enable_win16+y}
4147 enableval
=$enable_win16;
4150 # Check whether --enable-win64 was given.
4151 if test ${enable_win64+y}
4153 enableval
=$enable_win64;
4156 # Check whether --enable-tests was given.
4157 if test ${enable_tests+y}
4159 enableval
=$enable_tests;
4162 # Check whether --enable-build-id was given.
4163 if test ${enable_build_id+y}
4165 enableval
=$enable_build_id;
4168 # Check whether --enable-maintainer-mode was given.
4169 if test ${enable_maintainer_mode+y}
4171 enableval
=$enable_maintainer_mode;
4174 # Check whether --enable-silent-rules was given.
4175 if test ${enable_silent_rules+y}
4177 enableval
=$enable_silent_rules;
4180 # Check whether --enable-werror was given.
4181 if test ${enable_werror+y}
4183 enableval
=$enable_werror;
4188 # Check whether --with-alsa was given.
4189 if test ${with_alsa+y}
4195 # Check whether --with-capi was given.
4196 if test ${with_capi+y}
4202 # Check whether --with-coreaudio was given.
4203 if test ${with_coreaudio+y}
4205 withval
=$with_coreaudio;
4209 # Check whether --with-cups was given.
4210 if test ${with_cups+y}
4216 # Check whether --with-dbus was given.
4217 if test ${with_dbus+y}
4223 # Check whether --with-float-abi was given.
4224 if test ${with_float_abi+y}
4226 withval
=$with_float_abi;
4230 # Check whether --with-fontconfig was given.
4231 if test ${with_fontconfig+y}
4233 withval
=$with_fontconfig;
4237 # Check whether --with-freetype was given.
4238 if test ${with_freetype+y}
4240 withval
=$with_freetype;
4244 # Check whether --with-gettext was given.
4245 if test ${with_gettext+y}
4247 withval
=$with_gettext;
4251 # Check whether --with-gettextpo was given.
4252 if test ${with_gettextpo+y}
4254 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4258 # Check whether --with-gphoto was given.
4259 if test ${with_gphoto+y}
4261 withval
=$with_gphoto;
4265 # Check whether --with-gnutls was given.
4266 if test ${with_gnutls+y}
4268 withval
=$with_gnutls;
4272 # Check whether --with-gssapi was given.
4273 if test ${with_gssapi+y}
4275 withval
=$with_gssapi;
4279 # Check whether --with-gstreamer was given.
4280 if test ${with_gstreamer+y}
4282 withval
=$with_gstreamer;
4286 # Check whether --with-inotify was given.
4287 if test ${with_inotify+y}
4289 withval
=$with_inotify;
4293 # Check whether --with-krb5 was given.
4294 if test ${with_krb5+y}
4300 # Check whether --with-mingw was given.
4301 if test ${with_mingw+y}
4303 withval
=$with_mingw;
4307 # Check whether --with-netapi was given.
4308 if test ${with_netapi+y}
4310 withval
=$with_netapi;
4314 # Check whether --with-opencl was given.
4315 if test ${with_opencl+y}
4317 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4321 # Check whether --with-opengl was given.
4322 if test ${with_opengl+y}
4324 withval
=$with_opengl;
4328 # Check whether --with-osmesa was given.
4329 if test ${with_osmesa+y}
4331 withval
=$with_osmesa;
4335 # Check whether --with-oss was given.
4336 if test ${with_oss+y}
4342 # Check whether --with-pcap was given.
4343 if test ${with_pcap+y}
4345 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4349 # Check whether --with-pcsclite was given.
4350 if test ${with_pcsclite+y}
4352 withval
=$with_pcsclite;
4356 # Check whether --with-pthread was given.
4357 if test ${with_pthread+y}
4359 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4363 # Check whether --with-pulse was given.
4364 if test ${with_pulse+y}
4366 withval
=$with_pulse;
4370 # Check whether --with-sane was given.
4371 if test ${with_sane+y}
4377 # Check whether --with-sdl was given.
4378 if test ${with_sdl+y}
4384 # Check whether --with-udev was given.
4385 if test ${with_udev+y}
4391 # Check whether --with-unwind was given.
4392 if test ${with_unwind+y}
4394 withval
=$with_unwind;
4398 # Check whether --with-usb was given.
4399 if test ${with_usb+y}
4405 # Check whether --with-v4l2 was given.
4406 if test ${with_v4l2+y}
4412 # Check whether --with-vulkan was given.
4413 if test ${with_vulkan+y}
4415 withval
=$with_vulkan;
4419 # Check whether --with-wayland was given.
4420 if test ${with_wayland+y}
4422 withval
=$with_wayland;
4426 # Check whether --with-xcomposite was given.
4427 if test ${with_xcomposite+y}
4429 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4433 # Check whether --with-xcursor was given.
4434 if test ${with_xcursor+y}
4436 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4440 # Check whether --with-xfixes was given.
4441 if test ${with_xfixes+y}
4443 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4447 # Check whether --with-xinerama was given.
4448 if test ${with_xinerama+y}
4450 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4454 # Check whether --with-xinput was given.
4455 if test ${with_xinput+y}
4457 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4461 # Check whether --with-xinput2 was given.
4462 if test ${with_xinput2+y}
4464 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4468 # Check whether --with-xrandr was given.
4469 if test ${with_xrandr+y}
4471 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4475 # Check whether --with-xrender was given.
4476 if test ${with_xrender+y}
4478 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4482 # Check whether --with-xshape was given.
4483 if test ${with_xshape+y}
4485 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4489 # Check whether --with-xshm was given.
4490 if test ${with_xshm+y}
4492 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4496 # Check whether --with-xxf86vm was given.
4497 if test ${with_xxf86vm+y}
4499 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
4504 # Check whether --with-system-dllpath was given.
4505 if test ${with_system_dllpath+y}
4507 withval
=$with_system_dllpath; system_dllpath
=$withval
4512 # Check whether --with-wine-tools was given.
4513 if test ${with_wine_tools+y}
4515 withval
=$with_wine_tools;
4519 # Check whether --with-wine64 was given.
4520 if test ${with_wine64+y}
4522 withval
=$with_wine64;
4529 # Make sure we can run config.sub.
4530 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4531 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4534 printf %s
"checking build system type... " >&6; }
4535 if test ${ac_cv_build+y}
4537 printf %s
"(cached) " >&6
4539 ac_build_alias
=$build_alias
4540 test "x$ac_build_alias" = x
&&
4541 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4542 test "x$ac_build_alias" = x
&&
4543 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4544 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4545 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4549 printf "%s\n" "$ac_cv_build" >&6; }
4550 case $ac_cv_build in
4552 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4555 ac_save_IFS
=$IFS; IFS
='-'
4561 # Remember, the first character of IFS is used to create $*,
4562 # except with old shells:
4565 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4569 printf %s
"checking host system type... " >&6; }
4570 if test ${ac_cv_host+y}
4572 printf %s
"(cached) " >&6
4574 if test "x$host_alias" = x
; then
4575 ac_cv_host
=$ac_cv_build
4577 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4578 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4583 printf "%s\n" "$ac_cv_host" >&6; }
4586 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4589 ac_save_IFS
=$IFS; IFS
='-'
4595 # Remember, the first character of IFS is used to create $*,
4596 # except with old shells:
4599 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4603 dlldir
=\
${libdir}/wine
4605 fontdir
=\
${datadir}/wine
/fonts
4607 nlsdir
=\
${datadir}/wine
/nls
4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4613 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4615 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4616 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4618 printf %s
"(cached) " >&6
4620 cat >conftest.
make <<\_ACEOF
4623 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4625 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4628 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4630 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4634 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4636 printf "%s\n" "yes" >&6; }
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 printf "%s\n" "no" >&6; }
4641 SET_MAKE
="MAKE=${MAKE-make}"
4654 ac_cpp
='$CPP $CPPFLAGS'
4655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4658 if test -n "$ac_tool_prefix"; then
4659 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4660 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 printf %s
"checking for $ac_word... " >&6; }
4663 if test ${ac_cv_prog_CC+y}
4665 printf %s
"(cached) " >&6
4667 if test -n "$CC"; then
4668 ac_cv_prog_CC
="$CC" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 case $as_dir in #(((
4677 *) as_dir
=$as_dir/ ;;
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4692 if test -n "$CC"; then
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4694 printf "%s\n" "$CC" >&6; }
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 printf "%s\n" "no" >&6; }
4702 if test -z "$ac_cv_prog_CC"; then
4704 # Extract the first word of "gcc", so it can be a program name with args.
4705 set dummy gcc
; ac_word
=$2
4706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 printf %s
"checking for $ac_word... " >&6; }
4708 if test ${ac_cv_prog_ac_ct_CC+y}
4710 printf %s
"(cached) " >&6
4712 if test -n "$ac_ct_CC"; then
4713 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4719 case $as_dir in #(((
4722 *) as_dir
=$as_dir/ ;;
4724 for ac_exec_ext
in '' $ac_executable_extensions; do
4725 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_ac_ct_CC
="gcc"
4727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4736 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4737 if test -n "$ac_ct_CC"; then
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4739 printf "%s\n" "$ac_ct_CC" >&6; }
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 printf "%s\n" "no" >&6; }
4745 if test "x$ac_ct_CC" = x
; then
4748 case $cross_compiling:$ac_tool_warned in
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned
=yes ;;
4760 if test -z "$CC"; then
4761 if test -n "$ac_tool_prefix"; then
4762 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4763 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 printf %s
"checking for $ac_word... " >&6; }
4766 if test ${ac_cv_prog_CC+y}
4768 printf %s
"(cached) " >&6
4770 if test -n "$CC"; then
4771 ac_cv_prog_CC
="$CC" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 case $as_dir in #(((
4780 *) as_dir
=$as_dir/ ;;
4782 for ac_exec_ext
in '' $ac_executable_extensions; do
4783 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4795 if test -n "$CC"; then
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4797 printf "%s\n" "$CC" >&6; }
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 printf "%s\n" "no" >&6; }
4806 if test -z "$CC"; then
4807 # Extract the first word of "cc", so it can be a program name with args.
4808 set dummy cc
; ac_word
=$2
4809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810 printf %s
"checking for $ac_word... " >&6; }
4811 if test ${ac_cv_prog_CC+y}
4813 printf %s
"(cached) " >&6
4815 if test -n "$CC"; then
4816 ac_cv_prog_CC
="$CC" # Let the user override the test.
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 case $as_dir in #(((
4826 *) as_dir
=$as_dir/ ;;
4828 for ac_exec_ext
in '' $ac_executable_extensions; do
4829 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4830 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4831 ac_prog_rejected
=yes
4835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4842 if test $ac_prog_rejected = yes; then
4843 # We found a bogon in the path, so make sure we never use it.
4844 set dummy
$ac_cv_prog_CC
4846 if test $# != 0; then
4847 # We chose a different compiler from the bogus one.
4848 # However, it has the same basename, so the bogon will be chosen
4849 # first if we set CC to just the basename; use the full file name.
4851 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4857 if test -n "$CC"; then
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4859 printf "%s\n" "$CC" >&6; }
4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 printf "%s\n" "no" >&6; }
4867 if test -z "$CC"; then
4868 if test -n "$ac_tool_prefix"; then
4869 for ac_prog
in cl.exe
4871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4872 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 printf %s
"checking for $ac_word... " >&6; }
4875 if test ${ac_cv_prog_CC+y}
4877 printf %s
"(cached) " >&6
4879 if test -n "$CC"; then
4880 ac_cv_prog_CC
="$CC" # Let the user override the test.
4882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4886 case $as_dir in #(((
4889 *) as_dir
=$as_dir/ ;;
4891 for ac_exec_ext
in '' $ac_executable_extensions; do
4892 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4904 if test -n "$CC"; then
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4906 printf "%s\n" "$CC" >&6; }
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 printf "%s\n" "no" >&6; }
4913 test -n "$CC" && break
4916 if test -z "$CC"; then
4918 for ac_prog
in cl.exe
4920 # Extract the first word of "$ac_prog", so it can be a program name with args.
4921 set dummy
$ac_prog; ac_word
=$2
4922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 printf %s
"checking for $ac_word... " >&6; }
4924 if test ${ac_cv_prog_ac_ct_CC+y}
4926 printf %s
"(cached) " >&6
4928 if test -n "$ac_ct_CC"; then
4929 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4935 case $as_dir in #(((
4938 *) as_dir
=$as_dir/ ;;
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_ac_ct_CC
="$ac_prog"
4943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4952 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4953 if test -n "$ac_ct_CC"; then
4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4955 printf "%s\n" "$ac_ct_CC" >&6; }
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 printf "%s\n" "no" >&6; }
4962 test -n "$ac_ct_CC" && break
4965 if test "x$ac_ct_CC" = x
; then
4968 case $cross_compiling:$ac_tool_warned in
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4971 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4972 ac_tool_warned
=yes ;;
4979 if test -z "$CC"; then
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4982 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 printf %s
"checking for $ac_word... " >&6; }
4985 if test ${ac_cv_prog_CC+y}
4987 printf %s
"(cached) " >&6
4989 if test -n "$CC"; then
4990 ac_cv_prog_CC
="$CC" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 case $as_dir in #(((
4999 *) as_dir
=$as_dir/ ;;
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_CC
="${ac_tool_prefix}clang"
5004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5014 if test -n "$CC"; then
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5016 printf "%s\n" "$CC" >&6; }
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 printf "%s\n" "no" >&6; }
5024 if test -z "$ac_cv_prog_CC"; then
5026 # Extract the first word of "clang", so it can be a program name with args.
5027 set dummy clang
; ac_word
=$2
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 printf %s
"checking for $ac_word... " >&6; }
5030 if test ${ac_cv_prog_ac_ct_CC+y}
5032 printf %s
"(cached) " >&6
5034 if test -n "$ac_ct_CC"; then
5035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5041 case $as_dir in #(((
5044 *) as_dir
=$as_dir/ ;;
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_ac_ct_CC
="clang"
5049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5059 if test -n "$ac_ct_CC"; then
5060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5061 printf "%s\n" "$ac_ct_CC" >&6; }
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 printf "%s\n" "no" >&6; }
5067 if test "x$ac_ct_CC" = x
; then
5070 case $cross_compiling:$ac_tool_warned in
5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned
=yes ;;
5085 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5086 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5087 as_fn_error $?
"no acceptable C compiler found in \$PATH
5088 See \`config.log' for more details" "$LINENO" 5; }
5090 # Provide some information about the compiler.
5091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5094 for ac_option
in --version -v -V -qversion -version; do
5095 { { ac_try
="$ac_compiler $ac_option >&5"
5097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5101 printf "%s\n" "$ac_try_echo"; } >&5
5102 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5104 if test -s conftest.err; then
5106 ... rest of stderr output deleted ...
5107 10q' conftest.err >conftest.er1
5108 cat conftest.er1 >&5
5110 rm -f conftest.er1 conftest.err
5111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5112 test $ac_status = 0; }
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5126 ac_clean_files_save=$ac_clean_files
5127 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5128 # Try to create an executable without -o first, disregard a.out.
5129 # It will help us diagnose broken compilers, and finding out an intuition
5131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5132 printf %s "checking whether the C compiler works... " >&6; }
5133 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5135 # The possible output files:
5136 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5139 for ac_file in $ac_files
5142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5143 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5148 if { { ac_try="$ac_link_default"
5150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5151 *) ac_try_echo
=$ac_try;;
5153 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5154 printf "%s\n" "$ac_try_echo"; } >&5
5155 (eval "$ac_link_default") 2>&5
5157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5158 test $ac_status = 0; }
5160 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5161 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5162 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5163 # so that the user can short-circuit this test for compilers unknown to
5165 for ac_file
in $ac_files ''
5167 test -f "$ac_file" ||
continue
5169 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5172 # We found the default executable, but exeext='' is most
5176 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5178 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5180 # We set ac_cv_exeext here because the later test for it is not
5181 # safe: cross compilers may not add the suffix if given an `-o'
5182 # argument, so we may need to know it at that point already.
5183 # Even if this section looks crufty: it has the advantage of
5190 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5195 if test -z "$ac_file"
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 printf "%s\n" "no" >&6; }
5199 printf "%s\n" "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.
$ac_ext >&5
5202 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5203 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5204 as_fn_error
77 "C compiler cannot create executables
5205 See \`config.log' for more details" "$LINENO" 5; }
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5208 printf "%s\n" "yes" >&6; }
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5211 printf %s
"checking for C compiler default output file name... " >&6; }
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5213 printf "%s\n" "$ac_file" >&6; }
5214 ac_exeext
=$ac_cv_exeext
5216 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5217 ac_clean_files
=$ac_clean_files_save
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5219 printf %s
"checking for suffix of executables... " >&6; }
5220 if { { ac_try
="$ac_link"
5222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5226 printf "%s\n" "$ac_try_echo"; } >&5
5227 (eval "$ac_link") 2>&5
5229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5230 test $ac_status = 0; }
5232 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5233 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5234 # work properly (i.e., refer to `conftest.exe'), while it won't with
5236 for ac_file
in conftest.exe conftest conftest.
*; do
5237 test -f "$ac_file" ||
continue
5239 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5240 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5246 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5247 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5248 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5249 See \`config.log' for more details" "$LINENO" 5; }
5251 rm -f conftest conftest
$ac_cv_exeext
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5253 printf "%s\n" "$ac_cv_exeext" >&6; }
5255 rm -f conftest.
$ac_ext
5256 EXEEXT
=$ac_cv_exeext
5258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5264 FILE *f = fopen ("conftest.out", "w");
5265 return ferror (f) || fclose (f) != 0;
5271 ac_clean_files
="$ac_clean_files conftest.out"
5272 # Check that the compiler produces executables we can run. If not, either
5273 # the compiler is broken, or we cross compile.
5274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5275 printf %s
"checking whether we are cross compiling... " >&6; }
5276 if test "$cross_compiling" != yes; then
5277 { { ac_try
="$ac_link"
5279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 printf "%s\n" "$ac_try_echo"; } >&5
5284 (eval "$ac_link") 2>&5
5286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5287 test $ac_status = 0; }
5288 if { ac_try='./conftest$ac_cv_exeext'
5289 { { case "(($ac_try" in
5290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5291 *) ac_try_echo
=$ac_try;;
5293 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5294 printf "%s\n" "$ac_try_echo"; } >&5
5295 (eval "$ac_try") 2>&5
5297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5298 test $ac_status = 0; }; }; then
5301 if test "$cross_compiling" = maybe
; then
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error
77 "cannot run C compiled programs.
5307 If you meant to cross compile, use \`--host'.
5308 See \`config.log' for more details" "$LINENO" 5; }
5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5313 printf "%s\n" "$cross_compiling" >&6; }
5315 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5316 ac_clean_files
=$ac_clean_files_save
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5318 printf %s
"checking for suffix of object files... " >&6; }
5319 if test ${ac_cv_objext+y}
5321 printf %s
"(cached) " >&6
5323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5334 rm -f conftest.o conftest.obj
5335 if { { ac_try
="$ac_compile"
5337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5338 *) ac_try_echo=$ac_try;;
5340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5341 printf "%s\n" "$ac_try_echo"; } >&5
5342 (eval "$ac_compile") 2>&5
5344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5345 test $ac_status = 0; }
5347 for ac_file in conftest.o conftest.obj conftest.*; do
5348 test -f "$ac_file" || continue;
5350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5356 printf "%s\n" "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.$ac_ext >&5
5359 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5360 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5361 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5362 See \
`config.log' for more details" "$LINENO" 5; }
5364 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5367 printf "%s\n" "$ac_cv_objext" >&6; }
5368 OBJEXT=$ac_cv_objext
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5371 printf %s "checking whether the compiler supports GNU C... " >&6; }
5372 if test ${ac_cv_c_compiler_gnu+y}
5374 printf %s "(cached) " >&6
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5390 if ac_fn_c_try_compile "$LINENO"
5396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5397 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5401 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5404 if test $ac_compiler_gnu = yes; then
5409 ac_test_CFLAGS=${CFLAGS+y}
5410 ac_save_CFLAGS=$CFLAGS
5411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5412 printf %s "checking whether $CC accepts -g... " >&6; }
5413 if test ${ac_cv_prog_cc_g+y}
5415 printf %s "(cached) " >&6
5417 ac_save_c_werror_flag=$ac_c_werror_flag
5418 ac_c_werror_flag=yes
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5432 if ac_fn_c_try_compile "$LINENO"
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5448 if ac_fn_c_try_compile "$LINENO"
5452 ac_c_werror_flag=$ac_save_c_werror_flag
5454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h. */
5465 if ac_fn_c_try_compile "$LINENO"
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 ac_c_werror_flag=$ac_save_c_werror_flag
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5477 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5478 if test $ac_test_CFLAGS; then
5479 CFLAGS=$ac_save_CFLAGS
5480 elif test $ac_cv_prog_cc_g = yes; then
5481 if test "$GCC" = yes; then
5487 if test "$GCC" = yes; then
5494 if test x$ac_prog_cc_stdc = xno
5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5497 printf %s "checking for $CC option to enable C11 features... " >&6; }
5498 if test ${ac_cv_prog_cc_c11+y}
5500 printf %s "(cached) " >&6
5502 ac_cv_prog_cc_c11=no
5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5506 $ac_c_conftest_c11_program
5508 for ac_arg in '' -std=gnu11
5510 CC="$ac_save_CC $ac_arg"
5511 if ac_fn_c_try_compile "$LINENO"
5513 ac_cv_prog_cc_c11=$ac_arg
5515 rm -f core conftest.err conftest.$ac_objext conftest.beam
5516 test "x$ac_cv_prog_cc_c11" != "xno" && break
5518 rm -f conftest.$ac_ext
5522 if test "x$ac_cv_prog_cc_c11" = xno
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5525 printf "%s\n" "unsupported" >&6; }
5527 if test "x$ac_cv_prog_cc_c11" = x
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5530 printf "%s\n" "none needed" >&6; }
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5533 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5534 CC="$CC $ac_cv_prog_cc_c11"
5536 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5540 if test x$ac_prog_cc_stdc = xno
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5543 printf %s "checking for $CC option to enable C99 features... " >&6; }
5544 if test ${ac_cv_prog_cc_c99+y}
5546 printf %s "(cached) " >&6
5548 ac_cv_prog_cc_c99=no
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5552 $ac_c_conftest_c99_program
5554 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5556 CC="$ac_save_CC $ac_arg"
5557 if ac_fn_c_try_compile "$LINENO"
5559 ac_cv_prog_cc_c99=$ac_arg
5561 rm -f core conftest.err conftest.$ac_objext conftest.beam
5562 test "x$ac_cv_prog_cc_c99" != "xno" && break
5564 rm -f conftest.$ac_ext
5568 if test "x$ac_cv_prog_cc_c99" = xno
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5571 printf "%s\n" "unsupported" >&6; }
5573 if test "x$ac_cv_prog_cc_c99" = x
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5576 printf "%s\n" "none needed" >&6; }
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5579 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5580 CC="$CC $ac_cv_prog_cc_c99"
5582 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5586 if test x$ac_prog_cc_stdc = xno
5588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5589 printf %s "checking for $CC option to enable C89 features... " >&6; }
5590 if test ${ac_cv_prog_cc_c89+y}
5592 printf %s "(cached) " >&6
5594 ac_cv_prog_cc_c89=no
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 $ac_c_conftest_c89_program
5600 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5602 CC="$ac_save_CC $ac_arg"
5603 if ac_fn_c_try_compile "$LINENO"
5605 ac_cv_prog_cc_c89=$ac_arg
5607 rm -f core conftest.err conftest.$ac_objext conftest.beam
5608 test "x$ac_cv_prog_cc_c89" != "xno" && break
5610 rm -f conftest.$ac_ext
5614 if test "x$ac_cv_prog_cc_c89" = xno
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5617 printf "%s\n" "unsupported" >&6; }
5619 if test "x$ac_cv_prog_cc_c89" = x
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5622 printf "%s\n" "none needed" >&6; }
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5625 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5626 CC="$CC $ac_cv_prog_cc_c89"
5628 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5634 ac_cpp='$CPP $CPPFLAGS'
5635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5646 ac_cpp='$CXXCPP $CPPFLAGS'
5647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5650 if test -z "$CXX"; then
5651 if test -n "$CCC"; then
5654 if test -n "$ac_tool_prefix"; then
5655 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 printf %s "checking for $ac_word... " >&6; }
5661 if test ${ac_cv_prog_CXX+y}
5663 printf %s "(cached) " >&6
5665 if test -n "$CXX"; then
5666 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 case $as_dir in #(((
5675 *) as_dir=$as_dir/ ;;
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5690 if test -n "$CXX"; then
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5692 printf "%s\n" "$CXX" >&6; }
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 printf "%s\n" "no" >&6; }
5699 test -n "$CXX" && break
5702 if test -z "$CXX"; then
5704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5706 # Extract the first word of "$ac_prog", so it can be a program name with args.
5707 set dummy $ac_prog; ac_word=$2
5708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 printf %s "checking for $ac_word... " >&6; }
5710 if test ${ac_cv_prog_ac_ct_CXX+y}
5712 printf %s "(cached) " >&6
5714 if test -n "$ac_ct_CXX"; then
5715 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 case $as_dir in #(((
5724 *) as_dir=$as_dir/ ;;
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_ac_ct_CXX="$ac_prog"
5729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5738 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5739 if test -n "$ac_ct_CXX"; then
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5741 printf "%s\n" "$ac_ct_CXX" >&6; }
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 printf "%s\n" "no" >&6; }
5748 test -n "$ac_ct_CXX" && break
5751 if test "x$ac_ct_CXX" = x; then
5754 case $cross_compiling:$ac_tool_warned in
5756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5757 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5758 ac_tool_warned=yes ;;
5766 # Provide some information about the compiler.
5767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5770 for ac_option in --version -v -V -qversion; do
5771 { { ac_try="$ac_compiler $ac_option >&5"
5773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5774 *) ac_try_echo
=$ac_try;;
5776 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5777 printf "%s\n" "$ac_try_echo"; } >&5
5778 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5780 if test -s conftest.err
; then
5782 ... rest of stderr output deleted ...
5783 10q' conftest.err
>conftest.er1
5784 cat conftest.er1
>&5
5786 rm -f conftest.er1 conftest.err
5787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5788 test $ac_status = 0; }
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5792 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5793 if test ${ac_cv_cxx_compiler_gnu+y}
5795 printf %s
"(cached) " >&6
5797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5811 if ac_fn_cxx_try_compile
"$LINENO"
5817 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5818 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5822 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5825 if test $ac_compiler_gnu = yes; then
5830 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5831 ac_save_CXXFLAGS
=$CXXFLAGS
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5833 printf %s
"checking whether $CXX accepts -g... " >&6; }
5834 if test ${ac_cv_prog_cxx_g+y}
5836 printf %s
"(cached) " >&6
5838 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5839 ac_cxx_werror_flag
=yes
5842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5853 if ac_fn_cxx_try_compile
"$LINENO"
5855 ac_cv_prog_cxx_g
=yes
5858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5869 if ac_fn_cxx_try_compile
"$LINENO"
5873 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5876 /* end confdefs.h. */
5886 if ac_fn_cxx_try_compile
"$LINENO"
5888 ac_cv_prog_cxx_g
=yes
5890 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5892 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5894 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5895 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5898 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5899 if test $ac_test_CXXFLAGS; then
5900 CXXFLAGS
=$ac_save_CXXFLAGS
5901 elif test $ac_cv_prog_cxx_g = yes; then
5902 if test "$GXX" = yes; then
5908 if test "$GXX" = yes; then
5914 ac_prog_cxx_stdcxx
=no
5915 if test x
$ac_prog_cxx_stdcxx = xno
5917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5918 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5919 if test ${ac_cv_prog_cxx_cxx11+y}
5921 printf %s
"(cached) " >&6
5923 ac_cv_prog_cxx_cxx11
=no
5925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5927 $ac_cxx_conftest_cxx11_program
5929 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5931 CXX
="$ac_save_CXX $ac_arg"
5932 if ac_fn_cxx_try_compile
"$LINENO"
5934 ac_cv_prog_cxx_cxx11
=$ac_arg
5936 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5937 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5939 rm -f conftest.
$ac_ext
5943 if test "x$ac_cv_prog_cxx_cxx11" = xno
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5946 printf "%s\n" "unsupported" >&6; }
5948 if test "x$ac_cv_prog_cxx_cxx11" = x
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5951 printf "%s\n" "none needed" >&6; }
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5954 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5955 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5957 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5958 ac_prog_cxx_stdcxx
=cxx11
5961 if test x
$ac_prog_cxx_stdcxx = xno
5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5964 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5965 if test ${ac_cv_prog_cxx_cxx98+y}
5967 printf %s
"(cached) " >&6
5969 ac_cv_prog_cxx_cxx98
=no
5971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5973 $ac_cxx_conftest_cxx98_program
5975 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5977 CXX
="$ac_save_CXX $ac_arg"
5978 if ac_fn_cxx_try_compile
"$LINENO"
5980 ac_cv_prog_cxx_cxx98
=$ac_arg
5982 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5983 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5985 rm -f conftest.
$ac_ext
5989 if test "x$ac_cv_prog_cxx_cxx98" = xno
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5992 printf "%s\n" "unsupported" >&6; }
5994 if test "x$ac_cv_prog_cxx_cxx98" = x
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5997 printf "%s\n" "none needed" >&6; }
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6000 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6001 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
6003 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
6004 ac_prog_cxx_stdcxx
=cxx98
6009 ac_cpp
='$CPP $CPPFLAGS'
6010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6014 if test -n "$ac_tool_prefix"; then
6015 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6016 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 printf %s
"checking for $ac_word... " >&6; }
6019 if test ${ac_cv_prog_CPPBIN+y}
6021 printf %s
"(cached) " >&6
6023 if test -n "$CPPBIN"; then
6024 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6030 case $as_dir in #(((
6033 *) as_dir
=$as_dir/ ;;
6035 for ac_exec_ext
in '' $ac_executable_extensions; do
6036 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6037 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6047 CPPBIN
=$ac_cv_prog_CPPBIN
6048 if test -n "$CPPBIN"; then
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6050 printf "%s\n" "$CPPBIN" >&6; }
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 printf "%s\n" "no" >&6; }
6058 if test -z "$ac_cv_prog_CPPBIN"; then
6059 ac_ct_CPPBIN
=$CPPBIN
6060 # Extract the first word of "cpp", so it can be a program name with args.
6061 set dummy cpp
; ac_word
=$2
6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 printf %s
"checking for $ac_word... " >&6; }
6064 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6066 printf %s
"(cached) " >&6
6068 if test -n "$ac_ct_CPPBIN"; then
6069 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6075 case $as_dir in #(((
6078 *) as_dir
=$as_dir/ ;;
6080 for ac_exec_ext
in '' $ac_executable_extensions; do
6081 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6092 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6093 if test -n "$ac_ct_CPPBIN"; then
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6095 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 printf "%s\n" "no" >&6; }
6101 if test "x$ac_ct_CPPBIN" = x
; then
6104 case $cross_compiling:$ac_tool_warned in
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6107 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6108 ac_tool_warned
=yes ;;
6110 CPPBIN
=$ac_ct_CPPBIN
6113 CPPBIN
="$ac_cv_prog_CPPBIN"
6117 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6119 if test -n "$ac_tool_prefix"; then
6120 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6121 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 printf %s
"checking for $ac_word... " >&6; }
6124 if test ${ac_cv_prog_LD+y}
6126 printf %s
"(cached) " >&6
6128 if test -n "$LD"; then
6129 ac_cv_prog_LD
="$LD" # Let the user override the test.
6131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6135 case $as_dir in #(((
6138 *) as_dir
=$as_dir/ ;;
6140 for ac_exec_ext
in '' $ac_executable_extensions; do
6141 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6142 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6153 if test -n "$LD"; then
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6155 printf "%s\n" "$LD" >&6; }
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 printf "%s\n" "no" >&6; }
6163 if test -z "$ac_cv_prog_LD"; then
6165 # Extract the first word of "ld", so it can be a program name with args.
6166 set dummy ld
; ac_word
=$2
6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 printf %s
"checking for $ac_word... " >&6; }
6169 if test ${ac_cv_prog_ac_ct_LD+y}
6171 printf %s
"(cached) " >&6
6173 if test -n "$ac_ct_LD"; then
6174 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6180 case $as_dir in #(((
6183 *) as_dir
=$as_dir/ ;;
6185 for ac_exec_ext
in '' $ac_executable_extensions; do
6186 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6187 ac_cv_prog_ac_ct_LD
="ld"
6188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6197 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6198 if test -n "$ac_ct_LD"; then
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6200 printf "%s\n" "$ac_ct_LD" >&6; }
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203 printf "%s\n" "no" >&6; }
6206 if test "x$ac_ct_LD" = x
; then
6209 case $cross_compiling:$ac_tool_warned in
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6212 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213 ac_tool_warned
=yes ;;
6224 with_fontconfig
=${with_fontconfig:-no}
6226 *-mingw32*|
*-cygwin*)
6227 enable_win16
=${enable_win16:-no}
6228 with_mingw
=${with_mingw:-no}
6235 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6241 printf %s
"checking whether $CC works... " >&6; }
6242 if test ${wine_cv_cc_m32+y}
6244 printf %s
"(cached) " >&6
6246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6257 if ac_fn_c_try_link
"$LINENO"
6263 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6264 conftest
$ac_exeext conftest.
$ac_ext
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6267 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6268 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
6270 notice_platform
="32-bit "
6271 TARGETFLAGS
="$TARGETFLAGS -m32"
6272 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6273 export PKG_CONFIG_LIBDIR
6274 with_unwind
=${with_unwind:-no}
6279 notice_platform
="64-bit "
6280 TARGETFLAGS
="$TARGETFLAGS -m64"
6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6285 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6286 if test ${wine_cv_thumb2+y}
6288 printf %s
"(cached) " >&6
6290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6296 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6301 if ac_fn_c_try_link
"$LINENO"
6307 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6308 conftest
$ac_exeext conftest.
$ac_ext
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6311 printf "%s\n" "$wine_cv_thumb2" >&6; }
6312 if test x
"$wine_cv_thumb2" = xyes
6314 CFLAGS
="$CFLAGS -mthumb"
6315 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6317 CFLAGS
="$CFLAGS -marm"
6318 TARGETFLAGS
="$TARGETFLAGS -marm"
6320 case $with_float_abi in
6322 float_abi
=$with_float_abi ;;
6329 saved_CFLAGS
=$CFLAGS
6330 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6332 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6333 if test ${wine_cv_float_abi+y}
6335 printf %s
"(cached) " >&6
6337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6343 asm("vmrs r2,fpscr");
6348 if ac_fn_c_try_link
"$LINENO"
6350 wine_cv_float_abi
=yes
6352 wine_cv_float_abi
=no
6354 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6355 conftest
$ac_exeext conftest.
$ac_ext
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6358 printf "%s\n" "$wine_cv_float_abi" >&6; }
6359 if test $wine_cv_float_abi = no
6362 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6364 CFLAGS
=$saved_CFLAGS
6368 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6369 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6372 with_unwind
=${with_unwind:-no}
6376 enable_win16
=${enable_win16:-i386}
6377 enable_win64
=${enable_win64:-no}
6378 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6379 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6380 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6382 enable_winetest
=${enable_winetest:-$enable_tests}
6384 if test "x$enable_win64" = "xyes"
6386 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6387 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6391 cygwin
*|mingw32
*) toolsext
=".exe"
6399 aarch64
*) HOST_ARCH
=aarch64
;;
6400 arm
*) HOST_ARCH
=arm
;;
6401 i
[3456789]86*) HOST_ARCH
=i386
;;
6402 x86_64
) HOST_ARCH
=x86_64
;;
6406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6407 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6408 if test ${wine_cv_toolsdir+y}
6410 printf %s
"(cached) " >&6
6412 wine_cv_toolsdir
="$with_wine_tools"
6413 if test -z "$with_wine_tools"; then
6414 if test "$cross_compiling" = "yes"; then
6415 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6416 elif test -n "$with_wine64"; then
6417 wine_cv_toolsdir
="$with_wine64"
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6422 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6423 if test -z "$wine_cv_toolsdir"; then
6424 wine_makedep
=tools
/makedep
$toolsext
6425 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6426 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6427 enable_tools
=${enable_tools:-no}
6428 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6430 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6432 toolsdir
=$wine_cv_toolsdir
6434 MAKEDEP
=$wine_makedep
6436 RUNTESTFLAGS
="-q -P wine"
6438 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'"
6441 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6443 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6448 # Extract the first word of "$ac_prog", so it can be a program name with args.
6449 set dummy
$ac_prog; ac_word
=$2
6450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 printf %s
"checking for $ac_word... " >&6; }
6452 if test ${ac_cv_prog_FLEX+y}
6454 printf %s
"(cached) " >&6
6456 if test -n "$FLEX"; then
6457 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6463 case $as_dir in #(((
6466 *) as_dir
=$as_dir/ ;;
6468 for ac_exec_ext
in '' $ac_executable_extensions; do
6469 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6470 ac_cv_prog_FLEX
="$ac_prog"
6471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6480 FLEX
=$ac_cv_prog_FLEX
6481 if test -n "$FLEX"; then
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6483 printf "%s\n" "$FLEX" >&6; }
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 printf "%s\n" "no" >&6; }
6490 test -n "$FLEX" && break
6492 test -n "$FLEX" || FLEX
="none"
6494 if test "$FLEX" = "none"
6496 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6499 printf %s
"checking whether flex is recent enough... " >&6; }
6500 if test ${wine_cv_recent_flex+y}
6502 printf %s
"(cached) " >&6
6504 cat >conftest.l
<<EOF
6506 #include "prediluvian.h"
6510 if $FLEX -t conftest.l
>/dev
/null
2>&5
6512 wine_cv_recent_flex
=yes
6514 wine_cv_recent_flex
=no
6517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6518 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6519 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
6521 for ac_prog
in bison
6523 # Extract the first word of "$ac_prog", so it can be a program name with args.
6524 set dummy
$ac_prog; ac_word
=$2
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 printf %s
"checking for $ac_word... " >&6; }
6527 if test ${ac_cv_prog_BISON+y}
6529 printf %s
"(cached) " >&6
6531 if test -n "$BISON"; then
6532 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6538 case $as_dir in #(((
6541 *) as_dir
=$as_dir/ ;;
6543 for ac_exec_ext
in '' $ac_executable_extensions; do
6544 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6545 ac_cv_prog_BISON
="$ac_prog"
6546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6555 BISON
=$ac_cv_prog_BISON
6556 if test -n "$BISON"; then
6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6558 printf "%s\n" "$BISON" >&6; }
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6561 printf "%s\n" "no" >&6; }
6565 test -n "$BISON" && break
6567 test -n "$BISON" || BISON
="none"
6569 if test "$BISON" = "none"
6571 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6574 printf %s
"checking whether bison is recent enough... " >&6; }
6575 if test ${wine_cv_recent_bison+y}
6577 printf %s
"(cached) " >&6
6579 cat >conftest.y
<<EOF
6580 %define parse.error verbose
6584 if $BISON conftest.y
>/dev
/null
2>&5
6586 wine_cv_recent_bison
=yes
6588 wine_cv_recent_bison
=no
6591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6592 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6593 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
6595 if test -n "$ac_tool_prefix"; then
6596 for ac_prog
in ar gar
6598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6599 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 printf %s
"checking for $ac_word... " >&6; }
6602 if test ${ac_cv_prog_AR+y}
6604 printf %s
"(cached) " >&6
6606 if test -n "$AR"; then
6607 ac_cv_prog_AR
="$AR" # Let the user override the test.
6609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6613 case $as_dir in #(((
6616 *) as_dir
=$as_dir/ ;;
6618 for ac_exec_ext
in '' $ac_executable_extensions; do
6619 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6631 if test -n "$AR"; then
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6633 printf "%s\n" "$AR" >&6; }
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 printf "%s\n" "no" >&6; }
6640 test -n "$AR" && break
6643 if test -z "$AR"; then
6645 for ac_prog
in ar gar
6647 # Extract the first word of "$ac_prog", so it can be a program name with args.
6648 set dummy
$ac_prog; ac_word
=$2
6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 printf %s
"checking for $ac_word... " >&6; }
6651 if test ${ac_cv_prog_ac_ct_AR+y}
6653 printf %s
"(cached) " >&6
6655 if test -n "$ac_ct_AR"; then
6656 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6662 case $as_dir in #(((
6665 *) as_dir
=$as_dir/ ;;
6667 for ac_exec_ext
in '' $ac_executable_extensions; do
6668 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6669 ac_cv_prog_ac_ct_AR
="$ac_prog"
6670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6679 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6680 if test -n "$ac_ct_AR"; then
6681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6682 printf "%s\n" "$ac_ct_AR" >&6; }
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 printf "%s\n" "no" >&6; }
6689 test -n "$ac_ct_AR" && break
6692 if test "x$ac_ct_AR" = x
; then
6695 case $cross_compiling:$ac_tool_warned in
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned
=yes ;;
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6707 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 printf %s
"checking for $ac_word... " >&6; }
6710 if test ${ac_cv_prog_STRIP+y}
6712 printf %s
"(cached) " >&6
6714 if test -n "$STRIP"; then
6715 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6721 case $as_dir in #(((
6724 *) as_dir
=$as_dir/ ;;
6726 for ac_exec_ext
in '' $ac_executable_extensions; do
6727 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6728 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6738 STRIP
=$ac_cv_prog_STRIP
6739 if test -n "$STRIP"; then
6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6741 printf "%s\n" "$STRIP" >&6; }
6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 printf "%s\n" "no" >&6; }
6749 if test -z "$ac_cv_prog_STRIP"; then
6751 # Extract the first word of "strip", so it can be a program name with args.
6752 set dummy strip
; ac_word
=$2
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 printf %s
"checking for $ac_word... " >&6; }
6755 if test ${ac_cv_prog_ac_ct_STRIP+y}
6757 printf %s
"(cached) " >&6
6759 if test -n "$ac_ct_STRIP"; then
6760 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6766 case $as_dir in #(((
6769 *) as_dir
=$as_dir/ ;;
6771 for ac_exec_ext
in '' $ac_executable_extensions; do
6772 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_ac_ct_STRIP
="strip"
6774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6783 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6784 if test -n "$ac_ct_STRIP"; then
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6786 printf "%s\n" "$ac_ct_STRIP" >&6; }
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 printf "%s\n" "no" >&6; }
6792 if test "x$ac_ct_STRIP" = x
; then
6795 case $cross_compiling:$ac_tool_warned in
6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6798 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6799 ac_tool_warned
=yes ;;
6804 STRIP
="$ac_cv_prog_STRIP"
6807 if test -n "$ac_tool_prefix"; then
6808 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6809 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 printf %s
"checking for $ac_word... " >&6; }
6812 if test ${ac_cv_prog_RANLIB+y}
6814 printf %s
"(cached) " >&6
6816 if test -n "$RANLIB"; then
6817 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6823 case $as_dir in #(((
6826 *) as_dir
=$as_dir/ ;;
6828 for ac_exec_ext
in '' $ac_executable_extensions; do
6829 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6840 RANLIB
=$ac_cv_prog_RANLIB
6841 if test -n "$RANLIB"; then
6842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6843 printf "%s\n" "$RANLIB" >&6; }
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6846 printf "%s\n" "no" >&6; }
6851 if test -z "$ac_cv_prog_RANLIB"; then
6852 ac_ct_RANLIB
=$RANLIB
6853 # Extract the first word of "ranlib", so it can be a program name with args.
6854 set dummy ranlib
; ac_word
=$2
6855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856 printf %s
"checking for $ac_word... " >&6; }
6857 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6859 printf %s
"(cached) " >&6
6861 if test -n "$ac_ct_RANLIB"; then
6862 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6868 case $as_dir in #(((
6871 *) as_dir
=$as_dir/ ;;
6873 for ac_exec_ext
in '' $ac_executable_extensions; do
6874 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6875 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6885 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6886 if test -n "$ac_ct_RANLIB"; then
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6888 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891 printf "%s\n" "no" >&6; }
6894 if test "x$ac_ct_RANLIB" = x
; then
6897 case $cross_compiling:$ac_tool_warned in
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6900 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6901 ac_tool_warned
=yes ;;
6903 RANLIB
=$ac_ct_RANLIB
6906 RANLIB
="$ac_cv_prog_RANLIB"
6909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6910 printf %s
"checking whether ln -s works... " >&6; }
6912 if test "$LN_S" = "ln -s"; then
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6914 printf "%s\n" "yes" >&6; }
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6917 printf "%s\n" "no, using $LN_S" >&6; }
6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6921 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6922 if test ${ac_cv_path_GREP+y}
6924 printf %s
"(cached) " >&6
6926 if test -z "$GREP"; then
6927 ac_path_GREP_found
=false
6928 # Loop through the user's path and test for each of PROGNAME-LIST
6929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6930 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6933 case $as_dir in #(((
6936 *) as_dir
=$as_dir/ ;;
6938 for ac_prog
in grep ggrep
6940 for ac_exec_ext
in '' $ac_executable_extensions; do
6941 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6942 as_fn_executable_p
"$ac_path_GREP" ||
continue
6943 # Check for GNU ac_path_GREP and select it if it is found.
6944 # Check for GNU $ac_path_GREP
6945 case `"$ac_path_GREP" --version 2>&1` in
6947 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6950 printf %s
0123456789 >"conftest.in"
6953 cat "conftest.in" "conftest.in" >"conftest.tmp"
6954 mv "conftest.tmp" "conftest.in"
6955 cp "conftest.in" "conftest.nl"
6956 printf "%s\n" 'GREP' >> "conftest.nl"
6957 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6958 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6959 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6960 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6961 # Best one so far, save it but keep looking for a better one
6962 ac_cv_path_GREP
="$ac_path_GREP"
6963 ac_path_GREP_max
=$ac_count
6965 # 10*(2^10) chars as input seems more than enough
6966 test $ac_count -gt 10 && break
6968 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6971 $ac_path_GREP_found && break 3
6976 if test -z "$ac_cv_path_GREP"; then
6977 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6980 ac_cv_path_GREP
=$GREP
6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6985 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6986 GREP
="$ac_cv_path_GREP"
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6990 printf %s
"checking for egrep... " >&6; }
6991 if test ${ac_cv_path_EGREP+y}
6993 printf %s
"(cached) " >&6
6995 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6996 then ac_cv_path_EGREP
="$GREP -E"
6998 if test -z "$EGREP"; then
6999 ac_path_EGREP_found
=false
7000 # Loop through the user's path and test for each of PROGNAME-LIST
7001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7002 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7005 case $as_dir in #(((
7008 *) as_dir
=$as_dir/ ;;
7010 for ac_prog
in egrep
7012 for ac_exec_ext
in '' $ac_executable_extensions; do
7013 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7014 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7015 # Check for GNU ac_path_EGREP and select it if it is found.
7016 # Check for GNU $ac_path_EGREP
7017 case `"$ac_path_EGREP" --version 2>&1` in
7019 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7022 printf %s
0123456789 >"conftest.in"
7025 cat "conftest.in" "conftest.in" >"conftest.tmp"
7026 mv "conftest.tmp" "conftest.in"
7027 cp "conftest.in" "conftest.nl"
7028 printf "%s\n" 'EGREP' >> "conftest.nl"
7029 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7030 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7031 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7032 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7033 # Best one so far, save it but keep looking for a better one
7034 ac_cv_path_EGREP
="$ac_path_EGREP"
7035 ac_path_EGREP_max
=$ac_count
7037 # 10*(2^10) chars as input seems more than enough
7038 test $ac_count -gt 10 && break
7040 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7043 $ac_path_EGREP_found && break 3
7048 if test -z "$ac_cv_path_EGREP"; then
7049 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7052 ac_cv_path_EGREP
=$EGREP
7057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7058 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7059 EGREP
="$ac_cv_path_EGREP"
7062 # Extract the first word of "ldconfig", so it can be a program name with args.
7063 set dummy ldconfig
; ac_word
=$2
7064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 printf %s
"checking for $ac_word... " >&6; }
7066 if test ${ac_cv_path_LDCONFIG+y}
7068 printf %s
"(cached) " >&6
7072 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7076 for as_dir
in /sbin
/usr
/sbin
$PATH
7079 case $as_dir in #(((
7082 *) as_dir
=$as_dir/ ;;
7084 for ac_exec_ext
in '' $ac_executable_extensions; do
7085 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7086 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7094 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7098 LDCONFIG
=$ac_cv_path_LDCONFIG
7099 if test -n "$LDCONFIG"; then
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7101 printf "%s\n" "$LDCONFIG" >&6; }
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 printf "%s\n" "no" >&6; }
7108 for ac_prog
in msgfmt
7110 # Extract the first word of "$ac_prog", so it can be a program name with args.
7111 set dummy
$ac_prog; ac_word
=$2
7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 printf %s
"checking for $ac_word... " >&6; }
7114 if test ${ac_cv_prog_MSGFMT+y}
7116 printf %s
"(cached) " >&6
7118 if test -n "$MSGFMT"; then
7119 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7125 case $as_dir in #(((
7128 *) as_dir
=$as_dir/ ;;
7130 for ac_exec_ext
in '' $ac_executable_extensions; do
7131 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_MSGFMT
="$ac_prog"
7133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7142 MSGFMT
=$ac_cv_prog_MSGFMT
7143 if test -n "$MSGFMT"; then
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7145 printf "%s\n" "$MSGFMT" >&6; }
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 printf "%s\n" "no" >&6; }
7152 test -n "$MSGFMT" && break
7154 test -n "$MSGFMT" || MSGFMT
="false"
7156 if test ${ac_tool_prefix+y}
7158 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7159 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 printf %s
"checking for $ac_word... " >&6; }
7162 if test ${ac_cv_prog_PKG_CONFIG+y}
7164 printf %s
"(cached) " >&6
7166 if test -n "$PKG_CONFIG"; then
7167 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7173 case $as_dir in #(((
7176 *) as_dir
=$as_dir/ ;;
7178 for ac_exec_ext
in '' $ac_executable_extensions; do
7179 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7190 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7191 if test -n "$PKG_CONFIG"; then
7192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7193 printf "%s\n" "$PKG_CONFIG" >&6; }
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 printf "%s\n" "no" >&6; }
7201 if ${ac_cv_prog_PKG_CONFIG:+false} :
7203 if test "x$cross_compiling" = xyes
7207 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7208 # Extract the first word of "pkg-config", so it can be a program name with args.
7209 set dummy pkg-config
; ac_word
=$2
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 printf %s
"checking for $ac_word... " >&6; }
7212 if test ${ac_cv_prog_PKG_CONFIG+y}
7214 printf %s
"(cached) " >&6
7216 if test -n "$PKG_CONFIG"; then
7217 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7223 case $as_dir in #(((
7226 *) as_dir
=$as_dir/ ;;
7228 for ac_exec_ext
in '' $ac_executable_extensions; do
7229 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_PKG_CONFIG
="pkg-config"
7231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7240 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7241 if test -n "$PKG_CONFIG"; then
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7243 printf "%s\n" "$PKG_CONFIG" >&6; }
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 printf "%s\n" "no" >&6; }
7252 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7255 if test "x$enable_maintainer_mode" != "xyes"
7262 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7263 for ac_prog
in fontforge
7265 # Extract the first word of "$ac_prog", so it can be a program name with args.
7266 set dummy
$ac_prog; ac_word
=$2
7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 printf %s
"checking for $ac_word... " >&6; }
7269 if test ${ac_cv_prog_FONTFORGE+y}
7271 printf %s
"(cached) " >&6
7273 if test -n "$FONTFORGE"; then
7274 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7280 case $as_dir in #(((
7283 *) as_dir
=$as_dir/ ;;
7285 for ac_exec_ext
in '' $ac_executable_extensions; do
7286 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_FONTFORGE
="$ac_prog"
7288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7297 FONTFORGE
=$ac_cv_prog_FONTFORGE
7298 if test -n "$FONTFORGE"; then
7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7300 printf "%s\n" "$FONTFORGE" >&6; }
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 printf "%s\n" "no" >&6; }
7307 test -n "$FONTFORGE" && break
7309 test -n "$FONTFORGE" || FONTFORGE
="false"
7311 for ac_prog
in rsvg-convert rsvg
7313 # Extract the first word of "$ac_prog", so it can be a program name with args.
7314 set dummy
$ac_prog; ac_word
=$2
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 printf %s
"checking for $ac_word... " >&6; }
7317 if test ${ac_cv_prog_RSVG+y}
7319 printf %s
"(cached) " >&6
7321 if test -n "$RSVG"; then
7322 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7328 case $as_dir in #(((
7331 *) as_dir
=$as_dir/ ;;
7333 for ac_exec_ext
in '' $ac_executable_extensions; do
7334 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7335 ac_cv_prog_RSVG
="$ac_prog"
7336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7345 RSVG
=$ac_cv_prog_RSVG
7346 if test -n "$RSVG"; then
7347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7348 printf "%s\n" "$RSVG" >&6; }
7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 printf "%s\n" "no" >&6; }
7355 test -n "$RSVG" && break
7357 test -n "$RSVG" || RSVG
="false"
7359 for ac_prog
in convert
7361 # Extract the first word of "$ac_prog", so it can be a program name with args.
7362 set dummy
$ac_prog; ac_word
=$2
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 printf %s
"checking for $ac_word... " >&6; }
7365 if test ${ac_cv_prog_CONVERT+y}
7367 printf %s
"(cached) " >&6
7369 if test -n "$CONVERT"; then
7370 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7376 case $as_dir in #(((
7379 *) as_dir
=$as_dir/ ;;
7381 for ac_exec_ext
in '' $ac_executable_extensions; do
7382 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7383 ac_cv_prog_CONVERT
="$ac_prog"
7384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7393 CONVERT
=$ac_cv_prog_CONVERT
7394 if test -n "$CONVERT"; then
7395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7396 printf "%s\n" "$CONVERT" >&6; }
7398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7399 printf "%s\n" "no" >&6; }
7403 test -n "$CONVERT" && break
7405 test -n "$CONVERT" || CONVERT
="false"
7407 for ac_prog
in icotool
7409 # Extract the first word of "$ac_prog", so it can be a program name with args.
7410 set dummy
$ac_prog; ac_word
=$2
7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 printf %s
"checking for $ac_word... " >&6; }
7413 if test ${ac_cv_prog_ICOTOOL+y}
7415 printf %s
"(cached) " >&6
7417 if test -n "$ICOTOOL"; then
7418 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7424 case $as_dir in #(((
7427 *) as_dir
=$as_dir/ ;;
7429 for ac_exec_ext
in '' $ac_executable_extensions; do
7430 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7431 ac_cv_prog_ICOTOOL
="$ac_prog"
7432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7441 ICOTOOL
=$ac_cv_prog_ICOTOOL
7442 if test -n "$ICOTOOL"; then
7443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7444 printf "%s\n" "$ICOTOOL" >&6; }
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 printf "%s\n" "no" >&6; }
7451 test -n "$ICOTOOL" && break
7453 test -n "$ICOTOOL" || ICOTOOL
="false"
7455 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7456 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7458 if test "$CONVERT" = false
7460 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7463 printf %s
"checking for recent enough imagemagick... " >&6; }
7464 convert_version
=`convert --version | head -n1`
7465 if test "x$convert_version" != "x"
7467 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7468 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7469 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7474 if test "$CONVERT" = false
7476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7477 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7478 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7481 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7485 if test "$ICOTOOL" = false
7487 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7490 printf %s
"checking for recent enough icotool... " >&6; }
7491 icotool_version
=`icotool --version | head -n1`
7492 if test "x$icotool_version" != "x"
7494 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7499 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7502 if test "$ICOTOOL" = false
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7505 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7506 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7509 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7519 test "x$with_gettext" != xno || MSGFMT
=false
7520 if test "$MSGFMT" != "false"
7522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7523 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7524 if test ${wine_cv_msgfmt_contexts+y}
7526 printf %s
"(cached) " >&6
7528 cat >conftest.po
<<EOF
7534 if $MSGFMT -o /dev
/null conftest.po
2>&5
7536 wine_cv_msgfmt_contexts
=yes
7538 wine_cv_msgfmt_contexts
=no
7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7542 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7543 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7545 if test "$MSGFMT" = false
7547 case "x$with_gettext" in
7548 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7550 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7551 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7553 enable_po
=${enable_po:-no}
7557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7558 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7559 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7561 printf %s
"(cached) " >&6
7563 ac_check_lib_save_LIBS
=$LIBS
7565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7568 /* Override any GCC internal prototype to avoid an error.
7569 Use char because int might match the return type of a GCC
7570 builtin and then its argument prototype would still apply. */
7571 char i386_set_ldt ();
7575 return i386_set_ldt ();
7580 if ac_fn_c_try_link
"$LINENO"
7582 ac_cv_lib_i386_i386_set_ldt
=yes
7584 ac_cv_lib_i386_i386_set_ldt
=no
7586 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7587 conftest
$ac_exeext conftest.
$ac_ext
7588 LIBS
=$ac_check_lib_save_LIBS
7590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7591 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7592 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7603 # Check whether --enable-largefile was given.
7604 if test ${enable_largefile+y}
7606 enableval
=$enable_largefile;
7609 if test "$enable_largefile" != no
; then
7611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7612 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7613 if test ${ac_cv_sys_largefile_CC+y}
7615 printf %s
"(cached) " >&6
7617 ac_cv_sys_largefile_CC
=no
7618 if test "$GCC" != yes; then
7621 # IRIX 6.2 and later do not support large files by default,
7622 # so use the C compiler's -n32 option if that helps.
7623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7625 #include <sys/types.h>
7626 /* Check that off_t can represent 2**63 - 1 correctly.
7627 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7628 since some C++ compilers masquerading as C compilers
7629 incorrectly reject 9223372036854775807. */
7630 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7631 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7632 && LARGE_OFF_T % 2147483647 == 1)
7642 if ac_fn_c_try_compile
"$LINENO"
7646 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7648 if ac_fn_c_try_compile
"$LINENO"
7650 ac_cv_sys_largefile_CC
=' -n32'; break
7652 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7656 rm -f conftest.
$ac_ext
7659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7660 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7661 if test "$ac_cv_sys_largefile_CC" != no
; then
7662 CC
=$CC$ac_cv_sys_largefile_CC
7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7666 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7667 if test ${ac_cv_sys_file_offset_bits+y}
7669 printf %s
"(cached) " >&6
7672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #include <sys/types.h>
7675 /* Check that off_t can represent 2**63 - 1 correctly.
7676 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7677 since some C++ compilers masquerading as C compilers
7678 incorrectly reject 9223372036854775807. */
7679 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7680 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7681 && LARGE_OFF_T % 2147483647 == 1)
7691 if ac_fn_c_try_compile
"$LINENO"
7693 ac_cv_sys_file_offset_bits
=no
; break
7695 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 #define _FILE_OFFSET_BITS 64
7699 #include <sys/types.h>
7700 /* Check that off_t can represent 2**63 - 1 correctly.
7701 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7702 since some C++ compilers masquerading as C compilers
7703 incorrectly reject 9223372036854775807. */
7704 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7705 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7706 && LARGE_OFF_T % 2147483647 == 1)
7716 if ac_fn_c_try_compile
"$LINENO"
7718 ac_cv_sys_file_offset_bits
=64; break
7720 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7721 ac_cv_sys_file_offset_bits
=unknown
7725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7726 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7727 case $ac_cv_sys_file_offset_bits in #(
7730 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7734 if test $ac_cv_sys_file_offset_bits = unknown
; then
7735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7736 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7737 if test ${ac_cv_sys_large_files+y}
7739 printf %s
"(cached) " >&6
7742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7744 #include <sys/types.h>
7745 /* Check that off_t can represent 2**63 - 1 correctly.
7746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7747 since some C++ compilers masquerading as C compilers
7748 incorrectly reject 9223372036854775807. */
7749 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7751 && LARGE_OFF_T % 2147483647 == 1)
7761 if ac_fn_c_try_compile
"$LINENO"
7763 ac_cv_sys_large_files
=no
; break
7765 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7768 #define _LARGE_FILES 1
7769 #include <sys/types.h>
7770 /* Check that off_t can represent 2**63 - 1 correctly.
7771 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7772 since some C++ compilers masquerading as C compilers
7773 incorrectly reject 9223372036854775807. */
7774 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7775 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7776 && LARGE_OFF_T % 2147483647 == 1)
7786 if ac_fn_c_try_compile
"$LINENO"
7788 ac_cv_sys_large_files
=1; break
7790 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7791 ac_cv_sys_large_files
=unknown
7795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7796 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7797 case $ac_cv_sys_large_files in #(
7800 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7808 ac_header
= ac_cache
=
7809 for ac_item
in $ac_header_c_list
7811 if test $ac_cache; then
7812 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7813 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7814 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7816 ac_header
= ac_cache
=
7817 elif test $ac_header; then
7831 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7834 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7837 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_CL_cl_h" = xyes
7840 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_EGL_egl_h" = xyes
7846 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7852 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_arpa_inet_h" = xyes
7858 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7864 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_asm_types_h" = xyes
7870 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_asm_user_h" = xyes
7876 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_elf_h" = xyes
7882 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_float_h" = xyes
7888 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_gettext_po_h" = xyes
7894 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_libproc_h" = xyes
7900 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_link_h" = xyes
7906 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7912 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_linux_filter_h" = xyes
7918 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7924 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7930 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_input_h" = xyes
7936 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7942 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_major_h" = xyes
7948 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_param_h" = xyes
7954 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_serial_h" = xyes
7960 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_types_h" = xyes
7966 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7972 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_lwp_h" = xyes
7978 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7984 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_mach_mach_h" = xyes
7990 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_machine_cpu_h" = xyes
7996 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8002 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_mntent_h" = xyes
8008 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_netdb_h" = xyes
8014 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_netinet_in_h" = xyes
8020 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8026 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8032 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8038 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8044 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_port_h" = xyes
8050 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_pthread_h" = xyes
8056 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_pwd_h" = xyes
8062 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_sched_h" = xyes
8068 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8074 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8080 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_scsi_sg_h" = xyes
8086 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_stdint_h" = xyes
8092 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_sys_attr_h" = xyes
8098 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_sys_auxv_h" = xyes
8104 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sys_cdio_h" = xyes
8110 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_epoll_h" = xyes
8116 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_event_h" = xyes
8122 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_extattr_h" = xyes
8128 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_filio_h" = xyes
8134 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_ipc_h" = xyes
8140 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_link_h" = xyes
8146 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_modem_h" = xyes
8152 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_mtio_h" = xyes
8158 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_param_h" = xyes
8164 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_prctl_h" = xyes
8170 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8176 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_queue_h" = xyes
8182 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_random_h" = xyes
8188 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_resource_h" = xyes
8194 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8200 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_shm_h" = xyes
8206 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_signal_h" = xyes
8212 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8218 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_sockio_h" = xyes
8224 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8230 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_strtio_h" = xyes
8236 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_syscall_h" = xyes
8242 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8248 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_times_h" = xyes
8254 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_uio_h" = xyes
8260 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_user_h" = xyes
8266 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_utsname_h" = xyes
8272 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_vnode_h" = xyes
8278 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_xattr_h" = xyes
8284 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_syscall_h" = xyes
8290 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_utime_h" = xyes
8296 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8302 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8308 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8316 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8320 if test $ac_cv_header_sys_mkdev_h = no
; then
8321 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8325 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8331 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8332 if test ${ac_cv_header_stat_broken+y}
8334 printf %s
"(cached) " >&6
8336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 #include <sys/types.h>
8339 #include <sys/stat.h>
8341 #if defined S_ISBLK && defined S_IFDIR
8342 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8345 #if defined S_ISBLK && defined S_IFCHR
8346 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8349 #if defined S_ISLNK && defined S_IFREG
8350 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8353 #if defined S_ISSOCK && defined S_IFREG
8354 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8358 if ac_fn_c_try_compile
"$LINENO"
8360 ac_cv_header_stat_broken
=no
8362 ac_cv_header_stat_broken
=yes
8364 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8367 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8368 if test $ac_cv_header_stat_broken = yes; then
8370 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8376 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8377 #ifdef HAVE_SYS_PARAM_H
8378 # include <sys/param.h>
8381 if test "x$ac_cv_header_sys_conf_h" = xyes
8383 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8387 #ifdef HAVE_SYS_PARAM_H
8388 # include <sys/param.h>
8391 if test "x$ac_cv_header_sys_mount_h" = xyes
8393 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8396 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8397 #ifdef HAVE_SYS_PARAM_H
8398 # include <sys/param.h>
8401 if test "x$ac_cv_header_sys_statfs_h" = xyes
8403 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8406 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8407 #ifdef HAVE_SYS_PARAM_H
8408 # include <sys/param.h>
8411 if test "x$ac_cv_header_sys_user_h" = xyes
8413 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8416 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8417 #ifdef HAVE_SYS_PARAM_H
8418 # include <sys/param.h>
8421 if test "x$ac_cv_header_sys_vfs_h" = xyes
8423 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8428 saved_sysctl_h_CFLAGS
=$CFLAGS
8429 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8430 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8435 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8437 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8441 CFLAGS
=$saved_sysctl_h_CFLAGS
8443 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8444 #include <sys/socket.h>
8445 #ifdef HAVE_SYS_SOCKETVAR_H
8446 # include <sys/socketvar.h>
8448 #ifdef HAVE_NET_ROUTE_H
8449 # include <net/route.h>
8451 #ifdef HAVE_NETINET_IN_H
8452 # include <netinet/in.h>
8454 #ifdef HAVE_NETINET_IN_SYSTM_H
8455 # include <netinet/in_systm.h>
8457 #ifdef HAVE_NET_IF_H
8458 # include <net/if.h>
8460 #ifdef HAVE_NETINET_IP_H
8461 # include <netinet/ip.h>
8464 if test "x$ac_cv_header_netinet_ip_h" = xyes
8466 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8469 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8470 #include <sys/socket.h>
8471 #ifdef HAVE_SYS_SOCKETVAR_H
8472 # include <sys/socketvar.h>
8474 #ifdef HAVE_NET_ROUTE_H
8475 # include <net/route.h>
8477 #ifdef HAVE_NETINET_IN_H
8478 # include <netinet/in.h>
8480 #ifdef HAVE_NETINET_IN_SYSTM_H
8481 # include <netinet/in_systm.h>
8483 #ifdef HAVE_NET_IF_H
8484 # include <net/if.h>
8486 #ifdef HAVE_NETINET_IP_H
8487 # include <netinet/ip.h>
8490 if test "x$ac_cv_header_net_if_h" = xyes
8492 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8495 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8496 #include <sys/socket.h>
8497 #ifdef HAVE_SYS_SOCKETVAR_H
8498 # include <sys/socketvar.h>
8500 #ifdef HAVE_NET_ROUTE_H
8501 # include <net/route.h>
8503 #ifdef HAVE_NETINET_IN_H
8504 # include <netinet/in.h>
8506 #ifdef HAVE_NETINET_IN_SYSTM_H
8507 # include <netinet/in_systm.h>
8509 #ifdef HAVE_NET_IF_H
8510 # include <net/if.h>
8512 #ifdef HAVE_NETINET_IP_H
8513 # include <netinet/ip.h>
8516 if test "x$ac_cv_header_net_if_arp_h" = xyes
8518 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8522 #include <sys/socket.h>
8523 #ifdef HAVE_SYS_SOCKETVAR_H
8524 # include <sys/socketvar.h>
8526 #ifdef HAVE_NET_ROUTE_H
8527 # include <net/route.h>
8529 #ifdef HAVE_NETINET_IN_H
8530 # include <netinet/in.h>
8532 #ifdef HAVE_NETINET_IN_SYSTM_H
8533 # include <netinet/in_systm.h>
8535 #ifdef HAVE_NET_IF_H
8536 # include <net/if.h>
8538 #ifdef HAVE_NETINET_IP_H
8539 # include <netinet/ip.h>
8542 if test "x$ac_cv_header_net_if_dl_h" = xyes
8544 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8547 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8548 #include <sys/socket.h>
8549 #ifdef HAVE_SYS_SOCKETVAR_H
8550 # include <sys/socketvar.h>
8552 #ifdef HAVE_NET_ROUTE_H
8553 # include <net/route.h>
8555 #ifdef HAVE_NETINET_IN_H
8556 # include <netinet/in.h>
8558 #ifdef HAVE_NETINET_IN_SYSTM_H
8559 # include <netinet/in_systm.h>
8561 #ifdef HAVE_NET_IF_H
8562 # include <net/if.h>
8564 #ifdef HAVE_NETINET_IP_H
8565 # include <netinet/ip.h>
8568 if test "x$ac_cv_header_net_if_types_h" = xyes
8570 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8574 #include <sys/socket.h>
8575 #ifdef HAVE_SYS_SOCKETVAR_H
8576 # include <sys/socketvar.h>
8578 #ifdef HAVE_NET_ROUTE_H
8579 # include <net/route.h>
8581 #ifdef HAVE_NETINET_IN_H
8582 # include <netinet/in.h>
8584 #ifdef HAVE_NETINET_IN_SYSTM_H
8585 # include <netinet/in_systm.h>
8587 #ifdef HAVE_NET_IF_H
8588 # include <net/if.h>
8590 #ifdef HAVE_NETINET_IP_H
8591 # include <netinet/ip.h>
8594 if test "x$ac_cv_header_net_route_h" = xyes
8596 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8600 #include <sys/socket.h>
8601 #ifdef HAVE_SYS_SOCKETVAR_H
8602 # include <sys/socketvar.h>
8604 #ifdef HAVE_NET_ROUTE_H
8605 # include <net/route.h>
8607 #ifdef HAVE_NETINET_IN_H
8608 # include <netinet/in.h>
8610 #ifdef HAVE_NETINET_IN_SYSTM_H
8611 # include <netinet/in_systm.h>
8613 #ifdef HAVE_NET_IF_H
8614 # include <net/if.h>
8616 #ifdef HAVE_NETINET_IP_H
8617 # include <netinet/ip.h>
8620 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8622 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8625 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8626 #include <sys/socket.h>
8627 #ifdef HAVE_SYS_SOCKETVAR_H
8628 # include <sys/socketvar.h>
8630 #ifdef HAVE_NET_ROUTE_H
8631 # include <net/route.h>
8633 #ifdef HAVE_NETINET_IN_H
8634 # include <netinet/in.h>
8636 #ifdef HAVE_NETINET_IN_SYSTM_H
8637 # include <netinet/in_systm.h>
8639 #ifdef HAVE_NET_IF_H
8640 # include <net/if.h>
8642 #ifdef HAVE_NETINET_IP_H
8643 # include <netinet/ip.h>
8646 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8648 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8652 #include <sys/socket.h>
8653 #ifdef HAVE_SYS_SOCKETVAR_H
8654 # include <sys/socketvar.h>
8656 #ifdef HAVE_NET_ROUTE_H
8657 # include <net/route.h>
8659 #ifdef HAVE_NETINET_IN_H
8660 # include <netinet/in.h>
8662 #ifdef HAVE_NETINET_IN_SYSTM_H
8663 # include <netinet/in_systm.h>
8665 #ifdef HAVE_NET_IF_H
8666 # include <net/if.h>
8668 #ifdef HAVE_NETINET_IP_H
8669 # include <netinet/ip.h>
8672 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8674 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8678 #include <sys/socket.h>
8679 #ifdef HAVE_SYS_SOCKETVAR_H
8680 # include <sys/socketvar.h>
8682 #ifdef HAVE_NET_ROUTE_H
8683 # include <net/route.h>
8685 #ifdef HAVE_NETINET_IN_H
8686 # include <netinet/in.h>
8688 #ifdef HAVE_NETINET_IN_SYSTM_H
8689 # include <netinet/in_systm.h>
8691 #ifdef HAVE_NET_IF_H
8692 # include <net/if.h>
8694 #ifdef HAVE_NETINET_IP_H
8695 # include <netinet/ip.h>
8698 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8700 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8703 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8704 #include <sys/socket.h>
8705 #ifdef HAVE_SYS_SOCKETVAR_H
8706 # include <sys/socketvar.h>
8708 #ifdef HAVE_NET_ROUTE_H
8709 # include <net/route.h>
8711 #ifdef HAVE_NETINET_IN_H
8712 # include <netinet/in.h>
8714 #ifdef HAVE_NETINET_IN_SYSTM_H
8715 # include <netinet/in_systm.h>
8717 #ifdef HAVE_NET_IF_H
8718 # include <net/if.h>
8720 #ifdef HAVE_NETINET_IP_H
8721 # include <netinet/ip.h>
8724 if test "x$ac_cv_header_netinet_udp_h" = xyes
8726 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8729 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8730 #include <sys/socket.h>
8731 #ifdef HAVE_SYS_SOCKETVAR_H
8732 # include <sys/socketvar.h>
8734 #ifdef HAVE_NET_ROUTE_H
8735 # include <net/route.h>
8737 #ifdef HAVE_NETINET_IN_H
8738 # include <netinet/in.h>
8740 #ifdef HAVE_NETINET_IN_SYSTM_H
8741 # include <netinet/in_systm.h>
8743 #ifdef HAVE_NET_IF_H
8744 # include <net/if.h>
8746 #ifdef HAVE_NETINET_IP_H
8747 # include <netinet/ip.h>
8750 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8752 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8756 #include <sys/socket.h>
8757 #ifdef HAVE_SYS_SOCKETVAR_H
8758 # include <sys/socketvar.h>
8760 #ifdef HAVE_NET_ROUTE_H
8761 # include <net/route.h>
8763 #ifdef HAVE_NETINET_IN_H
8764 # include <netinet/in.h>
8766 #ifdef HAVE_NETINET_IN_SYSTM_H
8767 # include <netinet/in_systm.h>
8769 #ifdef HAVE_NET_IF_H
8770 # include <net/if.h>
8772 #ifdef HAVE_NETINET_IP_H
8773 # include <netinet/ip.h>
8776 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8778 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8781 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8782 #include <sys/socket.h>
8783 #ifdef HAVE_SYS_SOCKETVAR_H
8784 # include <sys/socketvar.h>
8786 #ifdef HAVE_NET_ROUTE_H
8787 # include <net/route.h>
8789 #ifdef HAVE_NETINET_IN_H
8790 # include <netinet/in.h>
8792 #ifdef HAVE_NETINET_IN_SYSTM_H
8793 # include <netinet/in_systm.h>
8795 #ifdef HAVE_NET_IF_H
8796 # include <net/if.h>
8798 #ifdef HAVE_NETINET_IP_H
8799 # include <netinet/ip.h>
8802 if test "x$ac_cv_header_sys_un_h" = xyes
8804 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8809 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8810 #include <sys/socket.h>
8811 #ifdef HAVE_SYS_SOCKETVAR_H
8812 # include <sys/socketvar.h>
8814 #ifdef HAVE_NETINET_IN_H
8815 # include <netinet/in.h>
8817 #ifdef HAVE_NETINET_IN_SYSTM_H
8818 # include <netinet/in_systm.h>
8820 #ifdef HAVE_NETINET_IP_H
8821 # include <netinet/ip.h>
8823 #ifdef HAVE_NETINET_IP_VAR_H
8824 # include <netinet/ip_var.h>
8826 #ifdef HAVE_NETINET_IP_ICMP_H
8827 # include <netinet/ip_icmp.h>
8829 #ifdef HAVE_NETINET_UDP_H
8830 # include <netinet/udp.h>
8832 #ifdef HAVE_NETINET_TCP_H
8833 # include <netinet/tcp.h>
8836 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8838 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8841 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8842 #include <sys/socket.h>
8843 #ifdef HAVE_SYS_SOCKETVAR_H
8844 # include <sys/socketvar.h>
8846 #ifdef HAVE_NETINET_IN_H
8847 # include <netinet/in.h>
8849 #ifdef HAVE_NETINET_IN_SYSTM_H
8850 # include <netinet/in_systm.h>
8852 #ifdef HAVE_NETINET_IP_H
8853 # include <netinet/ip.h>
8855 #ifdef HAVE_NETINET_IP_VAR_H
8856 # include <netinet/ip_var.h>
8858 #ifdef HAVE_NETINET_IP_ICMP_H
8859 # include <netinet/ip_icmp.h>
8861 #ifdef HAVE_NETINET_UDP_H
8862 # include <netinet/udp.h>
8864 #ifdef HAVE_NETINET_TCP_H
8865 # include <netinet/tcp.h>
8868 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8870 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8873 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8874 #include <sys/socket.h>
8875 #ifdef HAVE_SYS_SOCKETVAR_H
8876 # include <sys/socketvar.h>
8878 #ifdef HAVE_NETINET_IN_H
8879 # include <netinet/in.h>
8881 #ifdef HAVE_NETINET_IN_SYSTM_H
8882 # include <netinet/in_systm.h>
8884 #ifdef HAVE_NETINET_IP_H
8885 # include <netinet/ip.h>
8887 #ifdef HAVE_NETINET_IP_VAR_H
8888 # include <netinet/ip_var.h>
8890 #ifdef HAVE_NETINET_IP_ICMP_H
8891 # include <netinet/ip_icmp.h>
8893 #ifdef HAVE_NETINET_UDP_H
8894 # include <netinet/udp.h>
8896 #ifdef HAVE_NETINET_TCP_H
8897 # include <netinet/tcp.h>
8900 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8902 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8905 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8906 #include <sys/socket.h>
8907 #ifdef HAVE_SYS_SOCKETVAR_H
8908 # include <sys/socketvar.h>
8910 #ifdef HAVE_NETINET_IN_H
8911 # include <netinet/in.h>
8913 #ifdef HAVE_NETINET_IN_SYSTM_H
8914 # include <netinet/in_systm.h>
8916 #ifdef HAVE_NETINET_IP_H
8917 # include <netinet/ip.h>
8919 #ifdef HAVE_NETINET_IP_VAR_H
8920 # include <netinet/ip_var.h>
8922 #ifdef HAVE_NETINET_IP_ICMP_H
8923 # include <netinet/ip_icmp.h>
8925 #ifdef HAVE_NETINET_UDP_H
8926 # include <netinet/udp.h>
8928 #ifdef HAVE_NETINET_TCP_H
8929 # include <netinet/tcp.h>
8932 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8934 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8939 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8940 #include <sys/socket.h>
8941 #ifdef HAVE_ASM_TYPES_H
8942 # include <asm/types.h>
8944 #ifdef HAVE_LINUX_TYPES_H
8945 # include <linux/types.h>
8948 if test "x$ac_cv_header_linux_ipx_h" = xyes
8950 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8953 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8954 #include <sys/socket.h>
8955 #ifdef HAVE_ASM_TYPES_H
8956 # include <asm/types.h>
8958 #ifdef HAVE_LINUX_TYPES_H
8959 # include <linux/types.h>
8962 if test "x$ac_cv_header_linux_irda_h" = xyes
8964 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8967 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_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_rtnetlink_h" = xyes
8978 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8984 #include <sys/socket.h>
8985 #ifdef HAVE_NETINET_IN_H
8986 # include <netinet/in.h>
8988 #ifdef HAVE_ARPA_NAMESER_H
8989 # include <arpa/nameser.h>
8992 if test "x$ac_cv_header_resolv_h" = xyes
8994 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8999 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9001 if test "x$ac_cv_header_ifaddrs_h" = xyes
9003 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9010 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9012 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9018 #ifdef HAVE_SYS_UCONTEXT_H
9019 #include <sys/ucontext.h>
9022 if test "x$ac_cv_header_sys_thr_h" = xyes
9024 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9030 #include <pthread.h>
9033 if test "x$ac_cv_header_pthread_np_h" = xyes
9035 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9041 #include <sys/types.h>
9042 #ifdef HAVE_ASM_TYPES_H
9043 #include <asm/types.h>
9046 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9048 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9053 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9054 #include <sys/param.h>
9056 #include <sys/socket.h>
9057 #ifdef HAVE_SYS_QUEUE_H
9058 #include <sys/queue.h>
9061 if test "x$ac_cv_header_libprocstat_h" = xyes
9063 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9068 if test "x$ac_cv_header_sys_xattr_h" = xyes
9070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9071 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9072 if test ${wine_cv_xattr_extra_args+y}
9074 printf %s
"(cached) " >&6
9076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9078 #include <sys/xattr.h>
9082 getxattr("", "", "", 0, 0, 0);
9087 if ac_fn_c_try_compile
"$LINENO"
9089 wine_cv_xattr_extra_args
=yes
9091 wine_cv_xattr_extra_args
=no
9093 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9096 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9097 test $wine_cv_xattr_extra_args != yes ||
9098 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9111 UNIXDLLFLAGS
="-fPIC"
9113 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9119 WINELOADER_LDFLAGS
=""
9121 WINEPRELOADER_LDFLAGS
=""
9126 # Extract the first word of "ldd", so it can be a program name with args.
9127 set dummy ldd
; ac_word
=$2
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129 printf %s
"checking for $ac_word... " >&6; }
9130 if test ${ac_cv_path_LDD+y}
9132 printf %s
"(cached) " >&6
9136 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9140 as_dummy
="/sbin:/usr/sbin:$PATH"
9141 for as_dir
in $as_dummy
9144 case $as_dir in #(((
9147 *) as_dir
=$as_dir/ ;;
9149 for ac_exec_ext
in '' $ac_executable_extensions; do
9150 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9151 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9159 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9164 if test -n "$LDD"; then
9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9166 printf "%s\n" "$LDD" >&6; }
9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 printf "%s\n" "no" >&6; }
9173 if test -n "$ac_tool_prefix"; then
9174 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9175 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9177 printf %s
"checking for $ac_word... " >&6; }
9178 if test ${ac_cv_prog_OTOOL+y}
9180 printf %s
"(cached) " >&6
9182 if test -n "$OTOOL"; then
9183 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9189 case $as_dir in #(((
9192 *) as_dir
=$as_dir/ ;;
9194 for ac_exec_ext
in '' $ac_executable_extensions; do
9195 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9196 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9206 OTOOL
=$ac_cv_prog_OTOOL
9207 if test -n "$OTOOL"; then
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9209 printf "%s\n" "$OTOOL" >&6; }
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212 printf "%s\n" "no" >&6; }
9217 if test -z "$ac_cv_prog_OTOOL"; then
9219 # Extract the first word of "otool", so it can be a program name with args.
9220 set dummy otool
; ac_word
=$2
9221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222 printf %s
"checking for $ac_word... " >&6; }
9223 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9225 printf %s
"(cached) " >&6
9227 if test -n "$ac_ct_OTOOL"; then
9228 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9234 case $as_dir in #(((
9237 *) as_dir
=$as_dir/ ;;
9239 for ac_exec_ext
in '' $ac_executable_extensions; do
9240 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9241 ac_cv_prog_ac_ct_OTOOL
="otool"
9242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9251 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9252 if test -n "$ac_ct_OTOOL"; then
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9254 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257 printf "%s\n" "no" >&6; }
9260 if test "x$ac_ct_OTOOL" = x
; then
9263 case $cross_compiling:$ac_tool_warned in
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9266 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9267 ac_tool_warned
=yes ;;
9272 OTOOL
="$ac_cv_prog_OTOOL"
9275 if test -n "$ac_tool_prefix"; then
9276 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9277 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9279 printf %s
"checking for $ac_word... " >&6; }
9280 if test ${ac_cv_prog_READELF+y}
9282 printf %s
"(cached) " >&6
9284 if test -n "$READELF"; then
9285 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9291 case $as_dir in #(((
9294 *) as_dir
=$as_dir/ ;;
9296 for ac_exec_ext
in '' $ac_executable_extensions; do
9297 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9298 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9308 READELF
=$ac_cv_prog_READELF
9309 if test -n "$READELF"; then
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9311 printf "%s\n" "$READELF" >&6; }
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9314 printf "%s\n" "no" >&6; }
9319 if test -z "$ac_cv_prog_READELF"; then
9320 ac_ct_READELF
=$READELF
9321 # Extract the first word of "readelf", so it can be a program name with args.
9322 set dummy readelf
; ac_word
=$2
9323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9324 printf %s
"checking for $ac_word... " >&6; }
9325 if test ${ac_cv_prog_ac_ct_READELF+y}
9327 printf %s
"(cached) " >&6
9329 if test -n "$ac_ct_READELF"; then
9330 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9336 case $as_dir in #(((
9339 *) as_dir
=$as_dir/ ;;
9341 for ac_exec_ext
in '' $ac_executable_extensions; do
9342 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9343 ac_cv_prog_ac_ct_READELF
="readelf"
9344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9353 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9354 if test -n "$ac_ct_READELF"; then
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9356 printf "%s\n" "$ac_ct_READELF" >&6; }
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359 printf "%s\n" "no" >&6; }
9362 if test "x$ac_ct_READELF" = x
; then
9365 case $cross_compiling:$ac_tool_warned in
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9368 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9369 ac_tool_warned
=yes ;;
9371 READELF
=$ac_ct_READELF
9374 READELF
="$ac_cv_prog_READELF"
9382 CONFIGURE_TARGETS
=""
9385 wine_fn_config_makefile
()
9387 as_fn_append SUBDIRS
" \\$as_nl $1"
9390 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9391 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9392 if test -n "$PE_ARCHS"
9396 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9399 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9404 wine_fn_config_symlink
()
9407 as_fn_append wine_rules
"
9409 @./config.status \$@"
9410 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9417 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9419 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9420 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9421 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9423 printf %s
"(cached) " >&6
9425 ac_wine_try_cflags_saved
=$CFLAGS
9426 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 int main(int argc, char **argv) { return 0; }
9431 if ac_fn_c_try_link
"$LINENO"
9433 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9435 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9437 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9438 conftest
$ac_exeext conftest.
$ac_ext
9439 CFLAGS
=$ac_wine_try_cflags_saved
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9442 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9443 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9445 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9448 enable_loader
=${enable_loader:-no}
9449 enable_server
=${enable_server:-no}
9450 with_x
=${with_x:-no}
9451 with_pthread
=${with_pthread:-no}
9456 DLLFLAGS
="$DLLFLAGS -fPIC"
9458 enable_winemac_drv
=${enable_winemac_drv:-yes}
9459 CARBON_LIBS
="-framework Carbon"
9461 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9463 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9465 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9467 METAL_LIBS
="-framework Metal"
9469 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9471 CORESERVICES_LIBS
="-framework CoreServices"
9473 APPKIT_LIBS
="-framework AppKit"
9475 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9477 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9480 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9482 wine_can_build_preloader
=yes
9483 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"
9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9485 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9486 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9488 printf %s
"(cached) " >&6
9490 ac_wine_try_cflags_saved
=$CFLAGS
9491 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9494 int main(int argc, char **argv) { return 0; }
9496 if ac_fn_c_try_link
"$LINENO"
9498 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9500 ac_cv_cflags__Wl__no_new_main__e__main
=no
9502 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9503 conftest
$ac_exeext conftest.
$ac_ext
9504 CFLAGS
=$ac_wine_try_cflags_saved
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9507 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9508 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9510 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9511 { 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
9512 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9513 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9515 printf %s
"(cached) " >&6
9517 ac_wine_try_cflags_saved
=$CFLAGS
9518 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9521 int main(int argc, char **argv) { return 0; }
9523 if ac_fn_c_try_link
"$LINENO"
9525 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9527 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9529 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9530 conftest
$ac_exeext conftest.
$ac_ext
9531 CFLAGS
=$ac_wine_try_cflags_saved
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9534 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9535 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9537 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9539 wine_can_build_preloader
=no
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9543 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9544 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9546 printf %s
"(cached) " >&6
9548 ac_wine_try_cflags_saved
=$CFLAGS
9549 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9552 int main(int argc, char **argv) { return 0; }
9554 if ac_fn_c_try_link
"$LINENO"
9556 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9558 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9560 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 CFLAGS
=$ac_wine_try_cflags_saved
9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9565 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9566 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9568 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9570 wine_can_build_preloader
=no
9573 if test "$wine_can_build_preloader" = "yes"
9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9576 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9577 if test ${ac_cv_cflags__Wl__no_pie+y}
9579 printf %s
"(cached) " >&6
9581 ac_wine_try_cflags_saved
=$CFLAGS
9582 CFLAGS
="$CFLAGS -Wl,-no_pie"
9583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9585 int main(int argc, char **argv) { return 0; }
9587 if ac_fn_c_try_link
"$LINENO"
9589 ac_cv_cflags__Wl__no_pie
=yes
9591 ac_cv_cflags__Wl__no_pie
=no
9593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9594 conftest
$ac_exeext conftest.
$ac_ext
9595 CFLAGS
=$ac_wine_try_cflags_saved
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9598 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9599 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9601 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9603 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9605 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9608 if test "x$with_coreaudio" != "xno";
9610 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9612 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9614 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9616 OPENCL_LIBS
="-framework OpenCL"
9618 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9622 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9624 ac_cpp
='$OBJCPP $CPPFLAGS'
9625 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9626 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9627 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9630 ac_cpp
='$OBJCPP $CPPFLAGS'
9631 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9632 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9633 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9634 if test -n "$ac_tool_prefix"; then
9635 for ac_prog
in gcc objcc objc cc CC clang
9637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9638 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9640 printf %s
"checking for $ac_word... " >&6; }
9641 if test ${ac_cv_prog_OBJC+y}
9643 printf %s
"(cached) " >&6
9645 if test -n "$OBJC"; then
9646 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9652 case $as_dir in #(((
9655 *) as_dir
=$as_dir/ ;;
9657 for ac_exec_ext
in '' $ac_executable_extensions; do
9658 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9659 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9669 OBJC
=$ac_cv_prog_OBJC
9670 if test -n "$OBJC"; then
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9672 printf "%s\n" "$OBJC" >&6; }
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 printf "%s\n" "no" >&6; }
9679 test -n "$OBJC" && break
9682 if test -z "$OBJC"; then
9684 for ac_prog
in gcc objcc objc cc CC clang
9686 # Extract the first word of "$ac_prog", so it can be a program name with args.
9687 set dummy
$ac_prog; ac_word
=$2
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9689 printf %s
"checking for $ac_word... " >&6; }
9690 if test ${ac_cv_prog_ac_ct_OBJC+y}
9692 printf %s
"(cached) " >&6
9694 if test -n "$ac_ct_OBJC"; then
9695 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9701 case $as_dir in #(((
9704 *) as_dir
=$as_dir/ ;;
9706 for ac_exec_ext
in '' $ac_executable_extensions; do
9707 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9708 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9718 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9719 if test -n "$ac_ct_OBJC"; then
9720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9721 printf "%s\n" "$ac_ct_OBJC" >&6; }
9723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9724 printf "%s\n" "no" >&6; }
9728 test -n "$ac_ct_OBJC" && break
9731 if test "x$ac_ct_OBJC" = x
; then
9734 case $cross_compiling:$ac_tool_warned in
9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9737 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9738 ac_tool_warned
=yes ;;
9744 # Provide some information about the compiler.
9745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9748 for ac_option
in --version -v -V -qversion; do
9749 { { ac_try
="$ac_compiler $ac_option >&5"
9751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9752 *) ac_try_echo=$ac_try;;
9754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9755 printf "%s\n" "$ac_try_echo"; } >&5
9756 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9758 if test -s conftest.err; then
9760 ... rest of stderr output deleted ...
9761 10q' conftest.err >conftest.er1
9762 cat conftest.er1 >&5
9764 rm -f conftest.er1 conftest.err
9765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9766 test $ac_status = 0; }
9769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9770 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9771 if test ${ac_cv_objc_compiler_gnu+y}
9773 printf %s "(cached) " >&6
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9789 if ac_fn_objc_try_compile "$LINENO"
9795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9796 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9800 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9801 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9803 if test $ac_compiler_gnu = yes; then
9808 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9809 ac_save_OBJCFLAGS=$OBJCFLAGS
9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9811 printf %s "checking whether $OBJC accepts -g... " >&6; }
9812 if test ${ac_cv_prog_objc_g+y}
9814 printf %s "(cached) " >&6
9816 ac_save_objc_werror_flag=$ac_objc_werror_flag
9817 ac_objc_werror_flag=yes
9818 ac_cv_prog_objc_g=no
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9831 if ac_fn_objc_try_compile "$LINENO"
9833 ac_cv_prog_objc_g=yes
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9847 if ac_fn_objc_try_compile "$LINENO"
9851 ac_objc_werror_flag=$ac_save_objc_werror_flag
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9864 if ac_fn_objc_try_compile "$LINENO"
9866 ac_cv_prog_objc_g=yes
9868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9873 ac_objc_werror_flag=$ac_save_objc_werror_flag
9875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9876 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9877 if test $ac_test_OBJCFLAGS; then
9878 OBJCFLAGS=$ac_save_OBJCFLAGS
9879 elif test $ac_cv_prog_objc_g = yes; then
9880 if test "$GOBJC" = yes; then
9886 if test "$GOBJC" = yes; then
9893 ac_cpp='$OBJCPP $CPPFLAGS'
9894 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9901 #include <Metal/Metal.h>
9905 id<MTLDevice> device; device.registryID;
9910 if ac_fn_objc_try_compile "$LINENO"
9912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9913 printf "%s\n" "yes" >&6; }
9915 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9919 printf "%s\n" "no" >&6; }
9921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9923 ac_cpp='$CPP $CPPFLAGS'
9924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9929 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9930 WINELOADER_DEPENDS="wine_info.plist"
9936 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9938 DLLFLAGS="$DLLFLAGS -fPIC"
9940 LDEXECFLAGS="-Wl,-pie"
9941 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9943 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9944 if test ${ac_cv_cflags__Wl__z_defs+y}
9946 printf %s "(cached) " >&6
9948 ac_wine_try_cflags_saved=$CFLAGS
9949 CFLAGS="$CFLAGS -Wl,-z,defs"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9952 int main(int argc, char **argv) { return 0; }
9954 if ac_fn_c_try_link "$LINENO"
9956 ac_cv_cflags__Wl__z_defs=yes
9958 ac_cv_cflags__Wl__z_defs=no
9960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9961 conftest$ac_exeext conftest.$ac_ext
9962 CFLAGS=$ac_wine_try_cflags_saved
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9965 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9966 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9968 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9971 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9972 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9974 printf %s "(cached) " >&6
9976 ac_wine_try_cflags_saved=$CFLAGS
9977 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
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__fPIC__Wl___export_dynamic=yes
9986 ac_cv_cflags__fPIC__Wl___export_dynamic=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__fPIC__Wl___export_dynamic" >&5
9993 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9994 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9996 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9998 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10001 printf %s "checking for -lEGL... " >&6; }
10002 if test ${ac_cv_lib_soname_EGL+y}
10004 printf %s "(cached) " >&6
10006 ac_check_soname_save_LIBS=$LIBS
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10014 char eglGetProcAddress ();
10018 return eglGetProcAddress ();
10023 if ac_fn_c_try_link "$LINENO"
10026 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10027 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'` ;;
10028 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10029 if ${ac_cv_lib_soname_EGL:+false} :
10031 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10035 ac_cv_lib_soname_EGL=
10037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_soname_save_LIBS
10041 if ${ac_cv_lib_soname_EGL:+false} :
10043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10044 printf "%s\n" "not found" >&6; }
10047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10048 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10050 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10055 printf %s "checking for -lGLESv2... " >&6; }
10056 if test ${ac_cv_lib_soname_GLESv2+y}
10058 printf %s "(cached) " >&6
10060 ac_check_soname_save_LIBS=$LIBS
10061 LIBS="-lGLESv2 $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10077 if ac_fn_c_try_link "$LINENO"
10080 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10081 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'` ;;
10082 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10083 if ${ac_cv_lib_soname_GLESv2:+false} :
10085 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10089 ac_cv_lib_soname_GLESv2=
10091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10092 conftest$ac_exeext conftest.$ac_ext
10093 LIBS=$ac_check_soname_save_LIBS
10095 if ${ac_cv_lib_soname_GLESv2:+false} :
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10098 printf "%s\n" "not found" >&6; }
10101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10102 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10104 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10109 if test "x$exec_prefix" = xNONE
10112 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10113 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10114 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10115 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10122 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10124 test "$ac_cv_sys_file_offset_bits" = 64 &&
10125 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10129 DLLFLAGS="$DLLFLAGS -fno-PIC"
10130 LDDLLFLAGS="-fno-PIC"
10131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10132 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10133 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10135 printf %s "(cached) " >&6
10137 ac_wine_try_cflags_saved=$CFLAGS
10138 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int main(int argc, char **argv) { return 0; }
10143 if ac_fn_c_try_link "$LINENO"
10145 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10147 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10150 conftest$ac_exeext conftest.$ac_ext
10151 CFLAGS=$ac_wine_try_cflags_saved
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10154 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10155 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10157 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10161 DLLFLAGS="$DLLFLAGS -fPIC"
10162 LDDLLFLAGS="-fPIC" ;;
10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10166 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10167 if test ${ac_cv_cflags__Wl__z_defs+y}
10169 printf %s "(cached) " >&6
10171 ac_wine_try_cflags_saved=$CFLAGS
10172 CFLAGS="$CFLAGS -Wl,-z,defs"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10175 int main(int argc, char **argv) { return 0; }
10177 if ac_fn_c_try_link "$LINENO"
10179 ac_cv_cflags__Wl__z_defs=yes
10181 ac_cv_cflags__Wl__z_defs=no
10183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10184 conftest$ac_exeext conftest.$ac_ext
10185 CFLAGS=$ac_wine_try_cflags_saved
10187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10188 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10189 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10191 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10194 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10195 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10197 printf %s "(cached) " >&6
10199 ac_wine_try_cflags_saved=$CFLAGS
10200 CFLAGS="$CFLAGS -Wl,--export-dynamic"
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___export_dynamic=yes
10209 ac_cv_cflags__Wl___export_dynamic=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___export_dynamic" >&5
10216 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10217 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10219 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10221 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10225 as_fn_append WINELOADER_LDFLAGS " -pie"
10228 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10231 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10232 if test ${ac_cv_cflags__static_pie+y}
10234 printf %s "(cached) " >&6
10236 ac_wine_try_cflags_saved=$CFLAGS
10237 CFLAGS="$CFLAGS -static-pie"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10240 int main(int argc, char **argv) { return 0; }
10242 if ac_fn_c_try_link "$LINENO"
10244 ac_cv_cflags__static_pie=yes
10246 ac_cv_cflags__static_pie=no
10248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10249 conftest$ac_exeext conftest.$ac_ext
10250 CFLAGS=$ac_wine_try_cflags_saved
10252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10253 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10254 if test "x$ac_cv_cflags__static_pie" = xyes
10256 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10258 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10267 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10268 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10270 printf %s "(cached) " >&6
10272 ac_wine_try_cflags_saved=$CFLAGS
10273 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10276 int main(int argc, char **argv) { return 0; }
10278 if ac_fn_c_try_link "$LINENO"
10280 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10282 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10285 conftest$ac_exeext conftest.$ac_ext
10286 CFLAGS=$ac_wine_try_cflags_saved
10288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10289 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10290 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10292 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10295 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10296 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10298 printf %s "(cached) " >&6
10300 ac_wine_try_cflags_saved=$CFLAGS
10301 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
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___section_start__interp_0x60000400=yes
10310 ac_cv_cflags__Wl___section_start__interp_0x60000400=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___section_start__interp_0x60000400" >&5
10317 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10318 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10320 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10325 as_fn_append WINELOADER_LDFLAGS " -pie"
10333 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10334 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10335 enable_winemac_drv=${enable_winemac_drv:-no}
10340 if test ${enable_archs+y}
10342 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10345 set x $enable_archs
10351 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10352 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10356 if test "x$with_mingw" != xno
10358 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10362 for wine_arch in $cross_archs
10364 case "x$with_mingw" in
10365 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10367 if eval \${${wine_arch}_CC:+false} :
10371 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10373 # Extract the first word of "$ac_prog", so it can be a program name with args.
10374 set dummy $ac_prog; ac_word=$2
10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10376 printf %s "checking for $ac_word... " >&6; }
10377 if test ${ac_cv_prog_aarch64_CC+y}
10379 printf %s "(cached) " >&6
10381 if test -n "$aarch64_CC"; then
10382 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10385 for as_dir in $PATH
10388 case $as_dir in #(((
10391 *) as_dir=$as_dir/ ;;
10393 for ac_exec_ext in '' $ac_executable_extensions; do
10394 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10395 ac_cv_prog_aarch64_CC="$ac_prog"
10396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10405 aarch64_CC=$ac_cv_prog_aarch64_CC
10406 if test -n "$aarch64_CC"; then
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10408 printf "%s\n" "$aarch64_CC" >&6; }
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10411 printf "%s\n" "no" >&6; }
10415 test -n "$aarch64_CC" && break
10417 test -n "$aarch64_CC" || aarch64_CC="false"
10421 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10423 # Extract the first word of "$ac_prog", so it can be a program name with args.
10424 set dummy $ac_prog; ac_word=$2
10425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10426 printf %s "checking for $ac_word... " >&6; }
10427 if test ${ac_cv_prog_arm_CC+y}
10429 printf %s "(cached) " >&6
10431 if test -n "$arm_CC"; then
10432 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10435 for as_dir in $PATH
10438 case $as_dir in #(((
10441 *) as_dir=$as_dir/ ;;
10443 for ac_exec_ext in '' $ac_executable_extensions; do
10444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10445 ac_cv_prog_arm_CC="$ac_prog"
10446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10455 arm_CC=$ac_cv_prog_arm_CC
10456 if test -n "$arm_CC"; then
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10458 printf "%s\n" "$arm_CC" >&6; }
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10461 printf "%s\n" "no" >&6; }
10465 test -n "$arm_CC" && break
10467 test -n "$arm_CC" || arm_CC="false"
10471 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 "
10472 for ac_prog in $ac_prefix_list clang
10474 # Extract the first word of "$ac_prog", so it can be a program name with args.
10475 set dummy $ac_prog; ac_word=$2
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10477 printf %s "checking for $ac_word... " >&6; }
10478 if test ${ac_cv_prog_i386_CC+y}
10480 printf %s "(cached) " >&6
10482 if test -n "$i386_CC"; then
10483 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10486 for as_dir in $PATH
10489 case $as_dir in #(((
10492 *) as_dir=$as_dir/ ;;
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_i386_CC="$ac_prog"
10497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10506 i386_CC=$ac_cv_prog_i386_CC
10507 if test -n "$i386_CC"; then
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10509 printf "%s\n" "$i386_CC" >&6; }
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 printf "%s\n" "no" >&6; }
10516 test -n "$i386_CC" && break
10518 test -n "$i386_CC" || i386_CC="false"
10522 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10523 for ac_prog in $ac_prefix_list clang
10525 # Extract the first word of "$ac_prog", so it can be a program name with args.
10526 set dummy $ac_prog; ac_word=$2
10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10528 printf %s "checking for $ac_word... " >&6; }
10529 if test ${ac_cv_prog_x86_64_CC+y}
10531 printf %s "(cached) " >&6
10533 if test -n "$x86_64_CC"; then
10534 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10537 for as_dir in $PATH
10540 case $as_dir in #(((
10543 *) as_dir=$as_dir/ ;;
10545 for ac_exec_ext in '' $ac_executable_extensions; do
10546 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10547 ac_cv_prog_x86_64_CC="$ac_prog"
10548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10557 x86_64_CC=$ac_cv_prog_x86_64_CC
10558 if test -n "$x86_64_CC"; then
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10560 printf "%s\n" "$x86_64_CC" >&6; }
10562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10563 printf "%s\n" "no" >&6; }
10567 test -n "$x86_64_CC" && break
10569 test -n "$x86_64_CC" || x86_64_CC="false"
10575 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10581 saved_CFLAGS=$CFLAGS
10582 saved_LDFLAGS=$LDFLAGS
10584 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10585 LDFLAGS=$CROSSLDFLAGS
10586 eval CC=\$${wine_arch}_CC
10587 eval ${wine_arch}_CFLAGS=\$CFLAGS
10588 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10589 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10592 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10595 printf %s "checking whether $CC works... " >&6; }
10596 if eval test \${$as_wine_cv_crosscc+y}
10598 printf %s "(cached) " >&6
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10611 if ac_fn_c_try_compile "$LINENO"
10613 eval "$as_wine_cv_crosscc=yes"
10615 eval "$as_wine_cv_crosscc=no"
10617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10619 eval ac_res=\$$as_wine_cv_crosscc
10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10621 printf "%s\n" "$ac_res" >&6; }
10622 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10626 while test $# -ge 1
10629 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10630 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10635 llvm_target=$target
10636 if test -z "$llvm_target"
10639 i386) llvm_target=i686-windows ;;
10640 arm) llvm_target=armv7-windows ;;
10641 *) llvm_target=$wine_arch-windows ;;
10644 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10645 case $llvm_target in
10646 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10648 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10650 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10651 if eval test \${$as_ac_var+y}
10653 printf %s "(cached) " >&6
10655 ac_wine_try_cflags_saved=$CFLAGS
10656 ac_wine_try_cflags_saved_exeext=$ac_exeext
10657 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10661 int __cdecl mainCRTStartup(void) { return 0; }
10663 if ac_fn_c_try_link "$LINENO"
10665 eval "$as_ac_var=yes"
10667 eval "$as_ac_var=no"
10669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10670 conftest$ac_exeext conftest.$ac_ext
10671 CFLAGS=$ac_wine_try_cflags_saved
10672 ac_exeext=$ac_wine_try_cflags_saved_exeext
10674 eval ac_res=\$$as_ac_var
10675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10676 printf "%s\n" "$ac_res" >&6; }
10677 if eval test \"x\$"$as_ac_var"\" = x"yes"
10679 target=$llvm_target
10680 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10681 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10682 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10684 eval "${wine_arch}_TARGET=\$target"
10688 if test -z "$target"
10691 CFLAGS=$saved_CFLAGS
10692 LDFLAGS=$saved_LDFLAGS
10696 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10699 printf %s "checking for $CC option to enable C99 features... " >&6; }
10700 if eval test \${$as_wine_cv_crosscc_c99+y}
10702 printf %s "(cached) " >&6
10704 eval "$as_wine_cv_crosscc_c99=no"
10705 for arg in '' '-std=gnu99' '-D__STDC__'
10707 test -z "$arg" || CC="$CC $arg"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 $ac_c_conftest_c99_program
10712 if ac_fn_c_try_compile "$LINENO"
10714 eval "$as_wine_cv_crosscc_c99=\$arg"
10716 eval "$as_wine_cv_crosscc_c99=no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10719 eval CC=\$${wine_arch}_CC
10720 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10729 eval res=\$$as_wine_cv_crosscc_c99
10732 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10733 printf "%s\n" "none needed" >&6; } ;;
10734 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10735 printf "%s\n" "unsupported" >&6; }
10737 CFLAGS=$saved_CFLAGS
10738 LDFLAGS=$saved_LDFLAGS
10741 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10742 printf "%s\n" "$res" >&6; }
10743 as_fn_append ${wine_arch}_CC " $res" ;;
10746 as_fn_append PE_ARCHS " $wine_arch"
10747 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10749 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10750 if eval test \${$as_ac_var+y}
10752 printf %s "(cached) " >&6
10754 ac_wine_try_cflags_saved=$CFLAGS
10755 ac_wine_try_cflags_saved_exeext=$ac_exeext
10756 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 int __cdecl mainCRTStartup(void) { return 0; }
10762 if ac_fn_c_try_link "$LINENO"
10764 eval "$as_ac_var=yes"
10766 eval "$as_ac_var=no"
10768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10769 conftest$ac_exeext conftest.$ac_ext
10770 CFLAGS=$ac_wine_try_cflags_saved
10771 ac_exeext=$ac_wine_try_cflags_saved_exeext
10773 eval ac_res=\$$as_ac_var
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10775 printf "%s\n" "$ac_res" >&6; }
10776 if eval test \"x\$"$as_ac_var"\" = x"yes"
10778 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10780 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10782 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10783 if eval test \${$as_ac_var+y}
10785 printf %s "(cached) " >&6
10787 ac_wine_try_cflags_saved=$CFLAGS
10788 ac_wine_try_cflags_saved_exeext=$ac_exeext
10789 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10793 int __cdecl mainCRTStartup(void) { return 0; }
10795 if ac_fn_c_try_link "$LINENO"
10797 eval "$as_ac_var=yes"
10799 eval "$as_ac_var=no"
10801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10802 conftest$ac_exeext conftest.$ac_ext
10803 CFLAGS=$ac_wine_try_cflags_saved
10804 ac_exeext=$ac_wine_try_cflags_saved_exeext
10806 eval ac_res=\$$as_ac_var
10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10808 printf "%s\n" "$ac_res" >&6; }
10809 if eval test \"x\$"$as_ac_var"\" = x"yes"
10811 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10813 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10815 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10816 if eval test \${$as_ac_var+y}
10818 printf %s "(cached) " >&6
10820 ac_wine_try_cflags_saved=$CFLAGS
10821 ac_wine_try_cflags_saved_exeext=$ac_exeext
10822 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826 int __cdecl mainCRTStartup(void) { return 0; }
10828 if ac_fn_c_try_link "$LINENO"
10830 eval "$as_ac_var=yes"
10832 eval "$as_ac_var=no"
10834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10835 conftest$ac_exeext conftest.$ac_ext
10836 CFLAGS=$ac_wine_try_cflags_saved
10837 ac_exeext=$ac_wine_try_cflags_saved_exeext
10839 eval ac_res=\$$as_ac_var
10840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10841 printf "%s\n" "$ac_res" >&6; }
10842 if eval test \"x\$"$as_ac_var"\" = x"yes"
10844 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10846 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10848 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10849 if eval test \${$as_ac_var+y}
10851 printf %s "(cached) " >&6
10853 ac_wine_try_cflags_saved=$CFLAGS
10854 ac_wine_try_cflags_saved_exeext=$ac_exeext
10855 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10859 int __cdecl mainCRTStartup(void) { return 0; }
10861 if ac_fn_c_try_link "$LINENO"
10863 eval "$as_ac_var=yes"
10865 eval "$as_ac_var=no"
10867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10868 conftest$ac_exeext conftest.$ac_ext
10869 CFLAGS=$ac_wine_try_cflags_saved
10870 ac_exeext=$ac_wine_try_cflags_saved_exeext
10872 eval ac_res=\$$as_ac_var
10873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10874 printf "%s\n" "$ac_res" >&6; }
10875 if eval test \"x\$"$as_ac_var"\" = x"yes"
10877 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10879 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10881 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10882 if eval test \${$as_ac_var+y}
10884 printf %s "(cached) " >&6
10886 ac_wine_try_cflags_saved=$CFLAGS
10887 ac_wine_try_cflags_saved_exeext=$ac_exeext
10888 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10892 int __cdecl mainCRTStartup(void) { return 0; }
10894 if ac_fn_c_try_link "$LINENO"
10896 eval "$as_ac_var=yes"
10898 eval "$as_ac_var=no"
10900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10901 conftest$ac_exeext conftest.$ac_ext
10902 CFLAGS=$ac_wine_try_cflags_saved
10903 ac_exeext=$ac_wine_try_cflags_saved_exeext
10905 eval ac_res=\$$as_ac_var
10906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10907 printf "%s\n" "$ac_res" >&6; }
10908 if eval test \"x\$"$as_ac_var"\" = x"yes"
10910 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10912 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10914 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10915 if eval test \${$as_ac_var+y}
10917 printf %s "(cached) " >&6
10919 ac_wine_try_cflags_saved=$CFLAGS
10920 ac_wine_try_cflags_saved_exeext=$ac_exeext
10921 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10925 int __cdecl mainCRTStartup(void) { return 0; }
10927 if ac_fn_c_try_link "$LINENO"
10929 eval "$as_ac_var=yes"
10931 eval "$as_ac_var=no"
10933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10934 conftest$ac_exeext conftest.$ac_ext
10935 CFLAGS=$ac_wine_try_cflags_saved
10936 ac_exeext=$ac_wine_try_cflags_saved_exeext
10938 eval ac_res=\$$as_ac_var
10939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10940 printf "%s\n" "$ac_res" >&6; }
10941 if eval test \"x\$"$as_ac_var"\" = x"yes"
10943 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10945 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10947 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10948 if eval test \${$as_ac_var+y}
10950 printf %s "(cached) " >&6
10952 ac_wine_try_cflags_saved=$CFLAGS
10953 ac_wine_try_cflags_saved_exeext=$ac_exeext
10954 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10958 int __cdecl mainCRTStartup(void) { return 0; }
10960 if ac_fn_c_try_link "$LINENO"
10962 eval "$as_ac_var=yes"
10964 eval "$as_ac_var=no"
10966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10967 conftest$ac_exeext conftest.$ac_ext
10968 CFLAGS=$ac_wine_try_cflags_saved
10969 ac_exeext=$ac_wine_try_cflags_saved_exeext
10971 eval ac_res=\$$as_ac_var
10972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10973 printf "%s\n" "$ac_res" >&6; }
10974 if eval test \"x\$"$as_ac_var"\" = x"yes"
10976 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10978 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10980 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10981 if eval test \${$as_ac_var+y}
10983 printf %s "(cached) " >&6
10985 ac_wine_try_cflags_saved=$CFLAGS
10986 ac_wine_try_cflags_saved_exeext=$ac_exeext
10987 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10991 int __cdecl mainCRTStartup(void) { return 0; }
10993 if ac_fn_c_try_link "$LINENO"
10995 eval "$as_ac_var=yes"
10997 eval "$as_ac_var=no"
10999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11000 conftest$ac_exeext conftest.$ac_ext
11001 CFLAGS=$ac_wine_try_cflags_saved
11002 ac_exeext=$ac_wine_try_cflags_saved_exeext
11004 eval ac_res=\$$as_ac_var
11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11006 printf "%s\n" "$ac_res" >&6; }
11007 if eval test \"x\$"$as_ac_var"\" = x"yes"
11009 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11011 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11013 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11014 if eval test \${$as_ac_var+y}
11016 printf %s "(cached) " >&6
11018 ac_wine_try_cflags_saved=$CFLAGS
11019 ac_wine_try_cflags_saved_exeext=$ac_exeext
11020 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11024 int __cdecl mainCRTStartup(void) { return 0; }
11026 if ac_fn_c_try_link "$LINENO"
11028 eval "$as_ac_var=yes"
11030 eval "$as_ac_var=no"
11032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11033 conftest$ac_exeext conftest.$ac_ext
11034 CFLAGS=$ac_wine_try_cflags_saved
11035 ac_exeext=$ac_wine_try_cflags_saved_exeext
11037 eval ac_res=\$$as_ac_var
11038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11039 printf "%s\n" "$ac_res" >&6; }
11040 if eval test \"x\$"$as_ac_var"\" = x"yes"
11042 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11044 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11046 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11047 if eval test \${$as_ac_var+y}
11049 printf %s "(cached) " >&6
11051 ac_wine_try_cflags_saved=$CFLAGS
11052 ac_wine_try_cflags_saved_exeext=$ac_exeext
11053 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11057 int __cdecl mainCRTStartup(void) { return 0; }
11059 if ac_fn_c_try_link "$LINENO"
11061 eval "$as_ac_var=yes"
11063 eval "$as_ac_var=no"
11065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11066 conftest$ac_exeext conftest.$ac_ext
11067 CFLAGS=$ac_wine_try_cflags_saved
11068 ac_exeext=$ac_wine_try_cflags_saved_exeext
11070 eval ac_res=\$$as_ac_var
11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11072 printf "%s\n" "$ac_res" >&6; }
11073 if eval test \"x\$"$as_ac_var"\" = x"yes"
11075 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11077 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11079 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11080 if eval test \${$as_ac_var+y}
11082 printf %s "(cached) " >&6
11084 ac_wine_try_cflags_saved=$CFLAGS
11085 ac_wine_try_cflags_saved_exeext=$ac_exeext
11086 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11090 int __cdecl mainCRTStartup(void) { return 0; }
11092 if ac_fn_c_try_link "$LINENO"
11094 eval "$as_ac_var=yes"
11096 eval "$as_ac_var=no"
11098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11099 conftest$ac_exeext conftest.$ac_ext
11100 CFLAGS=$ac_wine_try_cflags_saved
11101 ac_exeext=$ac_wine_try_cflags_saved_exeext
11103 eval ac_res=\$$as_ac_var
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11105 printf "%s\n" "$ac_res" >&6; }
11106 if eval test \"x\$"$as_ac_var"\" = x"yes"
11108 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11110 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11112 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11113 if eval test \${$as_ac_var+y}
11115 printf %s "(cached) " >&6
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_exeext=$ac_exeext
11119 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 int __cdecl mainCRTStartup(void) { return 0; }
11125 if ac_fn_c_try_link "$LINENO"
11127 eval "$as_ac_var=yes"
11129 eval "$as_ac_var=no"
11131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11132 conftest$ac_exeext conftest.$ac_ext
11133 CFLAGS=$ac_wine_try_cflags_saved
11134 ac_exeext=$ac_wine_try_cflags_saved_exeext
11136 eval ac_res=\$$as_ac_var
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11138 printf "%s\n" "$ac_res" >&6; }
11139 if eval test \"x\$"$as_ac_var"\" = x"yes"
11141 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11143 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11145 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11146 if eval test \${$as_ac_var+y}
11148 printf %s "(cached) " >&6
11150 ac_wine_try_cflags_saved=$CFLAGS
11151 ac_wine_try_cflags_saved_exeext=$ac_exeext
11152 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11156 int __cdecl mainCRTStartup(void) { return 0; }
11158 if ac_fn_c_try_link "$LINENO"
11160 eval "$as_ac_var=yes"
11162 eval "$as_ac_var=no"
11164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11165 conftest$ac_exeext conftest.$ac_ext
11166 CFLAGS=$ac_wine_try_cflags_saved
11167 ac_exeext=$ac_wine_try_cflags_saved_exeext
11169 eval ac_res=\$$as_ac_var
11170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11171 printf "%s\n" "$ac_res" >&6; }
11172 if eval test \"x\$"$as_ac_var"\" = x"yes"
11174 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11176 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11178 printf %s "checking whether $CC supports -Wvla... " >&6; }
11179 if eval test \${$as_ac_var+y}
11181 printf %s "(cached) " >&6
11183 ac_wine_try_cflags_saved=$CFLAGS
11184 ac_wine_try_cflags_saved_exeext=$ac_exeext
11185 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11189 int __cdecl mainCRTStartup(void) { return 0; }
11191 if ac_fn_c_try_link "$LINENO"
11193 eval "$as_ac_var=yes"
11195 eval "$as_ac_var=no"
11197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11198 conftest$ac_exeext conftest.$ac_ext
11199 CFLAGS=$ac_wine_try_cflags_saved
11200 ac_exeext=$ac_wine_try_cflags_saved_exeext
11202 eval ac_res=\$$as_ac_var
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11204 printf "%s\n" "$ac_res" >&6; }
11205 if eval test \"x\$"$as_ac_var"\" = x"yes"
11207 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11209 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11211 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11212 if eval test \${$as_ac_var+y}
11214 printf %s "(cached) " >&6
11216 ac_wine_try_cflags_saved=$CFLAGS
11217 ac_wine_try_cflags_saved_exeext=$ac_exeext
11218 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11222 int __cdecl mainCRTStartup(void) { return 0; }
11224 if ac_fn_c_try_link "$LINENO"
11226 eval "$as_ac_var=yes"
11228 eval "$as_ac_var=no"
11230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11231 conftest$ac_exeext conftest.$ac_ext
11232 CFLAGS=$ac_wine_try_cflags_saved
11233 ac_exeext=$ac_wine_try_cflags_saved_exeext
11235 eval ac_res=\$$as_ac_var
11236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11237 printf "%s\n" "$ac_res" >&6; }
11238 if eval test \"x\$"$as_ac_var"\" = x"yes"
11240 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11242 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11244 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11245 if eval test \${$as_ac_var+y}
11247 printf %s "(cached) " >&6
11249 ac_wine_try_cflags_saved=$CFLAGS
11250 ac_wine_try_cflags_saved_exeext=$ac_exeext
11251 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11255 int __cdecl mainCRTStartup(void) { return 0; }
11257 if ac_fn_c_try_link "$LINENO"
11259 eval "$as_ac_var=yes"
11261 eval "$as_ac_var=no"
11263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11264 conftest$ac_exeext conftest.$ac_ext
11265 CFLAGS=$ac_wine_try_cflags_saved
11266 ac_exeext=$ac_wine_try_cflags_saved_exeext
11268 eval ac_res=\$$as_ac_var
11269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11270 printf "%s\n" "$ac_res" >&6; }
11271 if eval test \"x\$"$as_ac_var"\" = x"yes"
11273 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11275 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11277 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11278 if eval test \${$as_ac_var+y}
11280 printf %s "(cached) " >&6
11282 ac_wine_try_cflags_saved=$CFLAGS
11283 ac_wine_try_cflags_saved_exeext=$ac_exeext
11284 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11288 int __cdecl mainCRTStartup(void) { return 0; }
11290 if ac_fn_c_try_link "$LINENO"
11292 eval "$as_ac_var=yes"
11294 eval "$as_ac_var=no"
11296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11297 conftest$ac_exeext conftest.$ac_ext
11298 CFLAGS=$ac_wine_try_cflags_saved
11299 ac_exeext=$ac_wine_try_cflags_saved_exeext
11301 eval ac_res=\$$as_ac_var
11302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11303 printf "%s\n" "$ac_res" >&6; }
11304 if eval test \"x\$"$as_ac_var"\" = x"yes"
11306 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11308 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11310 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11311 if eval test \${$as_ac_var+y}
11313 printf %s "(cached) " >&6
11315 ac_wine_try_cflags_saved=$CFLAGS
11316 ac_wine_try_cflags_saved_exeext=$ac_exeext
11317 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11321 int __cdecl mainCRTStartup(void) { return 0; }
11323 if ac_fn_c_try_link "$LINENO"
11325 eval "$as_ac_var=yes"
11327 eval "$as_ac_var=no"
11329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11330 conftest$ac_exeext conftest.$ac_ext
11331 CFLAGS=$ac_wine_try_cflags_saved
11332 ac_exeext=$ac_wine_try_cflags_saved_exeext
11334 eval ac_res=\$$as_ac_var
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11336 printf "%s\n" "$ac_res" >&6; }
11337 if eval test \"x\$"$as_ac_var"\" = x"yes"
11339 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11343 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11345 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11346 if eval test \${$as_ac_var+y}
11348 printf %s "(cached) " >&6
11350 ac_wine_try_cflags_saved=$CFLAGS
11351 ac_wine_try_cflags_saved_exeext=$ac_exeext
11352 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11356 int __cdecl mainCRTStartup(void) { return 0; }
11358 if ac_fn_c_try_link "$LINENO"
11360 eval "$as_ac_var=yes"
11362 eval "$as_ac_var=no"
11364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11365 conftest$ac_exeext conftest.$ac_ext
11366 CFLAGS=$ac_wine_try_cflags_saved
11367 ac_exeext=$ac_wine_try_cflags_saved_exeext
11369 eval ac_res=\$$as_ac_var
11370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11371 printf "%s\n" "$ac_res" >&6; }
11372 if eval test \"x\$"$as_ac_var"\" = x"yes"
11374 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11376 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11378 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11379 if eval test \${$as_ac_var+y}
11381 printf %s "(cached) " >&6
11383 ac_wine_try_cflags_saved=$CFLAGS
11384 ac_wine_try_cflags_saved_exeext=$ac_exeext
11385 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11389 int __cdecl mainCRTStartup(void) { return 0; }
11391 if ac_fn_c_try_link "$LINENO"
11393 eval "$as_ac_var=yes"
11395 eval "$as_ac_var=no"
11397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11398 conftest$ac_exeext conftest.$ac_ext
11399 CFLAGS=$ac_wine_try_cflags_saved
11400 ac_exeext=$ac_wine_try_cflags_saved_exeext
11402 eval ac_res=\$$as_ac_var
11403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11404 printf "%s\n" "$ac_res" >&6; }
11405 if eval test \"x\$"$as_ac_var"\" = x"yes"
11407 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11409 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11411 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11412 if eval test \${$as_ac_var+y}
11414 printf %s "(cached) " >&6
11416 ac_wine_try_cflags_saved=$CFLAGS
11417 ac_wine_try_cflags_saved_exeext=$ac_exeext
11418 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11422 int __cdecl mainCRTStartup(void) { return 0; }
11424 if ac_fn_c_try_link "$LINENO"
11426 eval "$as_ac_var=yes"
11428 eval "$as_ac_var=no"
11430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11431 conftest$ac_exeext conftest.$ac_ext
11432 CFLAGS=$ac_wine_try_cflags_saved
11433 ac_exeext=$ac_wine_try_cflags_saved_exeext
11435 eval ac_res=\$$as_ac_var
11436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11437 printf "%s\n" "$ac_res" >&6; }
11438 if eval test \"x\$"$as_ac_var"\" = x"yes"
11440 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11442 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11444 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11445 if eval test \${$as_ac_var+y}
11447 printf %s "(cached) " >&6
11449 ac_wine_try_cflags_saved=$CFLAGS
11450 ac_wine_try_cflags_saved_exeext=$ac_exeext
11451 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11455 int __cdecl mainCRTStartup(void) { return 0; }
11457 if ac_fn_c_try_link "$LINENO"
11459 eval "$as_ac_var=yes"
11461 eval "$as_ac_var=no"
11463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11464 conftest$ac_exeext conftest.$ac_ext
11465 CFLAGS=$ac_wine_try_cflags_saved
11466 ac_exeext=$ac_wine_try_cflags_saved_exeext
11468 eval ac_res=\$$as_ac_var
11469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11470 printf "%s\n" "$ac_res" >&6; }
11471 if eval test \"x\$"$as_ac_var"\" = x"yes"
11473 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11475 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11477 printf %s "checking whether $CC supports -mcx16... " >&6; }
11478 if eval test \${$as_ac_var+y}
11480 printf %s "(cached) " >&6
11482 ac_wine_try_cflags_saved=$CFLAGS
11483 ac_wine_try_cflags_saved_exeext=$ac_exeext
11484 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11488 int __cdecl mainCRTStartup(void) { return 0; }
11490 if ac_fn_c_try_link "$LINENO"
11492 eval "$as_ac_var=yes"
11494 eval "$as_ac_var=no"
11496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11497 conftest$ac_exeext conftest.$ac_ext
11498 CFLAGS=$ac_wine_try_cflags_saved
11499 ac_exeext=$ac_wine_try_cflags_saved_exeext
11501 eval ac_res=\$$as_ac_var
11502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11503 printf "%s\n" "$ac_res" >&6; }
11504 if eval test \"x\$"$as_ac_var"\" = x"yes"
11506 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11508 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" |
$as_tr_sh`
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11510 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11511 if eval test \${$as_ac_var+y}
11513 printf %s "(cached) " >&6
11515 ac_wine_try_cflags_saved=$CFLAGS
11516 ac_wine_try_cflags_saved_exeext=$ac_exeext
11517 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11521 int __cdecl mainCRTStartup(void) { return 0; }
11523 if ac_fn_c_try_link "$LINENO"
11525 eval "$as_ac_var=yes"
11527 eval "$as_ac_var=no"
11529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11530 conftest$ac_exeext conftest.$ac_ext
11531 CFLAGS=$ac_wine_try_cflags_saved
11532 ac_exeext=$ac_wine_try_cflags_saved_exeext
11534 eval ac_res=\$$as_ac_var
11535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11536 printf "%s\n" "$ac_res" >&6; }
11537 if eval test \"x\$"$as_ac_var"\" = x"yes"
11539 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11543 wine_crossdebug=$CROSSDEBUG
11544 if test -z "$wine_crossdebug"
11546 for ac_flag in $CFLAGS; do
11548 -gdwarf*) wine_crossdebug=dwarf ;;
11549 -gcodeview) wine_crossdebug=pdb ;;
11550 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11555 ac_debug_format_seen=""
11556 for ac_flag in $CFLAGS; do
11558 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11561 if test "x$ac_debug_format_seen" = x
11563 case $wine_crossdebug in
11564 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11566 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11567 if eval test \${$as_ac_var+y}
11569 printf %s "(cached) " >&6
11571 ac_wine_try_cflags_saved=$CFLAGS
11572 ac_wine_try_cflags_saved_exeext=$ac_exeext
11573 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11577 int __cdecl mainCRTStartup(void) { return 0; }
11579 if ac_fn_c_try_link "$LINENO"
11581 eval "$as_ac_var=yes"
11583 eval "$as_ac_var=no"
11585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11586 conftest$ac_exeext conftest.$ac_ext
11587 CFLAGS=$ac_wine_try_cflags_saved
11588 ac_exeext=$ac_wine_try_cflags_saved_exeext
11590 eval ac_res=\$$as_ac_var
11591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11592 printf "%s\n" "$ac_res" >&6; }
11593 if eval test \"x\$"$as_ac_var"\" = x"yes"
11595 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11597 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11599 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11600 if eval test \${$as_ac_var+y}
11602 printf %s "(cached) " >&6
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_exeext=$ac_exeext
11606 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 int __cdecl mainCRTStartup(void) { return 0; }
11612 if ac_fn_c_try_link "$LINENO"
11614 eval "$as_ac_var=yes"
11616 eval "$as_ac_var=no"
11618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11619 conftest$ac_exeext conftest.$ac_ext
11620 CFLAGS=$ac_wine_try_cflags_saved
11621 ac_exeext=$ac_wine_try_cflags_saved_exeext
11623 eval ac_res=\$$as_ac_var
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11625 printf "%s\n" "$ac_res" >&6; }
11626 if eval test \"x\$"$as_ac_var"\" = x"yes"
11628 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11632 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11634 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11636 printf %s "checking whether $CC supports -Werror... " >&6; }
11637 if eval test \${$as_ac_var+y}
11639 printf %s "(cached) " >&6
11641 ac_wine_try_cflags_saved=$CFLAGS
11642 ac_wine_try_cflags_saved_exeext=$ac_exeext
11643 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11647 int __cdecl mainCRTStartup(void) { return 0; }
11649 if ac_fn_c_try_link "$LINENO"
11651 eval "$as_ac_var=yes"
11653 eval "$as_ac_var=no"
11655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11656 conftest$ac_exeext conftest.$ac_ext
11657 CFLAGS=$ac_wine_try_cflags_saved
11658 ac_exeext=$ac_wine_try_cflags_saved_exeext
11660 eval ac_res=\$$as_ac_var
11661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11662 printf "%s\n" "$ac_res" >&6; }
11663 if eval test \"x\$"$as_ac_var"\" = x"yes"
11665 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11667 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11669 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11670 if eval test \${$as_ac_var+y}
11672 printf %s "(cached) " >&6
11674 ac_wine_try_cflags_saved=$CFLAGS
11675 ac_wine_try_cflags_saved_exeext=$ac_exeext
11676 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 int __cdecl mainCRTStartup(void) { return 0; }
11682 if ac_fn_c_try_link "$LINENO"
11684 eval "$as_ac_var=yes"
11686 eval "$as_ac_var=no"
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 CFLAGS=$ac_wine_try_cflags_saved
11691 ac_exeext=$ac_wine_try_cflags_saved_exeext
11693 eval ac_res=\$$as_ac_var
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11695 printf "%s\n" "$ac_res" >&6; }
11696 if eval test \"x\$"$as_ac_var"\" = x"yes"
11698 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11699 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11703 CFLAGS=$saved_CFLAGS
11704 LDFLAGS=$saved_LDFLAGS
11707 if test $HOST_ARCH = aarch64
11709 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
11712 if test "x$PE_ARCHS" = "x"
11714 case "x$with_mingw" in
11715 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11717 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11718 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11725 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11727 case "$host_cpu" in
11729 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11731 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11733 for ac_prog in $ac_prefix_list
11735 # Extract the first word of "$ac_prog", so it can be a program name with args.
11736 set dummy $ac_prog; ac_word=$2
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11738 printf %s "checking for $ac_word... " >&6; }
11739 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11741 printf %s "(cached) " >&6
11743 if test -n "$MINGW_PKG_CONFIG"; then
11744 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11750 case $as_dir in #(((
11753 *) as_dir=$as_dir/ ;;
11755 for ac_exec_ext in '' $ac_executable_extensions; do
11756 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11757 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11767 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11768 if test -n "$MINGW_PKG_CONFIG"; then
11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11770 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11773 printf "%s\n" "no" >&6; }
11777 test -n "$MINGW_PKG_CONFIG" && break
11779 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11781 if ${FAUDIO_PE_CFLAGS:+false} :
11783 if test ${MINGW_PKG_CONFIG+y}
11785 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11788 if ${FAUDIO_PE_LIBS:+false} :
11790 if test ${MINGW_PKG_CONFIG+y}
11792 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11795 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11796 ac_save_CPPFLAGS=$CPPFLAGS
11797 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11799 printf %s "checking for MinGW FAudio.h... " >&6; }
11800 if test ${ac_cv_mingw_header_FAudio_h+y}
11802 printf %s "(cached) " >&6
11804 ac_wine_check_headers_saved_cc=$CC
11805 ac_wine_check_headers_saved_exeext=$ac_exeext
11806 eval CC=\$${wine_arch}_CC
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11811 #include <FAudio.h>
11820 if ac_fn_c_try_compile "$LINENO"
11822 ac_cv_mingw_header_FAudio_h=yes
11824 ac_cv_mingw_header_FAudio_h=no
11826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11827 CC=$ac_wine_check_headers_saved_cc
11828 ac_exeext=$ac_wine_check_headers_saved_exeext
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11831 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11832 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11835 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11836 if test ${ac_cv_mingw_lib_FAudio+y}
11838 printf %s "(cached) " >&6
11840 ac_wine_check_headers_saved_cc=$CC
11841 ac_wine_check_headers_saved_exeext=$ac_exeext
11842 ac_wine_check_headers_saved_libs=$LIBS
11843 eval CC=\$${wine_arch}_CC
11845 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 char FAudio_CommitOperationSet ();
11856 return FAudio_CommitOperationSet ();
11861 if ac_fn_c_try_link "$LINENO"
11863 ac_cv_mingw_lib_FAudio=yes
11865 ac_cv_mingw_lib_FAudio=no
11867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11868 conftest$ac_exeext conftest.$ac_ext
11869 CC=$ac_wine_check_headers_saved_cc
11870 ac_exeext=$ac_wine_check_headers_saved_exeext
11871 LIBS=$ac_wine_check_headers_saved_libs
11873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11874 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11875 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11879 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11882 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11884 CPPFLAGS=$ac_save_CPPFLAGS
11886 if test "x$FAUDIO_PE_LIBS" = "x"
11888 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11891 if ${JPEG_PE_CFLAGS:+false} :
11893 if test ${MINGW_PKG_CONFIG+y}
11895 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11898 if ${JPEG_PE_LIBS:+false} :
11900 if test ${MINGW_PKG_CONFIG+y}
11902 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11906 ac_save_CPPFLAGS=$CPPFLAGS
11907 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11909 printf %s "checking for MinGW jpeglib.h... " >&6; }
11910 if test ${ac_cv_mingw_header_jpeglib_h+y}
11912 printf %s "(cached) " >&6
11914 ac_wine_check_headers_saved_cc=$CC
11915 ac_wine_check_headers_saved_exeext=$ac_exeext
11916 eval CC=\$${wine_arch}_CC
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <stddef.h>
11922 #include <jpeglib.h>
11931 if ac_fn_c_try_compile "$LINENO"
11933 ac_cv_mingw_header_jpeglib_h=yes
11935 ac_cv_mingw_header_jpeglib_h=no
11937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11938 CC=$ac_wine_check_headers_saved_cc
11939 ac_exeext=$ac_wine_check_headers_saved_exeext
11941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11942 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11943 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11946 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11947 if test ${ac_cv_mingw_lib_jpeg+y}
11949 printf %s "(cached) " >&6
11951 ac_wine_check_headers_saved_cc=$CC
11952 ac_wine_check_headers_saved_exeext=$ac_exeext
11953 ac_wine_check_headers_saved_libs=$LIBS
11954 eval CC=\$${wine_arch}_CC
11956 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11963 char jpeg_start_decompress ();
11967 return jpeg_start_decompress ();
11972 if ac_fn_c_try_link "$LINENO"
11974 ac_cv_mingw_lib_jpeg=yes
11976 ac_cv_mingw_lib_jpeg=no
11978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11979 conftest$ac_exeext conftest.$ac_ext
11980 CC=$ac_wine_check_headers_saved_cc
11981 ac_exeext=$ac_wine_check_headers_saved_exeext
11982 LIBS=$ac_wine_check_headers_saved_libs
11984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11985 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11986 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11990 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11993 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11995 CPPFLAGS=$ac_save_CPPFLAGS
11997 if test "x$JPEG_PE_LIBS" = "x"
11999 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12002 if ${LCMS2_PE_CFLAGS:+false} :
12004 if test ${MINGW_PKG_CONFIG+y}
12006 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12009 if ${LCMS2_PE_LIBS:+false} :
12011 if test ${MINGW_PKG_CONFIG+y}
12013 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12016 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12017 ac_save_CPPFLAGS=$CPPFLAGS
12018 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12020 printf %s "checking for MinGW lcms2.h... " >&6; }
12021 if test ${ac_cv_mingw_header_lcms2_h+y}
12023 printf %s "(cached) " >&6
12025 ac_wine_check_headers_saved_cc=$CC
12026 ac_wine_check_headers_saved_exeext=$ac_exeext
12027 eval CC=\$${wine_arch}_CC
12029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12030 /* end confdefs.h. */
12041 if ac_fn_c_try_compile "$LINENO"
12043 ac_cv_mingw_header_lcms2_h=yes
12045 ac_cv_mingw_header_lcms2_h=no
12047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12048 CC=$ac_wine_check_headers_saved_cc
12049 ac_exeext=$ac_wine_check_headers_saved_exeext
12051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12052 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12053 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12056 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12057 if test ${ac_cv_mingw_lib_lcms2+y}
12059 printf %s "(cached) " >&6
12061 ac_wine_check_headers_saved_cc=$CC
12062 ac_wine_check_headers_saved_exeext=$ac_exeext
12063 ac_wine_check_headers_saved_libs=$LIBS
12064 eval CC=\$${wine_arch}_CC
12066 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12070 /* Override any GCC internal prototype to avoid an error.
12071 Use char because int might match the return type of a GCC
12072 builtin and then its argument prototype would still apply. */
12073 char cmsOpenProfileFromFile ();
12077 return cmsOpenProfileFromFile ();
12082 if ac_fn_c_try_link "$LINENO"
12084 ac_cv_mingw_lib_lcms2=yes
12086 ac_cv_mingw_lib_lcms2=no
12088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12089 conftest$ac_exeext conftest.$ac_ext
12090 CC=$ac_wine_check_headers_saved_cc
12091 ac_exeext=$ac_wine_check_headers_saved_exeext
12092 LIBS=$ac_wine_check_headers_saved_libs
12094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12095 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12096 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12100 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12103 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12105 CPPFLAGS=$ac_save_CPPFLAGS
12107 if test "x$LCMS2_PE_LIBS" = "x"
12109 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12112 if ${MPG123_PE_CFLAGS:+false} :
12114 if test ${MINGW_PKG_CONFIG+y}
12116 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12119 if ${MPG123_PE_LIBS:+false} :
12121 if test ${MINGW_PKG_CONFIG+y}
12123 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12126 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12127 ac_save_CPPFLAGS=$CPPFLAGS
12128 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12130 printf %s "checking for MinGW mpg123.h... " >&6; }
12131 if test ${ac_cv_mingw_header_mpg123_h+y}
12133 printf %s "(cached) " >&6
12135 ac_wine_check_headers_saved_cc=$CC
12136 ac_wine_check_headers_saved_exeext=$ac_exeext
12137 eval CC=\$${wine_arch}_CC
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12142 #include <mpg123.h>
12151 if ac_fn_c_try_compile "$LINENO"
12153 ac_cv_mingw_header_mpg123_h=yes
12155 ac_cv_mingw_header_mpg123_h=no
12157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12158 CC=$ac_wine_check_headers_saved_cc
12159 ac_exeext=$ac_wine_check_headers_saved_exeext
12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12162 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12163 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12166 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12167 if test ${ac_cv_mingw_lib_mpg123+y}
12169 printf %s "(cached) " >&6
12171 ac_wine_check_headers_saved_cc=$CC
12172 ac_wine_check_headers_saved_exeext=$ac_exeext
12173 ac_wine_check_headers_saved_libs=$LIBS
12174 eval CC=\$${wine_arch}_CC
12176 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12183 char mpg123_feed ();
12187 return mpg123_feed ();
12192 if ac_fn_c_try_link "$LINENO"
12194 ac_cv_mingw_lib_mpg123=yes
12196 ac_cv_mingw_lib_mpg123=no
12198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12199 conftest$ac_exeext conftest.$ac_ext
12200 CC=$ac_wine_check_headers_saved_cc
12201 ac_exeext=$ac_wine_check_headers_saved_exeext
12202 LIBS=$ac_wine_check_headers_saved_libs
12204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12205 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12206 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12210 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12213 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12215 CPPFLAGS=$ac_save_CPPFLAGS
12217 if test "x$MPG123_PE_LIBS" = "x"
12219 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12222 if ${PNG_PE_CFLAGS:+false} :
12224 if test ${MINGW_PKG_CONFIG+y}
12226 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12229 if ${PNG_PE_LIBS:+false} :
12231 if test ${MINGW_PKG_CONFIG+y}
12233 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12237 ac_save_CPPFLAGS=$CPPFLAGS
12238 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12240 printf %s "checking for MinGW png.h... " >&6; }
12241 if test ${ac_cv_mingw_header_png_h+y}
12243 printf %s "(cached) " >&6
12245 ac_wine_check_headers_saved_cc=$CC
12246 ac_wine_check_headers_saved_exeext=$ac_exeext
12247 eval CC=\$${wine_arch}_CC
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12261 if ac_fn_c_try_compile "$LINENO"
12263 ac_cv_mingw_header_png_h=yes
12265 ac_cv_mingw_header_png_h=no
12267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12268 CC=$ac_wine_check_headers_saved_cc
12269 ac_exeext=$ac_wine_check_headers_saved_exeext
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12272 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12273 if test "x$ac_cv_mingw_header_png_h" = xyes
12275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12276 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12277 if test ${ac_cv_mingw_lib_png+y}
12279 printf %s "(cached) " >&6
12281 ac_wine_check_headers_saved_cc=$CC
12282 ac_wine_check_headers_saved_exeext=$ac_exeext
12283 ac_wine_check_headers_saved_libs=$LIBS
12284 eval CC=\$${wine_arch}_CC
12286 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12293 char png_create_read_struct ();
12297 return png_create_read_struct ();
12302 if ac_fn_c_try_link "$LINENO"
12304 ac_cv_mingw_lib_png=yes
12306 ac_cv_mingw_lib_png=no
12308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12309 conftest$ac_exeext conftest.$ac_ext
12310 CC=$ac_wine_check_headers_saved_cc
12311 ac_exeext=$ac_wine_check_headers_saved_exeext
12312 LIBS=$ac_wine_check_headers_saved_libs
12314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12315 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12316 if test "x$ac_cv_mingw_lib_png" = xyes
12320 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12323 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12325 CPPFLAGS=$ac_save_CPPFLAGS
12327 if test "x$PNG_PE_LIBS" = "x"
12329 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12332 if ${TIFF_PE_CFLAGS:+false} :
12334 if test ${MINGW_PKG_CONFIG+y}
12336 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12339 if ${TIFF_PE_LIBS:+false} :
12341 if test ${MINGW_PKG_CONFIG+y}
12343 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12347 ac_save_CPPFLAGS=$CPPFLAGS
12348 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12350 printf %s "checking for MinGW tiffio.h... " >&6; }
12351 if test ${ac_cv_mingw_header_tiffio_h+y}
12353 printf %s "(cached) " >&6
12355 ac_wine_check_headers_saved_cc=$CC
12356 ac_wine_check_headers_saved_exeext=$ac_exeext
12357 eval CC=\$${wine_arch}_CC
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 #include <tiffio.h>
12371 if ac_fn_c_try_compile "$LINENO"
12373 ac_cv_mingw_header_tiffio_h=yes
12375 ac_cv_mingw_header_tiffio_h=no
12377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12378 CC=$ac_wine_check_headers_saved_cc
12379 ac_exeext=$ac_wine_check_headers_saved_exeext
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12382 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12383 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12386 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12387 if test ${ac_cv_mingw_lib_tiff+y}
12389 printf %s "(cached) " >&6
12391 ac_wine_check_headers_saved_cc=$CC
12392 ac_wine_check_headers_saved_exeext=$ac_exeext
12393 ac_wine_check_headers_saved_libs=$LIBS
12394 eval CC=\$${wine_arch}_CC
12396 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12403 char TIFFClientOpen ();
12407 return TIFFClientOpen ();
12412 if ac_fn_c_try_link "$LINENO"
12414 ac_cv_mingw_lib_tiff=yes
12416 ac_cv_mingw_lib_tiff=no
12418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12419 conftest$ac_exeext conftest.$ac_ext
12420 CC=$ac_wine_check_headers_saved_cc
12421 ac_exeext=$ac_wine_check_headers_saved_exeext
12422 LIBS=$ac_wine_check_headers_saved_libs
12424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12425 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12426 if test "x$ac_cv_mingw_lib_tiff" = xyes
12430 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12433 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12435 CPPFLAGS=$ac_save_CPPFLAGS
12437 if test "x$TIFF_PE_LIBS" = "x"
12439 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12442 if ${XML2_PE_CFLAGS:+false} :
12444 if test ${MINGW_PKG_CONFIG+y}
12446 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12449 if ${XML2_PE_LIBS:+false} :
12451 if test ${MINGW_PKG_CONFIG+y}
12453 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12456 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12457 ac_save_CPPFLAGS=$CPPFLAGS
12458 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12460 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12461 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12463 printf %s "(cached) " >&6
12465 ac_wine_check_headers_saved_cc=$CC
12466 ac_wine_check_headers_saved_exeext=$ac_exeext
12467 eval CC=\$${wine_arch}_CC
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 #include <libxml/parser.h>
12481 if ac_fn_c_try_compile "$LINENO"
12483 ac_cv_mingw_header_libxml_parser_h=yes
12485 ac_cv_mingw_header_libxml_parser_h=no
12487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12488 CC=$ac_wine_check_headers_saved_cc
12489 ac_exeext=$ac_wine_check_headers_saved_exeext
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12492 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12493 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12498 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12499 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12501 printf %s "(cached) " >&6
12503 ac_wine_check_headers_saved_cc=$CC
12504 ac_wine_check_headers_saved_exeext=$ac_exeext
12505 eval CC=\$${wine_arch}_CC
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 #include <libxml/xmlsave.h>
12519 if ac_fn_c_try_compile "$LINENO"
12521 ac_cv_mingw_header_libxml_xmlsave_h=yes
12523 ac_cv_mingw_header_libxml_xmlsave_h=no
12525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12526 CC=$ac_wine_check_headers_saved_cc
12527 ac_exeext=$ac_wine_check_headers_saved_exeext
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12530 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12531 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12536 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12537 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12539 printf %s "(cached) " >&6
12541 ac_wine_check_headers_saved_cc=$CC
12542 ac_wine_check_headers_saved_exeext=$ac_exeext
12543 eval CC=\$${wine_arch}_CC
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 #include <libxml/SAX2.h>
12557 if ac_fn_c_try_compile "$LINENO"
12559 ac_cv_mingw_header_libxml_SAX2_h=yes
12561 ac_cv_mingw_header_libxml_SAX2_h=no
12563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12564 CC=$ac_wine_check_headers_saved_cc
12565 ac_exeext=$ac_wine_check_headers_saved_exeext
12567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12568 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12569 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12573 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"
12575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12576 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12577 if test ${ac_cv_mingw_lib_xml2+y}
12579 printf %s "(cached) " >&6
12581 ac_wine_check_headers_saved_cc=$CC
12582 ac_wine_check_headers_saved_exeext=$ac_exeext
12583 ac_wine_check_headers_saved_libs=$LIBS
12584 eval CC=\$${wine_arch}_CC
12586 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12593 char xmlFirstElementChild ();
12597 return xmlFirstElementChild ();
12602 if ac_fn_c_try_link "$LINENO"
12604 ac_cv_mingw_lib_xml2=yes
12606 ac_cv_mingw_lib_xml2=no
12608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12609 conftest$ac_exeext conftest.$ac_ext
12610 CC=$ac_wine_check_headers_saved_cc
12611 ac_exeext=$ac_wine_check_headers_saved_exeext
12612 LIBS=$ac_wine_check_headers_saved_libs
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12615 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12616 if test "x$ac_cv_mingw_lib_xml2" = xyes
12620 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12626 CPPFLAGS=$ac_save_CPPFLAGS
12628 if test "x$XML2_PE_LIBS" = "x"
12630 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12633 if ${XSLT_PE_CFLAGS:+false} :
12635 if test ${MINGW_PKG_CONFIG+y}
12637 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12640 if ${XSLT_PE_LIBS:+false} :
12642 if test ${MINGW_PKG_CONFIG+y}
12644 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12647 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12648 ac_save_CPPFLAGS=$CPPFLAGS
12649 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12651 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12652 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12654 printf %s "(cached) " >&6
12656 ac_wine_check_headers_saved_cc=$CC
12657 ac_wine_check_headers_saved_exeext=$ac_exeext
12658 eval CC=\$${wine_arch}_CC
12660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12663 #include <libxslt/pattern.h>
12672 if ac_fn_c_try_compile "$LINENO"
12674 ac_cv_mingw_header_libxslt_pattern_h=yes
12676 ac_cv_mingw_header_libxslt_pattern_h=no
12678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12679 CC=$ac_wine_check_headers_saved_cc
12680 ac_exeext=$ac_wine_check_headers_saved_exeext
12682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12683 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12684 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12689 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12690 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12692 printf %s "(cached) " >&6
12694 ac_wine_check_headers_saved_cc=$CC
12695 ac_wine_check_headers_saved_exeext=$ac_exeext
12696 eval CC=\$${wine_arch}_CC
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 #include <libxslt/transform.h>
12710 if ac_fn_c_try_compile "$LINENO"
12712 ac_cv_mingw_header_libxslt_transform_h=yes
12714 ac_cv_mingw_header_libxslt_transform_h=no
12716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12717 CC=$ac_wine_check_headers_saved_cc
12718 ac_exeext=$ac_wine_check_headers_saved_exeext
12720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12721 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12722 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12726 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12729 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12730 if test ${ac_cv_mingw_lib_xslt+y}
12732 printf %s "(cached) " >&6
12734 ac_wine_check_headers_saved_cc=$CC
12735 ac_wine_check_headers_saved_exeext=$ac_exeext
12736 ac_wine_check_headers_saved_libs=$LIBS
12737 eval CC=\$${wine_arch}_CC
12739 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12743 /* Override any GCC internal prototype to avoid an error.
12744 Use char because int might match the return type of a GCC
12745 builtin and then its argument prototype would still apply. */
12746 char xsltCompilePattern ();
12750 return xsltCompilePattern ();
12755 if ac_fn_c_try_link "$LINENO"
12757 ac_cv_mingw_lib_xslt=yes
12759 ac_cv_mingw_lib_xslt=no
12761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12762 conftest$ac_exeext conftest.$ac_ext
12763 CC=$ac_wine_check_headers_saved_cc
12764 ac_exeext=$ac_wine_check_headers_saved_exeext
12765 LIBS=$ac_wine_check_headers_saved_libs
12767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12768 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12769 if test "x$ac_cv_mingw_lib_xslt" = xyes
12773 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12779 CPPFLAGS=$ac_save_CPPFLAGS
12781 if test "x$XSLT_PE_LIBS" = "x"
12783 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12786 if ${VKD3D_PE_CFLAGS:+false} :
12788 if test ${MINGW_PKG_CONFIG+y}
12790 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12793 if ${VKD3D_PE_LIBS:+false} :
12795 if test ${MINGW_PKG_CONFIG+y}
12797 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12800 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12801 ac_save_CPPFLAGS=$CPPFLAGS
12802 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12804 printf %s "checking for MinGW vkd3d.h... " >&6; }
12805 if test ${ac_cv_mingw_header_vkd3d_h+y}
12807 printf %s "(cached) " >&6
12809 ac_wine_check_headers_saved_cc=$CC
12810 ac_wine_check_headers_saved_exeext=$ac_exeext
12811 eval CC=\$${wine_arch}_CC
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12825 if ac_fn_c_try_compile "$LINENO"
12827 ac_cv_mingw_header_vkd3d_h=yes
12829 ac_cv_mingw_header_vkd3d_h=no
12831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12832 CC=$ac_wine_check_headers_saved_cc
12833 ac_exeext=$ac_wine_check_headers_saved_exeext
12835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12836 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12837 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12842 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12843 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12845 printf %s "(cached) " >&6
12847 ac_wine_check_headers_saved_cc=$CC
12848 ac_wine_check_headers_saved_exeext=$ac_exeext
12849 eval CC=\$${wine_arch}_CC
12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12854 #include <vkd3d_shader.h>
12863 if ac_fn_c_try_compile "$LINENO"
12865 ac_cv_mingw_header_vkd3d_shader_h=yes
12867 ac_cv_mingw_header_vkd3d_shader_h=no
12869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12870 CC=$ac_wine_check_headers_saved_cc
12871 ac_exeext=$ac_wine_check_headers_saved_exeext
12873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12874 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12875 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12879 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12882 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12883 if test ${ac_cv_mingw_lib_vkd3d+y}
12885 printf %s "(cached) " >&6
12887 ac_wine_check_headers_saved_cc=$CC
12888 ac_wine_check_headers_saved_exeext=$ac_exeext
12889 ac_wine_check_headers_saved_libs=$LIBS
12890 eval CC=\$${wine_arch}_CC
12892 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12899 char vkd3d_set_log_callback ();
12903 return vkd3d_set_log_callback ();
12908 if ac_fn_c_try_link "$LINENO"
12910 ac_cv_mingw_lib_vkd3d=yes
12912 ac_cv_mingw_lib_vkd3d=no
12914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12915 conftest$ac_exeext conftest.$ac_ext
12916 CC=$ac_wine_check_headers_saved_cc
12917 ac_exeext=$ac_wine_check_headers_saved_exeext
12918 LIBS=$ac_wine_check_headers_saved_libs
12920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12921 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12922 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12929 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12930 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12932 printf %s "(cached) " >&6
12934 ac_wine_check_headers_saved_cc=$CC
12935 ac_wine_check_headers_saved_exeext=$ac_exeext
12936 ac_wine_check_headers_saved_libs=$LIBS
12937 eval CC=\$${wine_arch}_CC
12939 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12946 char vkd3d_shader_serialize_dxbc ();
12950 return vkd3d_shader_serialize_dxbc ();
12955 if ac_fn_c_try_link "$LINENO"
12957 ac_cv_mingw_lib_vkd3d_shader=yes
12959 ac_cv_mingw_lib_vkd3d_shader=no
12961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12962 conftest$ac_exeext conftest.$ac_ext
12963 CC=$ac_wine_check_headers_saved_cc
12964 ac_exeext=$ac_wine_check_headers_saved_exeext
12965 LIBS=$ac_wine_check_headers_saved_libs
12967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12968 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12969 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12975 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12984 CPPFLAGS=$ac_save_CPPFLAGS
12986 if test "x$VKD3D_PE_LIBS" = "x"
12988 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12991 if ${ZLIB_PE_CFLAGS:+false} :
12993 if test ${MINGW_PKG_CONFIG+y}
12995 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12998 if ${ZLIB_PE_LIBS:+false} :
13000 if test ${MINGW_PKG_CONFIG+y}
13002 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13005 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13006 ac_save_CPPFLAGS=$CPPFLAGS
13007 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13009 printf %s "checking for MinGW zlib.h... " >&6; }
13010 if test ${ac_cv_mingw_header_zlib_h+y}
13012 printf %s "(cached) " >&6
13014 ac_wine_check_headers_saved_cc=$CC
13015 ac_wine_check_headers_saved_exeext=$ac_exeext
13016 eval CC=\$${wine_arch}_CC
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13030 if ac_fn_c_try_compile "$LINENO"
13032 ac_cv_mingw_header_zlib_h=yes
13034 ac_cv_mingw_header_zlib_h=no
13036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13037 CC=$ac_wine_check_headers_saved_cc
13038 ac_exeext=$ac_wine_check_headers_saved_exeext
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13041 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13042 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13045 printf %s "checking for inflate in MinGW -lz... " >&6; }
13046 if test ${ac_cv_mingw_lib_z+y}
13048 printf %s "(cached) " >&6
13050 ac_wine_check_headers_saved_cc=$CC
13051 ac_wine_check_headers_saved_exeext=$ac_exeext
13052 ac_wine_check_headers_saved_libs=$LIBS
13053 eval CC=\$${wine_arch}_CC
13055 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13071 if ac_fn_c_try_link "$LINENO"
13073 ac_cv_mingw_lib_z=yes
13075 ac_cv_mingw_lib_z=no
13077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13078 conftest$ac_exeext conftest.$ac_ext
13079 CC=$ac_wine_check_headers_saved_cc
13080 ac_exeext=$ac_wine_check_headers_saved_exeext
13081 LIBS=$ac_wine_check_headers_saved_libs
13083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13084 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13085 if test "x$ac_cv_mingw_lib_z" = xyes
13089 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13092 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13094 CPPFLAGS=$ac_save_CPPFLAGS
13096 if test "x$ZLIB_PE_LIBS" = "x"
13098 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13102 if ${FAUDIO_PE_LIBS:+false} :
13104 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13105 if ${FAUDIO_PE_CFLAGS:+false} :
13107 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13117 if ${GSM_PE_LIBS:+false} :
13120 if ${GSM_PE_CFLAGS:+false} :
13122 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13132 if ${JPEG_PE_LIBS:+false} :
13135 if ${JPEG_PE_CFLAGS:+false} :
13137 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13147 if ${JXR_PE_LIBS:+false} :
13150 if ${JXR_PE_CFLAGS:+false} :
13152 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13162 if ${LCMS2_PE_LIBS:+false} :
13164 LCMS2_PE_LIBS=lcms2
13165 if ${LCMS2_PE_CFLAGS:+false} :
13167 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13177 if ${LDAP_PE_LIBS:+false} :
13180 if ${LDAP_PE_CFLAGS:+false} :
13182 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13192 if ${MPG123_PE_LIBS:+false} :
13194 MPG123_PE_LIBS=mpg123
13195 if ${MPG123_PE_CFLAGS:+false} :
13197 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13207 if ${MUSL_PE_LIBS:+false} :
13210 if ${MUSL_PE_CFLAGS:+false} :
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13222 if ${PNG_PE_LIBS:+false} :
13224 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13225 if ${PNG_PE_CFLAGS:+false} :
13227 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13237 if ${TIFF_PE_LIBS:+false} :
13239 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13240 if ${TIFF_PE_CFLAGS:+false} :
13242 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13252 if ${VKD3D_PE_LIBS:+false} :
13254 VKD3D_PE_LIBS=vkd3d
13255 if ${VKD3D_PE_CFLAGS:+false} :
13257 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13267 if ${XML2_PE_LIBS:+false} :
13270 if ${XML2_PE_CFLAGS:+false} :
13272 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13282 if ${XSLT_PE_LIBS:+false} :
13285 if ${XSLT_PE_CFLAGS:+false} :
13287 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13297 if ${ZLIB_PE_LIBS:+false} :
13300 if ${ZLIB_PE_CFLAGS:+false} :
13302 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13312 if ${ZYDIS_PE_LIBS:+false} :
13314 ZYDIS_PE_LIBS=zydis
13315 if ${ZYDIS_PE_CFLAGS:+false} :
13317 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13329 if test "$ac_cv_header_pthread_h" = "yes"
13331 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13332 if test "x$ac_cv_func_pthread_create" = xyes
13336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13337 printf %s "checking for pthread_create in -lpthread... " >&6; }
13338 if test ${ac_cv_lib_pthread_pthread_create+y}
13340 printf %s "(cached) " >&6
13342 ac_check_lib_save_LIBS=$LIBS
13343 LIBS="-lpthread $LIBS"
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13350 char pthread_create ();
13354 return pthread_create ();
13359 if ac_fn_c_try_link "$LINENO"
13361 ac_cv_lib_pthread_pthread_create=yes
13363 ac_cv_lib_pthread_pthread_create=no
13365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13366 conftest$ac_exeext conftest.$ac_ext
13367 LIBS=$ac_check_lib_save_LIBS
13369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13370 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13371 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13373 PTHREAD_LIBS="-lpthread"
13380 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13382 case "x$with_pthread" in
13384 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13385 Wine cannot support threads without libpthread.
13386 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13393 ac_cpp='$CPP $CPPFLAGS'
13394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13398 printf %s "checking how to run the C preprocessor... " >&6; }
13399 # On Suns, sometimes $CPP names a directory.
13400 if test -n "$CPP" && test -d "$CPP"; then
13403 if test -z "$CPP"; then
13404 if test ${ac_cv_prog_CPP+y}
13406 printf %s "(cached) " >&6
13408 # Double quotes because $CC needs to be expanded
13409 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13411 ac_preproc_ok=false
13412 for ac_c_preproc_warn_flag in '' yes
13414 # Use a header file that comes with gcc, so configuring glibc
13415 # with a fresh cross-compiler works.
13416 # On the NeXT, cc -E runs the code through the compiler's parser,
13417 # not just through cpp. "Syntax error" is here to catch this case.
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13420 #include <limits.h>
13423 if ac_fn_c_try_cpp "$LINENO"
13427 # Broken: fails on valid input.
13430 rm -f conftest.err conftest.i conftest.$ac_ext
13432 # OK, works on sane cases. Now check whether nonexistent headers
13433 # can be detected and how.
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13436 #include <ac_nonexistent.h>
13438 if ac_fn_c_try_cpp "$LINENO"
13440 # Broken: success on invalid input.
13443 # Passes both tests.
13447 rm -f conftest.err conftest.i conftest.$ac_ext
13450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13451 rm -f conftest.i conftest.err conftest.
$ac_ext
13458 ac_cv_prog_CPP
=$CPP
13461 CPP
=$ac_cv_prog_CPP
13463 ac_cv_prog_CPP
=$CPP
13465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13466 printf "%s\n" "$CPP" >&6; }
13467 ac_preproc_ok
=false
13468 for ac_c_preproc_warn_flag
in '' yes
13470 # Use a header file that comes with gcc, so configuring glibc
13471 # with a fresh cross-compiler works.
13472 # On the NeXT, cc -E runs the code through the compiler's parser,
13473 # not just through cpp. "Syntax error" is here to catch this case.
13474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 #include <limits.h>
13479 if ac_fn_c_try_cpp
"$LINENO"
13483 # Broken: fails on valid input.
13486 rm -f conftest.err conftest.i conftest.
$ac_ext
13488 # OK, works on sane cases. Now check whether nonexistent headers
13489 # can be detected and how.
13490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13492 #include <ac_nonexistent.h>
13494 if ac_fn_c_try_cpp
"$LINENO"
13496 # Broken: success on invalid input.
13499 # Passes both tests.
13503 rm -f conftest.err conftest.i conftest.
$ac_ext
13506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13507 rm -f conftest.i conftest.err conftest.
$ac_ext
13512 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13513 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13514 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13515 See \`config.log' for more details" "$LINENO" 5; }
13519 ac_cpp
='$CPP $CPPFLAGS'
13520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13526 printf %s
"checking for X... " >&6; }
13529 # Check whether --with-x was given.
13530 if test ${with_x+y}
13535 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13536 if test "x$with_x" = xno
; then
13537 # The user explicitly disabled X.
13540 case $x_includes,$x_libraries in #(
13541 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13542 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13544 printf %s
"(cached) " >&6
13546 # One or both of the vars are not set, and there is no cached value.
13549 # Do we need to do anything special at all?
13552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 #include <X11/Xlib.h>
13563 if ac_fn_c_try_link
"$LINENO"
13565 # We can compile and link X programs with no special options.
13569 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13570 conftest
$ac_exeext conftest.
$ac_ext
13571 LIBS
="$ac_save_LIBS"
13572 # If that didn't work, only try xmkmf and file system searches
13573 # for native compilation.
13574 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13576 rm -f -r conftest.dir
13577 if mkdir conftest.dir
; then
13579 cat >Imakefile
<<'_ACEOF'
13581 @echo incroot='${INCROOT}'
13583 @echo usrlibdir='${USRLIBDIR}'
13585 @echo libdir='${LIBDIR}'
13587 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13588 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13589 for ac_var
in incroot usrlibdir libdir
; do
13590 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13592 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13593 for ac_extension
in a so sl dylib la dll
; do
13594 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13595 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13596 ac_im_usrlibdir
=$ac_im_libdir; break
13599 # Screen out bogus values from the imake configuration. They are
13600 # bogus both because they are the default anyway, and because
13601 # using them would break gcc on systems where it needs fixed includes.
13602 case $ac_im_incroot in
13603 /usr
/include
) ac_x_includes
= ;;
13604 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13606 case $ac_im_usrlibdir in
13607 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13608 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13612 rm -f -r conftest.dir
13615 # Standard set of common directories for X headers.
13616 # Check X11 before X11Rn because it is often a symlink to the current release.
13630 /usr/local/X11/include
13631 /usr/local/X11R7/include
13632 /usr/local/X11R6/include
13633 /usr/local/X11R5/include
13634 /usr/local/X11R4/include
13636 /usr/local/include/X11
13637 /usr/local/include/X11R7
13638 /usr/local/include/X11R6
13639 /usr/local/include/X11R5
13640 /usr/local/include/X11R4
13646 /usr/XFree86/include/X11
13650 /usr/unsupported/include
13651 /usr/athena/include
13652 /usr/local/x11r5/include
13653 /usr/lpp/Xamples/include
13655 /usr/openwin/include
13656 /usr/openwin/share/include'
13658 if test "$ac_x_includes" = no
; then
13659 # Guess where to find include files, by looking for Xlib.h.
13660 # First, try using that file with no special directory specified.
13661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13663 #include <X11/Xlib.h>
13665 if ac_fn_c_try_cpp
"$LINENO"
13667 # We can compile using X headers with no special include directory.
13670 for ac_dir
in $ac_x_header_dirs; do
13671 if test -r "$ac_dir/X11/Xlib.h"; then
13672 ac_x_includes
=$ac_dir
13677 rm -f conftest.err conftest.i conftest.
$ac_ext
13678 fi # $ac_x_includes = no
13680 if test "$ac_x_libraries" = no
; then
13681 # Check for the libraries.
13682 # See if we find them without any special options.
13683 # Don't add to $LIBS permanently.
13686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13688 #include <X11/Xlib.h>
13697 if ac_fn_c_try_link
"$LINENO"
13700 # We can link X programs with no special library path.
13704 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13706 # Don't even attempt the hair of trying to link an X program!
13707 for ac_extension
in a so sl dylib la dll
; do
13708 if test -r "$ac_dir/libX11.$ac_extension"; then
13709 ac_x_libraries
=$ac_dir
13715 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13716 conftest
$ac_exeext conftest.
$ac_ext
13717 fi # $ac_x_libraries = no
13720 # Record the results.
13721 case $ac_x_includes,$ac_x_libraries in #(
13722 no
,* |
*,no |
*\'*) :
13723 # Didn't find X, or a directory has "'" in its name.
13724 ac_cv_have_x
="have_x=no" ;; #(
13726 # Record where we found X for the cache.
13727 ac_cv_have_x
="have_x=yes\
13728 ac_x_includes='$ac_x_includes'\
13729 ac_x_libraries='$ac_x_libraries'" ;;
13735 eval "$ac_cv_have_x"
13738 if test "$have_x" != yes; then
13739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13740 printf "%s\n" "$have_x" >&6; }
13743 # If each of the values was on the command line, it overrides each guess.
13744 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13745 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13746 # Update the cache value to reflect the command line values.
13747 ac_cv_have_x
="have_x=yes\
13748 ac_x_includes='$x_includes'\
13749 ac_x_libraries='$x_libraries'"
13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13751 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13754 if test "$no_x" = yes; then
13755 # Not all programs may use this symbol, but it does not hurt to define it.
13757 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13759 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13761 if test -n "$x_includes"; then
13762 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13765 # It would also be nice to do this for all -L options, not just this one.
13766 if test -n "$x_libraries"; then
13767 X_LIBS
="$X_LIBS -L$x_libraries"
13768 # For Solaris; some versions of Sun CC require a space after -R and
13769 # others require no space. Words are not sufficient . . . .
13770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13771 printf %s
"checking whether -R must be followed by a space... " >&6; }
13772 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13773 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13774 ac_c_werror_flag
=yes
13775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13786 if ac_fn_c_try_link
"$LINENO"
13788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13789 printf "%s\n" "no" >&6; }
13790 X_LIBS
="$X_LIBS -R$x_libraries"
13792 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13804 if ac_fn_c_try_link
"$LINENO"
13806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13807 printf "%s\n" "yes" >&6; }
13808 X_LIBS
="$X_LIBS -R $x_libraries"
13810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13811 printf "%s\n" "neither works" >&6; }
13813 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13814 conftest
$ac_exeext conftest.
$ac_ext
13816 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13817 conftest
$ac_exeext conftest.
$ac_ext
13818 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13819 LIBS
=$ac_xsave_LIBS
13822 # Check for system-dependent libraries X programs must link with.
13823 # Do this before checking for the system-independent R6 libraries
13824 # (-lICE), since we may need -lsocket or whatever for X linking.
13826 if test "$ISC" = yes; then
13827 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13829 # Martyn Johnson says this is needed for Ultrix, if the X
13830 # libraries were built with DECnet support. And Karl Berry says
13831 # the Alpha needs dnet_stub (dnet does not exist).
13832 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13839 char XOpenDisplay ();
13843 return XOpenDisplay ();
13848 if ac_fn_c_try_link
"$LINENO"
13852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13853 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13854 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13856 printf %s
"(cached) " >&6
13858 ac_check_lib_save_LIBS
=$LIBS
13859 LIBS
="-ldnet $LIBS"
13860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13863 /* Override any GCC internal prototype to avoid an error.
13864 Use char because int might match the return type of a GCC
13865 builtin and then its argument prototype would still apply. */
13870 return dnet_ntoa ();
13875 if ac_fn_c_try_link
"$LINENO"
13877 ac_cv_lib_dnet_dnet_ntoa
=yes
13879 ac_cv_lib_dnet_dnet_ntoa
=no
13881 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13882 conftest
$ac_exeext conftest.
$ac_ext
13883 LIBS
=$ac_check_lib_save_LIBS
13885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13886 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13887 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13889 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13892 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13894 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13895 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13897 printf %s
"(cached) " >&6
13899 ac_check_lib_save_LIBS
=$LIBS
13900 LIBS
="-ldnet_stub $LIBS"
13901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13904 /* Override any GCC internal prototype to avoid an error.
13905 Use char because int might match the return type of a GCC
13906 builtin and then its argument prototype would still apply. */
13911 return dnet_ntoa ();
13916 if ac_fn_c_try_link
"$LINENO"
13918 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13920 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13922 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13923 conftest
$ac_exeext conftest.
$ac_ext
13924 LIBS
=$ac_check_lib_save_LIBS
13926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13927 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13928 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13930 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13935 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13936 conftest
$ac_exeext conftest.
$ac_ext
13937 LIBS
="$ac_xsave_LIBS"
13939 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13940 # to get the SysV transport functions.
13941 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13943 # The nsl library prevents programs from opening the X display
13944 # on Irix 5.2, according to T.E. Dickey.
13945 # The functions gethostbyname, getservbyname, and inet_addr are
13946 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13947 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13948 if test "x$ac_cv_func_gethostbyname" = xyes
13953 if test $ac_cv_func_gethostbyname = no
; then
13954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13955 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13956 if test ${ac_cv_lib_nsl_gethostbyname+y}
13958 printf %s
"(cached) " >&6
13960 ac_check_lib_save_LIBS
=$LIBS
13962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13965 /* Override any GCC internal prototype to avoid an error.
13966 Use char because int might match the return type of a GCC
13967 builtin and then its argument prototype would still apply. */
13968 char gethostbyname ();
13972 return gethostbyname ();
13977 if ac_fn_c_try_link
"$LINENO"
13979 ac_cv_lib_nsl_gethostbyname
=yes
13981 ac_cv_lib_nsl_gethostbyname
=no
13983 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 LIBS
=$ac_check_lib_save_LIBS
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13988 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13989 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13991 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13994 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13996 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13997 if test ${ac_cv_lib_bsd_gethostbyname+y}
13999 printf %s
"(cached) " >&6
14001 ac_check_lib_save_LIBS
=$LIBS
14003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14006 /* Override any GCC internal prototype to avoid an error.
14007 Use char because int might match the return type of a GCC
14008 builtin and then its argument prototype would still apply. */
14009 char gethostbyname ();
14013 return gethostbyname ();
14018 if ac_fn_c_try_link
"$LINENO"
14020 ac_cv_lib_bsd_gethostbyname
=yes
14022 ac_cv_lib_bsd_gethostbyname
=no
14024 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14025 conftest
$ac_exeext conftest.
$ac_ext
14026 LIBS
=$ac_check_lib_save_LIBS
14028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14029 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14030 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14032 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14038 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14039 # socket/setsockopt and other routines are undefined under SCO ODT
14040 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14041 # on later versions), says Simon Leinen: it contains gethostby*
14042 # variants that don't use the name server (or something). -lsocket
14043 # must be given before -lnsl if both are needed. We assume that
14044 # if connect needs -lnsl, so does gethostbyname.
14045 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14046 if test "x$ac_cv_func_connect" = xyes
14051 if test $ac_cv_func_connect = no
; then
14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14053 printf %s
"checking for connect in -lsocket... " >&6; }
14054 if test ${ac_cv_lib_socket_connect+y}
14056 printf %s
"(cached) " >&6
14058 ac_check_lib_save_LIBS
=$LIBS
14059 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14075 if ac_fn_c_try_link
"$LINENO"
14077 ac_cv_lib_socket_connect
=yes
14079 ac_cv_lib_socket_connect
=no
14081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14082 conftest
$ac_exeext conftest.
$ac_ext
14083 LIBS
=$ac_check_lib_save_LIBS
14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14086 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14087 if test "x$ac_cv_lib_socket_connect" = xyes
14089 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14094 # Guillermo Gomez says -lposix is necessary on A/UX.
14095 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14096 if test "x$ac_cv_func_remove" = xyes
14101 if test $ac_cv_func_remove = no
; then
14102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14103 printf %s
"checking for remove in -lposix... " >&6; }
14104 if test ${ac_cv_lib_posix_remove+y}
14106 printf %s
"(cached) " >&6
14108 ac_check_lib_save_LIBS
=$LIBS
14109 LIBS
="-lposix $LIBS"
14110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14113 /* Override any GCC internal prototype to avoid an error.
14114 Use char because int might match the return type of a GCC
14115 builtin and then its argument prototype would still apply. */
14125 if ac_fn_c_try_link
"$LINENO"
14127 ac_cv_lib_posix_remove
=yes
14129 ac_cv_lib_posix_remove
=no
14131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14132 conftest
$ac_exeext conftest.
$ac_ext
14133 LIBS
=$ac_check_lib_save_LIBS
14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14136 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14137 if test "x$ac_cv_lib_posix_remove" = xyes
14139 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14144 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14145 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14146 if test "x$ac_cv_func_shmat" = xyes
14151 if test $ac_cv_func_shmat = no
; then
14152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14153 printf %s
"checking for shmat in -lipc... " >&6; }
14154 if test ${ac_cv_lib_ipc_shmat+y}
14156 printf %s
"(cached) " >&6
14158 ac_check_lib_save_LIBS
=$LIBS
14160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14163 /* Override any GCC internal prototype to avoid an error.
14164 Use char because int might match the return type of a GCC
14165 builtin and then its argument prototype would still apply. */
14175 if ac_fn_c_try_link
"$LINENO"
14177 ac_cv_lib_ipc_shmat
=yes
14179 ac_cv_lib_ipc_shmat
=no
14181 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14182 conftest
$ac_exeext conftest.
$ac_ext
14183 LIBS
=$ac_check_lib_save_LIBS
14185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14186 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14187 if test "x$ac_cv_lib_ipc_shmat" = xyes
14189 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14195 # Check for libraries that X11R6 Xt/Xaw programs need.
14196 ac_save_LDFLAGS
=$LDFLAGS
14197 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14198 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14199 # check for ICE first), but we must link in the order -lSM -lICE or
14200 # we get undefined symbols. So assume we have SM if we have ICE.
14201 # These have to be linked with before -lX11, unlike the other
14202 # libraries we check for below, so use a different variable.
14203 # John Interrante, Karl Berry
14204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14205 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14206 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14208 printf %s
"(cached) " >&6
14210 ac_check_lib_save_LIBS
=$LIBS
14211 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14218 char IceConnectionNumber ();
14222 return IceConnectionNumber ();
14227 if ac_fn_c_try_link
"$LINENO"
14229 ac_cv_lib_ICE_IceConnectionNumber
=yes
14231 ac_cv_lib_ICE_IceConnectionNumber
=no
14233 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14234 conftest
$ac_exeext conftest.
$ac_ext
14235 LIBS
=$ac_check_lib_save_LIBS
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14238 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14239 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14241 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14244 LDFLAGS
=$ac_save_LDFLAGS
14249 if test "$have_x" = "yes"
14251 ac_save_CPPFLAGS
="$CPPFLAGS"
14252 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14255 printf %s
"checking for -lX11... " >&6; }
14256 if test ${ac_cv_lib_soname_X11+y}
14258 printf %s
"(cached) " >&6
14260 ac_check_soname_save_LIBS
=$LIBS
14261 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14265 /* Override any GCC internal prototype to avoid an error.
14266 Use char because int might match the return type of a GCC
14267 builtin and then its argument prototype would still apply. */
14268 char XCreateWindow ();
14272 return XCreateWindow ();
14277 if ac_fn_c_try_link
"$LINENO"
14280 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14281 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'` ;;
14282 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14283 if ${ac_cv_lib_soname_X11:+false} :
14285 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14289 ac_cv_lib_soname_X11
=
14291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14292 conftest
$ac_exeext conftest.
$ac_ext
14293 LIBS
=$ac_check_soname_save_LIBS
14295 if ${ac_cv_lib_soname_X11:+false} :
14297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14298 printf "%s\n" "not found" >&6; }
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14302 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14304 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14309 printf %s
"checking for -lXext... " >&6; }
14310 if test ${ac_cv_lib_soname_Xext+y}
14312 printf %s
"(cached) " >&6
14314 ac_check_soname_save_LIBS
=$LIBS
14315 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14319 /* Override any GCC internal prototype to avoid an error.
14320 Use char because int might match the return type of a GCC
14321 builtin and then its argument prototype would still apply. */
14322 char XextCreateExtension ();
14326 return XextCreateExtension ();
14331 if ac_fn_c_try_link
"$LINENO"
14334 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14335 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'` ;;
14336 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14337 if ${ac_cv_lib_soname_Xext:+false} :
14339 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14343 ac_cv_lib_soname_Xext
=
14345 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14346 conftest
$ac_exeext conftest.
$ac_ext
14347 LIBS
=$ac_check_soname_save_LIBS
14349 if ${ac_cv_lib_soname_Xext:+false} :
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14352 printf "%s\n" "not found" >&6; }
14355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14356 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14358 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14360 X_LIBS
="$X_LIBS -lXext"
14362 X_LIBS
="$X_LIBS -lX11"
14364 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14365 # include <X11/Xlib.h>
14367 #ifdef HAVE_X11_XUTIL_H
14368 # include <X11/Xutil.h>
14371 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14373 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14376 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14377 # include <X11/Xlib.h>
14379 #ifdef HAVE_X11_XUTIL_H
14380 # include <X11/Xutil.h>
14383 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14385 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14388 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_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_Xutil_h" = xyes
14397 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14400 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_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_Xcursor_Xcursor_h" = xyes
14409 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14412 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_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_extensions_shape_h" = xyes
14421 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14424 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_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_extensions_XInput_h" = xyes
14433 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14436 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_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_XInput2_h" = xyes
14445 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14448 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_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_XShm_h" = xyes
14457 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14460 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_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_Xcomposite_h" = xyes
14469 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14472 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_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_Xfixes_h" = xyes
14481 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14484 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_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_Xinerama_h" = xyes
14493 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14496 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_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_Xrandr_h" = xyes
14505 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14508 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_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_Xrender_h" = xyes
14517 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14520 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_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_xf86vmode_h" = xyes
14529 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14532 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_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_xf86vmproto_h" = xyes
14541 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14546 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14549 printf %s
"checking for -lXcursor... " >&6; }
14550 if test ${ac_cv_lib_soname_Xcursor+y}
14552 printf %s
"(cached) " >&6
14554 ac_check_soname_save_LIBS
=$LIBS
14555 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14557 /* end confdefs.h. */
14559 /* Override any GCC internal prototype to avoid an error.
14560 Use char because int might match the return type of a GCC
14561 builtin and then its argument prototype would still apply. */
14562 char XcursorImageLoadCursor ();
14566 return XcursorImageLoadCursor ();
14571 if ac_fn_c_try_link
"$LINENO"
14574 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14575 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'` ;;
14576 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14577 if ${ac_cv_lib_soname_Xcursor:+false} :
14579 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14583 ac_cv_lib_soname_Xcursor
=
14585 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14586 conftest
$ac_exeext conftest.
$ac_ext
14587 LIBS
=$ac_check_soname_save_LIBS
14589 if ${ac_cv_lib_soname_Xcursor:+false} :
14591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14592 printf "%s\n" "not found" >&6; }
14595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14596 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14598 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14603 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14605 case "x$with_xcursor" in
14606 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14608 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14609 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14614 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14617 printf %s
"checking for -lXi... " >&6; }
14618 if test ${ac_cv_lib_soname_Xi+y}
14620 printf %s
"(cached) " >&6
14622 ac_check_soname_save_LIBS
=$LIBS
14623 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14627 /* Override any GCC internal prototype to avoid an error.
14628 Use char because int might match the return type of a GCC
14629 builtin and then its argument prototype would still apply. */
14630 char XOpenDevice ();
14634 return XOpenDevice ();
14639 if ac_fn_c_try_link
"$LINENO"
14642 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14643 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'` ;;
14644 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14645 if ${ac_cv_lib_soname_Xi:+false} :
14647 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14651 ac_cv_lib_soname_Xi
=
14653 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14654 conftest
$ac_exeext conftest.
$ac_ext
14655 LIBS
=$ac_check_soname_save_LIBS
14657 if ${ac_cv_lib_soname_Xi:+false} :
14659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14660 printf "%s\n" "not found" >&6; }
14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14664 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14666 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14671 if test "x$ac_cv_lib_soname_Xi" = "x"
14673 case "x$with_xinput" in
14674 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14676 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14677 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14682 if test "x$ac_cv_lib_soname_Xi" != x
14684 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14686 case "x$with_xinput2" in
14687 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14689 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14690 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14696 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14699 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14700 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14702 printf %s
"(cached) " >&6
14704 ac_check_lib_save_LIBS
=$LIBS
14705 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14709 /* Override any GCC internal prototype to avoid an error.
14710 Use char because int might match the return type of a GCC
14711 builtin and then its argument prototype would still apply. */
14712 char XShmQueryExtension ();
14716 return XShmQueryExtension ();
14721 if ac_fn_c_try_link
"$LINENO"
14723 ac_cv_lib_Xext_XShmQueryExtension
=yes
14725 ac_cv_lib_Xext_XShmQueryExtension
=no
14727 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14728 conftest
$ac_exeext conftest.
$ac_ext
14729 LIBS
=$ac_check_lib_save_LIBS
14731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14732 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14733 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14736 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14741 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14743 case "x$with_xshm" in
14744 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14746 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14747 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14752 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14755 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14756 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14758 printf %s
"(cached) " >&6
14760 ac_check_lib_save_LIBS
=$LIBS
14761 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14768 char XShapeQueryExtension ();
14772 return XShapeQueryExtension ();
14777 if ac_fn_c_try_link
"$LINENO"
14779 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14781 ac_cv_lib_Xext_XShapeQueryExtension
=no
14783 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14784 conftest
$ac_exeext conftest.
$ac_ext
14785 LIBS
=$ac_check_lib_save_LIBS
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14788 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14789 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14792 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14797 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14799 case "x$with_xshape" in
14800 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14802 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14803 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14808 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14811 printf %s
"checking for -lXxf86vm... " >&6; }
14812 if test ${ac_cv_lib_soname_Xxf86vm+y}
14814 printf %s
"(cached) " >&6
14816 ac_check_soname_save_LIBS
=$LIBS
14817 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14821 /* Override any GCC internal prototype to avoid an error.
14822 Use char because int might match the return type of a GCC
14823 builtin and then its argument prototype would still apply. */
14824 char XF86VidModeQueryExtension ();
14828 return XF86VidModeQueryExtension ();
14833 if ac_fn_c_try_link
"$LINENO"
14836 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14837 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'` ;;
14838 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14839 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14841 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14845 ac_cv_lib_soname_Xxf86vm
=
14847 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14848 conftest
$ac_exeext conftest.
$ac_ext
14849 LIBS
=$ac_check_soname_save_LIBS
14851 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14854 printf "%s\n" "not found" >&6; }
14857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14858 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14860 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14865 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14867 case "x$with_xxf86vm" in
14868 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14870 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14871 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14876 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14879 printf %s
"checking for -lXrender... " >&6; }
14880 if test ${ac_cv_lib_soname_Xrender+y}
14882 printf %s
"(cached) " >&6
14884 ac_check_soname_save_LIBS
=$LIBS
14885 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14889 /* Override any GCC internal prototype to avoid an error.
14890 Use char because int might match the return type of a GCC
14891 builtin and then its argument prototype would still apply. */
14892 char XRenderQueryExtension ();
14896 return XRenderQueryExtension ();
14901 if ac_fn_c_try_link
"$LINENO"
14904 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14905 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'` ;;
14906 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14907 if ${ac_cv_lib_soname_Xrender:+false} :
14909 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14913 ac_cv_lib_soname_Xrender
=
14915 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14916 conftest
$ac_exeext conftest.
$ac_ext
14917 LIBS
=$ac_check_soname_save_LIBS
14919 if ${ac_cv_lib_soname_Xrender:+false} :
14921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14922 printf "%s\n" "not found" >&6; }
14925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14926 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14928 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14931 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14932 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14934 printf %s
"(cached) " >&6
14936 ac_check_lib_save_LIBS
=$LIBS
14937 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14944 char XRenderSetPictureTransform ();
14948 return XRenderSetPictureTransform ();
14953 if ac_fn_c_try_link
"$LINENO"
14955 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14957 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14959 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14960 conftest
$ac_exeext conftest.
$ac_ext
14961 LIBS
=$ac_check_lib_save_LIBS
14963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14964 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14965 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14968 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14973 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14974 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14976 printf %s
"(cached) " >&6
14978 ac_check_lib_save_LIBS
=$LIBS
14979 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 /* Override any GCC internal prototype to avoid an error.
14984 Use char because int might match the return type of a GCC
14985 builtin and then its argument prototype would still apply. */
14986 char XRenderCreateLinearGradient ();
14990 return XRenderCreateLinearGradient ();
14995 if ac_fn_c_try_link
"$LINENO"
14997 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14999 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15001 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15002 conftest
$ac_exeext conftest.
$ac_ext
15003 LIBS
=$ac_check_lib_save_LIBS
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15006 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15007 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15010 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15017 if test "x$ac_cv_lib_soname_Xrender" = "x"
15019 case "x$with_xrender" in
15020 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15022 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15023 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15028 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15032 #include <X11/Xlib.h>
15033 #include <X11/extensions/Xrandr.h>
15037 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15042 if ac_fn_c_try_compile
"$LINENO"
15044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15045 printf %s
"checking for -lXrandr... " >&6; }
15046 if test ${ac_cv_lib_soname_Xrandr+y}
15048 printf %s
"(cached) " >&6
15050 ac_check_soname_save_LIBS
=$LIBS
15051 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15055 /* Override any GCC internal prototype to avoid an error.
15056 Use char because int might match the return type of a GCC
15057 builtin and then its argument prototype would still apply. */
15058 char XRRQueryExtension ();
15062 return XRRQueryExtension ();
15067 if ac_fn_c_try_link
"$LINENO"
15070 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15071 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'` ;;
15072 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15073 if ${ac_cv_lib_soname_Xrandr:+false} :
15075 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15079 ac_cv_lib_soname_Xrandr
=
15081 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15082 conftest
$ac_exeext conftest.
$ac_ext
15083 LIBS
=$ac_check_soname_save_LIBS
15085 if ${ac_cv_lib_soname_Xrandr:+false} :
15087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15088 printf "%s\n" "not found" >&6; }
15091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15092 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15094 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 #include <X11/Xlib.h>
15099 #include <X11/extensions/Xrandr.h>
15103 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15108 if ac_fn_c_try_compile
"$LINENO"
15111 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15114 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15116 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15119 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15121 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15123 case "x$with_xrandr" in
15124 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15126 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15127 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15132 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 #include <X11/Xlib.h>
15137 #include <X11/extensions/Xfixes.h>
15141 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15146 if ac_fn_c_try_compile
"$LINENO"
15148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15149 printf %s
"checking for -lXfixes... " >&6; }
15150 if test ${ac_cv_lib_soname_Xfixes+y}
15152 printf %s
"(cached) " >&6
15154 ac_check_soname_save_LIBS
=$LIBS
15155 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 /* Override any GCC internal prototype to avoid an error.
15160 Use char because int might match the return type of a GCC
15161 builtin and then its argument prototype would still apply. */
15162 char XFixesQueryVersion ();
15166 return XFixesQueryVersion ();
15171 if ac_fn_c_try_link
"$LINENO"
15174 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15175 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'` ;;
15176 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15177 if ${ac_cv_lib_soname_Xfixes:+false} :
15179 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15183 ac_cv_lib_soname_Xfixes
=
15185 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15186 conftest
$ac_exeext conftest.
$ac_ext
15187 LIBS
=$ac_check_soname_save_LIBS
15189 if ${ac_cv_lib_soname_Xfixes:+false} :
15191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15192 printf "%s\n" "not found" >&6; }
15195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15196 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15198 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15203 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15205 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15207 case "x$with_xfixes" in
15208 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15210 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15211 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15216 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15220 #include <X11/Xlib.h>
15221 #include <X11/extensions/Xinerama.h>
15225 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15230 if ac_fn_c_try_compile
"$LINENO"
15232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15233 printf %s
"checking for -lXinerama... " >&6; }
15234 if test ${ac_cv_lib_soname_Xinerama+y}
15236 printf %s
"(cached) " >&6
15238 ac_check_soname_save_LIBS
=$LIBS
15239 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15243 /* Override any GCC internal prototype to avoid an error.
15244 Use char because int might match the return type of a GCC
15245 builtin and then its argument prototype would still apply. */
15246 char XineramaQueryScreens ();
15250 return XineramaQueryScreens ();
15255 if ac_fn_c_try_link
"$LINENO"
15258 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15259 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'` ;;
15260 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15261 if ${ac_cv_lib_soname_Xinerama:+false} :
15263 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15267 ac_cv_lib_soname_Xinerama
=
15269 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15270 conftest
$ac_exeext conftest.
$ac_ext
15271 LIBS
=$ac_check_soname_save_LIBS
15273 if ${ac_cv_lib_soname_Xinerama:+false} :
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15276 printf "%s\n" "not found" >&6; }
15279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15280 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15282 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15287 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15289 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15291 case "x$with_xinerama" in
15292 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15294 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15295 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15300 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15303 printf %s
"checking for -lXcomposite... " >&6; }
15304 if test ${ac_cv_lib_soname_Xcomposite+y}
15306 printf %s
"(cached) " >&6
15308 ac_check_soname_save_LIBS
=$LIBS
15309 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 char XCompositeRedirectWindow ();
15320 return XCompositeRedirectWindow ();
15325 if ac_fn_c_try_link
"$LINENO"
15328 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15329 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'` ;;
15330 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15331 if ${ac_cv_lib_soname_Xcomposite:+false} :
15333 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15337 ac_cv_lib_soname_Xcomposite
=
15339 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15340 conftest
$ac_exeext conftest.
$ac_ext
15341 LIBS
=$ac_check_soname_save_LIBS
15343 if ${ac_cv_lib_soname_Xcomposite:+false} :
15345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15346 printf "%s\n" "not found" >&6; }
15349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15350 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15352 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15357 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15359 case "x$with_xcomposite" in
15360 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15362 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15363 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15368 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15369 #include <X11/Xlib.h>
15372 if test "x$ac_cv_member_XICCallback_callback" = xyes
15375 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15379 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15380 #include <X11/Xlib.h>
15383 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15386 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15394 if test "x$with_opengl" != "xno"
15396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15397 printf %s
"checking for -lGL... " >&6; }
15398 if test ${ac_cv_lib_soname_GL+y}
15400 printf %s
"(cached) " >&6
15402 ac_check_soname_save_LIBS
=$LIBS
15403 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15407 /* Override any GCC internal prototype to avoid an error.
15408 Use char because int might match the return type of a GCC
15409 builtin and then its argument prototype would still apply. */
15410 char glXCreateContext ();
15414 return glXCreateContext ();
15419 if ac_fn_c_try_link
"$LINENO"
15422 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15423 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'` ;;
15424 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15425 if ${ac_cv_lib_soname_GL:+false} :
15427 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15431 ac_cv_lib_soname_GL
=
15433 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15434 conftest
$ac_exeext conftest.
$ac_ext
15435 LIBS
=$ac_check_soname_save_LIBS
15437 if ${ac_cv_lib_soname_GL:+false} :
15439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15440 printf "%s\n" "not found" >&6; }
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15442 printf %s
"checking for -lGL... " >&6; }
15443 if test ${ac_cv_lib_soname_GL+y}
15445 printf %s
"(cached) " >&6
15447 ac_check_soname_save_LIBS
=$LIBS
15448 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"
15449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15452 /* Override any GCC internal prototype to avoid an error.
15453 Use char because int might match the return type of a GCC
15454 builtin and then its argument prototype would still apply. */
15455 char glXCreateContext ();
15459 return glXCreateContext ();
15464 if ac_fn_c_try_link
"$LINENO"
15467 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15468 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'` ;;
15469 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15470 if ${ac_cv_lib_soname_GL:+false} :
15472 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15476 ac_cv_lib_soname_GL
=
15478 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15479 conftest
$ac_exeext conftest.
$ac_ext
15480 LIBS
=$ac_check_soname_save_LIBS
15482 if ${ac_cv_lib_soname_GL:+false} :
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15485 printf "%s\n" "not found" >&6; }
15486 if test -f /usr
/X11R
6/lib
/libGL.a
15488 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15489 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15491 opengl_msg
="No OpenGL library found on this system."
15494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15495 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15497 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15499 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"
15502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15503 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15505 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15509 if test "x$with_osmesa" != "xno"
15511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15512 printf %s
"checking for -lOSMesa... " >&6; }
15513 if test ${ac_cv_lib_soname_OSMesa+y}
15515 printf %s
"(cached) " >&6
15517 ac_check_soname_save_LIBS
=$LIBS
15518 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15522 /* Override any GCC internal prototype to avoid an error.
15523 Use char because int might match the return type of a GCC
15524 builtin and then its argument prototype would still apply. */
15525 char OSMesaGetProcAddress ();
15529 return OSMesaGetProcAddress ();
15534 if ac_fn_c_try_link
"$LINENO"
15537 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15538 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'` ;;
15539 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15540 if ${ac_cv_lib_soname_OSMesa:+false} :
15542 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15546 ac_cv_lib_soname_OSMesa
=
15548 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15549 conftest
$ac_exeext conftest.
$ac_ext
15550 LIBS
=$ac_check_soname_save_LIBS
15552 if ${ac_cv_lib_soname_OSMesa:+false} :
15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15555 printf "%s\n" "not found" >&6; }
15558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15559 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15561 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15565 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15567 case "x$with_osmesa" in
15568 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15570 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15571 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15577 if test -n "$opengl_msg"
15579 case "x$with_opengl" in
15580 x
) as_fn_append wine_warnings
"|$opengl_msg
15581 OpenGL and Direct3D won't be supported." ;;
15583 *) as_fn_error $?
"$opengl_msg
15584 OpenGL and Direct3D won't be supported.
15585 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15590 CPPFLAGS
="$ac_save_CPPFLAGS"
15596 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15598 if test "x$X_LIBS" = "x"
15602 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15603 without X support, which probably isn't what you want. You will need
15604 to install ${notice_platform}development packages of Xlib at the very least.
15605 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15607 enable_winex11_drv
=${enable_winex11_drv:-no}
15610 if test "x$X_LIBS" = "x"
15613 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15615 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15616 This is an error since --with-x was requested." "$LINENO" 5 ;;
15618 enable_winex11_drv
=${enable_winex11_drv:-no}
15622 if test "x$with_wayland" != "xno"
15625 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15627 if test ${PKG_CONFIG+y}
15629 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15633 if ${WAYLAND_CLIENT_LIBS:+false} :
15635 if test ${PKG_CONFIG+y}
15637 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15644 if test -s conftest.err
; then
15645 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15646 cat conftest.err
>&5
15649 ac_save_CPPFLAGS
=$CPPFLAGS
15650 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15651 for ac_header
in wayland-client.h
15653 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15654 if test "x$ac_cv_header_wayland_client_h" = xyes
15656 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15658 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15659 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15661 printf %s
"(cached) " >&6
15663 ac_check_lib_save_LIBS
=$LIBS
15664 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 char wl_display_connect ();
15675 return wl_display_connect ();
15680 if ac_fn_c_try_link
"$LINENO"
15682 ac_cv_lib_wayland_client_wl_display_connect
=yes
15684 ac_cv_lib_wayland_client_wl_display_connect
=no
15686 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15687 conftest
$ac_exeext conftest.
$ac_ext
15688 LIBS
=$ac_check_lib_save_LIBS
15690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15691 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15692 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15694 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15695 set dummy wayland-scanner
; ac_word
=$2
15696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15697 printf %s
"checking for $ac_word... " >&6; }
15698 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15700 printf %s
"(cached) " >&6
15702 case $WAYLAND_SCANNER in
15704 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15708 for as_dir
in $PATH
15711 case $as_dir in #(((
15714 *) as_dir
=$as_dir/ ;;
15716 for ac_exec_ext
in '' $ac_executable_extensions; do
15717 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15718 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15726 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`"
15730 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15731 if test -n "$WAYLAND_SCANNER"; then
15732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15733 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15736 printf "%s\n" "no" >&6; }
15741 WAYLAND_CLIENT_LIBS
=""
15747 CPPFLAGS
=$ac_save_CPPFLAGS
15750 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15752 case "x$with_wayland" in
15753 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15755 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15756 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15758 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15761 if test "$ac_cv_header_CL_cl_h" = "yes"
15763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15764 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15765 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15767 printf %s
"(cached) " >&6
15769 ac_check_lib_save_LIBS
=$LIBS
15770 LIBS
="-lOpenCL $LIBS"
15771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15777 char clGetPlatformInfo ();
15781 return clGetPlatformInfo ();
15786 if ac_fn_c_try_link
"$LINENO"
15788 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15790 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15792 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15793 conftest
$ac_exeext conftest.
$ac_ext
15794 LIBS
=$ac_check_lib_save_LIBS
15796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15797 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15798 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15800 OPENCL_LIBS
="-lOpenCL"
15805 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15807 case "x$with_opencl" in
15808 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15810 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15811 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15813 enable_opencl
=${enable_opencl:-no}
15816 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15819 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15820 if test ${ac_cv_lib_pcap_pcap_init+y}
15822 printf %s
"(cached) " >&6
15824 ac_check_lib_save_LIBS
=$LIBS
15825 LIBS
="-lpcap $LIBS"
15826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15829 /* Override any GCC internal prototype to avoid an error.
15830 Use char because int might match the return type of a GCC
15831 builtin and then its argument prototype would still apply. */
15836 return pcap_init ();
15841 if ac_fn_c_try_link
"$LINENO"
15843 ac_cv_lib_pcap_pcap_init
=yes
15845 ac_cv_lib_pcap_pcap_init
=no
15847 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15848 conftest
$ac_exeext conftest.
$ac_ext
15849 LIBS
=$ac_check_lib_save_LIBS
15851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15852 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15853 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15860 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15862 case "x$with_pcap" in
15863 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15865 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15866 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15868 enable_wpcap
=${enable_wpcap:-no}
15871 if test "x$with_pcsclite" != "xno"
15873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15874 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15875 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15877 printf %s
"(cached) " >&6
15879 ac_check_lib_save_LIBS
=$LIBS
15880 LIBS
="-lpcsclite $LIBS"
15881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h. */
15884 /* Override any GCC internal prototype to avoid an error.
15885 Use char because int might match the return type of a GCC
15886 builtin and then its argument prototype would still apply. */
15887 char SCardEstablishContext ();
15891 return SCardEstablishContext ();
15896 if ac_fn_c_try_link
"$LINENO"
15898 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15900 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15902 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15903 conftest
$ac_exeext conftest.
$ac_ext
15904 LIBS
=$ac_check_lib_save_LIBS
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15907 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15908 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15910 PCSCLITE_LIBS
="-lpcsclite"
15915 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15917 case "x$with_pcsclite" in
15918 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15920 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15921 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15923 enable_winscard
=${enable_winscard:-no}
15926 if test "x$with_inotify" != "xno"
15929 if ${INOTIFY_CFLAGS:+false} :
15931 if test ${PKG_CONFIG+y}
15933 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15937 if ${INOTIFY_LIBS:+false} :
15939 if test ${PKG_CONFIG+y}
15941 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15948 if test -s conftest.err
; then
15949 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15950 cat conftest.err
>&5
15953 ac_save_CPPFLAGS
=$CPPFLAGS
15954 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15955 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15956 if test "x$ac_cv_header_sys_inotify_h" = xyes
15958 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15963 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15964 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15966 printf %s
"(cached) " >&6
15968 ac_check_lib_save_LIBS
=$LIBS
15969 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15973 /* Override any GCC internal prototype to avoid an error.
15974 Use char because int might match the return type of a GCC
15975 builtin and then its argument prototype would still apply. */
15976 char inotify_add_watch ();
15980 return inotify_add_watch ();
15985 if ac_fn_c_try_link
"$LINENO"
15987 ac_cv_lib_inotify_inotify_add_watch
=yes
15989 ac_cv_lib_inotify_inotify_add_watch
=no
15991 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15992 conftest
$ac_exeext conftest.
$ac_ext
15993 LIBS
=$ac_check_lib_save_LIBS
15995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15996 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15997 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16004 CPPFLAGS
=$ac_save_CPPFLAGS
16007 if test "$ac_cv_header_sys_inotify_h" != "yes"
16009 case "x$with_inotify" in
16010 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16012 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16013 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16018 if test "x$with_dbus" != "xno"
16021 if ${DBUS_CFLAGS:+false} :
16023 if test ${PKG_CONFIG+y}
16025 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16029 if ${DBUS_LIBS:+false} :
16031 if test ${PKG_CONFIG+y}
16033 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16040 if test -s conftest.err
; then
16041 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16042 cat conftest.err
>&5
16045 ac_save_CPPFLAGS
=$CPPFLAGS
16046 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16047 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16048 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16051 printf %s
"checking for -ldbus-1... " >&6; }
16052 if test ${ac_cv_lib_soname_dbus_1+y}
16054 printf %s
"(cached) " >&6
16056 ac_check_soname_save_LIBS
=$LIBS
16057 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16059 /* end confdefs.h. */
16061 /* Override any GCC internal prototype to avoid an error.
16062 Use char because int might match the return type of a GCC
16063 builtin and then its argument prototype would still apply. */
16064 char dbus_connection_close ();
16068 return dbus_connection_close ();
16073 if ac_fn_c_try_link
"$LINENO"
16076 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16077 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'` ;;
16078 *) 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'`
16079 if ${ac_cv_lib_soname_dbus_1:+false} :
16081 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16085 ac_cv_lib_soname_dbus_1
=
16087 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16088 conftest
$ac_exeext conftest.
$ac_ext
16089 LIBS
=$ac_check_soname_save_LIBS
16091 if ${ac_cv_lib_soname_dbus_1:+false} :
16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16094 printf "%s\n" "not found" >&6; }
16097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16098 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16100 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16108 CPPFLAGS
=$ac_save_CPPFLAGS
16112 darwin
*|macosx
*) ;;
16113 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16115 case "x$with_dbus" in
16116 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16118 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16119 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16125 if test "x$with_gnutls" != "xno"
16128 if ${GNUTLS_CFLAGS:+false} :
16130 if test ${PKG_CONFIG+y}
16132 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16136 if ${GNUTLS_LIBS:+false} :
16138 if test ${PKG_CONFIG+y}
16140 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16144 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16147 if test -s conftest.err
; then
16148 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16149 cat conftest.err
>&5
16152 ac_save_CPPFLAGS
=$CPPFLAGS
16153 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16154 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16155 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16159 #include <gnutls/gnutls.h>
16160 #include <gnutls/crypto.h>
16164 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16169 if ac_fn_c_try_compile
"$LINENO"
16171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16172 printf %s
"checking for -lgnutls... " >&6; }
16173 if test ${ac_cv_lib_soname_gnutls+y}
16175 printf %s
"(cached) " >&6
16177 ac_check_soname_save_LIBS
=$LIBS
16178 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16180 /* end confdefs.h. */
16182 /* Override any GCC internal prototype to avoid an error.
16183 Use char because int might match the return type of a GCC
16184 builtin and then its argument prototype would still apply. */
16185 char gnutls_global_init ();
16189 return gnutls_global_init ();
16194 if ac_fn_c_try_link
"$LINENO"
16197 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16198 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'` ;;
16199 *) 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'`
16200 if ${ac_cv_lib_soname_gnutls:+false} :
16202 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'`
16206 ac_cv_lib_soname_gnutls
=
16208 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16209 conftest
$ac_exeext conftest.
$ac_ext
16210 LIBS
=$ac_check_soname_save_LIBS
16212 if ${ac_cv_lib_soname_gnutls:+false} :
16214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16215 printf "%s\n" "not found" >&6; }
16218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16219 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16221 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16225 ac_wine_check_funcs_save_LIBS
="$LIBS"
16226 LIBS
="$LIBS $GNUTLS_LIBS"
16228 for ac_func
in gnutls_cipher_init
16230 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16231 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16233 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16236 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16240 LIBS
="$ac_wine_check_funcs_save_LIBS"
16242 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16247 CPPFLAGS
=$ac_save_CPPFLAGS
16250 if test "x$ac_cv_lib_soname_gnutls" = "x"
16252 case "x$with_gnutls" in
16253 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16255 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16256 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16261 if test "x$with_sane" != "xno"
16264 if ${SANE_CFLAGS:+false} :
16266 if test ${PKG_CONFIG+y}
16268 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16271 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16272 if ${SANE_LIBS:+false} :
16274 if test ${PKG_CONFIG+y}
16276 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16279 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16283 if test -s conftest.err
; then
16284 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16285 cat conftest.err
>&5
16288 ac_save_CPPFLAGS
=$CPPFLAGS
16289 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16290 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16291 if test "x$ac_cv_header_sane_sane_h" = xyes
16293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16294 printf %s
"checking for sane_init in -lsane... " >&6; }
16295 if test ${ac_cv_lib_sane_sane_init+y}
16297 printf %s
"(cached) " >&6
16299 ac_check_lib_save_LIBS
=$LIBS
16300 LIBS
="-lsane $SANE_LIBS $LIBS"
16301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16304 /* Override any GCC internal prototype to avoid an error.
16305 Use char because int might match the return type of a GCC
16306 builtin and then its argument prototype would still apply. */
16311 return sane_init ();
16316 if ac_fn_c_try_link
"$LINENO"
16318 ac_cv_lib_sane_sane_init
=yes
16320 ac_cv_lib_sane_sane_init
=no
16322 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16323 conftest
$ac_exeext conftest.
$ac_ext
16324 LIBS
=$ac_check_lib_save_LIBS
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16327 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16328 if test "x$ac_cv_lib_sane_sane_init" = xyes
16335 CPPFLAGS
=$ac_save_CPPFLAGS
16338 if test "$ac_cv_lib_sane_sane_init" != "yes"
16340 case "x$with_sane" in
16341 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16343 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16344 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16346 enable_sane_ds
=${enable_sane_ds:-no}
16349 if test "x$with_usb" != "xno"
16352 if ${USB_CFLAGS:+false} :
16354 if test ${PKG_CONFIG+y}
16356 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16360 if ${USB_LIBS:+false} :
16362 if test ${PKG_CONFIG+y}
16364 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16368 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16371 if test -s conftest.err
; then
16372 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16373 cat conftest.err
>&5
16376 ac_save_CPPFLAGS
=$CPPFLAGS
16377 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16378 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16379 if test "x$ac_cv_header_libusb_h" = xyes
16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16382 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16383 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16385 printf %s
"(cached) " >&6
16387 ac_check_lib_save_LIBS
=$LIBS
16388 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16392 /* Override any GCC internal prototype to avoid an error.
16393 Use char because int might match the return type of a GCC
16394 builtin and then its argument prototype would still apply. */
16395 char libusb_interrupt_event_handler ();
16399 return libusb_interrupt_event_handler ();
16404 if ac_fn_c_try_link
"$LINENO"
16406 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16408 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16410 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16411 conftest
$ac_exeext conftest.
$ac_ext
16412 LIBS
=$ac_check_lib_save_LIBS
16414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16415 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16416 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16427 CPPFLAGS
=$ac_save_CPPFLAGS
16430 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16432 case "x$with_usb" in
16433 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16435 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16436 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16438 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16441 if test "x$with_v4l2" != "xno"
16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16444 printf %s
"checking for -lv4l2... " >&6; }
16445 if test ${ac_cv_lib_soname_v4l2+y}
16447 printf %s
"(cached) " >&6
16449 ac_check_soname_save_LIBS
=$LIBS
16450 LIBS
="-lv4l2 $LIBS"
16451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16454 /* Override any GCC internal prototype to avoid an error.
16455 Use char because int might match the return type of a GCC
16456 builtin and then its argument prototype would still apply. */
16461 return v4l2_open ();
16466 if ac_fn_c_try_link
"$LINENO"
16469 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16470 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'` ;;
16471 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16472 if ${ac_cv_lib_soname_v4l2:+false} :
16474 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16478 ac_cv_lib_soname_v4l2
=
16480 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16481 conftest
$ac_exeext conftest.
$ac_ext
16482 LIBS
=$ac_check_soname_save_LIBS
16484 if ${ac_cv_lib_soname_v4l2:+false} :
16486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16487 printf "%s\n" "not found" >&6; }
16490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16491 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16493 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16498 if test "x$ac_cv_lib_soname_v4l2" = "x"
16500 case "x$with_v4l2" in
16501 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16503 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16504 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16509 if test "x$with_gphoto" != "xno"
16512 if ${GPHOTO2_CFLAGS:+false} :
16514 if test ${PKG_CONFIG+y}
16516 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16519 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16520 if ${GPHOTO2_LIBS:+false} :
16522 if test ${PKG_CONFIG+y}
16524 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16527 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16528 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16531 if test -s conftest.err
; then
16532 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16533 cat conftest.err
>&5
16536 ac_save_CPPFLAGS
=$CPPFLAGS
16537 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16538 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16539 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16542 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16543 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16545 printf %s
"(cached) " >&6
16547 ac_check_lib_save_LIBS
=$LIBS
16548 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16552 /* Override any GCC internal prototype to avoid an error.
16553 Use char because int might match the return type of a GCC
16554 builtin and then its argument prototype would still apply. */
16555 char gp_camera_new ();
16559 return gp_camera_new ();
16564 if ac_fn_c_try_link
"$LINENO"
16566 ac_cv_lib_gphoto2_gp_camera_new
=yes
16568 ac_cv_lib_gphoto2_gp_camera_new
=no
16570 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16571 conftest
$ac_exeext conftest.
$ac_ext
16572 LIBS
=$ac_check_lib_save_LIBS
16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16575 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16576 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16583 CPPFLAGS
=$ac_save_CPPFLAGS
16586 if ${GPHOTO2_PORT_CFLAGS:+false} :
16588 if test ${PKG_CONFIG+y}
16590 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16593 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16594 if ${GPHOTO2_PORT_LIBS:+false} :
16596 if test ${PKG_CONFIG+y}
16598 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16601 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16602 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16605 if test -s conftest.err
; then
16606 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16607 cat conftest.err
>&5
16610 ac_save_CPPFLAGS
=$CPPFLAGS
16611 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16612 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16613 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16616 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16617 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16619 printf %s
"(cached) " >&6
16621 ac_check_lib_save_LIBS
=$LIBS
16622 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16626 /* Override any GCC internal prototype to avoid an error.
16627 Use char because int might match the return type of a GCC
16628 builtin and then its argument prototype would still apply. */
16629 char gp_port_info_list_new ();
16633 return gp_port_info_list_new ();
16638 if ac_fn_c_try_link
"$LINENO"
16640 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16642 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16644 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16645 conftest
$ac_exeext conftest.
$ac_ext
16646 LIBS
=$ac_check_lib_save_LIBS
16648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16649 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16650 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16653 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16656 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16660 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16663 CPPFLAGS
=$ac_save_CPPFLAGS
16666 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16668 case "x$with_gphoto" in
16669 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16671 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16672 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16674 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16676 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16678 case "x$with_gphoto" in
16679 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16681 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16682 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16688 if test "$ac_cv_header_resolv_h" = "yes"
16690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16691 printf %s
"checking for resolver library... " >&6; }
16692 if test ${ac_cv_have_resolv+y}
16694 printf %s
"(cached) " >&6
16696 ac_save_LIBS
="$LIBS"
16697 for lib
in '' -lresolv
16699 LIBS
="$lib $ac_save_LIBS"
16700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16702 #ifdef HAVE_NETINET_IN_H
16703 #include <netinet/in.h>
16705 #include <resolv.h>
16709 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16714 if ac_fn_c_try_link
"$LINENO"
16716 ac_cv_have_resolv
=${lib:-"none required"}
16718 ac_cv_have_resolv
="not found"
16720 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16721 conftest
$ac_exeext conftest.
$ac_ext
16722 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16724 LIBS
="$ac_save_LIBS"
16726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16727 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16729 case "$ac_cv_have_resolv" in
16733 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16736 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16738 RESOLV_LIBS
=$ac_cv_have_resolv
16742 if test "x$ac_cv_have_resolv" != "xnot found"
16744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16745 printf %s
"checking for res_getservers... " >&6; }
16746 if test ${ac_cv_have_res_getservers+y}
16748 printf %s
"(cached) " >&6
16750 ac_save_LIBS
="$LIBS"
16751 LIBS
="$RESOLV_LIBS $LIBS"
16752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16754 #include <resolv.h>
16758 res_getservers(NULL, NULL, 0);
16763 if ac_fn_c_try_link
"$LINENO"
16765 ac_cv_have_res_getservers
=yes
16767 ac_cv_have_res_getservers
=no
16769 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16770 conftest
$ac_exeext conftest.
$ac_ext
16771 LIBS
="$ac_save_LIBS"
16773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16774 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16775 if test "$ac_cv_have_res_getservers" = "yes"
16778 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16784 if test "x$with_freetype" != "xno"
16787 if ${FREETYPE_CFLAGS:+false} :
16789 if test ${PKG_CONFIG+y}
16791 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16794 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16795 if ${FREETYPE_LIBS:+false} :
16797 if test ${PKG_CONFIG+y}
16799 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16802 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16803 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16806 if test -s conftest.err
; then
16807 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16808 cat conftest.err
>&5
16811 ac_save_CPPFLAGS
=$CPPFLAGS
16812 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16813 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16814 if test "x$ac_cv_header_ft2build_h" = xyes
16816 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16820 if test "$ac_cv_header_ft2build_h" = "yes"
16822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16823 printf %s
"checking for -lfreetype... " >&6; }
16824 if test ${ac_cv_lib_soname_freetype+y}
16826 printf %s
"(cached) " >&6
16828 ac_check_soname_save_LIBS
=$LIBS
16829 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16833 /* Override any GCC internal prototype to avoid an error.
16834 Use char because int might match the return type of a GCC
16835 builtin and then its argument prototype would still apply. */
16836 char FT_Init_FreeType ();
16840 return FT_Init_FreeType ();
16845 if ac_fn_c_try_link
"$LINENO"
16848 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16849 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'` ;;
16850 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16851 if ${ac_cv_lib_soname_freetype:+false} :
16853 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16857 ac_cv_lib_soname_freetype
=
16859 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16860 conftest
$ac_exeext conftest.
$ac_ext
16861 LIBS
=$ac_check_soname_save_LIBS
16863 if ${ac_cv_lib_soname_freetype:+false} :
16865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16866 printf "%s\n" "not found" >&6; }
16869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16870 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16872 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16875 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16877 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16878 #include FT_MODULE_H
16880 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16883 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16893 CPPFLAGS
=$ac_save_CPPFLAGS
16896 if test "x$ac_cv_lib_soname_freetype" = x
16898 case "x$with_freetype" in
16900 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16901 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16903 enable_fonts
=${enable_fonts:-no}
16906 ac_wine_check_funcs_save_LIBS
="$LIBS"
16907 LIBS
="$LIBS $PTHREAD_LIBS"
16908 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16909 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16911 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16915 LIBS
="$ac_wine_check_funcs_save_LIBS"
16917 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16919 if test "$ac_cv_header_gettext_po_h" = "yes"
16921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16922 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16923 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16925 printf %s
"(cached) " >&6
16927 ac_check_lib_save_LIBS
=$LIBS
16928 LIBS
="-lgettextpo $LIBS"
16929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16932 /* Override any GCC internal prototype to avoid an error.
16933 Use char because int might match the return type of a GCC
16934 builtin and then its argument prototype would still apply. */
16935 char po_message_msgctxt ();
16939 return po_message_msgctxt ();
16944 if ac_fn_c_try_link
"$LINENO"
16946 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16948 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16950 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16951 conftest
$ac_exeext conftest.
$ac_ext
16952 LIBS
=$ac_check_lib_save_LIBS
16954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16955 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16956 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16959 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16961 GETTEXTPO_LIBS
="-lgettextpo"
16966 if test "x$GETTEXTPO_LIBS" = "x"
16968 case "x$with_gettextpo" in
16969 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16971 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16972 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16976 if test "$srcdir" != .
16978 case "x$with_gettextpo" in
16979 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16981 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16982 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16988 if test "x$with_pulse" != "xno";
16991 if ${PULSE_CFLAGS:+false} :
16993 if test ${PKG_CONFIG+y}
16995 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16999 if ${PULSE_LIBS:+false} :
17001 if test ${PKG_CONFIG+y}
17003 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17010 if test -s conftest.err
; then
17011 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17012 cat conftest.err
>&5
17015 ac_save_CPPFLAGS
=$CPPFLAGS
17016 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
17017 for ac_header
in pulse
/pulseaudio.h
17019 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17020 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17022 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17024 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17025 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17027 printf %s
"(cached) " >&6
17029 ac_check_lib_save_LIBS
=$LIBS
17030 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17037 char pa_stream_is_corked ();
17041 return pa_stream_is_corked ();
17046 if ac_fn_c_try_link
"$LINENO"
17048 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17050 ac_cv_lib_pulse_pa_stream_is_corked
=no
17052 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17053 conftest
$ac_exeext conftest.
$ac_ext
17054 LIBS
=$ac_check_lib_save_LIBS
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17057 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17058 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17070 CPPFLAGS
=$ac_save_CPPFLAGS
17073 if test -z "$PULSE_LIBS"
17075 case "x$with_pulse" in
17076 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17078 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17079 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17081 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17084 if test "x$with_gstreamer" != "xno"
17087 if ${GSTREAMER_CFLAGS:+false} :
17089 if test ${PKG_CONFIG+y}
17091 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17095 if ${GSTREAMER_LIBS:+false} :
17097 if test ${PKG_CONFIG+y}
17099 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17104 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
17105 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
17106 if test -s conftest.err
; then
17107 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17108 cat conftest.err
>&5
17111 ac_save_CPPFLAGS
=$CPPFLAGS
17112 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17113 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17114 if test "x$ac_cv_header_gst_gst_h" = xyes
17116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17117 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17120 #include <gst/gst.h>
17124 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17129 if ac_fn_c_try_compile
"$LINENO"
17131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17132 printf "%s\n" "yes" >&6; }
17133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17134 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17135 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17137 printf %s
"(cached) " >&6
17139 ac_check_lib_save_LIBS
=$LIBS
17140 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17144 /* Override any GCC internal prototype to avoid an error.
17145 Use char because int might match the return type of a GCC
17146 builtin and then its argument prototype would still apply. */
17147 char gst_pad_new ();
17151 return gst_pad_new ();
17156 if ac_fn_c_try_link
"$LINENO"
17158 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17160 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17162 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17163 conftest
$ac_exeext conftest.
$ac_ext
17164 LIBS
=$ac_check_lib_save_LIBS
17166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17167 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17168 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17175 printf "%s\n" "no" >&6; }
17176 ac_glib2_broken
=yes
17177 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17179 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17182 CPPFLAGS
=$ac_save_CPPFLAGS
17185 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17187 case "x$with_gstreamer" in
17188 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17190 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17191 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17193 enable_winegstreamer
=${enable_winegstreamer:-no}
17198 if test "x$with_alsa" != "xno"
17200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17201 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17202 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17204 printf %s
"(cached) " >&6
17206 ac_check_lib_save_LIBS
=$LIBS
17207 LIBS
="-lasound $LIBS"
17208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17211 /* Override any GCC internal prototype to avoid an error.
17212 Use char because int might match the return type of a GCC
17213 builtin and then its argument prototype would still apply. */
17214 char snd_pcm_hw_params_get_access_mask ();
17218 return snd_pcm_hw_params_get_access_mask ();
17223 if ac_fn_c_try_link
"$LINENO"
17225 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17227 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17229 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17230 conftest
$ac_exeext conftest.
$ac_ext
17231 LIBS
=$ac_check_lib_save_LIBS
17233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17234 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17235 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 #include <alsa/asoundlib.h>
17243 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17248 if ac_fn_c_try_compile
"$LINENO"
17250 ALSA_LIBS
="-lasound"
17252 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17256 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17258 if test "x$with_oss" != xno
17260 ac_save_CPPFLAGS
="$CPPFLAGS"
17261 if test -f /etc
/oss.conf
17265 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17266 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17267 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17268 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17270 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17272 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17275 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17277 OSS4_CFLAGS
="$ac_oss_incl"
17279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17280 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17281 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17283 printf %s
"(cached) " >&6
17285 ac_check_lib_save_LIBS
=$LIBS
17286 LIBS
="-lossaudio $LIBS"
17287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17290 /* Override any GCC internal prototype to avoid an error.
17291 Use char because int might match the return type of a GCC
17292 builtin and then its argument prototype would still apply. */
17293 char _oss_ioctl ();
17297 return _oss_ioctl ();
17302 if ac_fn_c_try_link
"$LINENO"
17304 ac_cv_lib_ossaudio__oss_ioctl
=yes
17306 ac_cv_lib_ossaudio__oss_ioctl
=no
17308 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17309 conftest
$ac_exeext conftest.
$ac_ext
17310 LIBS
=$ac_check_lib_save_LIBS
17312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17313 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17314 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17316 OSS4_LIBS
="-lossaudio"
17324 CPPFLAGS
="$ac_save_CPPFLAGS"
17326 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17328 case "x$with_oss" in
17329 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17331 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17332 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17334 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17337 if test "x$with_udev" != "xno"
17340 if ${UDEV_CFLAGS:+false} :
17342 if test ${PKG_CONFIG+y}
17344 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17348 if ${UDEV_LIBS:+false} :
17350 if test ${PKG_CONFIG+y}
17352 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17356 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17359 if test -s conftest.err
; then
17360 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17361 cat conftest.err
>&5
17364 ac_save_CPPFLAGS
=$CPPFLAGS
17365 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17366 for ac_header
in libudev.h
17368 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17369 if test "x$ac_cv_header_libudev_h" = xyes
17371 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17373 printf %s
"checking for udev_new in -ludev... " >&6; }
17374 if test ${ac_cv_lib_udev_udev_new+y}
17376 printf %s
"(cached) " >&6
17378 ac_check_lib_save_LIBS
=$LIBS
17379 LIBS
="-ludev $UDEV_LIBS $LIBS"
17380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17383 /* Override any GCC internal prototype to avoid an error.
17384 Use char because int might match the return type of a GCC
17385 builtin and then its argument prototype would still apply. */
17390 return udev_new ();
17395 if ac_fn_c_try_link
"$LINENO"
17397 ac_cv_lib_udev_udev_new
=yes
17399 ac_cv_lib_udev_udev_new
=no
17401 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17402 conftest
$ac_exeext conftest.
$ac_ext
17403 LIBS
=$ac_check_lib_save_LIBS
17405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17406 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17407 if test "x$ac_cv_lib_udev_udev_new" = xyes
17410 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17421 CPPFLAGS
=$ac_save_CPPFLAGS
17424 if test "x$UDEV_LIBS" = "x"
17426 case "x$with_udev" in
17427 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17429 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17430 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17435 if test "x$with_unwind" != xno
17438 if ${UNWIND_CFLAGS:+false} :
17440 if test ${PKG_CONFIG+y}
17442 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17446 if ${UNWIND_LIBS:+false} :
17448 if test ${PKG_CONFIG+y}
17450 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17454 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17457 if test -s conftest.err
; then
17458 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17459 cat conftest.err
>&5
17462 ac_save_CPPFLAGS
=$CPPFLAGS
17463 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17465 printf %s
"checking for unw_step... " >&6; }
17466 if test ${wine_cv_have_unw_step+y}
17468 printf %s
"(cached) " >&6
17470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17471 /* end confdefs.h. */
17472 #define UNW_LOCAL_ONLY
17473 #include <libunwind.h>
17477 unw_cursor_t cursor; unw_step( &cursor );
17482 if ac_fn_c_try_link
"$LINENO"
17484 wine_cv_have_unw_step
="yes"
17486 wine_cv_have_unw_step
="no"
17488 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17489 conftest
$ac_exeext conftest.
$ac_ext
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17492 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17493 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17496 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17497 LIBS
="$UNWIND_LIBS $LIBS"
17498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17499 printf %s
"checking for unw_step in libunwind... " >&6; }
17500 if test ${wine_cv_have_libunwind_unw_step+y}
17502 printf %s
"(cached) " >&6
17504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506 #define UNW_LOCAL_ONLY
17507 #include <libunwind.h>
17511 unw_cursor_t cursor; unw_step( &cursor );
17516 if ac_fn_c_try_link
"$LINENO"
17518 wine_cv_have_libunwind_unw_step
="yes"
17520 wine_cv_have_libunwind_unw_step
="no"
17522 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17523 conftest
$ac_exeext conftest.
$ac_ext
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17526 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17529 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17530 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17533 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17536 CPPFLAGS
=$ac_save_CPPFLAGS
17540 aarch64
*|
*-darwin*)
17541 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17543 case "x$with_unwind" in
17544 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17546 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17547 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17553 if test "x$with_sdl" != "xno"
17556 if ${SDL2_CFLAGS:+false} :
17558 if test ${PKG_CONFIG+y}
17560 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17564 if ${SDL2_LIBS:+false} :
17566 if test ${PKG_CONFIG+y}
17568 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17572 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17575 if test -s conftest.err
; then
17576 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17577 cat conftest.err
>&5
17580 ac_save_CPPFLAGS
=$CPPFLAGS
17581 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17582 for ac_header
in SDL.h
17584 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17585 if test "x$ac_cv_header_SDL_h" = xyes
17587 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17589 printf %s
"checking for -lSDL2... " >&6; }
17590 if test ${ac_cv_lib_soname_SDL2+y}
17592 printf %s
"(cached) " >&6
17594 ac_check_soname_save_LIBS
=$LIBS
17595 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17599 /* Override any GCC internal prototype to avoid an error.
17600 Use char because int might match the return type of a GCC
17601 builtin and then its argument prototype would still apply. */
17606 return SDL_Init ();
17611 if ac_fn_c_try_link
"$LINENO"
17614 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17615 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'` ;;
17616 *) 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'`
17617 if ${ac_cv_lib_soname_SDL2:+false} :
17619 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17623 ac_cv_lib_soname_SDL2
=
17625 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17626 conftest
$ac_exeext conftest.
$ac_ext
17627 LIBS
=$ac_check_soname_save_LIBS
17629 if ${ac_cv_lib_soname_SDL2:+false} :
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17632 printf "%s\n" "not found" >&6; }
17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17636 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17638 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17645 CPPFLAGS
=$ac_save_CPPFLAGS
17648 if test "x$ac_cv_lib_soname_SDL2" = "x"
17650 case "x$with_sdl" in
17651 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17653 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17654 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17659 if test "x$with_capi" != "xno"
17662 if ${CAPI20_CFLAGS:+false} :
17664 if test ${PKG_CONFIG+y}
17666 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17670 if ${CAPI20_LIBS:+false} :
17672 if test ${PKG_CONFIG+y}
17674 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17681 if test -s conftest.err
; then
17682 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17683 cat conftest.err
>&5
17686 ac_save_CPPFLAGS
=$CPPFLAGS
17687 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17688 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17690 if test "x$ac_cv_header_capi20_h" = xyes
17692 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17695 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17697 if test "x$ac_cv_header_linux_capi_h" = xyes
17699 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17703 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17706 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17707 if test ${ac_cv_lib_capi20_capi20_register+y}
17709 printf %s
"(cached) " >&6
17711 ac_check_lib_save_LIBS
=$LIBS
17712 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17716 /* Override any GCC internal prototype to avoid an error.
17717 Use char because int might match the return type of a GCC
17718 builtin and then its argument prototype would still apply. */
17719 char capi20_register ();
17723 return capi20_register ();
17728 if ac_fn_c_try_link
"$LINENO"
17730 ac_cv_lib_capi20_capi20_register
=yes
17732 ac_cv_lib_capi20_capi20_register
=no
17734 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17735 conftest
$ac_exeext conftest.
$ac_ext
17736 LIBS
=$ac_check_lib_save_LIBS
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17739 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17740 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17748 CPPFLAGS
=$ac_save_CPPFLAGS
17751 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17753 case "x$with_capi" in
17754 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17756 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17757 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17759 enable_capi2032
=${enable_capi2032:-no}
17762 if test "x$with_cups" != "xno"
17765 if ${CUPS_CFLAGS:+false} :
17767 if test ${PKG_CONFIG+y}
17769 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17772 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17773 if ${CUPS_LIBS:+false} :
17775 if test ${PKG_CONFIG+y}
17777 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17780 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17781 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17784 if test -s conftest.err
; then
17785 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17786 cat conftest.err
>&5
17789 ac_save_CPPFLAGS
=$CPPFLAGS
17790 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17791 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17792 if test "x$ac_cv_header_cups_cups_h" = xyes
17794 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17797 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17798 if test "x$ac_cv_header_cups_ppd_h" = xyes
17800 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17804 if test "$ac_cv_header_cups_cups_h" = "yes"
17806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17807 printf %s
"checking for -lcups... " >&6; }
17808 if test ${ac_cv_lib_soname_cups+y}
17810 printf %s
"(cached) " >&6
17812 ac_check_soname_save_LIBS
=$LIBS
17813 LIBS
="-lcups $CUPS_LIBS $LIBS"
17814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17817 /* Override any GCC internal prototype to avoid an error.
17818 Use char because int might match the return type of a GCC
17819 builtin and then its argument prototype would still apply. */
17820 char cupsGetDefault ();
17824 return cupsGetDefault ();
17829 if ac_fn_c_try_link
"$LINENO"
17832 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17833 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'` ;;
17834 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17835 if ${ac_cv_lib_soname_cups:+false} :
17837 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17841 ac_cv_lib_soname_cups
=
17843 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17844 conftest
$ac_exeext conftest.
$ac_ext
17845 LIBS
=$ac_check_soname_save_LIBS
17847 if ${ac_cv_lib_soname_cups:+false} :
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17850 printf "%s\n" "not found" >&6; }
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17854 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17856 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17864 CPPFLAGS
=$ac_save_CPPFLAGS
17867 if test "x$ac_cv_lib_soname_cups" = "x"
17869 case "x$with_cups" in
17870 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17872 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17873 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17878 if test "x$with_fontconfig" != "xno"
17881 if ${FONTCONFIG_CFLAGS:+false} :
17883 if test ${PKG_CONFIG+y}
17885 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17888 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17889 if ${FONTCONFIG_LIBS:+false} :
17891 if test ${PKG_CONFIG+y}
17893 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17896 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17900 if test -s conftest.err
; then
17901 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17902 cat conftest.err
>&5
17905 ac_save_CPPFLAGS
=$CPPFLAGS
17906 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17907 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17908 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17910 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17914 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17917 printf %s
"checking for -lfontconfig... " >&6; }
17918 if test ${ac_cv_lib_soname_fontconfig+y}
17920 printf %s
"(cached) " >&6
17922 ac_check_soname_save_LIBS
=$LIBS
17923 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17927 /* Override any GCC internal prototype to avoid an error.
17928 Use char because int might match the return type of a GCC
17929 builtin and then its argument prototype would still apply. */
17939 if ac_fn_c_try_link
"$LINENO"
17942 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17943 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'` ;;
17944 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17945 if ${ac_cv_lib_soname_fontconfig:+false} :
17947 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17951 ac_cv_lib_soname_fontconfig
=
17953 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17954 conftest
$ac_exeext conftest.
$ac_ext
17955 LIBS
=$ac_check_soname_save_LIBS
17957 if ${ac_cv_lib_soname_fontconfig:+false} :
17959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17960 printf "%s\n" "not found" >&6; }
17961 FONTCONFIG_CFLAGS
=""
17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17964 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17966 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17971 FONTCONFIG_CFLAGS
=""
17973 CPPFLAGS
=$ac_save_CPPFLAGS
17976 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17978 case "x$with_fontconfig" in
17979 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17981 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17982 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17987 if test "x$with_krb5" != "xno"
17990 if ${KRB5_CFLAGS:+false} :
17992 if test ${PKG_CONFIG+y}
17994 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17997 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17998 if ${KRB5_LIBS:+false} :
18000 if test ${PKG_CONFIG+y}
18002 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
18005 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18009 if test -s conftest.err
; then
18010 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18011 cat conftest.err
>&5
18014 ac_save_CPPFLAGS
=$CPPFLAGS
18015 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
18016 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18017 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18019 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18023 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18026 printf %s
"checking for -lkrb5... " >&6; }
18027 if test ${ac_cv_lib_soname_krb5+y}
18029 printf %s
"(cached) " >&6
18031 ac_check_soname_save_LIBS
=$LIBS
18032 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 /* Override any GCC internal prototype to avoid an error.
18037 Use char because int might match the return type of a GCC
18038 builtin and then its argument prototype would still apply. */
18039 char krb5_is_config_principal ();
18043 return krb5_is_config_principal ();
18048 if ac_fn_c_try_link
"$LINENO"
18051 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18052 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'` ;;
18053 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18054 if ${ac_cv_lib_soname_krb5:+false} :
18056 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18060 ac_cv_lib_soname_krb5
=
18062 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18063 conftest
$ac_exeext conftest.
$ac_ext
18064 LIBS
=$ac_check_soname_save_LIBS
18066 if ${ac_cv_lib_soname_krb5:+false} :
18068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18069 printf "%s\n" "not found" >&6; }
18072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18073 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18075 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18082 CPPFLAGS
=$ac_save_CPPFLAGS
18085 if test "x$ac_cv_lib_soname_krb5" = "x"
18087 case "x$with_krb5" in
18088 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18090 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18091 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18095 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18097 if test "x$with_gssapi" != "xno"
18100 if ${GSSAPI_CFLAGS:+false} :
18102 if test ${PKG_CONFIG+y}
18104 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18107 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18108 if ${GSSAPI_LIBS:+false} :
18110 if test ${PKG_CONFIG+y}
18112 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18115 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18119 if test -s conftest.err
; then
18120 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18121 cat conftest.err
>&5
18124 ac_save_CPPFLAGS
=$CPPFLAGS
18125 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18126 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18127 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18129 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18132 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18133 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18135 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18139 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18142 printf %s
"checking for -lgssapi_krb5... " >&6; }
18143 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18145 printf %s
"(cached) " >&6
18147 ac_check_soname_save_LIBS
=$LIBS
18148 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18152 /* Override any GCC internal prototype to avoid an error.
18153 Use char because int might match the return type of a GCC
18154 builtin and then its argument prototype would still apply. */
18155 char gss_init_sec_context ();
18159 return gss_init_sec_context ();
18164 if ac_fn_c_try_link
"$LINENO"
18167 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18168 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'` ;;
18169 *) 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'`
18170 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18172 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18176 ac_cv_lib_soname_gssapi_krb5
=
18178 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18179 conftest
$ac_exeext conftest.
$ac_ext
18180 LIBS
=$ac_check_soname_save_LIBS
18182 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18185 printf "%s\n" "not found" >&6; }
18188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18189 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18191 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18198 CPPFLAGS
=$ac_save_CPPFLAGS
18201 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18203 case "x$with_gssapi" in
18204 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18206 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18207 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18212 if test "$ac_cv_header_libprocstat_h" = "yes"
18214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18215 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18216 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18218 printf %s
"(cached) " >&6
18220 ac_check_lib_save_LIBS
=$LIBS
18221 LIBS
="-lprocstat $LIBS"
18222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18225 /* Override any GCC internal prototype to avoid an error.
18226 Use char because int might match the return type of a GCC
18227 builtin and then its argument prototype would still apply. */
18228 char procstat_open_sysctl ();
18232 return procstat_open_sysctl ();
18237 if ac_fn_c_try_link
"$LINENO"
18239 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18241 ac_cv_lib_procstat_procstat_open_sysctl
=no
18243 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18244 conftest
$ac_exeext conftest.
$ac_ext
18245 LIBS
=$ac_check_lib_save_LIBS
18247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18248 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18249 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18252 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18254 PROCSTAT_LIBS
="-lprocstat"
18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18261 printf %s
"checking for -lodbc... " >&6; }
18262 if test ${ac_cv_lib_soname_odbc+y}
18264 printf %s
"(cached) " >&6
18266 ac_check_soname_save_LIBS
=$LIBS
18267 LIBS
="-lodbc $LIBS"
18268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18271 /* Override any GCC internal prototype to avoid an error.
18272 Use char because int might match the return type of a GCC
18273 builtin and then its argument prototype would still apply. */
18274 char SQLConnect ();
18278 return SQLConnect ();
18283 if ac_fn_c_try_link
"$LINENO"
18286 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18287 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'` ;;
18288 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18289 if ${ac_cv_lib_soname_odbc:+false} :
18291 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18295 ac_cv_lib_soname_odbc
=
18297 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18298 conftest
$ac_exeext conftest.
$ac_ext
18299 LIBS
=$ac_check_soname_save_LIBS
18301 if ${ac_cv_lib_soname_odbc:+false} :
18303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18304 printf "%s\n" "not found" >&6; }
18305 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18309 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18311 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18316 if test "x$with_netapi" != "xno"
18319 if ${NETAPI_CFLAGS:+false} :
18321 if test ${PKG_CONFIG+y}
18323 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18327 if ${NETAPI_LIBS:+false} :
18329 if test ${PKG_CONFIG+y}
18331 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18338 if test -s conftest.err
; then
18339 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18340 cat conftest.err
>&5
18343 ac_save_CPPFLAGS
=$CPPFLAGS
18344 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18346 printf %s
"checking for -lnetapi... " >&6; }
18347 if test ${ac_cv_lib_soname_netapi+y}
18349 printf %s
"(cached) " >&6
18351 ac_check_soname_save_LIBS
=$LIBS
18352 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18356 /* Override any GCC internal prototype to avoid an error.
18357 Use char because int might match the return type of a GCC
18358 builtin and then its argument prototype would still apply. */
18359 char libnetapi_init ();
18363 return libnetapi_init ();
18368 if ac_fn_c_try_link
"$LINENO"
18371 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18372 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'` ;;
18373 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18374 if ${ac_cv_lib_soname_netapi:+false} :
18376 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18380 ac_cv_lib_soname_netapi
=
18382 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18383 conftest
$ac_exeext conftest.
$ac_ext
18384 LIBS
=$ac_check_soname_save_LIBS
18386 if ${ac_cv_lib_soname_netapi:+false} :
18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18389 printf "%s\n" "not found" >&6; }
18390 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18394 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18396 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18400 CPPFLAGS
=$ac_save_CPPFLAGS
18403 if test "x$ac_cv_lib_soname_netapi" = "x"
18405 case "x$with_netapi" in
18406 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18408 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18409 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18411 enable_netapi
=${enable_netapi:-no}
18415 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18416 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18418 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18421 if test "x$with_vulkan" != "xno"
18423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18424 printf %s
"checking for -lvulkan... " >&6; }
18425 if test ${ac_cv_lib_soname_vulkan+y}
18427 printf %s
"(cached) " >&6
18429 ac_check_soname_save_LIBS
=$LIBS
18430 LIBS
="-lvulkan $LIBS"
18431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18434 /* Override any GCC internal prototype to avoid an error.
18435 Use char because int might match the return type of a GCC
18436 builtin and then its argument prototype would still apply. */
18437 char vkGetInstanceProcAddr ();
18441 return vkGetInstanceProcAddr ();
18446 if ac_fn_c_try_link
"$LINENO"
18449 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18450 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'` ;;
18451 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18452 if ${ac_cv_lib_soname_vulkan:+false} :
18454 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18458 ac_cv_lib_soname_vulkan
=
18460 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18461 conftest
$ac_exeext conftest.
$ac_ext
18462 LIBS
=$ac_check_soname_save_LIBS
18464 if ${ac_cv_lib_soname_vulkan:+false} :
18466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18467 printf "%s\n" "not found" >&6; }
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18471 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18473 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18477 if test "x$ac_cv_lib_soname_vulkan" = "x"
18479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18480 printf %s
"checking for -lMoltenVK... " >&6; }
18481 if test ${ac_cv_lib_soname_MoltenVK+y}
18483 printf %s
"(cached) " >&6
18485 ac_check_soname_save_LIBS
=$LIBS
18486 LIBS
="-lMoltenVK $LIBS"
18487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18493 char vkGetInstanceProcAddr ();
18497 return vkGetInstanceProcAddr ();
18502 if ac_fn_c_try_link
"$LINENO"
18505 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18506 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'` ;;
18507 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18508 if ${ac_cv_lib_soname_MoltenVK:+false} :
18510 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18514 ac_cv_lib_soname_MoltenVK
=
18516 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18517 conftest
$ac_exeext conftest.
$ac_ext
18518 LIBS
=$ac_check_soname_save_LIBS
18520 if ${ac_cv_lib_soname_MoltenVK:+false} :
18522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18523 printf "%s\n" "not found" >&6; }
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18527 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18529 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18535 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18537 case "x$with_vulkan" in
18538 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18540 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18541 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18547 if test "x${GCC}" = "xyes"
18549 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18551 saved_CFLAGS
=$CFLAGS
18552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18553 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18554 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18556 printf %s
"(cached) " >&6
18558 ac_wine_try_cflags_saved
=$CFLAGS
18559 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h. */
18562 int main(int argc, char **argv) { return 0; }
18564 if ac_fn_c_try_link
"$LINENO"
18566 ac_cv_cflags__Werror_unknown_warning_option
=yes
18568 ac_cv_cflags__Werror_unknown_warning_option
=no
18570 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18571 conftest
$ac_exeext conftest.
$ac_ext
18572 CFLAGS
=$ac_wine_try_cflags_saved
18574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18575 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18576 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18578 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18581 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18582 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18584 printf %s
"(cached) " >&6
18586 ac_wine_try_cflags_saved
=$CFLAGS
18587 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590 int main(int argc, char **argv) { return 0; }
18592 if ac_fn_c_try_link
"$LINENO"
18594 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18596 ac_cv_cflags__Werror_unused_command_line_argument
=no
18598 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18599 conftest
$ac_exeext conftest.
$ac_ext
18600 CFLAGS
=$ac_wine_try_cflags_saved
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18603 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18604 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18606 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18609 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18610 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18612 printf %s
"(cached) " >&6
18614 ac_wine_try_cflags_saved
=$CFLAGS
18615 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18618 int main(int argc, char **argv) { return 0; }
18620 if ac_fn_c_try_link
"$LINENO"
18622 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18624 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18626 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18627 conftest
$ac_exeext conftest.
$ac_ext
18628 CFLAGS
=$ac_wine_try_cflags_saved
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18631 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18632 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18634 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18637 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18638 if test ${ac_cv_cflags__fcf_protection_none+y}
18640 printf %s
"(cached) " >&6
18642 ac_wine_try_cflags_saved
=$CFLAGS
18643 CFLAGS
="$CFLAGS -fcf-protection=none"
18644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 int main(int argc, char **argv) { return 0; }
18648 if ac_fn_c_try_link
"$LINENO"
18650 ac_cv_cflags__fcf_protection_none
=yes
18652 ac_cv_cflags__fcf_protection_none
=no
18654 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18655 conftest
$ac_exeext conftest.
$ac_ext
18656 CFLAGS
=$ac_wine_try_cflags_saved
18658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18659 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18660 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18662 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18665 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18666 if test ${ac_cv_cflags__fno_stack_protector+y}
18668 printf %s
"(cached) " >&6
18670 ac_wine_try_cflags_saved
=$CFLAGS
18671 CFLAGS
="$CFLAGS -fno-stack-protector"
18672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18674 int main(int argc, char **argv) { return 0; }
18676 if ac_fn_c_try_link
"$LINENO"
18678 ac_cv_cflags__fno_stack_protector
=yes
18680 ac_cv_cflags__fno_stack_protector
=no
18682 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18683 conftest
$ac_exeext conftest.
$ac_ext
18684 CFLAGS
=$ac_wine_try_cflags_saved
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18687 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18688 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18690 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18693 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18694 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18696 printf %s
"(cached) " >&6
18698 ac_wine_try_cflags_saved
=$CFLAGS
18699 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 int main(int argc, char **argv) { return 0; }
18704 if ac_fn_c_try_link
"$LINENO"
18706 ac_cv_cflags__fno_strict_aliasing
=yes
18708 ac_cv_cflags__fno_strict_aliasing
=no
18710 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18711 conftest
$ac_exeext conftest.
$ac_ext
18712 CFLAGS
=$ac_wine_try_cflags_saved
18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18715 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18716 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18718 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18721 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18722 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18724 printf %s
"(cached) " >&6
18726 ac_wine_try_cflags_saved
=$CFLAGS
18727 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18730 int main(int argc, char **argv) { return 0; }
18732 if ac_fn_c_try_link
"$LINENO"
18734 ac_cv_cflags__Wdeclaration_after_statement
=yes
18736 ac_cv_cflags__Wdeclaration_after_statement
=no
18738 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18739 conftest
$ac_exeext conftest.
$ac_ext
18740 CFLAGS
=$ac_wine_try_cflags_saved
18742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18743 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18744 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18746 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18749 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18750 if test ${ac_cv_cflags__Wempty_body+y}
18752 printf %s
"(cached) " >&6
18754 ac_wine_try_cflags_saved
=$CFLAGS
18755 CFLAGS
="$CFLAGS -Wempty-body"
18756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18757 /* end confdefs.h. */
18758 int main(int argc, char **argv) { return 0; }
18760 if ac_fn_c_try_link
"$LINENO"
18762 ac_cv_cflags__Wempty_body
=yes
18764 ac_cv_cflags__Wempty_body
=no
18766 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18767 conftest
$ac_exeext conftest.
$ac_ext
18768 CFLAGS
=$ac_wine_try_cflags_saved
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18771 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18772 if test "x$ac_cv_cflags__Wempty_body" = xyes
18774 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18777 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18778 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18780 printf %s
"(cached) " >&6
18782 ac_wine_try_cflags_saved
=$CFLAGS
18783 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18786 int main(int argc, char **argv) { return 0; }
18788 if ac_fn_c_try_link
"$LINENO"
18790 ac_cv_cflags__Wignored_qualifiers
=yes
18792 ac_cv_cflags__Wignored_qualifiers
=no
18794 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18795 conftest
$ac_exeext conftest.
$ac_ext
18796 CFLAGS
=$ac_wine_try_cflags_saved
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18799 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18800 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18802 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18805 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18806 if test ${ac_cv_cflags__Winit_self+y}
18808 printf %s
"(cached) " >&6
18810 ac_wine_try_cflags_saved
=$CFLAGS
18811 CFLAGS
="$CFLAGS -Winit-self"
18812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 int main(int argc, char **argv) { return 0; }
18816 if ac_fn_c_try_link
"$LINENO"
18818 ac_cv_cflags__Winit_self
=yes
18820 ac_cv_cflags__Winit_self
=no
18822 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18823 conftest
$ac_exeext conftest.
$ac_ext
18824 CFLAGS
=$ac_wine_try_cflags_saved
18826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18827 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18828 if test "x$ac_cv_cflags__Winit_self" = xyes
18830 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18833 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18834 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18836 printf %s
"(cached) " >&6
18838 ac_wine_try_cflags_saved
=$CFLAGS
18839 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 int main(int argc, char **argv) { return 0; }
18844 if ac_fn_c_try_link
"$LINENO"
18846 ac_cv_cflags__Wpacked_not_aligned
=yes
18848 ac_cv_cflags__Wpacked_not_aligned
=no
18850 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18851 conftest
$ac_exeext conftest.
$ac_ext
18852 CFLAGS
=$ac_wine_try_cflags_saved
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18855 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18856 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18858 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18861 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18862 if test ${ac_cv_cflags__Wpragma_pack+y}
18864 printf %s
"(cached) " >&6
18866 ac_wine_try_cflags_saved
=$CFLAGS
18867 CFLAGS
="$CFLAGS -Wpragma-pack"
18868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18870 int main(int argc, char **argv) { return 0; }
18872 if ac_fn_c_try_link
"$LINENO"
18874 ac_cv_cflags__Wpragma_pack
=yes
18876 ac_cv_cflags__Wpragma_pack
=no
18878 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18879 conftest
$ac_exeext conftest.
$ac_ext
18880 CFLAGS
=$ac_wine_try_cflags_saved
18882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18883 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18884 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18886 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18889 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18890 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18892 printf %s
"(cached) " >&6
18894 ac_wine_try_cflags_saved
=$CFLAGS
18895 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18898 int main(int argc, char **argv) { return 0; }
18900 if ac_fn_c_try_link
"$LINENO"
18902 ac_cv_cflags__Wshift_overflow_2
=yes
18904 ac_cv_cflags__Wshift_overflow_2
=no
18906 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18907 conftest
$ac_exeext conftest.
$ac_ext
18908 CFLAGS
=$ac_wine_try_cflags_saved
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18911 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18912 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18914 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18917 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18918 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18920 printf %s
"(cached) " >&6
18922 ac_wine_try_cflags_saved
=$CFLAGS
18923 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 int main(int argc, char **argv) { return 0; }
18928 if ac_fn_c_try_link
"$LINENO"
18930 ac_cv_cflags__Wstrict_prototypes
=yes
18932 ac_cv_cflags__Wstrict_prototypes
=no
18934 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18935 conftest
$ac_exeext conftest.
$ac_ext
18936 CFLAGS
=$ac_wine_try_cflags_saved
18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18939 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18940 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18942 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18945 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18946 if test ${ac_cv_cflags__Wtype_limits+y}
18948 printf %s
"(cached) " >&6
18950 ac_wine_try_cflags_saved
=$CFLAGS
18951 CFLAGS
="$CFLAGS -Wtype-limits"
18952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18953 /* end confdefs.h. */
18954 int main(int argc, char **argv) { return 0; }
18956 if ac_fn_c_try_link
"$LINENO"
18958 ac_cv_cflags__Wtype_limits
=yes
18960 ac_cv_cflags__Wtype_limits
=no
18962 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18963 conftest
$ac_exeext conftest.
$ac_ext
18964 CFLAGS
=$ac_wine_try_cflags_saved
18966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18967 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18968 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18970 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18973 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18974 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18976 printf %s
"(cached) " >&6
18978 ac_wine_try_cflags_saved
=$CFLAGS
18979 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18981 /* end confdefs.h. */
18982 int main(int argc, char **argv) { return 0; }
18984 if ac_fn_c_try_link
"$LINENO"
18986 ac_cv_cflags__Wunused_but_set_parameter
=yes
18988 ac_cv_cflags__Wunused_but_set_parameter
=no
18990 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18991 conftest
$ac_exeext conftest.
$ac_ext
18992 CFLAGS
=$ac_wine_try_cflags_saved
18994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18995 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18996 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18998 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
19000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19001 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
19002 if test ${ac_cv_cflags__Wvla+y}
19004 printf %s
"(cached) " >&6
19006 ac_wine_try_cflags_saved
=$CFLAGS
19007 CFLAGS
="$CFLAGS -Wvla"
19008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19010 int main(int argc, char **argv) { return 0; }
19012 if ac_fn_c_try_link
"$LINENO"
19014 ac_cv_cflags__Wvla
=yes
19016 ac_cv_cflags__Wvla
=no
19018 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19019 conftest
$ac_exeext conftest.
$ac_ext
19020 CFLAGS
=$ac_wine_try_cflags_saved
19022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19023 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19024 if test "x$ac_cv_cflags__Wvla" = xyes
19026 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
19028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19029 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
19030 if test ${ac_cv_cflags__Wwrite_strings+y}
19032 printf %s
"(cached) " >&6
19034 ac_wine_try_cflags_saved
=$CFLAGS
19035 CFLAGS
="$CFLAGS -Wwrite-strings"
19036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 int main(int argc, char **argv) { return 0; }
19040 if ac_fn_c_try_link
"$LINENO"
19042 ac_cv_cflags__Wwrite_strings
=yes
19044 ac_cv_cflags__Wwrite_strings
=no
19046 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19047 conftest
$ac_exeext conftest.
$ac_ext
19048 CFLAGS
=$ac_wine_try_cflags_saved
19050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19051 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19052 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19054 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19058 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19059 if test ${ac_cv_cflags__Wpointer_arith+y}
19061 printf %s
"(cached) " >&6
19063 ac_wine_try_cflags_saved
=$CFLAGS
19064 CFLAGS
="$CFLAGS -Wpointer-arith"
19065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 int main(int argc, char **argv) { return 0; }
19069 if ac_fn_c_try_link
"$LINENO"
19071 ac_cv_cflags__Wpointer_arith
=yes
19073 ac_cv_cflags__Wpointer_arith
=no
19075 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19076 conftest
$ac_exeext conftest.
$ac_ext
19077 CFLAGS
=$ac_wine_try_cflags_saved
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19080 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19081 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19083 saved_string_h_CFLAGS
=$CFLAGS
19084 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19086 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19087 if test ${ac_cv_c_string_h_warnings+y}
19089 printf %s
"(cached) " >&6
19091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 #include <string.h>
19102 if ac_fn_c_try_compile
"$LINENO"
19104 ac_cv_c_string_h_warnings
=no
19106 ac_cv_c_string_h_warnings
=yes
19108 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19111 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19112 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19113 CFLAGS
=$saved_string_h_CFLAGS
19116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19117 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19118 if test ${ac_cv_cflags__Wlogical_op+y}
19120 printf %s
"(cached) " >&6
19122 ac_wine_try_cflags_saved
=$CFLAGS
19123 CFLAGS
="$CFLAGS -Wlogical-op"
19124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19126 int main(int argc, char **argv) { return 0; }
19128 if ac_fn_c_try_link
"$LINENO"
19130 ac_cv_cflags__Wlogical_op
=yes
19132 ac_cv_cflags__Wlogical_op
=no
19134 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19135 conftest
$ac_exeext conftest.
$ac_ext
19136 CFLAGS
=$ac_wine_try_cflags_saved
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19139 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19140 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19142 saved_string_h_CFLAGS
=$CFLAGS
19143 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19145 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19146 if test ${ac_cv_c_logicalop_noisy+y}
19148 printf %s
"(cached) " >&6
19150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19151 /* end confdefs.h. */
19152 #include <string.h>
19153 char*f(const char *h,char n) {return strchr(h,n);}
19162 if ac_fn_c_try_compile
"$LINENO"
19164 ac_cv_c_logicalop_noisy
=no
19166 ac_cv_c_logicalop_noisy
=yes
19168 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19171 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19172 CFLAGS
=$saved_string_h_CFLAGS
19173 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19177 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19178 if test ${wine_cv_64bit_compare_swap+y}
19180 printf %s
"(cached) " >&6
19182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19195 if ac_fn_c_try_compile
"$LINENO"
19197 wine_cv_64bit_compare_swap
="none needed"
19200 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19201 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19202 *) wine_cv_64bit_compare_swap
="unknown" ;;
19204 if test "x$wine_cv_64bit_compare_swap" != xunknown
19206 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19209 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19220 if ac_fn_c_try_compile
"$LINENO"
19224 wine_cv_64bit_compare_swap
="unknown"
19226 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19227 CFLAGS
=$saved_CFLAGS
19230 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19233 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19234 case "$wine_cv_64bit_compare_swap" in
19235 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19237 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19240 ac_debug_format_seen
=""
19241 for ac_flag
in $CFLAGS; do
19243 -gdwarf*) ac_debug_format_seen
=yes ;;
19244 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19247 if test "x$ac_debug_format_seen" = xdefault
19249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19250 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19251 if test ${ac_cv_cflags__gdwarf_4+y}
19253 printf %s
"(cached) " >&6
19255 ac_wine_try_cflags_saved
=$CFLAGS
19256 CFLAGS
="$CFLAGS -gdwarf-4"
19257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19258 /* end confdefs.h. */
19259 int main(int argc, char **argv) { return 0; }
19261 if ac_fn_c_try_link
"$LINENO"
19263 ac_cv_cflags__gdwarf_4
=yes
19265 ac_cv_cflags__gdwarf_4
=no
19267 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19268 conftest
$ac_exeext conftest.
$ac_ext
19269 CFLAGS
=$ac_wine_try_cflags_saved
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19272 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19273 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19275 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19282 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19283 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19284 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19286 printf %s
"(cached) " >&6
19288 ac_wine_try_cflags_saved
=$CFLAGS
19289 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 int main(int argc, char **argv) { return 0; }
19294 if ac_fn_c_try_link
"$LINENO"
19296 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19298 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19300 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19301 conftest
$ac_exeext conftest.
$ac_ext
19302 CFLAGS
=$ac_wine_try_cflags_saved
19304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19305 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19306 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19308 DELAYLOADFLAG
="-Wl,-delayload,"
19311 *) MSVCRTFLAGS
="-D_WIN32"
19312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19313 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19314 if test ${ac_cv_cflags__fno_builtin+y}
19316 printf %s
"(cached) " >&6
19318 ac_wine_try_cflags_saved
=$CFLAGS
19319 CFLAGS
="$CFLAGS -fno-builtin"
19320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 int main(int argc, char **argv) { return 0; }
19324 if ac_fn_c_try_link
"$LINENO"
19326 ac_cv_cflags__fno_builtin
=yes
19328 ac_cv_cflags__fno_builtin
=no
19330 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19331 conftest
$ac_exeext conftest.
$ac_ext
19332 CFLAGS
=$ac_wine_try_cflags_saved
19334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19335 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19336 if test "x$ac_cv_cflags__fno_builtin" = xyes
19338 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19341 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19342 if test ${ac_cv_cflags__fshort_wchar+y}
19344 printf %s
"(cached) " >&6
19346 ac_wine_try_cflags_saved
=$CFLAGS
19347 CFLAGS
="$CFLAGS -fshort-wchar"
19348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19350 int main(int argc, char **argv) { return 0; }
19352 if ac_fn_c_try_link
"$LINENO"
19354 ac_cv_cflags__fshort_wchar
=yes
19356 ac_cv_cflags__fshort_wchar
=no
19358 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19359 conftest
$ac_exeext conftest.
$ac_ext
19360 CFLAGS
=$ac_wine_try_cflags_saved
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19363 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19364 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19366 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19369 printf %s
"checking whether the compiler supports -fvisibility=hidden... " >&6; }
19370 if test ${ac_cv_cflags__fvisibility_hidden+y}
19372 printf %s
"(cached) " >&6
19374 ac_wine_try_cflags_saved
=$CFLAGS
19375 CFLAGS
="$CFLAGS -fvisibility=hidden"
19376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19377 /* end confdefs.h. */
19378 int main(int argc, char **argv) { return 0; }
19380 if ac_fn_c_try_link
"$LINENO"
19382 ac_cv_cflags__fvisibility_hidden
=yes
19384 ac_cv_cflags__fvisibility_hidden
=no
19386 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19387 conftest
$ac_exeext conftest.
$ac_ext
19388 CFLAGS
=$ac_wine_try_cflags_saved
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19391 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19392 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19394 MSVCRTFLAGS
="$MSVCRTFLAGS -fvisibility=hidden"
19396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19397 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19398 if test ${ac_cv_cflags__Wno_format+y}
19400 printf %s
"(cached) " >&6
19402 ac_wine_try_cflags_saved
=$CFLAGS
19403 CFLAGS
="$CFLAGS -Wno-format"
19404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406 int main(int argc, char **argv) { return 0; }
19408 if ac_fn_c_try_link
"$LINENO"
19410 ac_cv_cflags__Wno_format
=yes
19412 ac_cv_cflags__Wno_format
=no
19414 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19415 conftest
$ac_exeext conftest.
$ac_ext
19416 CFLAGS
=$ac_wine_try_cflags_saved
19418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19419 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19420 if test "x$ac_cv_cflags__Wno_format" = xyes
19422 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19427 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19428 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19429 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19431 printf %s
"(cached) " >&6
19433 ac_wine_try_cflags_saved
=$CFLAGS
19434 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19436 /* end confdefs.h. */
19437 int main(int argc, char **argv) { return 0; }
19439 if ac_fn_c_try_link
"$LINENO"
19441 ac_cv_cflags__fno_omit_frame_pointer
=yes
19443 ac_cv_cflags__fno_omit_frame_pointer
=no
19445 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19446 conftest
$ac_exeext conftest.
$ac_ext
19447 CFLAGS
=$ac_wine_try_cflags_saved
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19450 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19451 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19453 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19457 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19458 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19459 if test ${ac_cv_cflags__Wno_format+y}
19461 printf %s
"(cached) " >&6
19463 ac_wine_try_cflags_saved
=$CFLAGS
19464 CFLAGS
="$CFLAGS -Wno-format"
19465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19466 /* end confdefs.h. */
19467 int main(int argc, char **argv) { return 0; }
19469 if ac_fn_c_try_link
"$LINENO"
19471 ac_cv_cflags__Wno_format
=yes
19473 ac_cv_cflags__Wno_format
=no
19475 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19476 conftest
$ac_exeext conftest.
$ac_ext
19477 CFLAGS
=$ac_wine_try_cflags_saved
19479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19480 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19481 if test "x$ac_cv_cflags__Wno_format" = xyes
19483 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19485 *) if test -z "$PE_ARCHS"
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19488 printf %s
"checking for working -mabi=ms... " >&6; }
19489 if test ${ac_cv_mabi_ms+y}
19491 printf %s
"(cached) " >&6
19493 CFLAGS
="$CFLAGS -mabi=ms"
19494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 #include <stdarg.h>
19497 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19506 if ac_fn_c_try_compile
"$LINENO"
19512 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19513 CFLAGS
=$saved_CFLAGS
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19516 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19517 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
19519 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19523 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19524 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19526 printf %s
"(cached) " >&6
19528 ac_wine_try_cflags_saved
=$CFLAGS
19529 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19532 int main(int argc, char **argv) { return 0; }
19534 if ac_fn_c_try_link
"$LINENO"
19536 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19538 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19540 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19541 conftest
$ac_exeext conftest.
$ac_ext
19542 CFLAGS
=$ac_wine_try_cflags_saved
19544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19545 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19546 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19548 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19552 CFLAGS
=$saved_CFLAGS
19554 if test "x$enable_werror" = "xyes"
19556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19557 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19558 if test ${ac_cv_cflags__Werror+y}
19560 printf %s
"(cached) " >&6
19562 ac_wine_try_cflags_saved
=$CFLAGS
19563 CFLAGS
="$CFLAGS -Werror"
19564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19566 int main(int argc, char **argv) { return 0; }
19568 if ac_fn_c_try_link
"$LINENO"
19570 ac_cv_cflags__Werror
=yes
19572 ac_cv_cflags__Werror
=no
19574 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19575 conftest
$ac_exeext conftest.
$ac_ext
19576 CFLAGS
=$ac_wine_try_cflags_saved
19578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19579 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19580 if test "x$ac_cv_cflags__Werror" = xyes
19582 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19585 if test "x$enable_build_id" = "xyes"
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19588 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19589 if test ${ac_cv_cflags__Wl___build_id+y}
19591 printf %s
"(cached) " >&6
19593 ac_wine_try_cflags_saved
=$CFLAGS
19594 CFLAGS
="$CFLAGS -Wl,--build-id"
19595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19597 int main(int argc, char **argv) { return 0; }
19599 if ac_fn_c_try_link
"$LINENO"
19601 ac_cv_cflags__Wl___build_id
=yes
19603 ac_cv_cflags__Wl___build_id
=no
19605 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19606 conftest
$ac_exeext conftest.
$ac_ext
19607 CFLAGS
=$ac_wine_try_cflags_saved
19609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19610 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19611 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19613 CFLAGS
="$CFLAGS -Wl,--build-id"
19614 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19621 printf %s
"checking for the need to disable Fortify... " >&6; }
19622 if test ${ac_cv_c_fortify_enabled+y}
19624 printf %s
"(cached) " >&6
19626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19628 #include <string.h>
19632 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19633 #error Fortify enabled
19639 if ac_fn_c_try_compile
"$LINENO"
19641 ac_cv_c_fortify_enabled
=no
19643 ac_cv_c_fortify_enabled
=yes
19645 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19648 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19649 if test "$ac_cv_c_fortify_enabled" = yes
19651 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19656 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19657 if test ${ac_cv_c_cfi_support+y}
19659 printf %s
"(cached) " >&6
19661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19663 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19672 if ac_fn_c_try_compile
"$LINENO"
19674 ac_cv_c_cfi_support
="yes"
19676 ac_cv_c_cfi_support
="no"
19678 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19681 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19682 if test "$ac_cv_c_cfi_support" = "yes"
19684 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19685 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19686 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19687 elif test $HOST_ARCH = x86_64
19689 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19693 case "$HOST_ARCH,$PE_ARCHS" in
19694 x86_64
,*i386
*) wine_binary
="wine" ;;
19695 x86_64
,*) wine_binary
="wine64" ;;
19696 *) wine_binary
="wine" ;;
19698 WINELOADER_PROGRAMS
="$wine_binary"
19704 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19705 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19706 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19711 if test "$wine_can_build_preloader" = "yes"
19713 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19714 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19721 printf %s
"checking for library containing dlopen... " >&6; }
19722 if test ${ac_cv_search_dlopen+y}
19724 printf %s
"(cached) " >&6
19726 ac_func_search_save_LIBS
=$LIBS
19727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19742 for ac_lib
in '' dl
19744 if test -z "$ac_lib"; then
19745 ac_res
="none required"
19748 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19750 if ac_fn_c_try_link
"$LINENO"
19752 ac_cv_search_dlopen
=$ac_res
19754 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19756 if test ${ac_cv_search_dlopen+y}
19761 if test ${ac_cv_search_dlopen+y}
19765 ac_cv_search_dlopen
=no
19767 rm conftest.
$ac_ext
19768 LIBS
=$ac_func_search_save_LIBS
19770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19771 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19772 ac_res
=$ac_cv_search_dlopen
19773 if test "$ac_res" != no
19775 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19781 printf %s
"checking for library containing gethostbyname... " >&6; }
19782 if test ${ac_cv_search_gethostbyname+y}
19784 printf %s
"(cached) " >&6
19786 ac_func_search_save_LIBS
=$LIBS
19787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19790 /* Override any GCC internal prototype to avoid an error.
19791 Use char because int might match the return type of a GCC
19792 builtin and then its argument prototype would still apply. */
19793 char gethostbyname ();
19797 return gethostbyname ();
19802 for ac_lib
in '' nsl
19804 if test -z "$ac_lib"; then
19805 ac_res
="none required"
19808 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19810 if ac_fn_c_try_link
"$LINENO"
19812 ac_cv_search_gethostbyname
=$ac_res
19814 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19816 if test ${ac_cv_search_gethostbyname+y}
19821 if test ${ac_cv_search_gethostbyname+y}
19825 ac_cv_search_gethostbyname
=no
19827 rm conftest.
$ac_ext
19828 LIBS
=$ac_func_search_save_LIBS
19830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19831 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19832 ac_res
=$ac_cv_search_gethostbyname
19833 if test "$ac_res" != no
19835 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19841 printf %s
"checking for library containing connect... " >&6; }
19842 if test ${ac_cv_search_connect+y}
19844 printf %s
"(cached) " >&6
19846 ac_func_search_save_LIBS
=$LIBS
19847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19850 /* Override any GCC internal prototype to avoid an error.
19851 Use char because int might match the return type of a GCC
19852 builtin and then its argument prototype would still apply. */
19862 for ac_lib
in '' socket
19864 if test -z "$ac_lib"; then
19865 ac_res
="none required"
19868 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19870 if ac_fn_c_try_link
"$LINENO"
19872 ac_cv_search_connect
=$ac_res
19874 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19876 if test ${ac_cv_search_connect+y}
19881 if test ${ac_cv_search_connect+y}
19885 ac_cv_search_connect
=no
19887 rm conftest.
$ac_ext
19888 LIBS
=$ac_func_search_save_LIBS
19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19891 printf "%s\n" "$ac_cv_search_connect" >&6; }
19892 ac_res
=$ac_cv_search_connect
19893 if test "$ac_res" != no
19895 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19901 printf %s
"checking for library containing inet_aton... " >&6; }
19902 if test ${ac_cv_search_inet_aton+y}
19904 printf %s
"(cached) " >&6
19906 ac_func_search_save_LIBS
=$LIBS
19907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19910 /* Override any GCC internal prototype to avoid an error.
19911 Use char because int might match the return type of a GCC
19912 builtin and then its argument prototype would still apply. */
19917 return inet_aton ();
19922 for ac_lib
in '' resolv
19924 if test -z "$ac_lib"; then
19925 ac_res
="none required"
19928 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19930 if ac_fn_c_try_link
"$LINENO"
19932 ac_cv_search_inet_aton
=$ac_res
19934 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19936 if test ${ac_cv_search_inet_aton+y}
19941 if test ${ac_cv_search_inet_aton+y}
19945 ac_cv_search_inet_aton
=no
19947 rm conftest.
$ac_ext
19948 LIBS
=$ac_func_search_save_LIBS
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19951 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19952 ac_res
=$ac_cv_search_inet_aton
19953 if test "$ac_res" != no
19955 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19960 ac_save_CFLAGS
="$CFLAGS"
19961 CFLAGS
="$CFLAGS $BUILTINFLAG"
19962 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19963 if test "x$ac_cv_func_dladdr1" = xyes
19965 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19968 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19969 if test "x$ac_cv_func_dlinfo" = xyes
19971 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19974 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19975 if test "x$ac_cv_func_epoll_create" = xyes
19977 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19980 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19981 if test "x$ac_cv_func_fstatfs" = xyes
19983 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19986 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19987 if test "x$ac_cv_func_futimens" = xyes
19989 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19992 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19993 if test "x$ac_cv_func_futimes" = xyes
19995 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19998 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19999 if test "x$ac_cv_func_futimesat" = xyes
20001 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20004 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20005 if test "x$ac_cv_func_getaddrinfo" = xyes
20007 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20010 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20011 if test "x$ac_cv_func_getattrlist" = xyes
20013 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20016 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
20017 if test "x$ac_cv_func_getauxval" = xyes
20019 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20022 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20023 if test "x$ac_cv_func_getifaddrs" = xyes
20025 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20028 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
20029 if test "x$ac_cv_func_getrandom" = xyes
20031 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20034 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
20035 if test "x$ac_cv_func_kqueue" = xyes
20037 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20040 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20041 if test "x$ac_cv_func_mach_continuous_time" = xyes
20043 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20046 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
20047 if test "x$ac_cv_func_pipe2" = xyes
20049 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20052 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
20053 if test "x$ac_cv_func_port_create" = xyes
20055 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20058 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20059 if test "x$ac_cv_func_posix_fadvise" = xyes
20061 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20064 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20065 if test "x$ac_cv_func_posix_fallocate" = xyes
20067 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20070 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20071 if test "x$ac_cv_func_prctl" = xyes
20073 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20076 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20077 if test "x$ac_cv_func_proc_pidinfo" = xyes
20079 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20082 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20083 if test "x$ac_cv_func_sched_yield" = xyes
20085 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20088 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20089 if test "x$ac_cv_func_setproctitle" = xyes
20091 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20094 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20095 if test "x$ac_cv_func_setprogname" = xyes
20097 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20100 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20101 if test "x$ac_cv_func_sigprocmask" = xyes
20103 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20106 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20107 if test "x$ac_cv_func_sysinfo" = xyes
20109 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20112 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20113 if test "x$ac_cv_func_tcdrain" = xyes
20115 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20118 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20119 if test "x$ac_cv_func_thr_kill2" = xyes
20121 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20125 CFLAGS
="$ac_save_CFLAGS"
20128 darwin
*|macosx
*) ;;
20129 *) ac_save_LIBS
=$LIBS
20130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20131 printf %s
"checking for library containing clock_gettime... " >&6; }
20132 if test ${ac_cv_search_clock_gettime+y}
20134 printf %s
"(cached) " >&6
20136 ac_func_search_save_LIBS
=$LIBS
20137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20140 /* Override any GCC internal prototype to avoid an error.
20141 Use char because int might match the return type of a GCC
20142 builtin and then its argument prototype would still apply. */
20143 char clock_gettime ();
20147 return clock_gettime ();
20152 for ac_lib
in '' rt
20154 if test -z "$ac_lib"; then
20155 ac_res
="none required"
20158 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20160 if ac_fn_c_try_link
"$LINENO"
20162 ac_cv_search_clock_gettime
=$ac_res
20164 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20166 if test ${ac_cv_search_clock_gettime+y}
20171 if test ${ac_cv_search_clock_gettime+y}
20175 ac_cv_search_clock_gettime
=no
20177 rm conftest.
$ac_ext
20178 LIBS
=$ac_func_search_save_LIBS
20180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20181 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20182 ac_res
=$ac_cv_search_clock_gettime
20183 if test "$ac_res" != no
20185 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20187 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20189 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20198 printf %s
"checking for sched_setaffinity... " >&6; }
20199 if test ${wine_cv_have_sched_setaffinity+y}
20201 printf %s
"(cached) " >&6
20203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20209 sched_setaffinity(0, 0, 0);
20214 if ac_fn_c_try_link
"$LINENO"
20216 wine_cv_have_sched_setaffinity
=yes
20218 wine_cv_have_sched_setaffinity
=no
20220 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20221 conftest
$ac_exeext conftest.
$ac_ext
20223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20224 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20225 if test "$wine_cv_have_sched_setaffinity" = "yes"
20228 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20234 printf %s
"checking for inline... " >&6; }
20235 if test ${ac_cv_c_inline+y}
20237 printf %s
"(cached) " >&6
20240 for ac_kw
in inline __inline__ __inline
; do
20241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20243 #ifndef __cplusplus
20245 static $ac_kw foo_t static_foo (void) {return 0; }
20246 $ac_kw foo_t foo (void) {return 0; }
20250 if ac_fn_c_try_compile
"$LINENO"
20252 ac_cv_c_inline
=$ac_kw
20254 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20255 test "$ac_cv_c_inline" != no
&& break
20259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20260 printf "%s\n" "$ac_cv_c_inline" >&6; }
20262 case $ac_cv_c_inline in
20265 case $ac_cv_c_inline in
20267 *) ac_val
=$ac_cv_c_inline;;
20269 cat >>confdefs.h
<<_ACEOF
20270 #ifndef __cplusplus
20271 #define inline $ac_val
20277 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20279 if test "x$ac_cv_type_request_sense" = xyes
20282 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20288 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20289 #include <sys/socket.h>
20290 #ifdef HAVE_SYS_SOCKETVAR_H
20291 #include <sys/socketvar.h>
20293 #ifdef HAVE_NET_ROUTE_H
20294 #include <net/route.h>
20296 #ifdef HAVE_NETINET_IN_H
20297 #include <netinet/in.h>
20299 #ifdef HAVE_NETINET_IN_SYSTM_H
20300 #include <netinet/in_systm.h>
20302 #ifdef HAVE_NETINET_IP_H
20303 #include <netinet/ip.h>
20305 #ifdef HAVE_NETINET_IN_PCB_H
20306 #include <netinet/in_pcb.h>
20309 if test "x$ac_cv_type_struct_xinpgen" = xyes
20312 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20319 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20320 if test ${wine_cv_linux_gethostbyname_r_6+y}
20322 printf %s
"(cached) " >&6
20324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20325 /* end confdefs.h. */
20333 struct hostent *result;
20340 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20341 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20347 if ac_fn_c_try_link
"$LINENO"
20349 wine_cv_linux_gethostbyname_r_6
=yes
20351 wine_cv_linux_gethostbyname_r_6
=no
20354 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20355 conftest
$ac_exeext conftest.
$ac_ext
20358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20359 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20360 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20363 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20367 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20368 #include <sys/socket.h>
20369 #ifdef HAVE_SYS_UN_H
20370 # include <sys/un.h>
20373 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20376 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20380 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20381 #include <sys/socket.h>
20382 #ifdef HAVE_SYS_UN_H
20383 # include <sys/un.h>
20386 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20389 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20395 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20396 #ifdef HAVE_SCSI_SG_H
20397 #include <scsi/sg.h>
20400 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20403 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20407 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>
20408 #ifdef HAVE_SCSI_SG_H
20409 #include <scsi/sg.h>
20412 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20415 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20421 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20423 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20426 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20432 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20433 #ifdef HAVE_SYS_MTIO_H
20434 #include <sys/mtio.h>
20437 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20440 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20444 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20445 #ifdef HAVE_SYS_MTIO_H
20446 #include <sys/mtio.h>
20449 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20452 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20456 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#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_blkno" = xyes
20464 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20470 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20471 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20474 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20478 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20479 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20482 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20486 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20487 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20490 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20494 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20495 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20498 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20502 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20503 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20506 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20510 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20511 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20514 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20518 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20519 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20522 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20526 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20527 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20530 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20534 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20535 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20538 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 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
20560 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>
20561 #ifdef HAVE_NETINET_IN_H
20562 #include <netinet/in.h>
20565 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20568 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20574 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
20575 #include <resolv.h>
20578 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20581 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20587 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20588 #include <netinet/in.h>
20591 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20594 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20600 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20601 #ifdef HAVE_SYS_SOCKETVAR_H
20602 #include <sys/socketvar.h>
20604 #ifdef HAVE_NETINET_IN_H
20605 #include <netinet/in.h>
20607 #ifdef HAVE_NETINET_IP_VAR_H
20608 #include <netinet/ip_var.h>
20611 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20614 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20620 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
20621 #include <netinet/ip_var.h>
20624 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20627 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20633 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20634 #ifdef HAVE_SYS_SOCKETVAR_H
20635 #include <sys/socketvar.h>
20637 #ifdef HAVE_NETINET_IN_H
20638 #include <netinet/in.h>
20640 #ifdef HAVE_NETINET6_IP6_VAR_H
20641 #include <netinet6/ip6_var.h>
20644 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20647 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20653 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20654 #ifdef HAVE_SYS_SOCKETVAR_H
20655 #include <sys/socketvar.h>
20657 #ifdef HAVE_NETINET_IN_H
20658 #include <netinet/in.h>
20660 #ifdef HAVE_NETINET_IP_H
20661 #include <netinet/ip.h>
20663 #ifdef HAVE_NETINET_IP_ICMP_H
20664 #include <netinet/ip_icmp.h>
20666 #ifdef HAVE_NETINET_ICMP_VAR_H
20667 #include <netinet/icmp_var.h>
20670 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20673 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20679 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20680 #ifdef HAVE_SYS_SOCKETVAR_H
20681 #include <sys/socketvar.h>
20683 #ifdef HAVE_NETINET_IN_H
20684 #include <netinet/in.h>
20686 #ifdef HAVE_NETINET_ICMP6_H
20687 #include <netinet/icmp6.h>
20690 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20693 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20699 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20700 #ifdef HAVE_SYS_SOCKETVAR_H
20701 #include <sys/socketvar.h>
20703 #ifdef HAVE_NETINET_IN_H
20704 #include <netinet/in.h>
20706 #ifdef HAVE_NETINET_TCP_H
20707 #include <netinet/tcp.h>
20709 #ifdef HAVE_NETINET_TCP_VAR_H
20710 #include <netinet/tcp_var.h>
20713 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20716 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20722 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
20723 #include <netinet/tcp_var.h>
20726 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20729 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20735 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20736 #ifdef HAVE_NETINET_IN_H
20737 #include <netinet/in.h>
20739 #ifdef HAVE_NETINET_IP_VAR_H
20740 #include <netinet/ip_var.h>
20742 #ifdef HAVE_NETINET_UDP_H
20743 #include <netinet/udp.h>
20745 #ifdef HAVE_NETINET_UDP_VAR_H
20746 #include <netinet/udp_var.h>
20749 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20752 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20758 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20759 #ifdef HAVE_NET_IF_H
20760 # include <net/if.h>
20763 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20766 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20772 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20773 # include <sys/sysinfo.h>
20776 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20779 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20783 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20784 # include <sys/sysinfo.h>
20787 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20790 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20796 LIBS
="$ac_save_LIBS"
20798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20799 printf %s
"checking for __builtin_popcount... " >&6; }
20800 if test ${ac_cv_have___builtin_popcount+y}
20802 printf %s
"(cached) " >&6
20804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20810 return __builtin_popcount(1)
20815 if ac_fn_c_try_link
"$LINENO"
20817 ac_cv_have___builtin_popcount
="yes"
20819 ac_cv_have___builtin_popcount
="no"
20821 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20822 conftest
$ac_exeext conftest.
$ac_ext
20824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20825 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20826 if test "$ac_cv_have___builtin_popcount" = "yes"
20829 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20834 printf %s
"checking for __clear_cache... " >&6; }
20835 if test ${ac_cv_have___clear_cache+y}
20837 printf %s
"(cached) " >&6
20839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20845 __clear_cache((void*)0, (void*)0); return 0;
20850 if ac_fn_c_try_link
"$LINENO"
20852 ac_cv_have___clear_cache
="yes"
20854 ac_cv_have___clear_cache
="no"
20856 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20857 conftest
$ac_exeext conftest.
$ac_ext
20859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20860 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20861 if test "$ac_cv_have___clear_cache" = "yes"
20864 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20870 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20871 printf %s
"checking whether we need to define __i386__... " >&6; }
20872 if test ${ac_cv_cpp_def___i386__+y}
20874 printf %s
"(cached) " >&6
20876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20877 /* end confdefs.h. */
20882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20883 $EGREP "yes" >/dev
/null
2>&1
20885 ac_cv_cpp_def___i386__
=yes
20887 ac_cv_cpp_def___i386__
=no
20892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20893 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20894 if test "x$ac_cv_cpp_def___i386__" = xyes
20896 CFLAGS
="$CFLAGS -D__i386__"
20897 LINTFLAGS
="$LINTFLAGS -D__i386__"
20899 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20900 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20901 if test ${ac_cv_cpp_def___x86_64__+y}
20903 printf %s
"(cached) " >&6
20905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20906 /* end confdefs.h. */
20911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20912 $EGREP "yes" >/dev
/null
2>&1
20914 ac_cv_cpp_def___x86_64__
=yes
20916 ac_cv_cpp_def___x86_64__
=no
20921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20922 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20923 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20925 CFLAGS
="$CFLAGS -D__x86_64__"
20926 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20928 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20929 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20930 if test ${ac_cv_cpp_def___sparc64__+y}
20932 printf %s
"(cached) " >&6
20934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20936 #ifndef __sparc64__
20940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20941 $EGREP "yes" >/dev
/null
2>&1
20943 ac_cv_cpp_def___sparc64__
=yes
20945 ac_cv_cpp_def___sparc64__
=no
20950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20951 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20952 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20954 CFLAGS
="$CFLAGS -D__sparc64__"
20955 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20957 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20958 printf %s
"checking whether we need to define __sparc__... " >&6; }
20959 if test ${ac_cv_cpp_def___sparc__+y}
20961 printf %s
"(cached) " >&6
20963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20970 $EGREP "yes" >/dev
/null
2>&1
20972 ac_cv_cpp_def___sparc__
=yes
20974 ac_cv_cpp_def___sparc__
=no
20979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20980 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20981 if test "x$ac_cv_cpp_def___sparc__" = xyes
20983 CFLAGS
="$CFLAGS -D__sparc__"
20984 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20986 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20987 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20988 if test ${ac_cv_cpp_def___powerpc64__+y}
20990 printf %s
"(cached) " >&6
20992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20994 #ifndef __powerpc64__
20998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20999 $EGREP "yes" >/dev
/null
2>&1
21001 ac_cv_cpp_def___powerpc64__
=yes
21003 ac_cv_cpp_def___powerpc64__
=no
21008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21009 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21010 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21012 CFLAGS
="$CFLAGS -D__powerpc64__"
21013 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21015 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21016 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21017 if test ${ac_cv_cpp_def___powerpc__+y}
21019 printf %s
"(cached) " >&6
21021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21022 /* end confdefs.h. */
21023 #ifndef __powerpc__
21027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21028 $EGREP "yes" >/dev
/null
2>&1
21030 ac_cv_cpp_def___powerpc__
=yes
21032 ac_cv_cpp_def___powerpc__
=no
21037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21038 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21039 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21041 CFLAGS
="$CFLAGS -D__powerpc__"
21042 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21044 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21045 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21046 if test ${ac_cv_cpp_def___aarch64__+y}
21048 printf %s
"(cached) " >&6
21050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21052 #ifndef __aarch64__
21056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21057 $EGREP "yes" >/dev
/null
2>&1
21059 ac_cv_cpp_def___aarch64__
=yes
21061 ac_cv_cpp_def___aarch64__
=no
21066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21067 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21068 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21070 CFLAGS
="$CFLAGS -D__aarch64__"
21071 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21073 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21074 printf %s
"checking whether we need to define __arm__... " >&6; }
21075 if test ${ac_cv_cpp_def___arm__+y}
21077 printf %s
"(cached) " >&6
21079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21080 /* end confdefs.h. */
21085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21086 $EGREP "yes" >/dev
/null
2>&1
21088 ac_cv_cpp_def___arm__
=yes
21090 ac_cv_cpp_def___arm__
=no
21095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21096 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21097 if test "x$ac_cv_cpp_def___arm__" = xyes
21099 CFLAGS
="$CFLAGS -D__arm__"
21100 LINTFLAGS
="$LINTFLAGS -D__arm__"
21104 case $host_vendor in
21105 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21106 printf %s
"checking whether we need to define __sun__... " >&6; }
21107 if test ${ac_cv_cpp_def___sun__+y}
21109 printf %s
"(cached) " >&6
21111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21118 $EGREP "yes" >/dev
/null
2>&1
21120 ac_cv_cpp_def___sun__
=yes
21122 ac_cv_cpp_def___sun__
=no
21127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21128 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21129 if test "x$ac_cv_cpp_def___sun__" = xyes
21131 CFLAGS
="$CFLAGS -D__sun__"
21132 LINTFLAGS
="$LINTFLAGS -D__sun__"
21140 ac_config_commands
="$ac_config_commands include/stamp-h"
21142 printf %s
"creating Makefile rules..." >&6
21145 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21148 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21150 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21151 wine_fn_config_symlink wine
21152 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21153 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21154 wine_fn_config_symlink wine64
21157 wine_fn_config_makefile dlls
/acledit enable_acledit
21158 wine_fn_config_makefile dlls
/aclui enable_aclui
21159 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21160 wine_fn_config_makefile dlls
/activeds enable_activeds
21161 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21162 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21163 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21164 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21165 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21166 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21167 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21168 wine_fn_config_makefile dlls
/advpack enable_advpack
21169 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21170 wine_fn_config_makefile dlls
/amsi enable_amsi
21171 wine_fn_config_makefile dlls
/amstream enable_amstream
21172 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21173 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21174 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21175 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21176 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21177 wine_fn_config_makefile dlls
/atl enable_atl
21178 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21179 wine_fn_config_makefile dlls
/atl100 enable_atl100
21180 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21181 wine_fn_config_makefile dlls
/atl110 enable_atl110
21182 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21183 wine_fn_config_makefile dlls
/atl80 enable_atl80
21184 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21185 wine_fn_config_makefile dlls
/atl90 enable_atl90
21186 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21187 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21188 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21189 wine_fn_config_makefile dlls
/authz enable_authz
21190 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21191 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21192 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21193 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21194 wine_fn_config_makefile dlls
/avrt enable_avrt
21195 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21196 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21197 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21198 wine_fn_config_makefile dlls
/browseui enable_browseui
21199 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21200 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21201 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21202 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21203 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21204 wine_fn_config_makefile dlls
/cards enable_cards
21205 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21206 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21207 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21208 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21209 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21210 wine_fn_config_makefile dlls
/combase enable_combase
21211 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21212 wine_fn_config_makefile dlls
/comcat enable_comcat
21213 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21214 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21215 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21216 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21217 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21218 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21219 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21220 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21221 wine_fn_config_makefile dlls
/compstui enable_compstui
21222 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21223 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21224 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21225 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21226 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21227 wine_fn_config_makefile dlls
/connect enable_connect
21228 wine_fn_config_makefile dlls
/credui enable_credui
21229 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21230 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21231 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21232 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21233 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21234 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21235 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21236 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21237 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21238 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21239 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21240 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21241 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21242 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21243 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21244 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21245 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21246 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21247 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21248 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21249 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21250 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21251 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21252 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21253 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21254 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21255 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21256 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21257 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21258 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21259 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21260 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21261 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21262 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21263 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21264 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21265 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21266 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21267 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21268 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21269 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21270 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21271 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21272 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21273 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21274 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21275 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21276 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21277 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21278 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21279 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21280 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21281 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21282 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21283 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21284 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21285 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21286 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21287 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21288 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21289 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21290 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21291 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21292 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21293 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21294 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21295 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21296 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21297 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21298 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21299 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21300 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21301 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21302 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21303 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21304 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21305 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21306 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21307 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21308 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21309 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21310 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21311 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21312 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21313 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21314 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21315 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21316 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21317 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21318 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21319 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21320 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21321 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21322 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21323 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21324 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21325 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21326 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21327 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21328 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21329 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21330 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21331 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21332 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21333 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21334 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21335 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21336 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21337 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21338 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21339 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21340 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21341 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21342 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21343 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21344 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21345 wine_fn_config_makefile dlls
/devenum enable_devenum
21346 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21347 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21348 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21349 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21350 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21351 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21352 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21353 wine_fn_config_makefile dlls
/dinput enable_dinput
21354 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21355 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21356 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21357 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21358 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21359 wine_fn_config_makefile dlls
/dispex enable_dispex
21360 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21361 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21362 wine_fn_config_makefile dlls
/dmband enable_dmband
21363 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21364 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21365 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21366 wine_fn_config_makefile dlls
/dmime enable_dmime
21367 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21368 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21369 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21370 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21371 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21372 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21373 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21374 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21375 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21376 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21377 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21378 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21379 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21380 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21381 wine_fn_config_makefile dlls
/dplay enable_dplay
21382 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21383 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21384 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21385 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21386 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21387 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21388 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21389 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21390 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21391 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21392 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21393 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21394 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21395 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21396 wine_fn_config_makefile dlls
/dsound enable_dsound
21397 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21398 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21399 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21400 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21401 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21402 wine_fn_config_makefile dlls
/dswave enable_dswave
21403 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21404 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21405 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21406 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21407 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21408 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21409 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21410 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21411 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21412 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21413 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21414 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21415 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21416 wine_fn_config_makefile dlls
/esent enable_esent
21417 wine_fn_config_makefile dlls
/evr enable_evr
21418 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21419 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21420 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21421 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21422 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21423 wine_fn_config_makefile dlls
/feclient enable_feclient
21424 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21425 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21426 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21427 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21428 wine_fn_config_makefile dlls
/fusion enable_fusion
21429 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21430 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21431 wine_fn_config_makefile dlls
/gameux enable_gameux
21432 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21433 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21434 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21435 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21436 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21437 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21438 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21439 wine_fn_config_makefile dlls
/geolocation enable_geolocation
21440 wine_fn_config_makefile dlls
/geolocation
/tests enable_tests
21441 wine_fn_config_makefile dlls
/glu32 enable_glu32
21442 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21443 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21444 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21445 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21446 wine_fn_config_makefile dlls
/hal enable_hal
21447 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21448 wine_fn_config_makefile dlls
/hid enable_hid
21449 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21450 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21451 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21452 wine_fn_config_makefile dlls
/hlink enable_hlink
21453 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21454 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21455 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21456 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21457 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21458 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21459 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21460 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21461 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21462 wine_fn_config_makefile dlls
/icmp enable_icmp
21463 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21464 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21465 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21466 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21467 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21468 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21469 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21470 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21471 wine_fn_config_makefile dlls
/imm32 enable_imm32
21472 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21473 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21474 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21475 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21476 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21477 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21478 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21479 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21480 wine_fn_config_makefile dlls
/initpki enable_initpki
21481 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21482 wine_fn_config_makefile dlls
/inseng enable_inseng
21483 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21484 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21485 wine_fn_config_makefile dlls
/iprop enable_iprop
21486 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21487 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21488 wine_fn_config_makefile dlls
/itircl enable_itircl
21489 wine_fn_config_makefile dlls
/itss enable_itss
21490 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21491 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21492 wine_fn_config_makefile dlls
/jscript enable_jscript
21493 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21494 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21495 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21496 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21497 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21498 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21499 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21500 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21501 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21502 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21503 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21504 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21505 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21506 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21507 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21508 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21509 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21510 wine_fn_config_makefile dlls
/localspl enable_localspl
21511 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21512 wine_fn_config_makefile dlls
/localui enable_localui
21513 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21514 wine_fn_config_makefile dlls
/lz32 enable_lz32
21515 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21516 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21517 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21518 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21519 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21520 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21521 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21522 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21523 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21524 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21525 wine_fn_config_makefile dlls
/mf enable_mf
21526 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21527 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21528 wine_fn_config_makefile dlls
/mferror enable_mferror
21529 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21530 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21531 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21532 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21533 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21534 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21535 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21536 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21537 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21538 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21539 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21540 wine_fn_config_makefile dlls
/midimap enable_midimap
21541 wine_fn_config_makefile dlls
/mlang enable_mlang
21542 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21543 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21544 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21545 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21546 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21547 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21548 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21549 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21550 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21551 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21552 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21553 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21554 wine_fn_config_makefile dlls
/mpr enable_mpr
21555 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21556 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21557 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21558 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21559 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21560 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21561 wine_fn_config_makefile dlls
/msado15 enable_msado15
21562 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21563 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21564 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21565 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21566 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21567 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21568 wine_fn_config_makefile dlls
/mscms enable_mscms
21569 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21570 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21571 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21572 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21573 wine_fn_config_makefile dlls
/msctf enable_msctf
21574 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21575 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21576 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21577 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21578 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21579 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21580 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21581 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21582 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21584 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21585 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21586 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21587 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21588 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21589 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21590 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21591 wine_fn_config_makefile dlls
/msi enable_msi
21592 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21593 wine_fn_config_makefile dlls
/msident enable_msident
21594 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21595 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21596 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21597 wine_fn_config_makefile dlls
/msisip enable_msisip
21598 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21599 wine_fn_config_makefile dlls
/msls31 enable_msls31
21600 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21601 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21602 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21603 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21604 wine_fn_config_makefile dlls
/msports enable_msports
21605 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21606 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21607 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21608 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21609 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21610 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21611 wine_fn_config_makefile dlls
/mstask enable_mstask
21612 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21613 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21614 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21615 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21616 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21617 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21618 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21619 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21620 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21621 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21622 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21623 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21624 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21625 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21626 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21627 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21628 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21629 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21630 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21631 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21632 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21633 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21634 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21635 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21636 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21637 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21638 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21639 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21640 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21641 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21642 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21643 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21644 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21645 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21646 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21647 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21648 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21649 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21650 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21651 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21652 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21653 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21654 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21655 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21656 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21657 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21658 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21659 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21660 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21661 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21662 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21663 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21664 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21665 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21666 wine_fn_config_makefile dlls
/msxml enable_msxml
21667 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21668 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21669 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21670 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21671 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21672 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21673 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21674 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21675 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21676 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21677 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21678 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21679 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21680 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21681 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21682 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21683 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21684 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21685 wine_fn_config_makefile dlls
/netutils enable_netutils
21686 wine_fn_config_makefile dlls
/newdev enable_newdev
21687 wine_fn_config_makefile dlls
/ninput enable_ninput
21688 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21689 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21690 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21691 wine_fn_config_makefile dlls
/npptools enable_npptools
21692 wine_fn_config_makefile dlls
/nsi enable_nsi
21693 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21694 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21695 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21696 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21697 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21698 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21699 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21700 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21701 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21702 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21703 wine_fn_config_makefile dlls
/objsel enable_objsel
21704 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21705 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21706 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21707 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21708 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21709 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21710 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21711 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21712 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21713 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21714 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21715 wine_fn_config_makefile dlls
/ole32 enable_ole32
21716 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21717 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21718 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21719 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21720 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21721 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21722 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21723 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21724 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21725 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21726 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21727 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21728 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21729 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21730 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21731 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21732 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21733 wine_fn_config_makefile dlls
/opencl enable_opencl
21734 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21735 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21736 wine_fn_config_makefile dlls
/packager enable_packager
21737 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21738 wine_fn_config_makefile dlls
/pdh enable_pdh
21739 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21740 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21741 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21742 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21743 wine_fn_config_makefile dlls
/printui enable_printui
21744 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21745 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21746 wine_fn_config_makefile dlls
/propsys enable_propsys
21747 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21748 wine_fn_config_makefile dlls
/psapi enable_psapi
21749 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21750 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21751 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21752 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21753 wine_fn_config_makefile dlls
/qasf enable_qasf
21754 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21755 wine_fn_config_makefile dlls
/qcap enable_qcap
21756 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21757 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21758 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21759 wine_fn_config_makefile dlls
/qedit enable_qedit
21760 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21761 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21762 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21763 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21764 wine_fn_config_makefile dlls
/quartz enable_quartz
21765 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21766 wine_fn_config_makefile dlls
/query enable_query
21767 wine_fn_config_makefile dlls
/qwave enable_qwave
21768 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21769 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21770 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21771 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21772 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21773 wine_fn_config_makefile dlls
/regapi enable_regapi
21774 wine_fn_config_makefile dlls
/resutils enable_resutils
21775 wine_fn_config_makefile dlls
/riched20 enable_riched20
21776 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21777 wine_fn_config_makefile dlls
/riched32 enable_riched32
21778 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21779 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21780 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21781 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21782 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21783 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21784 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21785 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21786 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21787 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21788 wine_fn_config_makefile dlls
/samlib enable_samlib
21789 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21790 wine_fn_config_makefile dlls
/sapi enable_sapi
21791 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21792 wine_fn_config_makefile dlls
/sas enable_sas
21793 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21794 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21795 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21796 wine_fn_config_makefile dlls
/schannel enable_schannel
21797 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21798 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21799 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21800 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21801 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21802 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21803 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21804 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21805 wine_fn_config_makefile dlls
/sechost enable_sechost
21806 wine_fn_config_makefile dlls
/secur32 enable_secur32
21807 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21808 wine_fn_config_makefile dlls
/security enable_security
21809 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21810 wine_fn_config_makefile dlls
/serialui enable_serialui
21811 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21812 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21813 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21814 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21815 wine_fn_config_makefile dlls
/sfc enable_sfc
21816 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21817 wine_fn_config_makefile dlls
/shcore enable_shcore
21818 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21819 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21820 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21821 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21822 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21823 wine_fn_config_makefile dlls
/shell32 enable_shell32
21824 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21825 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21826 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21827 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21828 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21829 wine_fn_config_makefile dlls
/slc enable_slc
21830 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21831 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21832 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21833 wine_fn_config_makefile dlls
/softpub enable_softpub
21834 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21835 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21836 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21837 wine_fn_config_makefile dlls
/sppc enable_sppc
21838 wine_fn_config_makefile dlls
/srclient enable_srclient
21839 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21840 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21841 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21842 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21843 wine_fn_config_makefile dlls
/sti enable_sti
21844 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21845 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21846 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21847 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21848 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21849 wine_fn_config_makefile dlls
/sxs enable_sxs
21850 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21851 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21852 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21853 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21854 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21855 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21856 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21857 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21858 wine_fn_config_makefile dlls
/tbs enable_tbs
21859 wine_fn_config_makefile dlls
/tdh enable_tdh
21860 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21861 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21862 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21863 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21864 wine_fn_config_makefile dlls
/traffic enable_traffic
21865 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21866 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21867 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21868 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21869 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21870 wine_fn_config_makefile dlls
/tzres enable_tzres
21871 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21872 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21873 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21874 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21875 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21876 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21877 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21878 wine_fn_config_makefile dlls
/unicows enable_unicows
21879 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21880 wine_fn_config_makefile dlls
/url enable_url
21881 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21882 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21883 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21884 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21885 wine_fn_config_makefile dlls
/user32 enable_user32
21886 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21887 wine_fn_config_makefile dlls
/userenv enable_userenv
21888 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21889 wine_fn_config_makefile dlls
/usp10 enable_usp10
21890 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21891 wine_fn_config_makefile dlls
/utildll enable_utildll
21892 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21893 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21894 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21895 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21896 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21897 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21898 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21899 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21900 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21901 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21902 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21903 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21904 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21905 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21906 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21907 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21908 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21909 wine_fn_config_makefile dlls
/version enable_version
21910 wine_fn_config_makefile dlls
/version
/tests enable_tests
21911 wine_fn_config_makefile dlls
/vga enable_vga
21912 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21913 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21914 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21915 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21916 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21917 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21918 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21919 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21920 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21921 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21922 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21923 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21924 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21925 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21926 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21927 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21928 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21929 wine_fn_config_makefile dlls
/webservices enable_webservices
21930 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21931 wine_fn_config_makefile dlls
/websocket enable_websocket
21932 wine_fn_config_makefile dlls
/wer enable_wer
21933 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21934 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21935 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21936 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21937 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21938 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21939 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21940 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21941 wine_fn_config_makefile dlls
/win32u enable_win32u
21942 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21943 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21944 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21945 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21946 wine_fn_config_makefile dlls
/windows.devices.bluetooth enable_windows_devices_bluetooth
21947 wine_fn_config_makefile dlls
/windows.devices.bluetooth
/tests enable_tests
21948 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21949 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21950 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21951 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21952 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21953 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21954 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21955 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21956 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21957 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21958 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21959 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21960 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21961 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21962 wine_fn_config_makefile dlls
/windows.networking.hostname enable_windows_networking_hostname
21963 wine_fn_config_makefile dlls
/windows.networking.hostname
/tests enable_tests
21964 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21965 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21966 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21967 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21968 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21969 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21970 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21971 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21972 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21973 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21974 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21975 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21976 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21977 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21978 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21979 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21980 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21981 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21982 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21983 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21984 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21985 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21986 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21987 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21988 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21989 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21990 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21991 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21992 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21993 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21994 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21995 wine_fn_config_makefile dlls
/wing32 enable_wing32
21996 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21997 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21998 wine_fn_config_makefile dlls
/wininet enable_wininet
21999 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22000 wine_fn_config_makefile dlls
/winmm enable_winmm
22001 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22002 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22003 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22004 wine_fn_config_makefile dlls
/winprint enable_winprint
22005 wine_fn_config_makefile dlls
/winscard enable_winscard
22006 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
22007 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22008 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22009 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22010 wine_fn_config_makefile dlls
/winsta enable_winsta
22011 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22012 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22013 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22014 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22015 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22016 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22017 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22018 wine_fn_config_makefile dlls
/winusb enable_winusb
22019 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22020 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22021 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22022 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22023 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22024 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22025 wine_fn_config_makefile dlls
/wmi enable_wmi
22026 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22027 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22028 wine_fn_config_makefile dlls
/wmp enable_wmp
22029 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22030 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22031 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22032 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22033 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22034 wine_fn_config_makefile dlls
/wofutil enable_wofutil
22035 wine_fn_config_makefile dlls
/wow32 enable_win16
22036 wine_fn_config_makefile dlls
/wow64 enable_wow64
22037 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22038 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22039 wine_fn_config_makefile dlls
/wpc enable_wpc
22040 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22041 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22042 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
22043 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22044 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22045 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22046 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22047 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22048 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22049 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22050 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22051 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22052 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22053 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22054 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22055 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22056 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22057 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22058 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22059 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22060 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22061 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22062 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22063 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22064 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22065 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22066 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22067 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22068 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22069 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22070 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22071 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22072 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22073 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22074 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22075 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22076 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22077 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22078 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22079 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22080 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22081 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22082 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22083 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22084 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22085 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22086 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22087 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22088 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22089 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22090 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22091 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22092 wine_fn_config_makefile dlls
/xaudio2_
8/tests enable_tests
22093 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22094 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22095 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22096 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22097 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22098 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22099 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22100 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22101 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22102 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22103 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22104 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22105 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22106 wine_fn_config_makefile fonts enable_fonts
22107 wine_fn_config_makefile include enable_include
22108 wine_fn_config_makefile libs
/adsiid enable_adsiid
22109 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22110 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22111 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22112 wine_fn_config_makefile libs
/dxguid enable_dxguid
22113 wine_fn_config_makefile libs
/faudio enable_faudio
22114 wine_fn_config_makefile libs
/gsm enable_gsm
22115 wine_fn_config_makefile libs
/jpeg enable_jpeg
22116 wine_fn_config_makefile libs
/jxr enable_jxr
22117 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22118 wine_fn_config_makefile libs
/ldap enable_ldap
22119 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22120 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22121 wine_fn_config_makefile libs
/musl enable_musl
22122 wine_fn_config_makefile libs
/png enable_png
22123 wine_fn_config_makefile libs
/strmbase enable_strmbase
22124 wine_fn_config_makefile libs
/strmiids enable_strmiids
22125 wine_fn_config_makefile libs
/tiff enable_tiff
22126 wine_fn_config_makefile libs
/uuid enable_uuid
22127 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22128 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22129 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22130 wine_fn_config_makefile libs
/xml2 enable_xml2
22131 wine_fn_config_makefile libs
/xslt enable_xslt
22132 wine_fn_config_makefile libs
/zlib enable_zlib
22133 wine_fn_config_makefile libs
/zydis enable_zydis
22134 wine_fn_config_makefile loader enable_loader
22135 wine_fn_config_makefile nls enable_nls
22136 wine_fn_config_makefile po enable_po
22137 wine_fn_config_makefile programs
/arp enable_arp
22138 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22139 wine_fn_config_makefile programs
/attrib enable_attrib
22140 wine_fn_config_makefile programs
/cabarc enable_cabarc
22141 wine_fn_config_makefile programs
/cacls enable_cacls
22142 wine_fn_config_makefile programs
/certutil enable_certutil
22143 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22144 wine_fn_config_makefile programs
/clock enable_clock
22145 wine_fn_config_makefile programs
/cmd enable_cmd
22146 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22147 wine_fn_config_makefile programs
/conhost enable_conhost
22148 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22149 wine_fn_config_makefile programs
/control enable_control
22150 wine_fn_config_makefile programs
/cscript enable_cscript
22151 wine_fn_config_makefile programs
/dism enable_dism
22152 wine_fn_config_makefile programs
/dllhost enable_dllhost
22153 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22154 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22155 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22156 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22157 wine_fn_config_makefile programs
/eject enable_eject
22158 wine_fn_config_makefile programs
/expand enable_expand
22159 wine_fn_config_makefile programs
/explorer enable_explorer
22160 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22161 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22162 wine_fn_config_makefile programs
/fc enable_fc
22163 wine_fn_config_makefile programs
/find enable_find
22164 wine_fn_config_makefile programs
/find
/tests enable_tests
22165 wine_fn_config_makefile programs
/findstr enable_findstr
22166 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22167 wine_fn_config_makefile programs
/fsutil enable_fsutil
22168 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22169 wine_fn_config_makefile programs
/hh enable_hh
22170 wine_fn_config_makefile programs
/hostname enable_hostname
22171 wine_fn_config_makefile programs
/icacls enable_icacls
22172 wine_fn_config_makefile programs
/icinfo enable_icinfo
22173 wine_fn_config_makefile programs
/iexplore enable_iexplore
22174 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22175 wine_fn_config_makefile programs
/lodctr enable_lodctr
22176 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22177 wine_fn_config_makefile programs
/mshta enable_mshta
22178 wine_fn_config_makefile programs
/msidb enable_msidb
22179 wine_fn_config_makefile programs
/msiexec enable_msiexec
22180 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22181 wine_fn_config_makefile programs
/net enable_net
22182 wine_fn_config_makefile programs
/netsh enable_netsh
22183 wine_fn_config_makefile programs
/netstat enable_netstat
22184 wine_fn_config_makefile programs
/ngen enable_ngen
22185 wine_fn_config_makefile programs
/notepad enable_notepad
22186 wine_fn_config_makefile programs
/oleview enable_oleview
22187 wine_fn_config_makefile programs
/ping enable_ping
22188 wine_fn_config_makefile programs
/plugplay enable_plugplay
22189 wine_fn_config_makefile programs
/pnputil enable_pnputil
22190 wine_fn_config_makefile programs
/powershell enable_powershell
22191 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22192 wine_fn_config_makefile programs
/progman enable_progman
22193 wine_fn_config_makefile programs
/reg enable_reg
22194 wine_fn_config_makefile programs
/reg
/tests enable_tests
22195 wine_fn_config_makefile programs
/regasm enable_regasm
22196 wine_fn_config_makefile programs
/regedit enable_regedit
22197 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22198 wine_fn_config_makefile programs
/regini enable_regini
22199 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22200 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22201 wine_fn_config_makefile programs
/robocopy enable_robocopy
22202 wine_fn_config_makefile programs
/rpcss enable_rpcss
22203 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22204 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22205 wine_fn_config_makefile programs
/sc enable_sc
22206 wine_fn_config_makefile programs
/sc
/tests enable_tests
22207 wine_fn_config_makefile programs
/schtasks enable_schtasks
22208 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22209 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22210 wine_fn_config_makefile programs
/secedit enable_secedit
22211 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22212 wine_fn_config_makefile programs
/services enable_services
22213 wine_fn_config_makefile programs
/services
/tests enable_tests
22214 wine_fn_config_makefile programs
/setx enable_setx
22215 wine_fn_config_makefile programs
/shutdown enable_shutdown
22216 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22217 wine_fn_config_makefile programs
/start enable_start
22218 wine_fn_config_makefile programs
/subst enable_subst
22219 wine_fn_config_makefile programs
/svchost enable_svchost
22220 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22221 wine_fn_config_makefile programs
/taskkill enable_taskkill
22222 wine_fn_config_makefile programs
/tasklist enable_tasklist
22223 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22224 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22225 wine_fn_config_makefile programs
/termsv enable_termsv
22226 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22227 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22228 wine_fn_config_makefile programs
/view enable_view
22229 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22230 wine_fn_config_makefile programs
/where enable_where
22231 wine_fn_config_makefile programs
/whoami enable_whoami
22232 wine_fn_config_makefile programs
/wineboot enable_wineboot
22233 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22234 wine_fn_config_makefile programs
/winecfg enable_winecfg
22235 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22236 wine_fn_config_makefile programs
/winedbg enable_winedbg
22237 wine_fn_config_makefile programs
/winedevice enable_winedevice
22238 wine_fn_config_makefile programs
/winefile enable_winefile
22239 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22240 wine_fn_config_makefile programs
/winemine enable_winemine
22241 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22242 wine_fn_config_makefile programs
/winepath enable_winepath
22243 wine_fn_config_makefile programs
/winetest enable_winetest
22244 wine_fn_config_makefile programs
/winevdm enable_win16
22245 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22246 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22247 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22248 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22249 wine_fn_config_makefile programs
/winver enable_winver
22250 wine_fn_config_makefile programs
/wmic enable_wmic
22251 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22252 wine_fn_config_makefile programs
/wordpad enable_wordpad
22253 wine_fn_config_makefile programs
/write enable_write
22254 wine_fn_config_makefile programs
/wscript enable_wscript
22255 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22256 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22257 wine_fn_config_makefile programs
/wusa enable_wusa
22258 wine_fn_config_makefile programs
/xcopy enable_xcopy
22259 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22260 wine_fn_config_makefile server enable_server
22261 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22262 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22263 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22264 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22265 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22266 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22267 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22268 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22269 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22272 as_fn_append CONFIGURE_TARGETS
" TAGS"
22273 as_fn_append CONFIGURE_TARGETS
" tags"
22274 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22275 as_fn_append CONFIGURE_TARGETS
" config.log"
22276 as_fn_append CONFIGURE_TARGETS
" config.status"
22277 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22278 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22279 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22281 if test "x$enable_tools" != xno
22283 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22284 ac_config_commands
="$ac_config_commands tools/makedep"
22288 ac_config_commands
="$ac_config_commands Makefile"
22295 as_fn_append wine_rules
"
22297 @echo \"Wine build complete.\"
22301 Makefile: config.status \$(MAKEDEP)
22302 @./config.status Makefile
22303 depend: \$(MAKEDEP)
22304 \$(MAKEDEP)$makedep_flags"
22307 as_fn_append wine_rules
"
22308 config.status: ${wine_srcdir}configure
22309 @./config.status --recheck
22310 include/config.h: include/stamp-h
22311 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22312 @./config.status include/config.h include/stamp-h"
22314 if test "x$enable_maintainer_mode" = xyes
22316 as_fn_append wine_rules
"
22317 configure: configure.ac aclocal.m4
22318 autoconf --warnings=all
22319 include/config.h.in: include/stamp-h.in
22320 include/stamp-h.in: configure.ac aclocal.m4
22321 autoheader --warnings=all
22322 @echo timestamp > \$@"
22325 if test "x$enable_tools" != xno
22327 as_fn_append wine_rules
"
22328 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22329 @./config.status tools/makedep
22330 Makefile: tools/makedep$ac_exeext"
22332 as_fn_append wine_rules
"
22334 @echo \"You need to run make in $toolsdir first\" && false"
22338 if test -n "$with_wine64"
22340 case "$with_wine64" in
22344 rm -f fonts server
2>/dev
/null
22345 as_fn_append wine_rules
"
22346 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22347 loader/wine64 loader/wine64-preloader:
22348 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22349 $with_wine64/loader/wine:
22350 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22351 $with_wine64/loader/wine-preloader:
22352 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22354 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22356 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22357 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22361 programs/msidb/msidb \
22362 programs/msiexec/msiexec \
22363 programs/notepad/notepad \
22364 programs/regedit/regedit \
22365 programs/regsvr32/regsvr32 \
22366 programs/wineboot/wineboot \
22367 programs/winecfg/winecfg \
22368 programs/wineconsole/wineconsole \
22369 programs/winedbg/winedbg \
22370 programs/winefile/winefile \
22371 programs/winemine/winemine \
22372 programs/winepath/winepath \
22376 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22377 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22382 as_fn_append wine_rules
"
22384 rm -rf autom4te.cache
22386 rm -f configure include/config.h.in"
22389 as_fn_append wine_rules
"
22390 dlls/ntdll/unix/version.c: dummy
22391 @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)
22392 programs/winetest/build.rc: dummy
22393 @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)
22394 programs/winetest/build.nfo:
22396 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
22397 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22398 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22401 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22403 as_fn_append wine_rules
"
22406 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22409 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22411 .PHONY: depend dummy install-manpages"
22413 printf "%s\n" " done" >&6
22414 cat >confcache
<<\_ACEOF
22415 # This file is a shell script that caches the results of configure
22416 # tests run on this system so they can be shared between configure
22417 # scripts and configure runs, see configure's option --config-cache.
22418 # It is not useful on other systems. If it contains results you don't
22419 # want to keep, you may remove or edit it.
22421 # config.status only pays attention to the cache file if you give it
22422 # the --recheck option to rerun configure.
22424 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22425 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22426 # following values.
22430 # The following way of writing the cache mishandles newlines in values,
22431 # but we know of no workaround that is simple, portable, and efficient.
22432 # So, we kill variables containing newlines.
22433 # Ultrix sh set writes to stderr and can't be redirected directly,
22434 # and sets the high bit in the cache file unless we assign to the vars.
22436 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22437 eval ac_val
=\$
$ac_var
22441 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22442 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22445 _ | IFS | as_nl
) ;; #(
22446 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22447 *) { eval $ac_var=; unset $ac_var;} ;;
22453 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22454 *${as_nl}ac_space
=\
*)
22455 # `set' does not quote correctly, so add quotes: double-quote
22456 # substitution turns \\\\ into \\, and sed turns \\ into \.
22459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22462 # `set' quotes correctly as required by POSIX, so do not add quotes.
22463 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22472 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22474 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22476 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22477 if test -w "$cache_file"; then
22478 if test "x$cache_file" != "x/dev/null"; then
22479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22480 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22481 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22482 cat confcache
>"$cache_file"
22484 case $cache_file in #(
22486 mv -f confcache
"$cache_file"$$
&&
22487 mv -f "$cache_file"$$
"$cache_file" ;; #(
22489 mv -f confcache
"$cache_file" ;;
22494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22495 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22500 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22501 # Let make expand exec_prefix.
22502 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22504 DEFS
=-DHAVE_CONFIG_H
22509 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22510 # 1. Remove the extension, and $U if already installed.
22511 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22512 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22513 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22514 # will be set to the directory where LIBOBJS objects are built.
22515 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22516 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22518 LIBOBJS
=$ac_libobjs
22520 LTLIBOBJS
=$ac_ltlibobjs
22524 : "${CONFIG_STATUS=./config.status}"
22526 ac_clean_files_save
=$ac_clean_files
22527 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22529 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22531 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22533 # Generated by $as_me.
22534 # Run this file to recreate the current configuration.
22535 # Compiler output produced by configure, useful for debugging
22536 # configure, is in config.log if it exists.
22539 ac_cs_recheck=false
22542 SHELL=\${CONFIG_SHELL-$SHELL}
22545 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22546 ## -------------------- ##
22547 ## M4sh Initialization. ##
22548 ## -------------------- ##
22550 # Be more Bourne compatible
22551 DUALCASE
=1; export DUALCASE
# for MKS sh
22553 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22557 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22558 # is contrary to our usage. Disable this feature.
22559 alias -g '${1+"$@"}'='"$@"'
22560 setopt NO_GLOB_SUBST
22562 case `(set -o) 2>/dev/null` in #(
22572 # Reset variables that may have inherited troublesome values from
22575 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22576 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22577 # side effect of setting IFS to empty, thus disabling word splitting.)
22578 # Quoting is to prevent editors from complaining about space-tab.
22588 # Ensure predictable behavior from utilities with locale-dependent output.
22594 # We cannot yet rely on "unset" to work, but we need these variables
22595 # to be unset--not just set to an empty or harmless value--now, to
22596 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22597 # also avoids known problems related to "unset" and subshell syntax
22598 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22599 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22600 do eval test \
${$as_var+y} \
22601 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22604 # Ensure that fds 0, 1, and 2 are open.
22605 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22606 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22607 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22609 # The user is always right.
22610 if ${PATH_SEPARATOR+false} :; then
22612 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22613 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22619 # Find who we are. Look in the path if we contain no directory separator.
22622 *[\\/]* ) as_myself
=$0 ;;
22623 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22624 for as_dir
in $PATH
22627 case $as_dir in #(((
22630 *) as_dir
=$as_dir/ ;;
22632 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22638 # We did not find ourselves, most probably we were run as `sh COMMAND'
22639 # in which case we are not to be found in the path.
22640 if test "x$as_myself" = x
; then
22643 if test ! -f "$as_myself"; then
22644 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22650 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22651 # ----------------------------------------
22652 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22653 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22654 # script with STATUS, using 1 if that was 0.
22657 as_status
=$1; test $as_status -eq 0 && as_status
=1
22659 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22662 printf "%s\n" "$as_me: error: $2" >&2
22663 as_fn_exit
$as_status
22668 # as_fn_set_status STATUS
22669 # -----------------------
22670 # Set $? to STATUS, without forking.
22671 as_fn_set_status
()
22674 } # as_fn_set_status
22676 # as_fn_exit STATUS
22677 # -----------------
22678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22682 as_fn_set_status
$1
22688 # Portably unset VAR.
22691 { eval $1=; unset $1;}
22693 as_unset
=as_fn_unset
22695 # as_fn_append VAR VALUE
22696 # ----------------------
22697 # Append the text in VALUE to the end of the definition contained in VAR. Take
22698 # advantage of any shell optimizations that allow amortized linear growth over
22699 # repeated appends, instead of the typical quadratic growth present in naive
22701 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22703 eval 'as_fn_append ()
22714 # as_fn_arith ARG...
22715 # ------------------
22716 # Perform arithmetic evaluation on the ARGs, and store the result in the
22717 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22718 # must be portable across $(()) and expr.
22719 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22721 eval 'as_fn_arith ()
22728 as_val
=`expr "$@" || test $? -eq 1`
22733 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22734 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22740 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22741 as_basename
=basename
22746 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22752 as_me
=`$as_basename -- "$0" ||
22753 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22754 X"$0" : 'X\(//\)$' \| \
22755 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22756 printf "%s\n" X/"$0" |
22757 sed '/^.*\/\([^/][^/]*\)\/*$/{
22771 # Avoid depending upon Character Ranges.
22772 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22773 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22774 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22775 as_cr_digits
='0123456789'
22776 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22779 # Determine whether it's possible to make 'echo' print without a newline.
22780 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22781 # for compatibility with existing Makefiles.
22782 ECHO_C
= ECHO_N
= ECHO_T
=
22783 case `echo -n x` in #(((((
22785 case `echo 'xy\c'` in
22786 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22788 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22795 # For backward compatibility with old third-party macros, we provide
22796 # the shell variables $as_echo and $as_echo_n. New code should use
22797 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22798 as_echo
='printf %s\n'
22799 as_echo_n
='printf %s'
22801 rm -f conf$$ conf$$.exe conf$$.
file
22802 if test -d conf$$.dir
; then
22803 rm -f conf$$.dir
/conf$$.
file
22806 mkdir conf$$.dir
2>/dev
/null
22808 if (echo >conf$$.
file) 2>/dev
/null
; then
22809 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22811 # ... but there are two gotchas:
22812 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22813 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22814 # In both cases, we have to default to `cp -pR'.
22815 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22817 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22825 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22826 rmdir conf$$.dir
2>/dev
/null
22831 # Create "$as_dir" as a directory, including parents if necessary.
22836 -*) as_dir
=.
/$as_dir;;
22838 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22842 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22843 *) as_qdir
=$as_dir;;
22845 as_dirs
="'$as_qdir' $as_dirs"
22846 as_dir
=`$as_dirname -- "$as_dir" ||
22847 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22848 X"$as_dir" : 'X\(//\)[^/]' \| \
22849 X"$as_dir" : 'X\(//\)$' \| \
22850 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22851 printf "%s\n" X"$as_dir" |
22852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22856 /^X\(\/\/\)[^/].*/{
22869 test -d "$as_dir" && break
22871 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22872 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22876 if mkdir
-p .
2>/dev
/null
; then
22877 as_mkdir_p
='mkdir -p "$as_dir"'
22879 test -d .
/-p && rmdir .
/-p
22884 # as_fn_executable_p FILE
22885 # -----------------------
22886 # Test if FILE is an executable regular file.
22887 as_fn_executable_p
()
22889 test -f "$1" && test -x "$1"
22890 } # as_fn_executable_p
22891 as_test_x
='test -x'
22892 as_executable_p
=as_fn_executable_p
22894 # Sed expression to map a string onto a valid CPP name.
22895 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22897 # Sed expression to map a string onto a valid variable name.
22898 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22902 ## ----------------------------------- ##
22903 ## Main body of $CONFIG_STATUS script. ##
22904 ## ----------------------------------- ##
22906 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22909 # Save the log message, to keep $0 and so on meaningful, and to
22910 # report actual input values of CONFIG_FILES etc. instead of their
22911 # values after options handling.
22913 This file was extended by Wine $as_me 8.12, which was
22914 generated by GNU Autoconf 2.71. Invocation command line was
22916 CONFIG_FILES = $CONFIG_FILES
22917 CONFIG_HEADERS = $CONFIG_HEADERS
22918 CONFIG_LINKS = $CONFIG_LINKS
22919 CONFIG_COMMANDS = $CONFIG_COMMANDS
22922 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22928 case $ac_config_headers in *"
22929 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22934 # Files that config.status was made for.
22935 config_headers="$ac_config_headers"
22936 config_links="$ac_config_links"
22937 config_commands="$ac_config_commands"
22941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22943 \`$as_me' instantiates files and other configuration actions
22944 from templates according to the current configuration. Unless the files
22945 and actions are specified as TAGs, all are instantiated by default.
22947 Usage: $0 [OPTION]... [TAG]...
22949 -h, --help print this help, then exit
22950 -V, --version print version number and configuration settings, then exit
22951 --config print configuration, then exit
22952 -q, --quiet, --silent
22953 do not print progress messages
22954 -d, --debug don't remove temporary files
22955 --recheck update $as_me by reconfiguring in the same conditions
22956 --header=FILE[:TEMPLATE]
22957 instantiate the configuration header FILE
22959 Configuration headers:
22962 Configuration links:
22965 Configuration commands:
22968 Report bugs to <wine-devel@winehq.org>.
22969 Wine home page: <https://www.winehq.org>."
22972 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22973 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22975 ac_cs_config='$ac_cs_config_escaped'
22977 Wine config.status 8.12
22978 configured by $0, generated by GNU Autoconf 2.71,
22979 with options \\"\$ac_cs_config\\"
22981 Copyright (C) 2021 Free Software Foundation, Inc.
22982 This config.status script is free software; the Free Software Foundation
22983 gives unlimited permission to copy, distribute and modify it."
22987 test -n "\$AWK" || AWK=awk
22990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22991 # The default lists apply if the user does not specify any file.
22997 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22998 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23002 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23014 # Handling of the options.
23015 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23017 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23018 printf "%s\n" "$ac_cs_version"; exit ;;
23019 --config |
--confi |
--conf |
--con |
--co |
--c )
23020 printf "%s\n" "$ac_cs_config"; exit ;;
23021 --debug |
--debu |
--deb |
--de |
--d |
-d )
23023 --header |
--heade |
--head |
--hea )
23026 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23028 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23029 ac_need_defaults
=false
;;
23031 # Conflict between --help and --header
23032 as_fn_error $?
"ambiguous option: \`$1'
23033 Try \`$0 --help' for more information.";;
23034 --help |
--hel |
-h )
23035 printf "%s\n" "$ac_cs_usage"; exit ;;
23036 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23037 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23040 # This is an error.
23041 -*) as_fn_error $?
"unrecognized option: \`$1'
23042 Try \`$0 --help' for more information." ;;
23044 *) as_fn_append ac_config_targets
" $1"
23045 ac_need_defaults
=false
;;
23051 ac_configure_extra_args
=
23053 if $ac_cs_silent; then
23055 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23060 if \$ac_cs_recheck; then
23061 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23063 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23064 CONFIG_SHELL='$SHELL'
23065 export CONFIG_SHELL
23070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23074 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23075 ## Running $as_me. ##
23077 printf "%s\n" "$ac_log"
23081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23085 wine_fn_output_makedep ()
23087 as_dir=tools; as_fn_mkdir_p
23088 $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
23090 wine_fn_output_makefile ()
23092 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23093 # This Makefile understands the following targets:
23095 # all (default): build wine
23096 # clean: remove all intermediate files
23097 # distclean: also remove all files created by configure
23099 # testclean: clean test results to force running all tests again
23100 # install-lib: install libraries needed to run applications
23101 # install-dev: install development environment
23102 # install: install everything
23103 # uninstall: uninstall everything
23104 # ctags: create a tags file for vim and others.
23105 # etags: create a TAGS file for Emacs.
23108 PATH_SEPARATOR = $PATH_SEPARATOR
23109 PACKAGE_NAME = $PACKAGE_NAME
23110 PACKAGE_TARNAME = $PACKAGE_TARNAME
23111 PACKAGE_VERSION = $PACKAGE_VERSION
23112 PACKAGE_STRING = $PACKAGE_STRING
23113 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23114 PACKAGE_URL = $PACKAGE_URL
23115 exec_prefix = $exec_prefix
23117 program_transform_name = $program_transform_name
23120 libexecdir = $libexecdir
23121 datarootdir = $datarootdir
23123 sysconfdir = $sysconfdir
23124 sharedstatedir = $sharedstatedir
23125 localstatedir = $localstatedir
23126 runstatedir = $runstatedir
23127 includedir = $includedir
23128 oldincludedir = $oldincludedir
23136 localedir = $localedir
23143 build_alias = $build_alias
23144 host_alias = $host_alias
23145 target_alias = $target_alias
23146 system_dllpath = $system_dllpath
23148 build_cpu = $build_cpu
23149 build_vendor = $build_vendor
23150 build_os = $build_os
23152 host_cpu = $host_cpu
23153 host_vendor = $host_vendor
23159 SET_MAKE = $SET_MAKE
23163 CPPFLAGS = $CPPFLAGS
23164 ac_ct_CC = $ac_ct_CC
23168 CXXFLAGS = $CXXFLAGS
23169 ac_ct_CXX = $ac_ct_CXX
23172 TARGETFLAGS = $TARGETFLAGS
23173 toolsext = $toolsext
23174 HOST_ARCH = $HOST_ARCH
23175 aarch64_CC = $aarch64_CC
23176 aarch64_CFLAGS = $aarch64_CFLAGS
23177 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23178 aarch64_LDFLAGS = $aarch64_LDFLAGS
23179 aarch64_DEBUG = $aarch64_DEBUG
23180 aarch64_TARGET = $aarch64_TARGET
23181 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23182 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23184 arm_CFLAGS = $arm_CFLAGS
23185 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23186 arm_LDFLAGS = $arm_LDFLAGS
23187 arm_DEBUG = $arm_DEBUG
23188 arm_TARGET = $arm_TARGET
23189 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23190 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23192 i386_CFLAGS = $i386_CFLAGS
23193 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23194 i386_LDFLAGS = $i386_LDFLAGS
23195 i386_DEBUG = $i386_DEBUG
23196 i386_TARGET = $i386_TARGET
23197 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23198 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23199 x86_64_CC = $x86_64_CC
23200 x86_64_CFLAGS = $x86_64_CFLAGS
23201 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23202 x86_64_LDFLAGS = $x86_64_LDFLAGS
23203 x86_64_DEBUG = $x86_64_DEBUG
23204 x86_64_TARGET = $x86_64_TARGET
23205 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23206 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23207 toolsdir = $toolsdir
23209 RUNTESTFLAGS = $RUNTESTFLAGS
23214 ac_ct_AR = $ac_ct_AR
23220 LDCONFIG = $LDCONFIG
23222 PKG_CONFIG = $PKG_CONFIG
23223 FONTFORGE = $FONTFORGE
23227 I386_LIBS = $I386_LIBS
23228 OPENGL_LIBS = $OPENGL_LIBS
23229 DLLFLAGS = $DLLFLAGS
23230 LDDLLFLAGS = $LDDLLFLAGS
23231 LDEXECFLAGS = $LDEXECFLAGS
23232 EXTRACFLAGS = $EXTRACFLAGS
23233 UNIXDLLFLAGS = $UNIXDLLFLAGS
23234 UNIXLDFLAGS = $UNIXLDFLAGS
23235 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23236 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23237 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23238 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23244 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23245 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23246 CARBON_LIBS = $CARBON_LIBS
23247 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23248 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23249 IOKIT_LIBS = $IOKIT_LIBS
23250 METAL_LIBS = $METAL_LIBS
23251 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23252 CORESERVICES_LIBS = $CORESERVICES_LIBS
23253 APPKIT_LIBS = $APPKIT_LIBS
23254 SECURITY_LIBS = $SECURITY_LIBS
23255 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23256 COREAUDIO_LIBS = $COREAUDIO_LIBS
23257 OPENCL_LIBS = $OPENCL_LIBS
23259 OBJCFLAGS = $OBJCFLAGS
23260 ac_ct_OBJC = $ac_ct_OBJC
23261 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23262 PE_ARCHS = $PE_ARCHS
23263 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23264 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23265 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23266 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23267 GSM_PE_LIBS = $GSM_PE_LIBS
23268 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23269 JPEG_PE_LIBS = $JPEG_PE_LIBS
23270 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23271 JXR_PE_LIBS = $JXR_PE_LIBS
23272 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23273 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23274 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23275 LDAP_PE_LIBS = $LDAP_PE_LIBS
23276 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23277 MPG123_PE_LIBS = $MPG123_PE_LIBS
23278 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23279 MUSL_PE_LIBS = $MUSL_PE_LIBS
23280 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23281 PNG_PE_LIBS = $PNG_PE_LIBS
23282 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23283 TIFF_PE_LIBS = $TIFF_PE_LIBS
23284 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23285 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23286 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23287 XML2_PE_LIBS = $XML2_PE_LIBS
23288 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23289 XSLT_PE_LIBS = $XSLT_PE_LIBS
23290 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23291 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23292 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23293 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23294 PTHREAD_LIBS = $PTHREAD_LIBS
23297 X_CFLAGS = $X_CFLAGS
23298 X_PRE_LIBS = $X_PRE_LIBS
23300 X_EXTRA_LIBS = $X_EXTRA_LIBS
23301 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23302 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23303 WAYLAND_SCANNER = $WAYLAND_SCANNER
23304 PCAP_LIBS = $PCAP_LIBS
23305 PCSCLITE_LIBS = $PCSCLITE_LIBS
23306 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23307 INOTIFY_LIBS = $INOTIFY_LIBS
23308 DBUS_CFLAGS = $DBUS_CFLAGS
23309 DBUS_LIBS = $DBUS_LIBS
23310 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23311 GNUTLS_LIBS = $GNUTLS_LIBS
23312 SANE_CFLAGS = $SANE_CFLAGS
23313 SANE_LIBS = $SANE_LIBS
23314 USB_CFLAGS = $USB_CFLAGS
23315 USB_LIBS = $USB_LIBS
23316 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23317 GPHOTO2_LIBS = $GPHOTO2_LIBS
23318 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23319 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23320 RESOLV_LIBS = $RESOLV_LIBS
23321 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23322 FREETYPE_LIBS = $FREETYPE_LIBS
23323 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23324 PULSE_CFLAGS = $PULSE_CFLAGS
23325 PULSE_LIBS = $PULSE_LIBS
23326 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23327 GSTREAMER_LIBS = $GSTREAMER_LIBS
23328 ALSA_LIBS = $ALSA_LIBS
23329 OSS4_CFLAGS = $OSS4_CFLAGS
23330 OSS4_LIBS = $OSS4_LIBS
23331 UDEV_CFLAGS = $UDEV_CFLAGS
23332 UDEV_LIBS = $UDEV_LIBS
23333 UNWIND_CFLAGS = $UNWIND_CFLAGS
23334 UNWIND_LIBS = $UNWIND_LIBS
23335 SDL2_CFLAGS = $SDL2_CFLAGS
23336 SDL2_LIBS = $SDL2_LIBS
23337 CAPI20_CFLAGS = $CAPI20_CFLAGS
23338 CAPI20_LIBS = $CAPI20_LIBS
23339 CUPS_CFLAGS = $CUPS_CFLAGS
23340 CUPS_LIBS = $CUPS_LIBS
23341 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23342 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23343 KRB5_CFLAGS = $KRB5_CFLAGS
23344 KRB5_LIBS = $KRB5_LIBS
23345 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23346 GSSAPI_LIBS = $GSSAPI_LIBS
23347 PROCSTAT_LIBS = $PROCSTAT_LIBS
23348 NETAPI_CFLAGS = $NETAPI_CFLAGS
23349 NETAPI_LIBS = $NETAPI_LIBS
23350 MSVCRTFLAGS = $MSVCRTFLAGS
23351 DELAYLOADFLAG = $DELAYLOADFLAG
23352 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23354 TAGSFLAGS = $TAGSFLAGS
23356 LTLIBOBJS = $LTLIBOBJS
23360 as_fn_error $? "could not create Makefile" "$LINENO" 5
23365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23367 # Handling of arguments.
23368 for ac_config_target
in $ac_config_targets
23370 case $ac_config_target in
23371 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23372 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23373 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23374 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23375 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23376 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23378 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23383 # If the user did not use the arguments to specify the items to instantiate,
23384 # then the envvar interface is used. Set only those that are not.
23385 # We use the long form for the default assignment because of an extremely
23386 # bizarre bug on SunOS 4.1.3.
23387 if $ac_need_defaults; then
23388 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23389 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23390 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23393 # Have a temporary directory for convenience. Make it in the build tree
23394 # simply because there is no reason against having it here, and in addition,
23395 # creating and moving files from /tmp can sometimes cause problems.
23396 # Hook for its removal unless debugging.
23397 # Note that there is a small window in which the directory will not be cleaned:
23398 # after its creation but before its name has been assigned to `$tmp'.
23402 trap 'exit_status=$?
23403 : "${ac_tmp:=$tmp}"
23404 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23406 trap 'as_fn_exit 1' 1 2 13 15
23408 # Create a (secure) tmp directory for tmp files.
23411 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23415 tmp
=.
/conf$$
-$RANDOM
23416 (umask 077 && mkdir
"$tmp")
23417 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23420 # Set up the scripts for CONFIG_HEADERS section.
23421 # No need to generate them if there are no CONFIG_HEADERS.
23422 # This happens for instance with `./config.status Makefile'.
23423 if test -n "$CONFIG_HEADERS"; then
23424 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23428 # Transform confdefs.h into an awk script `defines.awk', embedded as
23429 # here-document in config.status, that substitutes the proper values into
23430 # config.h.in to produce config.h.
23432 # Create a delimiter string that does not exist in confdefs.h, to ease
23433 # handling of long lines.
23435 for ac_last_try
in false false
:; do
23436 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23437 if test -z "$ac_tt"; then
23439 elif $ac_last_try; then
23440 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23442 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23446 # For the awk script, D is an array of macro values keyed by name,
23447 # likewise P contains macro parameters if any. Preserve backslash
23448 # newline sequences.
23450 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23452 s/.\{148\}/&'"$ac_delim"'/g
23455 s/^[ ]*#[ ]*define[ ][ ]*/ /
23462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23464 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23468 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23469 D["\1"]=" \3\\\\\\n"\\/p
23471 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23476 s/.\{148\}/&'"$ac_delim"'/g
23481 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23484 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23486 ' <confdefs.h |
sed '
23487 s/'"$ac_delim"'/"\\\
23488 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23491 for (key in D) D_is_set[key] = 1
23494 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23496 split(line, arg, " ")
23497 if (arg[1] == "#") {
23501 defundef = substr(arg[1], 2)
23504 split(mac1, mac2, "(") #)
23506 prefix = substr(line, 1, index(line, defundef) - 1)
23507 if (D_is_set[macro]) {
23508 # Preserve the white space surrounding the "#".
23509 print prefix "define", macro P[macro] D[macro]
23512 # Replace #undef with comments. This is necessary, for example,
23513 # in the case of _POSIX_SOURCE, which is predefined and required
23514 # on some systems where configure will not decide to define it.
23515 if (defundef == "undef") {
23516 print "/*", prefix defundef, macro, "*/"
23524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23525 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23526 fi # test -n "$CONFIG_HEADERS"
23529 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23534 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23536 case $ac_mode$ac_tag in
23538 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23539 :[FH
]-) ac_tag
=-:-;;
23540 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23557 -) ac_f
="$ac_tmp/stdin";;
23558 *) # Look for the file first in the build tree, then in the source tree
23559 # (if the path is not absolute). The absolute path cannot be DOS-style,
23560 # because $ac_f cannot contain `:'.
23564 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23566 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23568 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23569 as_fn_append ac_file_inputs
" '$ac_f'"
23572 # Let's still pretend it is `configure' which instantiates (i.e., don't
23573 # use $as_me), people would be surprised to read:
23574 # /* config.h. Generated by config.status. */
23575 configure_input
='Generated from '`
23576 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23578 if test x
"$ac_file" != x-
; then
23579 configure_input
="$ac_file. $configure_input"
23580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23581 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23583 # Neutralize special characters interpreted by sed in replacement strings.
23584 case $configure_input in #(
23585 *\
&* |
*\|
* |
*\\* )
23586 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23587 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23588 *) ac_sed_conf_input
=$configure_input;;
23592 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23593 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23598 ac_dir
=`$as_dirname -- "$ac_file" ||
23599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23600 X"$ac_file" : 'X\(//\)[^/]' \| \
23601 X"$ac_file" : 'X\(//\)$' \| \
23602 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23603 printf "%s\n" X"$ac_file" |
23604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23608 /^X\(\/\/\)[^/].*/{
23621 as_dir
="$ac_dir"; as_fn_mkdir_p
23625 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23627 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23628 # A ".." for each directory in $ac_dir_suffix.
23629 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23630 case $ac_top_builddir_sub in
23631 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23632 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23635 ac_abs_top_builddir
=$ac_pwd
23636 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23637 # for backward compatibility:
23638 ac_top_builddir
=$ac_top_build_prefix
23641 .
) # We are building in place.
23643 ac_top_srcdir
=$ac_top_builddir_sub
23644 ac_abs_top_srcdir
=$ac_pwd ;;
23645 [\\/]* | ?
:[\\/]* ) # Absolute name.
23646 ac_srcdir
=$srcdir$ac_dir_suffix;
23647 ac_top_srcdir
=$srcdir
23648 ac_abs_top_srcdir
=$srcdir ;;
23649 *) # Relative name.
23650 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23651 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23652 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23654 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23663 if test x
"$ac_file" != x-
; then
23665 printf "%s\n" "/* $configure_input */" >&1 \
23666 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23667 } >"$ac_tmp/config.h" \
23668 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23669 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23671 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23674 mv "$ac_tmp/config.h" "$ac_file" \
23675 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23678 printf "%s\n" "/* $configure_input */" >&1 \
23679 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23680 || as_fn_error $?
"could not create -" "$LINENO" 5
23688 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23691 # Prefer the file from the source tree if names are identical.
23692 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23693 ac_source
=$srcdir/$ac_source
23696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23697 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23699 if test ! -r "$ac_source"; then
23700 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23704 # Try a relative symlink, then a hard link, then a copy.
23706 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23707 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23709 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23710 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23711 cp -p "$ac_source" "$ac_file" ||
23712 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23715 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23716 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23721 case $ac_file$ac_mode in
23722 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23723 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23724 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23732 ac_clean_files
=$ac_clean_files_save
23734 test $ac_write_fail = 0 ||
23735 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23738 # configure is writing to config.log, and then calls config.status.
23739 # config.status does its own redirection, appending to config.log.
23740 # Unfortunately, on DOS this fails, as config.log is still kept open
23741 # by configure, so config.status won't be able to write to it; its
23742 # output is simply discarded. So we exec the FD to /dev/null,
23743 # effectively closing config.log, so it can be properly (re)opened and
23744 # appended to by config.status. When coming back to configure, we
23745 # need to make the FD available again.
23746 if test "$no_create" != yes; then
23748 ac_config_status_args
=
23749 test "$silent" = yes &&
23750 ac_config_status_args
="$ac_config_status_args --quiet"
23752 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23754 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23755 # would make configure fail if this is the last instruction.
23756 $ac_cs_success || as_fn_exit
1
23758 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23760 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23764 if test "$no_create" = "yes"
23770 if test "x$wine_notices" != x
; then
23773 for msg
in $wine_notices; do
23779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23780 printf "%s\n" "$as_me: $msg" >&6;}
23785 for msg
in $wine_warnings; do
23792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23793 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23799 $as_me: Finished. Do '${ac_make}' to compile Wine.