2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.8.
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.8'
615 PACKAGE_STRING
='Wine 8.8'
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
769 WINEPRELOADER_LDFLAGS
801 x86_64_DISABLED_SUBDIRS
809 i386_DISABLED_SUBDIRS
825 aarch64_DISABLED_SUBDIRS
826 aarch64_DELAYLOADFLAG
890 program_transform_name
903 enable_option_checking
909 enable_maintainer_mode
1028 enable_d3dcompiler_33
1029 enable_d3dcompiler_34
1030 enable_d3dcompiler_35
1031 enable_d3dcompiler_36
1032 enable_d3dcompiler_37
1033 enable_d3dcompiler_38
1034 enable_d3dcompiler_39
1035 enable_d3dcompiler_40
1036 enable_d3dcompiler_41
1037 enable_d3dcompiler_42
1038 enable_d3dcompiler_43
1039 enable_d3dcompiler_46
1040 enable_d3dcompiler_47
1093 enable_directmanipulation
1130 enable_explorerframe
1146 enable_graphicscapture
1189 enable_light_msstyles
1204 enable_mfmediaengine
1269 enable_msvcp140_atomic_wait
1335 enable_photometadatahandler
1412 enable_threadpoolwinrt
1415 enable_twinapi_appcore
1419 enable_uiautomationcore
1439 enable_vcruntime140_1
1457 enable_windows_devices_enumeration
1458 enable_windows_gaming_input
1459 enable_windows_gaming_ui_gamebar
1460 enable_windows_globalization
1461 enable_windows_media_devices
1462 enable_windows_media_speech
1463 enable_windows_media
1464 enable_windows_networking
1465 enable_windows_perception_stub
1466 enable_windows_system_profile_systemmanufacturers
1468 enable_windowscodecs
1469 enable_windowscodecsext
1471 enable_wineandroid_drv
1473 enable_winecoreaudio_drv
1476 enable_winegstreamer
1482 enable_winepulse_drv
1485 enable_winewayland_drv
1487 enable_winexinput_sys
1533 enable_xactengine2_0
1534 enable_xactengine2_4
1535 enable_xactengine2_7
1536 enable_xactengine2_9
1537 enable_xactengine3_0
1538 enable_xactengine3_1
1539 enable_xactengine3_2
1540 enable_xactengine3_3
1541 enable_xactengine3_4
1542 enable_xactengine3_5
1543 enable_xactengine3_6
1544 enable_xactengine3_7
1593 enable_wmcodecdspuuid
1602 enable_aspnet_regiis
1648 enable_presentationfontcache
1663 enable_servicemodelreg
1689 enable_winemenubuilder
1691 enable_winemsibuilder
1716 ac_precious_vars
='build_alias
1761 WAYLAND_CLIENT_CFLAGS
1803 # Initialize some variables set by options.
1805 ac_init_version
=false
1806 ac_unrecognized_opts
=
1807 ac_unrecognized_sep
=
1808 # The variables have the same names as the options, with
1809 # dashes changed to underlines.
1810 cache_file
=/dev
/null
1817 program_transform_name
=s
,x
,x
,
1825 # Installation directory options.
1826 # These are left unexpanded so users can "make install exec_prefix=/foo"
1827 # and all the variables that are supposed to be based on exec_prefix
1828 # by default will actually change.
1829 # Use braces instead of parens because sh, perl, etc. also accept them.
1830 # (The list follows the same order as the GNU Coding Standards.)
1831 bindir
='${exec_prefix}/bin'
1832 sbindir
='${exec_prefix}/sbin'
1833 libexecdir
='${exec_prefix}/libexec'
1834 datarootdir
='${prefix}/share'
1835 datadir
='${datarootdir}'
1836 sysconfdir
='${prefix}/etc'
1837 sharedstatedir
='${prefix}/com'
1838 localstatedir
='${prefix}/var'
1839 runstatedir
='${localstatedir}/run'
1840 includedir
='${prefix}/include'
1841 oldincludedir
='/usr/include'
1842 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1843 infodir
='${datarootdir}/info'
1848 libdir
='${exec_prefix}/lib'
1849 localedir
='${datarootdir}/locale'
1850 mandir
='${datarootdir}/man'
1856 # If the previous option needs an argument, assign it.
1857 if test -n "$ac_prev"; then
1858 eval $ac_prev=\
$ac_option
1864 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1869 case $ac_dashdash$ac_option in
1873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1876 bindir
=$ac_optarg ;;
1878 -build |
--build |
--buil |
--bui |
--bu)
1879 ac_prev
=build_alias
;;
1880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1881 build_alias
=$ac_optarg ;;
1883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1885 ac_prev
=cache_file
;;
1886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1888 cache_file
=$ac_optarg ;;
1890 --config-cache |
-C)
1891 cache_file
=config.cache
;;
1893 -datadir |
--datadir |
--datadi |
--datad)
1895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1896 datadir
=$ac_optarg ;;
1898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1899 |
--dataroo |
--dataro |
--datar)
1900 ac_prev
=datarootdir
;;
1901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1903 datarootdir
=$ac_optarg ;;
1905 -disable-* |
--disable-*)
1906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1907 # Reject names that are not valid shell variable names.
1908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1909 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1910 ac_useropt_orig
=$ac_useropt
1911 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1912 case $ac_user_opts in
1914 "enable_
$ac_useropt"
1916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1917 ac_unrecognized_sep
=', ';;
1919 eval enable_
$ac_useropt=no
;;
1921 -docdir |
--docdir |
--docdi |
--doc |
--do)
1923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1924 docdir
=$ac_optarg ;;
1926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1929 dvidir
=$ac_optarg ;;
1931 -enable-* |
--enable-*)
1932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1933 # Reject names that are not valid shell variable names.
1934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1935 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1936 ac_useropt_orig
=$ac_useropt
1937 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1938 case $ac_user_opts in
1940 "enable_
$ac_useropt"
1942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1943 ac_unrecognized_sep
=', ';;
1945 eval enable_
$ac_useropt=\
$ac_optarg ;;
1947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1949 |
--exec |
--exe |
--ex)
1950 ac_prev
=exec_prefix
;;
1951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1953 |
--exec=* |
--exe=* |
--ex=*)
1954 exec_prefix
=$ac_optarg ;;
1956 -gas |
--gas |
--ga |
--g)
1957 # Obsolete; use --with-gas.
1960 -help |
--help |
--hel |
--he |
-h)
1961 ac_init_help
=long
;;
1962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1963 ac_init_help
=recursive
;;
1964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1965 ac_init_help
=short
;;
1967 -host |
--host |
--hos |
--ho)
1968 ac_prev
=host_alias
;;
1969 -host=* |
--host=* |
--hos=* |
--ho=*)
1970 host_alias
=$ac_optarg ;;
1972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1976 htmldir
=$ac_optarg ;;
1978 -includedir |
--includedir |
--includedi |
--included |
--include \
1979 |
--includ |
--inclu |
--incl |
--inc)
1980 ac_prev
=includedir
;;
1981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1983 includedir
=$ac_optarg ;;
1985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1988 infodir
=$ac_optarg ;;
1990 -libdir |
--libdir |
--libdi |
--libd)
1992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1993 libdir
=$ac_optarg ;;
1995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1996 |
--libexe |
--libex |
--libe)
1997 ac_prev
=libexecdir
;;
1998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1999 |
--libexe=* |
--libex=* |
--libe=*)
2000 libexecdir
=$ac_optarg ;;
2002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
2003 ac_prev
=localedir
;;
2004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
2005 localedir
=$ac_optarg ;;
2007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
2008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
2009 ac_prev
=localstatedir
;;
2010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
2011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
2012 localstatedir
=$ac_optarg ;;
2014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
2016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
2017 mandir
=$ac_optarg ;;
2019 -nfp |
--nfp |
--nf)
2020 # Obsolete; use --without-fp.
2023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
2024 |
--no-cr |
--no-c |
-n)
2027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2033 |
--oldin |
--oldi |
--old |
--ol |
--o)
2034 ac_prev
=oldincludedir
;;
2035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2038 oldincludedir
=$ac_optarg ;;
2040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2043 prefix
=$ac_optarg ;;
2045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2046 |
--program-pre |
--program-pr |
--program-p)
2047 ac_prev
=program_prefix
;;
2048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2050 program_prefix
=$ac_optarg ;;
2052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2053 |
--program-suf |
--program-su |
--program-s)
2054 ac_prev
=program_suffix
;;
2055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2057 program_suffix
=$ac_optarg ;;
2059 -program-transform-name |
--program-transform-name \
2060 |
--program-transform-nam |
--program-transform-na \
2061 |
--program-transform-n |
--program-transform- \
2062 |
--program-transform |
--program-transfor \
2063 |
--program-transfo |
--program-transf \
2064 |
--program-trans |
--program-tran \
2065 |
--progr-tra |
--program-tr |
--program-t)
2066 ac_prev
=program_transform_name
;;
2067 -program-transform-name=* |
--program-transform-name=* \
2068 |
--program-transform-nam=* |
--program-transform-na=* \
2069 |
--program-transform-n=* |
--program-transform-=* \
2070 |
--program-transform=* |
--program-transfor=* \
2071 |
--program-transfo=* |
--program-transf=* \
2072 |
--program-trans=* |
--program-tran=* \
2073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2074 program_transform_name
=$ac_optarg ;;
2076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2079 pdfdir
=$ac_optarg ;;
2081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2087 |
-silent |
--silent |
--silen |
--sile |
--sil)
2090 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2091 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2092 |
--run |
--ru |
--r)
2093 ac_prev
=runstatedir
;;
2094 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2095 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2096 |
--run=* |
--ru=* |
--r=*)
2097 runstatedir
=$ac_optarg ;;
2099 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2101 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2103 sbindir
=$ac_optarg ;;
2105 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2106 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2107 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2109 ac_prev
=sharedstatedir
;;
2110 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2111 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2112 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2114 sharedstatedir
=$ac_optarg ;;
2116 -site |
--site |
--sit)
2118 -site=* |
--site=* |
--sit=*)
2121 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2123 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2124 srcdir
=$ac_optarg ;;
2126 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2127 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2128 ac_prev
=sysconfdir
;;
2129 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2130 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2131 sysconfdir
=$ac_optarg ;;
2133 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2134 ac_prev
=target_alias
;;
2135 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2136 target_alias
=$ac_optarg ;;
2138 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2141 -version |
--version |
--versio |
--versi |
--vers |
-V)
2142 ac_init_version
=: ;;
2145 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2146 # Reject names that are not valid shell variable names.
2147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2148 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2149 ac_useropt_orig
=$ac_useropt
2150 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2151 case $ac_user_opts in
2155 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2156 ac_unrecognized_sep
=', ';;
2158 eval with_
$ac_useropt=\
$ac_optarg ;;
2160 -without-* |
--without-*)
2161 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2162 # Reject names that are not valid shell variable names.
2163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2164 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2165 ac_useropt_orig
=$ac_useropt
2166 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2167 case $ac_user_opts in
2171 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2172 ac_unrecognized_sep
=', ';;
2174 eval with_
$ac_useropt=no
;;
2177 # Obsolete; use --with-x.
2180 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2181 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2182 ac_prev
=x_includes
;;
2183 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2184 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2185 x_includes
=$ac_optarg ;;
2187 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2188 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2189 ac_prev
=x_libraries
;;
2190 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2191 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2192 x_libraries
=$ac_optarg ;;
2194 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2195 Try \`$0 --help' for more information"
2199 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2200 # Reject names that are not valid shell variable names.
2201 case $ac_envvar in #(
2202 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2203 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2205 eval $ac_envvar=\
$ac_optarg
2206 export $ac_envvar ;;
2209 # FIXME: should be removed in autoconf 3.0.
2210 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2211 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2212 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2213 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2219 if test -n "$ac_prev"; then
2220 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2221 as_fn_error $?
"missing argument to $ac_option"
2224 if test -n "$ac_unrecognized_opts"; then
2225 case $enable_option_checking in
2227 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2228 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2232 # Check all directory arguments for consistency.
2233 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2234 datadir sysconfdir sharedstatedir localstatedir includedir \
2235 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2236 libdir localedir mandir runstatedir
2238 eval ac_val
=\$
$ac_var
2239 # Remove trailing slashes.
2242 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2243 eval $ac_var=\
$ac_val;;
2245 # Be sure to have absolute directory names.
2247 [\\/$
]* | ?
:[\\/]* ) continue;;
2248 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2250 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2253 # There might be people who depend on the old broken behavior: `$host'
2254 # used to hold the argument of --host etc.
2255 # FIXME: To remove some day.
2258 target
=$target_alias
2260 # FIXME: To remove some day.
2261 if test "x$host_alias" != x
; then
2262 if test "x$build_alias" = x
; then
2263 cross_compiling
=maybe
2264 elif test "x$build_alias" != "x$host_alias"; then
2270 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2272 test "$silent" = yes && exec 6>/dev
/null
2275 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2276 ac_ls_di
=`ls -di .` &&
2277 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2278 as_fn_error $?
"working directory cannot be determined"
2279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2280 as_fn_error $?
"pwd does not report name of working directory"
2283 # Find the source files, if location was not specified.
2284 if test -z "$srcdir"; then
2285 ac_srcdir_defaulted
=yes
2286 # Try the directory containing this script, then the parent directory.
2287 ac_confdir
=`$as_dirname -- "$as_myself" ||
2288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2289 X"$as_myself" : 'X\(//\)[^/]' \| \
2290 X"$as_myself" : 'X\(//\)$' \| \
2291 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2292 printf "%s\n" X"$as_myself" |
2293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2311 if test ! -r "$srcdir/$ac_unique_file"; then
2315 ac_srcdir_defaulted
=no
2317 if test ! -r "$srcdir/$ac_unique_file"; then
2318 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2319 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2321 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2323 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2325 # When building in place, set srcdir=.
2326 if test "$ac_abs_confdir" = "$ac_pwd"; then
2329 # Remove unnecessary trailing slashes from srcdir.
2330 # Double slashes in file names in object file debugging info
2331 # mess up M-x gdb in Emacs.
2333 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2335 for ac_var
in $ac_precious_vars; do
2336 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2337 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2338 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2339 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2343 # Report the --help message.
2345 if test "$ac_init_help" = "long"; then
2346 # Omit some internal or obsolete options to make the list less imposing.
2347 # This message is too long to be a string in the A/UX 3.1 sh.
2349 \`configure' configures Wine 8.8 to adapt to many kinds of systems.
2351 Usage: $0 [OPTION]... [VAR=VALUE]...
2353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2354 VAR=VALUE. See below for descriptions of some of the useful variables.
2356 Defaults for the options are specified in brackets.
2359 -h, --help display this help and exit
2360 --help=short display options specific to this package
2361 --help=recursive display the short help of all the included packages
2362 -V, --version display version information and exit
2363 -q, --quiet, --silent do not print \`checking ...' messages
2364 --cache-file=FILE cache test results in FILE [disabled]
2365 -C, --config-cache alias for \`--cache-file=config.cache'
2366 -n, --no-create do not create output files
2367 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2369 Installation directories:
2370 --prefix=PREFIX install architecture-independent files in PREFIX
2371 [$ac_default_prefix]
2372 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2375 By default, \`make install' will install all the files in
2376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2378 for instance \`--prefix=\$HOME'.
2380 For better control, use the options below.
2382 Fine tuning of the installation directories:
2383 --bindir=DIR user executables [EPREFIX/bin]
2384 --sbindir=DIR system admin executables [EPREFIX/sbin]
2385 --libexecdir=DIR program executables [EPREFIX/libexec]
2386 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2387 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2388 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2389 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2390 --libdir=DIR object code libraries [EPREFIX/lib]
2391 --includedir=DIR C header files [PREFIX/include]
2392 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2393 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2394 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2395 --infodir=DIR info documentation [DATAROOTDIR/info]
2396 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2397 --mandir=DIR man documentation [DATAROOTDIR/man]
2398 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2399 --htmldir=DIR html documentation [DOCDIR]
2400 --dvidir=DIR dvi documentation [DOCDIR]
2401 --pdfdir=DIR pdf documentation [DOCDIR]
2402 --psdir=DIR ps documentation [DOCDIR]
2408 --x-includes=DIR X include files are
in DIR
2409 --x-libraries=DIR X library files are
in DIR
2412 --build=BUILD configure
for building on BUILD
[guessed
]
2413 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2417 if test -n "$ac_init_help"; then
2418 case $ac_init_help in
2419 short | recursive
) echo "Configuration of Wine 8.8:";;
2424 --disable-option-checking ignore unrecognized
--enable/--with options
2425 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2426 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2427 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2428 enable multiple architectures
for PE compilation
2429 --disable-win16 do not include Win16 support
2430 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2432 --disable-tests do not build the regression tests
2433 --enable-build-id include .buildid section in output objects
2434 --enable-maintainer-mode
2435 enable maintainer-specific build rules
2436 --enable-silent-rules use silent build rules (override: "make V=1")
2437 --enable-werror treat compilation warnings as errors
2438 --disable-largefile omit support for large files
2441 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2442 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2443 --without-alsa do not use the Alsa sound support
2444 --without-capi do not use CAPI (ISDN support)
2445 --without-coreaudio do not use the CoreAudio sound support
2446 --without-cups do not use CUPS
2447 --without-dbus do not use DBus (dynamic device support)
2448 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2449 --without-fontconfig do not use fontconfig
2450 --without-freetype do not use the FreeType library
2451 --without-gettext do not use gettext
2452 --with-gettextpo use the GetTextPO library to rebuild po files
2453 --without-gphoto do not use gphoto (Digital Camera support)
2454 --without-gnutls do not use GnuTLS (schannel support)
2455 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2456 --without-gstreamer do not use GStreamer (codecs support)
2457 --without-inotify do not use inotify (filesystem change notifications)
2458 --without-krb5 do not use krb5 (Kerberos)
2459 --without-mingw do not use the MinGW cross-compiler
2460 --without-netapi do not use the Samba NetAPI library
2461 --without-opencl do not use OpenCL
2462 --without-opengl do not use OpenGL
2463 --without-osmesa do not use the OSMesa library
2464 --without-oss do not use the OSS sound support
2465 --without-pcap do not use the Packet Capture library
2466 --without-pcsclite do not use PCSC lite
2467 --without-pthread do not use the pthread library
2468 --without-pulse do not use PulseAudio sound support
2469 --without-sane do not use SANE (scanner support)
2470 --without-sdl do not use SDL
2471 --without-udev do not use udev (plug and play support)
2472 --without-unwind do not use the libunwind library (exception
2474 --without-usb do not use the libusb library
2475 --without-v4l2 do not use v4l2 (video capture)
2476 --without-vulkan do not use Vulkan
2477 --without-wayland do not build the Wayland driver
2478 --without-xcomposite do not use the Xcomposite extension
2479 --without-xcursor do not use the Xcursor extension
2480 --without-xfixes do not use Xfixes for clipboard change notifications
2481 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2482 --without-xinput do not use the Xinput extension
2483 --without-xinput2 do not use the Xinput 2 extension
2484 --without-xrandr do not use Xrandr (multi-monitor support)
2485 --without-xrender do not use the Xrender extension
2486 --without-xshape do not use the Xshape extension
2487 --without-xshm do not use XShm (shared memory extension)
2488 --without-xxf86vm do not use XFree video mode extension
2489 --with-system-dllpath=PATH
2490 load external PE dependencies from colon-separated
2492 --with-wine-tools=DIR use Wine tools from directory DIR
2493 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2494 --with-x use the X Window System
2496 Some influential environment variables:
2497 CC C compiler command
2498 CFLAGS C compiler flags
2499 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2500 nonstandard directory <lib dir>
2501 LIBS libraries to pass to the linker, e.g. -l<library>
2502 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2503 you have headers in a nonstandard directory <include dir>
2504 CXX C++ compiler command
2505 CXXFLAGS C++ compiler flags
2506 OBJC Objective C compiler command
2507 OBJCFLAGS Objective C compiler flags
2509 C compiler flags for the PE faudio, overriding the bundled
2512 Linker flags for the PE faudio, overriding the bundled version
2514 C compiler flags for the PE gsm, overriding the bundled version
2515 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2517 C compiler flags for the PE jpeg, overriding the bundled version
2519 Linker flags for the PE jpeg, overriding the bundled version
2521 C compiler flags for the PE jxr, overriding the bundled version
2522 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2524 C compiler flags for the PE lcms2, overriding the bundled
2527 Linker flags for the PE lcms2, overriding the bundled version
2529 C compiler flags for the PE ldap, overriding the bundled version
2531 Linker flags for the PE ldap, overriding the bundled version
2533 C compiler flags for the PE mpg123, overriding the bundled
2536 Linker flags for the PE mpg123, overriding the bundled version
2538 C compiler flags for the PE musl, overriding the bundled version
2540 Linker flags for the PE musl, overriding the bundled version
2542 C compiler flags for the PE png, overriding the bundled version
2543 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2545 C compiler flags for the PE tiff, overriding the bundled version
2547 Linker flags for the PE tiff, overriding the bundled version
2549 C compiler flags for the PE vkd3d, overriding the bundled
2552 Linker flags for the PE vkd3d, overriding the bundled version
2554 C compiler flags for the PE xml2, overriding the bundled version
2556 Linker flags for the PE xml2, overriding the bundled version
2558 C compiler flags for the PE xslt, overriding the bundled version
2560 Linker flags for the PE xslt, overriding the bundled version
2562 C compiler flags for the PE zlib, overriding the bundled version
2564 Linker flags for the PE zlib, overriding the bundled version
2566 C compiler flags for the PE zydis, overriding the bundled
2569 Linker flags for the PE zydis, overriding the bundled version
2570 XMKMF Path to xmkmf, Makefile generator for X Window System
2572 WAYLAND_CLIENT_CFLAGS
2573 C compiler flags for wayland-client, overriding pkg-config
2575 Linker flags for wayland-client, overriding pkg-config
2577 C compiler flags for libinotify, overriding pkg-config
2579 Linker flags for libinotify, overriding pkg-config
2580 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2581 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2583 C compiler flags for gnutls, overriding pkg-config
2584 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2585 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2586 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2587 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2588 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2590 C compiler flags for libgphoto2, overriding pkg-config
2592 Linker flags for libgphoto2, overriding pkg-config
2594 C compiler flags for libgphoto2_port, overriding pkg-config
2596 Linker flags for libgphoto2_port, overriding pkg-config
2598 C compiler flags for freetype2, overriding pkg-config
2600 Linker flags for freetype2, overriding pkg-config
2602 C compiler flags for libpulse, overriding pkg-config
2603 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2605 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2606 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2608 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2609 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2610 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2611 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2613 C compiler flags for libunwind, overriding pkg-config
2614 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2615 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2616 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2618 C compiler flags for capi20, overriding pkg-config
2619 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2620 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2621 CUPS_LIBS Linker flags for cups, overriding pkg-config
2623 C compiler flags for fontconfig, overriding pkg-config
2625 Linker flags for fontconfig, overriding pkg-config
2626 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2627 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2629 C compiler flags for krb5-gssapi, overriding pkg-config
2630 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2632 C compiler flags for netapi, overriding pkg-config
2633 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2635 Use these variables to override the choices made by `configure' or to
help
2636 it to
find libraries and programs with nonstandard names
/locations.
2638 Report bugs to
<wine-devel@winehq.org
>.
2639 Wine home page
: <https
://www.winehq.org
>.
2644 if test "$ac_init_help" = "recursive"; then
2645 # If there are subdirs, report their specific --help.
2646 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2647 test -d "$ac_dir" ||
2648 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2653 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2655 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2656 # A ".." for each directory in $ac_dir_suffix.
2657 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2658 case $ac_top_builddir_sub in
2659 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2660 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2663 ac_abs_top_builddir
=$ac_pwd
2664 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2665 # for backward compatibility:
2666 ac_top_builddir
=$ac_top_build_prefix
2669 .
) # We are building in place.
2671 ac_top_srcdir
=$ac_top_builddir_sub
2672 ac_abs_top_srcdir
=$ac_pwd ;;
2673 [\\/]* | ?
:[\\/]* ) # Absolute name.
2674 ac_srcdir
=$srcdir$ac_dir_suffix;
2675 ac_top_srcdir
=$srcdir
2676 ac_abs_top_srcdir
=$srcdir ;;
2678 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2679 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2680 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2682 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2684 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2685 # Check for configure.gnu first; this name is used for a wrapper for
2686 # Metaconfig's "Configure" on case-insensitive file systems.
2687 if test -f "$ac_srcdir/configure.gnu"; then
2689 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2690 elif test -f "$ac_srcdir/configure"; then
2692 $SHELL "$ac_srcdir/configure" --help=recursive
2694 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2696 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2700 test -n "$ac_init_help" && exit $ac_status
2701 if $ac_init_version; then
2704 generated by GNU Autoconf
2.71
2706 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2707 This configure
script is free software
; the Free Software Foundation
2708 gives unlimited permission to copy
, distribute and modify it.
2713 ## ------------------------ ##
2714 ## Autoconf initialization. ##
2715 ## ------------------------ ##
2717 # ac_fn_c_try_compile LINENO
2718 # --------------------------
2719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2720 ac_fn_c_try_compile
()
2722 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2723 rm -f conftest.
$ac_objext conftest.beam
2724 if { { ac_try
="$ac_compile"
2726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 printf "%s\n" "$ac_try_echo"; } >&5
2731 (eval "$ac_compile") 2>conftest.err
2733 if test -s conftest.err; then
2734 grep -v '^ *+' conftest.err >conftest.er1
2735 cat conftest.er1 >&5
2736 mv -f conftest.er1 conftest.err
2738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && {
2740 test -z "$ac_c_werror_flag" ||
2741 test ! -s conftest.err
2742 } && test -s conftest.$ac_objext
2746 printf "%s\n" "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 as_fn_set_status $ac_retval
2754 } # ac_fn_c_try_compile
2756 # ac_fn_cxx_try_compile LINENO
2757 # ----------------------------
2758 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2759 ac_fn_cxx_try_compile ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 rm -f conftest.$ac_objext conftest.beam
2763 if { { ac_try="$ac_compile"
2765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2766 *) ac_try_echo
=$ac_try;;
2768 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2769 printf "%s\n" "$ac_try_echo"; } >&5
2770 (eval "$ac_compile") 2>conftest.err
2772 if test -s conftest.err
; then
2773 grep -v '^ *+' conftest.err
>conftest.er1
2774 cat conftest.er1
>&5
2775 mv -f conftest.er1 conftest.err
2777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; } && {
2779 test -z "$ac_cxx_werror_flag" ||
2780 test ! -s conftest.err
2781 } && test -s conftest.
$ac_objext
2785 printf "%s\n" "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.
$ac_ext >&5
2790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2791 as_fn_set_status
$ac_retval
2793 } # ac_fn_cxx_try_compile
2795 # ac_fn_c_try_link LINENO
2796 # -----------------------
2797 # Try to link conftest.$ac_ext, and return whether this succeeded.
2800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2801 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2802 if { { ac_try
="$ac_link"
2804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 printf "%s\n" "$ac_try_echo"; } >&5
2809 (eval "$ac_link") 2>conftest.err
2811 if test -s conftest.err; then
2812 grep -v '^ *+' conftest.err >conftest.er1
2813 cat conftest.er1 >&5
2814 mv -f conftest.er1 conftest.err
2816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; } && {
2818 test -z "$ac_c_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest$ac_exeext && {
2821 test "$cross_compiling" = yes ||
2822 test -x conftest$ac_exeext
2827 printf "%s\n" "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2832 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2833 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2834 # interfere with the next link command; also delete a directory that is
2835 # left behind by Apple's compiler. We do this before executing the actions.
2836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2838 as_fn_set_status $ac_retval
2840 } # ac_fn_c_try_link
2842 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2843 # -------------------------------------------------------
2844 # Tests whether HEADER exists and can be compiled using the include files in
2845 # INCLUDES, setting the cache variable VAR accordingly.
2846 ac_fn_c_check_header_compile ()
2848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2850 printf %s "checking for $2... " >&6; }
2851 if eval test \${$3+y}
2853 printf %s "(cached) " >&6
2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2856 /* end confdefs.h. */
2860 if ac_fn_c_try_compile "$LINENO"
2866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2870 printf "%s\n" "$ac_res" >&6; }
2871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2873 } # ac_fn_c_check_header_compile
2875 # ac_fn_objc_try_compile LINENO
2876 # -----------------------------
2877 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2878 ac_fn_objc_try_compile ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 rm -f conftest.$ac_objext conftest.beam
2882 if { { ac_try="$ac_compile"
2884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2885 *) ac_try_echo
=$ac_try;;
2887 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 printf "%s\n" "$ac_try_echo"; } >&5
2889 (eval "$ac_compile") 2>conftest.err
2891 if test -s conftest.err
; then
2892 grep -v '^ *+' conftest.err
>conftest.er1
2893 cat conftest.er1
>&5
2894 mv -f conftest.er1 conftest.err
2896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; } && {
2898 test -z "$ac_objc_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.
$ac_objext
2904 printf "%s\n" "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.
$ac_ext >&5
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910 as_fn_set_status
$ac_retval
2912 } # ac_fn_objc_try_compile
2914 # ac_fn_c_check_func LINENO FUNC VAR
2915 # ----------------------------------
2916 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2917 ac_fn_c_check_func
()
2919 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2921 printf %s
"checking for $2... " >&6; }
2922 if eval test \
${$3+y}
2924 printf %s
"(cached) " >&6
2926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2928 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2930 #define $2 innocuous_$2
2932 /* System header to define __stub macros and hopefully few prototypes,
2933 which can conflict with char $2 (); below. */
2938 /* Override any GCC internal prototype to avoid an error.
2939 Use char because int might match the return type of a GCC
2940 builtin and then its argument prototype would still apply. */
2945 /* The GNU C library defines this for functions which it implements
2946 to always fail with ENOSYS. Some functions are actually named
2947 something starting with __ and the normal name is an alias. */
2948 #if defined __stub_$2 || defined __stub___$2
2960 if ac_fn_c_try_link
"$LINENO"
2966 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2967 conftest
$ac_exeext conftest.
$ac_ext
2970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2971 printf "%s\n" "$ac_res" >&6; }
2972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2974 } # ac_fn_c_check_func
2976 # ac_fn_c_try_cpp LINENO
2977 # ----------------------
2978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2981 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2982 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 printf "%s\n" "$ac_try_echo"; } >&5
2989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2991 if test -s conftest.err; then
2992 grep -v '^ *+' conftest.err >conftest.er1
2993 cat conftest.er1 >&5
2994 mv -f conftest.er1 conftest.err
2996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; } > conftest.i && {
2998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2999 test ! -s conftest.err
3004 printf "%s\n" "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3010 as_fn_set_status $ac_retval
3014 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3015 # ----------------------------------------------------
3016 # Tries to find if the field MEMBER exists in type AGGR, after including
3017 # INCLUDES, setting cache variable VAR accordingly.
3018 ac_fn_c_check_member ()
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3022 printf %s "checking for $2.$3... " >&6; }
3023 if eval test \${$4+y}
3025 printf %s "(cached) " >&6
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3040 if ac_fn_c_try_compile "$LINENO"
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3051 if (sizeof ac_aggr.$3)
3057 if ac_fn_c_try_compile "$LINENO"
3063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3069 printf "%s\n" "$ac_res" >&6; }
3070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3072 } # ac_fn_c_check_member
3074 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3075 # -------------------------------------------
3076 # Tests whether TYPE exists after having included INCLUDES, setting cache
3077 # variable VAR accordingly.
3078 ac_fn_c_check_type ()
3080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 printf %s "checking for $2... " >&6; }
3083 if eval test \${$3+y}
3085 printf %s "(cached) " >&6
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3100 if ac_fn_c_try_compile "$LINENO"
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3114 if ac_fn_c_try_compile "$LINENO"
3120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3126 printf "%s\n" "$ac_res" >&6; }
3127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3129 } # ac_fn_c_check_type
3130 ac_configure_args_raw=
3135 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3137 as_fn_append ac_configure_args_raw " '$ac_arg'"
3140 case $ac_configure_args_raw in
3144 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3145 ac_unsafe_a="$ac_unsafe_z#~
"
3146 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3147 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3150 cat >config.log <<_ACEOF
3151 This file contains any messages produced by compilers while
3152 running configure, to aid debugging if configure makes a mistake.
3154 It was created by Wine $as_me 8.8, which was
3155 generated by GNU Autoconf 2.71. Invocation command line was
3157 $ $0$ac_configure_args_raw
3167 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3168 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3169 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3170 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3171 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3173 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3174 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3176 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3177 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3178 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3179 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3180 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3181 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3182 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 case $as_dir in #(((
3193 *) as_dir=$as_dir/ ;;
3195 printf "%s
\n" "PATH
: $as_dir"
3211 # Keep a trace of the command line.
3212 # Strip out --no-create and --no-recursion so they do not pile up.
3213 # Strip out --silent because we don't want to record it for future runs.
3214 # Also quote any args containing shell meta-characters.
3215 # Make two passes to allow for proper duplicate-argument suppression.
3219 ac_must_keep_next=false
3225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3227 | -silent | --silent | --silen | --sile | --sil)
3230 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3233 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3235 as_fn_append ac_configure_args1 " '$ac_arg'"
3236 if test $ac_must_keep_next = true; then
3237 ac_must_keep_next=false # Got value, back to normal.
3240 *=* | --config-cache | -C | -disable-* | --disable-* \
3241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3243 | -with-* | --with-* | -without-* | --without-* | --x)
3244 case "$ac_configure_args0 " in
3245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3248 -* ) ac_must_keep_next=true ;;
3251 as_fn_append ac_configure_args " '$ac_arg'"
3256 { ac_configure_args0=; unset ac_configure_args0;}
3257 { ac_configure_args1=; unset ac_configure_args1;}
3259 # When interrupted or exit'd, cleanup temporary files, and complete
3260 # config.log. We remove comments because anyway the quotes in there
3261 # would cause problems or look ugly.
3262 # WARNING: Use '\'' to represent an apostrophe within the trap.
3263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3264 trap 'exit_status=$?
3267 # Save into config.log some information that might help in debugging.
3271 printf "%s
\n" "## ---------------- ##
3272 ## Cache variables. ##
3273 ## ---------------- ##"
3275 # The following way of writing the cache mishandles newlines in values,
3277 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3278 eval ac_val
=\$
$ac_var
3282 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3283 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3286 _ | IFS | as_nl
) ;; #(
3287 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3288 *) { eval $ac_var=; unset $ac_var;} ;;
3293 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3294 *${as_nl}ac_space
=\
*)
3296 "s/'\''/'\''\\\\'\'''\''/g;
3297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3300 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3307 printf "%s\n" "## ----------------- ##
3308 ## Output variables. ##
3309 ## ----------------- ##"
3311 for ac_var
in $ac_subst_vars
3313 eval ac_val
=\$
$ac_var
3315 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3317 printf "%s\n" "$ac_var='\''$ac_val'\''"
3321 if test -n "$ac_subst_files"; then
3322 printf "%s\n" "## ------------------- ##
3323 ## File substitutions. ##
3324 ## ------------------- ##"
3326 for ac_var in $ac_subst_files
3328 eval ac_val=\$$ac_var
3330 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3332 printf "%s\n" "$ac_var='\''$ac_val'\''"
3337 if test -s confdefs.h
; then
3338 printf "%s\n" "## ----------- ##
3345 test "$ac_signal" != 0 &&
3346 printf "%s\n" "$as_me: caught signal $ac_signal"
3347 printf "%s\n" "$as_me: exit $exit_status"
3349 rm -f core
*.core core.conftest.
* &&
3350 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3353 for ac_signal in 1 2 13 15; do
3354 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3358 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3359 rm -f -r conftest* confdefs.h
3361 printf "%s\n" "/* confdefs.h */" > confdefs.h
3363 # Predefined preprocessor variables.
3365 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3367 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3369 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3371 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3373 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3375 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3378 # Let the site file select an alternate cache file if it wants to.
3379 # Prefer an explicitly selected file to automatically selected ones.
3380 if test -n "$CONFIG_SITE"; then
3381 ac_site_files="$CONFIG_SITE"
3382 elif test "x$prefix" != xNONE; then
3383 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3385 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3388 for ac_site_file in $ac_site_files
3390 case $ac_site_file in #(
3394 ac_site_file=./$ac_site_file ;;
3396 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3398 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3399 sed 's
/^
/|
/' "$ac_site_file" >&5
3401 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3403 as_fn_error $? "failed to load site script $ac_site_file
3404 See \`config.log
' for more details" "$LINENO" 5; }
3408 if test -r "$cache_file"; then
3409 # Some versions of bash will fail to source /dev/null (special files
3410 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3411 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3413 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3415 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3416 *) . "./$cache_file";;
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3421 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3425 # Test code for whether the C compiler supports C89 (global declarations)
3426 ac_c_conftest_c89_globals='
3427 /* Does the compiler advertise C89 conformance?
3428 Do not
test the value of __STDC__
, because some compilers
set it to
0
3429 while being otherwise adequately conformant.
*/
3430 #if !defined __STDC__
3431 # error "Compiler does not advertise C89 conformance"
3437 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3438 struct buf
{ int x
; };
3439 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3440 static char
*e
(p
, i
)
3446 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3451 s
= g
(p
, va_arg
(v
,int
));
3456 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3457 function prototypes and stuff
, but not \xHH hex character constants.
3458 These
do not provoke an error unfortunately
, instead are silently treated
3459 as an
"x". The following induces an error
, until -std is added to get
3460 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3461 array size
at least. It is necessary to
write \x00 == 0 to get something
3462 that is true only with
-std.
*/
3463 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3465 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3466 inside
strings and character constants.
*/
3467 #define FOO(x) '\''x'\''
3468 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3470 int
test (int i
, double x
);
3471 struct s1
{int
(*f
) (int a
);};
3472 struct s2
{int
(*f
) (double a
);};
3473 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3476 # Test code for whether the C compiler supports C89 (body of main).
3477 ac_c_conftest_c89_main='
3478 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3481 # Test code for whether the C compiler supports C99 (global declarations)
3482 ac_c_conftest_c99_globals='
3483 // Does the compiler advertise C99 conformance?
3484 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3485 # error "Compiler does not advertise C99 conformance"
3488 #include <stdbool.h>
3489 extern int puts
(const char
*);
3490 extern int
printf (const char
*, ...
);
3491 extern int dprintf
(int
, const char
*, ...
);
3492 extern void
*malloc
(size_t
);
3494 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3495 // dprintf is used instead of fprintf to avoid needing to
declare
3497 #define debug(...) dprintf (2, __VA_ARGS__)
3498 #define showlist(...) puts (#__VA_ARGS__)
3499 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3501 test_varargs_macros
(void
)
3506 debug
("X = %d\n", x
);
3507 showlist
(The first
, second
, and third items.
);
3508 report
(x
>y
, "x is %d but y is %d", x
, y
);
3511 // Check long long types.
3512 #define BIG64 18446744073709551615ull
3513 #define BIG32 4294967295ul
3514 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3516 #error "your preprocessor is broken"
3520 #error "your preprocessor is broken"
3522 static long long int bignum
= -9223372036854775807LL;
3523 static unsigned long long int ubignum
= BIG64
;
3525 struct incomplete_array
3533 const wchar_t
*name
;
3537 typedef const char
*ccp
;
3540 test_restrict
(ccp restrict text
)
3542 // See
if C
++-style comments work.
3543 // Iterate through items via the restricted pointer.
3544 // Also check
for declarations
in for loops.
3545 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3550 // Check varargs and va_copy.
3552 test_varargs
(const char
*format
, ...
)
3555 va_start
(args
, format
);
3557 va_copy
(args_copy
, args
);
3559 const char
*str
= "";
3567 case '\''s
'\'': // string
3568 str
= va_arg
(args_copy
, const char
*);
3570 case '\''d
'\'': // int
3571 number
= va_arg
(args_copy
, int
);
3573 case '\''f
'\'': // float
3574 fnumber
= va_arg
(args_copy
, double
);
3583 return *str
&& number
&& fnumber
;
3587 # Test code for whether the C compiler supports C99 (body of main).
3588 ac_c_conftest_c99_main='
3590 _Bool success
= false
;
3591 success |
= (argc
!= 0);
3594 if (test_restrict
("String literal") == 0)
3596 char
*restrict newvar
= "Another string";
3599 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3600 test_varargs_macros
();
3602 // Check flexible array members.
3603 struct incomplete_array
*ia
=
3604 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3606 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3607 ia-
>data
[i
] = i
* 1.234;
3609 // Check named initializers.
3610 struct named_init ni
= {
3612 .name
= L
"Test wide string",
3613 .average
= 543.34343,
3618 int dynamic_array
[ni.number
];
3619 dynamic_array
[0] = argv
[0][0];
3620 dynamic_array
[ni.number
- 1] = 543;
3622 // work around unused variable warnings
3623 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3624 || dynamic_array
[ni.number
- 1] != 543);
3627 # Test code for whether the C compiler supports C11 (global declarations)
3628 ac_c_conftest_c11_globals='
3629 // Does the compiler advertise C11 conformance?
3630 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3631 # error "Compiler does not advertise C11 conformance"
3635 char _Alignas
(double
) aligned_as_double
;
3636 char _Alignas
(0) no_special_alignment
;
3637 extern char aligned_as_int
;
3638 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3643 int_alignment
= _Alignof
(int
),
3644 int_array_alignment
= _Alignof
(int
[100]),
3645 char_alignment
= _Alignof
(char
)
3647 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3650 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3652 // Check _Static_assert.
3653 struct test_static_assert
3656 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3657 "_Static_assert does not work in struct");
3661 // Check UTF-8 literals.
3662 #define u8 syntax error!
3663 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3665 // Check duplicate typedefs.
3666 typedef long
*long_ptr
;
3667 typedef long int
*long_ptr
;
3668 typedef long_ptr long_ptr
;
3670 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3674 struct
{ int i
; int j
; };
3675 struct
{ int k
; long int l
; } w
;
3681 # Test code for whether the C compiler supports C11 (body of main).
3682 ac_c_conftest_c11_main='
3683 _Static_assert
((offsetof
(struct anonymous
, i
)
3684 == offsetof
(struct anonymous
, w.k
)),
3685 "Anonymous union alignment botch");
3691 # Test code for whether the C compiler supports C11 (complete).
3692 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3693 ${ac_c_conftest_c99_globals}
3694 ${ac_c_conftest_c11_globals}
3697 main (int argc, char **argv)
3700 ${ac_c_conftest_c89_main}
3701 ${ac_c_conftest_c99_main}
3702 ${ac_c_conftest_c11_main}
3707 # Test code for whether the C compiler supports C99 (complete).
3708 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3709 ${ac_c_conftest_c99_globals}
3712 main (int argc, char **argv)
3715 ${ac_c_conftest_c89_main}
3716 ${ac_c_conftest_c99_main}
3721 # Test code for whether the C compiler supports C89 (complete).
3722 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3725 main (int argc, char **argv)
3728 ${ac_c_conftest_c89_main}
3733 # Test code for whether the C++ compiler supports C++98 (global declarations)
3734 ac_cxx_conftest_cxx98_globals='
3735 // Does the compiler advertise C
++98 conformance?
3736 #if !defined __cplusplus || __cplusplus < 199711L
3737 # error "Compiler does not advertise C++98 conformance"
3740 // These inclusions are to reject old compilers that
3741 // lack the unsuffixed header files.
3743 #include <exception>
3745 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3746 extern void assert
(int
);
3748 extern int strcmp
(const char
*, const char
*);
3751 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3752 using std
::exception
;
3757 void test_exception_syntax
()
3761 } catch
(const char
*s
) {
3762 // Extra parentheses suppress a warning when building autoconf itself
,
3763 // due to lint rules shared with
more typical C programs.
3764 assert
(!(strcmp
) (s
, "test"));
3768 template
<typename T
> struct test_template
3771 explicit test_template
(T t
) : val
(t
) {}
3772 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3775 } // anonymous namespace
3778 # Test code for whether the C++ compiler supports C++98 (body of main)
3779 ac_cxx_conftest_cxx98_main='
3783 test_exception_syntax
();
3784 test_template
<double
> tt
(2.0);
3785 assert
(tt.add
(4) == 6.0);
3786 assert
(true
&& !false
);
3790 # Test code for whether the C++ compiler supports C++11 (global declarations)
3791 ac_cxx_conftest_cxx11_globals='
3792 // Does the compiler advertise C
++ 2011 conformance?
3793 #if !defined __cplusplus || __cplusplus < 201103L
3794 # error "Compiler does not advertise C++11 conformance"
3799 constexpr int get_val
() { return 20; }
3810 delegate
(int n
) : n
(n
) {}
3811 delegate
(): delegate
(2354) {}
3813 virtual int getval
() { return this-
>n
; };
3818 class overridden
: public delegate
3821 overridden
(int n
): delegate
(n
) {}
3822 virtual int getval
() override final
{ return this-
>n
* 2; }
3828 nocopy
(int i
): i
(i
) {}
3830 nocopy
(const nocopy
&) = delete
;
3831 nocopy
& operator
=(const nocopy
&) = delete
;
3836 // for testing lambda expressions
3837 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3842 // for testing variadic templates and trailing
return types
3843 template
<typename V
> auto
sum(V first
) -> V
3847 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3849 return first
+ sum(rest...
);
3854 # Test code for whether the C++ compiler supports C++11 (body of main)
3855 ac_cxx_conftest_cxx11_main='
3857 // Test auto and decltype
3859 auto a2
= 48573953.4;
3860 auto a3
= "String literal";
3863 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3865 decltype
(a2
) a4
= 34895.034;
3869 short sa
[cxx11test
::get_val
()] = { 0 };
3872 // Test initializer lists
3873 cxx11test
::testinit il
= { 4323, 435234.23544 };
3876 // Test range-based
for
3877 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3878 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3879 for (auto
&x
: array
) { x
+= 23; }
3882 // Test lambda expressions
3883 using cxx11test
::eval;
3884 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3886 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3888 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3892 // Test use of variadic templates
3893 using cxx11test
::sum;
3896 auto c
= sum(1.0, 2.0, 3.0);
3899 // Test constructor delegation
3900 cxx11test
::delegate d1
;
3901 cxx11test
::delegate d2
();
3902 cxx11test
::delegate d3
(45);
3905 // Test override and final
3906 cxx11test
::overridden o1
(55464);
3913 // Test template brackets
3914 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3918 char const
*utf8
= u8
"UTF-8 string \u2500";
3919 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3920 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3924 # Test code for whether the C compiler supports C++11 (complete).
3925 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3926 ${ac_cxx_conftest_cxx11_globals}
3929 main (int argc, char **argv)
3932 ${ac_cxx_conftest_cxx98_main}
3933 ${ac_cxx_conftest_cxx11_main}
3938 # Test code for whether the C compiler supports C++98 (complete).
3939 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3941 main (int argc, char **argv)
3944 ${ac_cxx_conftest_cxx98_main}
3949 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3950 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3951 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3952 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3953 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3954 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3955 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3956 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3957 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3959 # Auxiliary files required by this configure script.
3960 ac_aux_files="config.guess config.sub"
3962 # Locations in which to look for auxiliary files.
3963 ac_aux_dir_candidates="${srcdir}/tools"
3965 # Search for a directory containing all of the required auxiliary files,
3966 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3967 # If we don't
find one directory that contains all the files we need
,
3968 # we report the set of missing files from the *first* directory in
3969 # $ac_aux_dir_candidates and give up.
3970 ac_missing_aux_files
=""
3971 ac_first_candidate
=:
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 for as_dir
in $ac_aux_dir_candidates
3978 case $as_dir in #(((
3981 *) as_dir
=$as_dir/ ;;
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3986 ac_aux_dir_found
=yes
3988 for ac_aux
in $ac_aux_files
3990 # As a special case, if "install-sh" is required, that requirement
3991 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3992 # and $ac_install_sh is set appropriately for whichever one is found.
3993 if test x
"$ac_aux" = x
"install-sh"
3995 if test -f "${as_dir}install-sh"; then
3996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3997 ac_install_sh
="${as_dir}install-sh -c"
3998 elif test -f "${as_dir}install.sh"; then
3999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4000 ac_install_sh
="${as_dir}install.sh -c"
4001 elif test -f "${as_dir}shtool"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4003 ac_install_sh
="${as_dir}shtool install -c"
4006 if $ac_first_candidate; then
4007 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4013 if test -f "${as_dir}${ac_aux}"; then
4014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4017 if $ac_first_candidate; then
4018 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4025 if test "$ac_aux_dir_found" = yes; then
4026 ac_aux_dir
="$as_dir"
4029 ac_first_candidate
=false
4038 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4042 # These three variables are undocumented and unsupported,
4043 # and are intended to be withdrawn in a future Autoconf release.
4044 # They can cause serious problems if a builder's source tree is in a directory
4045 # whose full name contains unusual characters.
4046 if test -f "${ac_aux_dir}config.guess"; then
4047 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4049 if test -f "${ac_aux_dir}config.sub"; then
4050 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4052 if test -f "$ac_aux_dir/configure"; then
4053 ac_configure
="$SHELL ${ac_aux_dir}configure"
4056 # Check that the precious variables saved in the cache have kept the same
4058 ac_cache_corrupted
=false
4059 for ac_var
in $ac_precious_vars; do
4060 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4061 eval ac_new_set
=\
$ac_env_${ac_var}_set
4062 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4063 eval ac_new_val
=\
$ac_env_${ac_var}_value
4064 case $ac_old_set,$ac_new_set in
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4067 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4068 ac_cache_corrupted
=: ;;
4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4071 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4072 ac_cache_corrupted
=: ;;
4075 if test "x$ac_old_val" != "x$ac_new_val"; then
4076 # differences in whitespace do not lead to failure.
4077 ac_old_val_w
=`echo x $ac_old_val`
4078 ac_new_val_w
=`echo x $ac_new_val`
4079 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4081 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4082 ac_cache_corrupted
=:
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4085 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4086 eval $ac_var=\
$ac_old_val
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4089 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4091 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4094 # Pass precious variables to config.status.
4095 if test "$ac_new_set" = set; then
4097 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4098 *) ac_arg
=$ac_var=$ac_new_val ;;
4100 case " $ac_configure_args " in
4101 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4102 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4106 if $ac_cache_corrupted; then
4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4110 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4111 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4112 and start over" "$LINENO" 5
4114 ## -------------------- ##
4115 ## Main body of script. ##
4116 ## -------------------- ##
4119 ac_cpp
='$CPP $CPPFLAGS'
4120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4126 ac_config_headers
="$ac_config_headers include/config.h"
4130 libwine_version
="1.0"
4133 # Check whether --enable-archs was given.
4134 if test ${enable_archs+y}
4136 enableval
=$enable_archs;
4139 # Check whether --enable-win16 was given.
4140 if test ${enable_win16+y}
4142 enableval
=$enable_win16;
4145 # Check whether --enable-win64 was given.
4146 if test ${enable_win64+y}
4148 enableval
=$enable_win64;
4151 # Check whether --enable-tests was given.
4152 if test ${enable_tests+y}
4154 enableval
=$enable_tests;
4157 # Check whether --enable-build-id was given.
4158 if test ${enable_build_id+y}
4160 enableval
=$enable_build_id;
4163 # Check whether --enable-maintainer-mode was given.
4164 if test ${enable_maintainer_mode+y}
4166 enableval
=$enable_maintainer_mode;
4169 # Check whether --enable-silent-rules was given.
4170 if test ${enable_silent_rules+y}
4172 enableval
=$enable_silent_rules;
4175 # Check whether --enable-werror was given.
4176 if test ${enable_werror+y}
4178 enableval
=$enable_werror;
4183 # Check whether --with-alsa was given.
4184 if test ${with_alsa+y}
4190 # Check whether --with-capi was given.
4191 if test ${with_capi+y}
4197 # Check whether --with-coreaudio was given.
4198 if test ${with_coreaudio+y}
4200 withval
=$with_coreaudio;
4204 # Check whether --with-cups was given.
4205 if test ${with_cups+y}
4211 # Check whether --with-dbus was given.
4212 if test ${with_dbus+y}
4218 # Check whether --with-float-abi was given.
4219 if test ${with_float_abi+y}
4221 withval
=$with_float_abi;
4225 # Check whether --with-fontconfig was given.
4226 if test ${with_fontconfig+y}
4228 withval
=$with_fontconfig;
4232 # Check whether --with-freetype was given.
4233 if test ${with_freetype+y}
4235 withval
=$with_freetype;
4239 # Check whether --with-gettext was given.
4240 if test ${with_gettext+y}
4242 withval
=$with_gettext;
4246 # Check whether --with-gettextpo was given.
4247 if test ${with_gettextpo+y}
4249 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4253 # Check whether --with-gphoto was given.
4254 if test ${with_gphoto+y}
4256 withval
=$with_gphoto;
4260 # Check whether --with-gnutls was given.
4261 if test ${with_gnutls+y}
4263 withval
=$with_gnutls;
4267 # Check whether --with-gssapi was given.
4268 if test ${with_gssapi+y}
4270 withval
=$with_gssapi;
4274 # Check whether --with-gstreamer was given.
4275 if test ${with_gstreamer+y}
4277 withval
=$with_gstreamer;
4281 # Check whether --with-inotify was given.
4282 if test ${with_inotify+y}
4284 withval
=$with_inotify;
4288 # Check whether --with-krb5 was given.
4289 if test ${with_krb5+y}
4295 # Check whether --with-mingw was given.
4296 if test ${with_mingw+y}
4298 withval
=$with_mingw;
4302 # Check whether --with-netapi was given.
4303 if test ${with_netapi+y}
4305 withval
=$with_netapi;
4309 # Check whether --with-opencl was given.
4310 if test ${with_opencl+y}
4312 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4316 # Check whether --with-opengl was given.
4317 if test ${with_opengl+y}
4319 withval
=$with_opengl;
4323 # Check whether --with-osmesa was given.
4324 if test ${with_osmesa+y}
4326 withval
=$with_osmesa;
4330 # Check whether --with-oss was given.
4331 if test ${with_oss+y}
4337 # Check whether --with-pcap was given.
4338 if test ${with_pcap+y}
4340 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4344 # Check whether --with-pcsclite was given.
4345 if test ${with_pcsclite+y}
4347 withval
=$with_pcsclite;
4351 # Check whether --with-pthread was given.
4352 if test ${with_pthread+y}
4354 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4358 # Check whether --with-pulse was given.
4359 if test ${with_pulse+y}
4361 withval
=$with_pulse;
4365 # Check whether --with-sane was given.
4366 if test ${with_sane+y}
4372 # Check whether --with-sdl was given.
4373 if test ${with_sdl+y}
4379 # Check whether --with-udev was given.
4380 if test ${with_udev+y}
4386 # Check whether --with-unwind was given.
4387 if test ${with_unwind+y}
4389 withval
=$with_unwind;
4393 # Check whether --with-usb was given.
4394 if test ${with_usb+y}
4400 # Check whether --with-v4l2 was given.
4401 if test ${with_v4l2+y}
4407 # Check whether --with-vulkan was given.
4408 if test ${with_vulkan+y}
4410 withval
=$with_vulkan;
4414 # Check whether --with-wayland was given.
4415 if test ${with_wayland+y}
4417 withval
=$with_wayland;
4421 # Check whether --with-xcomposite was given.
4422 if test ${with_xcomposite+y}
4424 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4428 # Check whether --with-xcursor was given.
4429 if test ${with_xcursor+y}
4431 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4435 # Check whether --with-xfixes was given.
4436 if test ${with_xfixes+y}
4438 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4442 # Check whether --with-xinerama was given.
4443 if test ${with_xinerama+y}
4445 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4449 # Check whether --with-xinput was given.
4450 if test ${with_xinput+y}
4452 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4456 # Check whether --with-xinput2 was given.
4457 if test ${with_xinput2+y}
4459 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4463 # Check whether --with-xrandr was given.
4464 if test ${with_xrandr+y}
4466 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4470 # Check whether --with-xrender was given.
4471 if test ${with_xrender+y}
4473 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4477 # Check whether --with-xshape was given.
4478 if test ${with_xshape+y}
4480 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4484 # Check whether --with-xshm was given.
4485 if test ${with_xshm+y}
4487 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4491 # Check whether --with-xxf86vm was given.
4492 if test ${with_xxf86vm+y}
4494 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
4499 # Check whether --with-system-dllpath was given.
4500 if test ${with_system_dllpath+y}
4502 withval
=$with_system_dllpath; system_dllpath
=$withval
4507 # Check whether --with-wine-tools was given.
4508 if test ${with_wine_tools+y}
4510 withval
=$with_wine_tools;
4514 # Check whether --with-wine64 was given.
4515 if test ${with_wine64+y}
4517 withval
=$with_wine64;
4524 # Make sure we can run config.sub.
4525 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4526 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4529 printf %s
"checking build system type... " >&6; }
4530 if test ${ac_cv_build+y}
4532 printf %s
"(cached) " >&6
4534 ac_build_alias
=$build_alias
4535 test "x$ac_build_alias" = x
&&
4536 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4537 test "x$ac_build_alias" = x
&&
4538 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4539 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4540 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4544 printf "%s\n" "$ac_cv_build" >&6; }
4545 case $ac_cv_build in
4547 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4550 ac_save_IFS
=$IFS; IFS
='-'
4556 # Remember, the first character of IFS is used to create $*,
4557 # except with old shells:
4560 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4564 printf %s
"checking host system type... " >&6; }
4565 if test ${ac_cv_host+y}
4567 printf %s
"(cached) " >&6
4569 if test "x$host_alias" = x
; then
4570 ac_cv_host
=$ac_cv_build
4572 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4573 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4578 printf "%s\n" "$ac_cv_host" >&6; }
4581 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4584 ac_save_IFS
=$IFS; IFS
='-'
4590 # Remember, the first character of IFS is used to create $*,
4591 # except with old shells:
4594 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4598 dlldir
=\
${libdir}/wine
4600 fontdir
=\
${datadir}/wine
/fonts
4602 nlsdir
=\
${datadir}/wine
/nls
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4608 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4610 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4611 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4613 printf %s
"(cached) " >&6
4615 cat >conftest.
make <<\_ACEOF
4618 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4620 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4621 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4623 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4625 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4629 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4631 printf "%s\n" "yes" >&6; }
4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 printf "%s\n" "no" >&6; }
4636 SET_MAKE
="MAKE=${MAKE-make}"
4649 ac_cpp
='$CPP $CPPFLAGS'
4650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4653 if test -n "$ac_tool_prefix"; then
4654 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4655 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 printf %s
"checking for $ac_word... " >&6; }
4658 if test ${ac_cv_prog_CC+y}
4660 printf %s
"(cached) " >&6
4662 if test -n "$CC"; then
4663 ac_cv_prog_CC
="$CC" # Let the user override the test.
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4669 case $as_dir in #(((
4672 *) as_dir
=$as_dir/ ;;
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4687 if test -n "$CC"; then
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4689 printf "%s\n" "$CC" >&6; }
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 printf "%s\n" "no" >&6; }
4697 if test -z "$ac_cv_prog_CC"; then
4699 # Extract the first word of "gcc", so it can be a program name with args.
4700 set dummy gcc
; ac_word
=$2
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 printf %s
"checking for $ac_word... " >&6; }
4703 if test ${ac_cv_prog_ac_ct_CC+y}
4705 printf %s
"(cached) " >&6
4707 if test -n "$ac_ct_CC"; then
4708 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 case $as_dir in #(((
4717 *) as_dir
=$as_dir/ ;;
4719 for ac_exec_ext
in '' $ac_executable_extensions; do
4720 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_ac_ct_CC
="gcc"
4722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4731 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4732 if test -n "$ac_ct_CC"; then
4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4734 printf "%s\n" "$ac_ct_CC" >&6; }
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 printf "%s\n" "no" >&6; }
4740 if test "x$ac_ct_CC" = x
; then
4743 case $cross_compiling:$ac_tool_warned in
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4746 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4747 ac_tool_warned
=yes ;;
4755 if test -z "$CC"; then
4756 if test -n "$ac_tool_prefix"; then
4757 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4758 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 printf %s
"checking for $ac_word... " >&6; }
4761 if test ${ac_cv_prog_CC+y}
4763 printf %s
"(cached) " >&6
4765 if test -n "$CC"; then
4766 ac_cv_prog_CC
="$CC" # Let the user override the test.
4768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4772 case $as_dir in #(((
4775 *) as_dir
=$as_dir/ ;;
4777 for ac_exec_ext
in '' $ac_executable_extensions; do
4778 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4779 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4790 if test -n "$CC"; then
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4792 printf "%s\n" "$CC" >&6; }
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 printf "%s\n" "no" >&6; }
4801 if test -z "$CC"; then
4802 # Extract the first word of "cc", so it can be a program name with args.
4803 set dummy cc
; ac_word
=$2
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 printf %s
"checking for $ac_word... " >&6; }
4806 if test ${ac_cv_prog_CC+y}
4808 printf %s
"(cached) " >&6
4810 if test -n "$CC"; then
4811 ac_cv_prog_CC
="$CC" # Let the user override the test.
4814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4818 case $as_dir in #(((
4821 *) as_dir
=$as_dir/ ;;
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4825 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4826 ac_prog_rejected
=yes
4830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4837 if test $ac_prog_rejected = yes; then
4838 # We found a bogon in the path, so make sure we never use it.
4839 set dummy
$ac_cv_prog_CC
4841 if test $# != 0; then
4842 # We chose a different compiler from the bogus one.
4843 # However, it has the same basename, so the bogon will be chosen
4844 # first if we set CC to just the basename; use the full file name.
4846 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4852 if test -n "$CC"; then
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4854 printf "%s\n" "$CC" >&6; }
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 printf "%s\n" "no" >&6; }
4862 if test -z "$CC"; then
4863 if test -n "$ac_tool_prefix"; then
4864 for ac_prog
in cl.exe
4866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4867 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 printf %s
"checking for $ac_word... " >&6; }
4870 if test ${ac_cv_prog_CC+y}
4872 printf %s
"(cached) " >&6
4874 if test -n "$CC"; then
4875 ac_cv_prog_CC
="$CC" # Let the user override the test.
4877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4881 case $as_dir in #(((
4884 *) as_dir
=$as_dir/ ;;
4886 for ac_exec_ext
in '' $ac_executable_extensions; do
4887 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4888 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4899 if test -n "$CC"; then
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4901 printf "%s\n" "$CC" >&6; }
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 printf "%s\n" "no" >&6; }
4908 test -n "$CC" && break
4911 if test -z "$CC"; then
4913 for ac_prog
in cl.exe
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy
$ac_prog; ac_word
=$2
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 printf %s
"checking for $ac_word... " >&6; }
4919 if test ${ac_cv_prog_ac_ct_CC+y}
4921 printf %s
"(cached) " >&6
4923 if test -n "$ac_ct_CC"; then
4924 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 case $as_dir in #(((
4933 *) as_dir
=$as_dir/ ;;
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_ac_ct_CC
="$ac_prog"
4938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4947 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4948 if test -n "$ac_ct_CC"; then
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4950 printf "%s\n" "$ac_ct_CC" >&6; }
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 printf "%s\n" "no" >&6; }
4957 test -n "$ac_ct_CC" && break
4960 if test "x$ac_ct_CC" = x
; then
4963 case $cross_compiling:$ac_tool_warned in
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned
=yes ;;
4974 if test -z "$CC"; then
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4977 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 printf %s
"checking for $ac_word... " >&6; }
4980 if test ${ac_cv_prog_CC+y}
4982 printf %s
"(cached) " >&6
4984 if test -n "$CC"; then
4985 ac_cv_prog_CC
="$CC" # Let the user override the test.
4987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4991 case $as_dir in #(((
4994 *) as_dir
=$as_dir/ ;;
4996 for ac_exec_ext
in '' $ac_executable_extensions; do
4997 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5009 if test -n "$CC"; then
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5011 printf "%s\n" "$CC" >&6; }
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 printf "%s\n" "no" >&6; }
5019 if test -z "$ac_cv_prog_CC"; then
5021 # Extract the first word of "clang", so it can be a program name with args.
5022 set dummy clang
; ac_word
=$2
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 printf %s
"checking for $ac_word... " >&6; }
5025 if test ${ac_cv_prog_ac_ct_CC+y}
5027 printf %s
"(cached) " >&6
5029 if test -n "$ac_ct_CC"; then
5030 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 case $as_dir in #(((
5039 *) as_dir
=$as_dir/ ;;
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_ac_ct_CC
="clang"
5044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5054 if test -n "$ac_ct_CC"; then
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5056 printf "%s\n" "$ac_ct_CC" >&6; }
5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 printf "%s\n" "no" >&6; }
5062 if test "x$ac_ct_CC" = x
; then
5065 case $cross_compiling:$ac_tool_warned in
5067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned
=yes ;;
5080 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5081 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5082 as_fn_error $?
"no acceptable C compiler found in \$PATH
5083 See \`config.log' for more details" "$LINENO" 5; }
5085 # Provide some information about the compiler.
5086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5089 for ac_option
in --version -v -V -qversion -version; do
5090 { { ac_try
="$ac_compiler $ac_option >&5"
5092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5096 printf "%s\n" "$ac_try_echo"; } >&5
5097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5099 if test -s conftest.err; then
5101 ... rest of stderr output deleted ...
5102 10q' conftest.err >conftest.er1
5103 cat conftest.er1 >&5
5105 rm -f conftest.er1 conftest.err
5106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5107 test $ac_status = 0; }
5110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5111 /* end confdefs.h. */
5121 ac_clean_files_save=$ac_clean_files
5122 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5123 # Try to create an executable without -o first, disregard a.out.
5124 # It will help us diagnose broken compilers, and finding out an intuition
5126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5127 printf %s "checking whether the C compiler works... " >&6; }
5128 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5130 # The possible output files:
5131 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5134 for ac_file in $ac_files
5137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5138 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5143 if { { ac_try="$ac_link_default"
5145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5146 *) ac_try_echo
=$ac_try;;
5148 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5149 printf "%s\n" "$ac_try_echo"; } >&5
5150 (eval "$ac_link_default") 2>&5
5152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5153 test $ac_status = 0; }
5155 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5156 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5157 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5158 # so that the user can short-circuit this test for compilers unknown to
5160 for ac_file
in $ac_files ''
5162 test -f "$ac_file" ||
continue
5164 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5167 # We found the default executable, but exeext='' is most
5171 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5173 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5175 # We set ac_cv_exeext here because the later test for it is not
5176 # safe: cross compilers may not add the suffix if given an `-o'
5177 # argument, so we may need to know it at that point already.
5178 # Even if this section looks crufty: it has the advantage of
5185 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5190 if test -z "$ac_file"
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 printf "%s\n" "no" >&6; }
5194 printf "%s\n" "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.
$ac_ext >&5
5197 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5198 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5199 as_fn_error
77 "C compiler cannot create executables
5200 See \`config.log' for more details" "$LINENO" 5; }
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5203 printf "%s\n" "yes" >&6; }
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5206 printf %s
"checking for C compiler default output file name... " >&6; }
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5208 printf "%s\n" "$ac_file" >&6; }
5209 ac_exeext
=$ac_cv_exeext
5211 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5212 ac_clean_files
=$ac_clean_files_save
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5214 printf %s
"checking for suffix of executables... " >&6; }
5215 if { { ac_try
="$ac_link"
5217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5218 *) ac_try_echo=$ac_try;;
5220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5221 printf "%s\n" "$ac_try_echo"; } >&5
5222 (eval "$ac_link") 2>&5
5224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5225 test $ac_status = 0; }
5227 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5228 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5229 # work properly (i.e., refer to `conftest.exe'), while it won't with
5231 for ac_file
in conftest.exe conftest conftest.
*; do
5232 test -f "$ac_file" ||
continue
5234 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5235 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5241 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5242 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5243 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5244 See \`config.log' for more details" "$LINENO" 5; }
5246 rm -f conftest conftest
$ac_cv_exeext
5247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5248 printf "%s\n" "$ac_cv_exeext" >&6; }
5250 rm -f conftest.
$ac_ext
5251 EXEEXT
=$ac_cv_exeext
5253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5259 FILE *f = fopen ("conftest.out", "w");
5260 return ferror (f) || fclose (f) != 0;
5266 ac_clean_files
="$ac_clean_files conftest.out"
5267 # Check that the compiler produces executables we can run. If not, either
5268 # the compiler is broken, or we cross compile.
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5270 printf %s
"checking whether we are cross compiling... " >&6; }
5271 if test "$cross_compiling" != yes; then
5272 { { ac_try
="$ac_link"
5274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5275 *) ac_try_echo=$ac_try;;
5277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5278 printf "%s\n" "$ac_try_echo"; } >&5
5279 (eval "$ac_link") 2>&5
5281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5282 test $ac_status = 0; }
5283 if { ac_try='./conftest$ac_cv_exeext'
5284 { { case "(($ac_try" in
5285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5286 *) ac_try_echo
=$ac_try;;
5288 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5289 printf "%s\n" "$ac_try_echo"; } >&5
5290 (eval "$ac_try") 2>&5
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }; }; then
5296 if test "$cross_compiling" = maybe
; then
5299 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5300 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5301 as_fn_error
77 "cannot run C compiled programs.
5302 If you meant to cross compile, use \`--host'.
5303 See \`config.log' for more details" "$LINENO" 5; }
5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5308 printf "%s\n" "$cross_compiling" >&6; }
5310 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5311 ac_clean_files
=$ac_clean_files_save
5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5313 printf %s
"checking for suffix of object files... " >&6; }
5314 if test ${ac_cv_objext+y}
5316 printf %s
"(cached) " >&6
5318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5329 rm -f conftest.o conftest.obj
5330 if { { ac_try
="$ac_compile"
5332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5336 printf "%s\n" "$ac_try_echo"; } >&5
5337 (eval "$ac_compile") 2>&5
5339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5340 test $ac_status = 0; }
5342 for ac_file in conftest.o conftest.obj conftest.*; do
5343 test -f "$ac_file" || continue;
5345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5346 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5351 printf "%s\n" "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.$ac_ext >&5
5354 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5355 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5356 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5357 See \
`config.log' for more details" "$LINENO" 5; }
5359 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5362 printf "%s\n" "$ac_cv_objext" >&6; }
5363 OBJEXT=$ac_cv_objext
5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5366 printf %s "checking whether the compiler supports GNU C... " >&6; }
5367 if test ${ac_cv_c_compiler_gnu+y}
5369 printf %s "(cached) " >&6
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5385 if ac_fn_c_try_compile "$LINENO"
5391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5392 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5396 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5399 if test $ac_compiler_gnu = yes; then
5404 ac_test_CFLAGS=${CFLAGS+y}
5405 ac_save_CFLAGS=$CFLAGS
5406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5407 printf %s "checking whether $CC accepts -g... " >&6; }
5408 if test ${ac_cv_prog_cc_g+y}
5410 printf %s "(cached) " >&6
5412 ac_save_c_werror_flag=$ac_c_werror_flag
5413 ac_c_werror_flag=yes
5416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5417 /* end confdefs.h. */
5427 if ac_fn_c_try_compile "$LINENO"
5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5443 if ac_fn_c_try_compile "$LINENO"
5447 ac_c_werror_flag=$ac_save_c_werror_flag
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5460 if ac_fn_c_try_compile "$LINENO"
5464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5469 ac_c_werror_flag=$ac_save_c_werror_flag
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5472 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5473 if test $ac_test_CFLAGS; then
5474 CFLAGS=$ac_save_CFLAGS
5475 elif test $ac_cv_prog_cc_g = yes; then
5476 if test "$GCC" = yes; then
5482 if test "$GCC" = yes; then
5489 if test x$ac_prog_cc_stdc = xno
5491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5492 printf %s "checking for $CC option to enable C11 features... " >&6; }
5493 if test ${ac_cv_prog_cc_c11+y}
5495 printf %s "(cached) " >&6
5497 ac_cv_prog_cc_c11=no
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5501 $ac_c_conftest_c11_program
5503 for ac_arg in '' -std=gnu11
5505 CC="$ac_save_CC $ac_arg"
5506 if ac_fn_c_try_compile "$LINENO"
5508 ac_cv_prog_cc_c11=$ac_arg
5510 rm -f core conftest.err conftest.$ac_objext conftest.beam
5511 test "x$ac_cv_prog_cc_c11" != "xno" && break
5513 rm -f conftest.$ac_ext
5517 if test "x$ac_cv_prog_cc_c11" = xno
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5520 printf "%s\n" "unsupported" >&6; }
5522 if test "x$ac_cv_prog_cc_c11" = x
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5525 printf "%s\n" "none needed" >&6; }
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5528 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5529 CC="$CC $ac_cv_prog_cc_c11"
5531 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5535 if test x$ac_prog_cc_stdc = xno
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5538 printf %s "checking for $CC option to enable C99 features... " >&6; }
5539 if test ${ac_cv_prog_cc_c99+y}
5541 printf %s "(cached) " >&6
5543 ac_cv_prog_cc_c99=no
5545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5546 /* end confdefs.h. */
5547 $ac_c_conftest_c99_program
5549 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5551 CC="$ac_save_CC $ac_arg"
5552 if ac_fn_c_try_compile "$LINENO"
5554 ac_cv_prog_cc_c99=$ac_arg
5556 rm -f core conftest.err conftest.$ac_objext conftest.beam
5557 test "x$ac_cv_prog_cc_c99" != "xno" && break
5559 rm -f conftest.$ac_ext
5563 if test "x$ac_cv_prog_cc_c99" = xno
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5566 printf "%s\n" "unsupported" >&6; }
5568 if test "x$ac_cv_prog_cc_c99" = x
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5571 printf "%s\n" "none needed" >&6; }
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5574 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5575 CC="$CC $ac_cv_prog_cc_c99"
5577 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5581 if test x$ac_prog_cc_stdc = xno
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5584 printf %s "checking for $CC option to enable C89 features... " >&6; }
5585 if test ${ac_cv_prog_cc_c89+y}
5587 printf %s "(cached) " >&6
5589 ac_cv_prog_cc_c89=no
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5593 $ac_c_conftest_c89_program
5595 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5597 CC="$ac_save_CC $ac_arg"
5598 if ac_fn_c_try_compile "$LINENO"
5600 ac_cv_prog_cc_c89=$ac_arg
5602 rm -f core conftest.err conftest.$ac_objext conftest.beam
5603 test "x$ac_cv_prog_cc_c89" != "xno" && break
5605 rm -f conftest.$ac_ext
5609 if test "x$ac_cv_prog_cc_c89" = xno
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5612 printf "%s\n" "unsupported" >&6; }
5614 if test "x$ac_cv_prog_cc_c89" = x
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5617 printf "%s\n" "none needed" >&6; }
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5620 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5621 CC="$CC $ac_cv_prog_cc_c89"
5623 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5629 ac_cpp='$CPP $CPPFLAGS'
5630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641 ac_cpp='$CXXCPP $CPPFLAGS'
5642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5645 if test -z "$CXX"; then
5646 if test -n "$CCC"; then
5649 if test -n "$ac_tool_prefix"; then
5650 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 printf %s "checking for $ac_word... " >&6; }
5656 if test ${ac_cv_prog_CXX+y}
5658 printf %s "(cached) " >&6
5660 if test -n "$CXX"; then
5661 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 case $as_dir in #(((
5670 *) as_dir=$as_dir/ ;;
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5685 if test -n "$CXX"; then
5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5687 printf "%s\n" "$CXX" >&6; }
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 printf "%s\n" "no" >&6; }
5694 test -n "$CXX" && break
5697 if test -z "$CXX"; then
5699 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5701 # Extract the first word of "$ac_prog", so it can be a program name with args.
5702 set dummy $ac_prog; ac_word=$2
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 printf %s "checking for $ac_word... " >&6; }
5705 if test ${ac_cv_prog_ac_ct_CXX+y}
5707 printf %s "(cached) " >&6
5709 if test -n "$ac_ct_CXX"; then
5710 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 case $as_dir in #(((
5719 *) as_dir=$as_dir/ ;;
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_ac_ct_CXX="$ac_prog"
5724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5734 if test -n "$ac_ct_CXX"; then
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5736 printf "%s\n" "$ac_ct_CXX" >&6; }
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 printf "%s\n" "no" >&6; }
5743 test -n "$ac_ct_CXX" && break
5746 if test "x$ac_ct_CXX" = x; then
5749 case $cross_compiling:$ac_tool_warned in
5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5761 # Provide some information about the compiler.
5762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5765 for ac_option in --version -v -V -qversion; do
5766 { { ac_try="$ac_compiler $ac_option >&5"
5768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5769 *) ac_try_echo
=$ac_try;;
5771 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5772 printf "%s\n" "$ac_try_echo"; } >&5
5773 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5775 if test -s conftest.err
; then
5777 ... rest of stderr output deleted ...
5778 10q' conftest.err
>conftest.er1
5779 cat conftest.er1
>&5
5781 rm -f conftest.er1 conftest.err
5782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5783 test $ac_status = 0; }
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5787 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5788 if test ${ac_cv_cxx_compiler_gnu+y}
5790 printf %s
"(cached) " >&6
5792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5806 if ac_fn_cxx_try_compile
"$LINENO"
5812 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5813 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5817 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5820 if test $ac_compiler_gnu = yes; then
5825 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5826 ac_save_CXXFLAGS
=$CXXFLAGS
5827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5828 printf %s
"checking whether $CXX accepts -g... " >&6; }
5829 if test ${ac_cv_prog_cxx_g+y}
5831 printf %s
"(cached) " >&6
5833 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5834 ac_cxx_werror_flag
=yes
5837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5848 if ac_fn_cxx_try_compile
"$LINENO"
5850 ac_cv_prog_cxx_g
=yes
5853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5854 /* end confdefs.h. */
5864 if ac_fn_cxx_try_compile
"$LINENO"
5868 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5881 if ac_fn_cxx_try_compile
"$LINENO"
5883 ac_cv_prog_cxx_g
=yes
5885 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5887 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5889 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5890 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5893 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5894 if test $ac_test_CXXFLAGS; then
5895 CXXFLAGS
=$ac_save_CXXFLAGS
5896 elif test $ac_cv_prog_cxx_g = yes; then
5897 if test "$GXX" = yes; then
5903 if test "$GXX" = yes; then
5909 ac_prog_cxx_stdcxx
=no
5910 if test x
$ac_prog_cxx_stdcxx = xno
5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5913 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5914 if test ${ac_cv_prog_cxx_cxx11+y}
5916 printf %s
"(cached) " >&6
5918 ac_cv_prog_cxx_cxx11
=no
5920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 $ac_cxx_conftest_cxx11_program
5924 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5926 CXX
="$ac_save_CXX $ac_arg"
5927 if ac_fn_cxx_try_compile
"$LINENO"
5929 ac_cv_prog_cxx_cxx11
=$ac_arg
5931 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5932 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5934 rm -f conftest.
$ac_ext
5938 if test "x$ac_cv_prog_cxx_cxx11" = xno
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5941 printf "%s\n" "unsupported" >&6; }
5943 if test "x$ac_cv_prog_cxx_cxx11" = x
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5946 printf "%s\n" "none needed" >&6; }
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5949 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5950 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5952 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5953 ac_prog_cxx_stdcxx
=cxx11
5956 if test x
$ac_prog_cxx_stdcxx = xno
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5959 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5960 if test ${ac_cv_prog_cxx_cxx98+y}
5962 printf %s
"(cached) " >&6
5964 ac_cv_prog_cxx_cxx98
=no
5966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5968 $ac_cxx_conftest_cxx98_program
5970 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5972 CXX
="$ac_save_CXX $ac_arg"
5973 if ac_fn_cxx_try_compile
"$LINENO"
5975 ac_cv_prog_cxx_cxx98
=$ac_arg
5977 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5978 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5980 rm -f conftest.
$ac_ext
5984 if test "x$ac_cv_prog_cxx_cxx98" = xno
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5987 printf "%s\n" "unsupported" >&6; }
5989 if test "x$ac_cv_prog_cxx_cxx98" = x
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5992 printf "%s\n" "none needed" >&6; }
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5995 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5996 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5998 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5999 ac_prog_cxx_stdcxx
=cxx98
6004 ac_cpp
='$CPP $CPPFLAGS'
6005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6009 if test -n "$ac_tool_prefix"; then
6010 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6011 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 printf %s
"checking for $ac_word... " >&6; }
6014 if test ${ac_cv_prog_CPPBIN+y}
6016 printf %s
"(cached) " >&6
6018 if test -n "$CPPBIN"; then
6019 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6025 case $as_dir in #(((
6028 *) as_dir
=$as_dir/ ;;
6030 for ac_exec_ext
in '' $ac_executable_extensions; do
6031 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6042 CPPBIN
=$ac_cv_prog_CPPBIN
6043 if test -n "$CPPBIN"; then
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6045 printf "%s\n" "$CPPBIN" >&6; }
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 printf "%s\n" "no" >&6; }
6053 if test -z "$ac_cv_prog_CPPBIN"; then
6054 ac_ct_CPPBIN
=$CPPBIN
6055 # Extract the first word of "cpp", so it can be a program name with args.
6056 set dummy cpp
; ac_word
=$2
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 printf %s
"checking for $ac_word... " >&6; }
6059 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6061 printf %s
"(cached) " >&6
6063 if test -n "$ac_ct_CPPBIN"; then
6064 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6070 case $as_dir in #(((
6073 *) as_dir
=$as_dir/ ;;
6075 for ac_exec_ext
in '' $ac_executable_extensions; do
6076 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6077 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6087 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6088 if test -n "$ac_ct_CPPBIN"; then
6089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6090 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 printf "%s\n" "no" >&6; }
6096 if test "x$ac_ct_CPPBIN" = x
; then
6099 case $cross_compiling:$ac_tool_warned in
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6102 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6103 ac_tool_warned
=yes ;;
6105 CPPBIN
=$ac_ct_CPPBIN
6108 CPPBIN
="$ac_cv_prog_CPPBIN"
6112 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6114 if test -n "$ac_tool_prefix"; then
6115 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6116 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6118 printf %s
"checking for $ac_word... " >&6; }
6119 if test ${ac_cv_prog_LD+y}
6121 printf %s
"(cached) " >&6
6123 if test -n "$LD"; then
6124 ac_cv_prog_LD
="$LD" # Let the user override the test.
6126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6130 case $as_dir in #(((
6133 *) as_dir
=$as_dir/ ;;
6135 for ac_exec_ext
in '' $ac_executable_extensions; do
6136 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6148 if test -n "$LD"; then
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6150 printf "%s\n" "$LD" >&6; }
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 printf "%s\n" "no" >&6; }
6158 if test -z "$ac_cv_prog_LD"; then
6160 # Extract the first word of "ld", so it can be a program name with args.
6161 set dummy ld
; ac_word
=$2
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163 printf %s
"checking for $ac_word... " >&6; }
6164 if test ${ac_cv_prog_ac_ct_LD+y}
6166 printf %s
"(cached) " >&6
6168 if test -n "$ac_ct_LD"; then
6169 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6175 case $as_dir in #(((
6178 *) as_dir
=$as_dir/ ;;
6180 for ac_exec_ext
in '' $ac_executable_extensions; do
6181 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_ac_ct_LD
="ld"
6183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6192 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6193 if test -n "$ac_ct_LD"; then
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6195 printf "%s\n" "$ac_ct_LD" >&6; }
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 printf "%s\n" "no" >&6; }
6201 if test "x$ac_ct_LD" = x
; then
6204 case $cross_compiling:$ac_tool_warned in
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned
=yes ;;
6219 with_fontconfig
=${with_fontconfig:-no}
6221 *-mingw32*|
*-cygwin*)
6222 enable_win16
=${enable_win16:-no}
6223 with_mingw
=${with_mingw:-no}
6230 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6236 printf %s
"checking whether $CC works... " >&6; }
6237 if test ${wine_cv_cc_m32+y}
6239 printf %s
"(cached) " >&6
6241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6252 if ac_fn_c_try_link
"$LINENO"
6258 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6259 conftest
$ac_exeext conftest.
$ac_ext
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6262 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6263 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
6265 notice_platform
="32-bit "
6266 TARGETFLAGS
="$TARGETFLAGS -m32"
6267 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6268 export PKG_CONFIG_LIBDIR
6269 with_unwind
=${with_unwind:-no}
6271 if test "x${GCC}" = "xyes"
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6274 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6275 if test ${wine_cv_builtin_ms_va_list+y}
6277 printf %s
"(cached) " >&6
6279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6285 void func(__builtin_ms_va_list *args);
6290 if ac_fn_c_try_compile
"$LINENO"
6292 wine_cv_builtin_ms_va_list
=yes
6294 wine_cv_builtin_ms_va_list
=no
6296 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6299 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6300 test $wine_cv_builtin_ms_va_list != no || as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6305 notice_platform
="64-bit "
6306 TARGETFLAGS
="$TARGETFLAGS -m64"
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6311 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6312 if test ${wine_cv_thumb2+y}
6314 printf %s
"(cached) " >&6
6316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6322 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6327 if ac_fn_c_try_link
"$LINENO"
6333 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6334 conftest
$ac_exeext conftest.
$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6337 printf "%s\n" "$wine_cv_thumb2" >&6; }
6338 if test x
"$wine_cv_thumb2" = xyes
6340 CFLAGS
="$CFLAGS -mthumb"
6341 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6343 CFLAGS
="$CFLAGS -marm"
6344 TARGETFLAGS
="$TARGETFLAGS -marm"
6346 case $with_float_abi in
6348 float_abi
=$with_float_abi ;;
6355 saved_CFLAGS
=$CFLAGS
6356 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6358 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6359 if test ${wine_cv_float_abi+y}
6361 printf %s
"(cached) " >&6
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6369 asm("vmrs r2,fpscr");
6374 if ac_fn_c_try_link
"$LINENO"
6376 wine_cv_float_abi
=yes
6378 wine_cv_float_abi
=no
6380 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6381 conftest
$ac_exeext conftest.
$ac_ext
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6384 printf "%s\n" "$wine_cv_float_abi" >&6; }
6385 if test $wine_cv_float_abi = no
6388 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6390 CFLAGS
=$saved_CFLAGS
6394 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6395 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6398 with_unwind
=${with_unwind:-no}
6402 enable_win16
=${enable_win16:-i386}
6403 enable_win64
=${enable_win64:-no}
6404 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6405 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6406 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6408 enable_winetest
=${enable_winetest:-$enable_tests}
6410 if test "x$enable_win64" = "xyes"
6412 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6413 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6417 cygwin
*|mingw32
*) toolsext
=".exe"
6425 aarch64
*) HOST_ARCH
=aarch64
;;
6426 arm
*) HOST_ARCH
=arm
;;
6427 i
[3456789]86*) HOST_ARCH
=i386
;;
6428 x86_64
) HOST_ARCH
=x86_64
;;
6432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6433 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6434 if test ${wine_cv_toolsdir+y}
6436 printf %s
"(cached) " >&6
6438 wine_cv_toolsdir
="$with_wine_tools"
6439 if test -z "$with_wine_tools"; then
6440 if test "$cross_compiling" = "yes"; then
6441 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6442 elif test -n "$with_wine64"; then
6443 wine_cv_toolsdir
="$with_wine64"
6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6448 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6449 if test -z "$wine_cv_toolsdir"; then
6450 wine_makedep
=tools
/makedep
$toolsext
6451 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6452 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6453 enable_tools
=${enable_tools:-no}
6454 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6456 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6458 toolsdir
=$wine_cv_toolsdir
6460 MAKEDEP
=$wine_makedep
6462 RUNTESTFLAGS
="-q -P wine"
6464 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'"
6467 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6469 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6474 # Extract the first word of "$ac_prog", so it can be a program name with args.
6475 set dummy
$ac_prog; ac_word
=$2
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477 printf %s
"checking for $ac_word... " >&6; }
6478 if test ${ac_cv_prog_FLEX+y}
6480 printf %s
"(cached) " >&6
6482 if test -n "$FLEX"; then
6483 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6489 case $as_dir in #(((
6492 *) as_dir
=$as_dir/ ;;
6494 for ac_exec_ext
in '' $ac_executable_extensions; do
6495 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_FLEX
="$ac_prog"
6497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6506 FLEX
=$ac_cv_prog_FLEX
6507 if test -n "$FLEX"; then
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6509 printf "%s\n" "$FLEX" >&6; }
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 printf "%s\n" "no" >&6; }
6516 test -n "$FLEX" && break
6518 test -n "$FLEX" || FLEX
="none"
6520 if test "$FLEX" = "none"
6522 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6525 printf %s
"checking whether flex is recent enough... " >&6; }
6526 if test ${wine_cv_recent_flex+y}
6528 printf %s
"(cached) " >&6
6530 cat >conftest.l
<<EOF
6532 #include "prediluvian.h"
6536 if $FLEX -t conftest.l
>/dev
/null
2>&5
6538 wine_cv_recent_flex
=yes
6540 wine_cv_recent_flex
=no
6543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6544 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6545 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
6547 for ac_prog
in bison
6549 # Extract the first word of "$ac_prog", so it can be a program name with args.
6550 set dummy
$ac_prog; ac_word
=$2
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6552 printf %s
"checking for $ac_word... " >&6; }
6553 if test ${ac_cv_prog_BISON+y}
6555 printf %s
"(cached) " >&6
6557 if test -n "$BISON"; then
6558 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6564 case $as_dir in #(((
6567 *) as_dir
=$as_dir/ ;;
6569 for ac_exec_ext
in '' $ac_executable_extensions; do
6570 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_BISON
="$ac_prog"
6572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6581 BISON
=$ac_cv_prog_BISON
6582 if test -n "$BISON"; then
6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6584 printf "%s\n" "$BISON" >&6; }
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 printf "%s\n" "no" >&6; }
6591 test -n "$BISON" && break
6593 test -n "$BISON" || BISON
="none"
6595 if test "$BISON" = "none"
6597 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6600 printf %s
"checking whether bison is recent enough... " >&6; }
6601 if test ${wine_cv_recent_bison+y}
6603 printf %s
"(cached) " >&6
6605 cat >conftest.y
<<EOF
6606 %define parse.error verbose
6610 if $BISON conftest.y
>/dev
/null
2>&5
6612 wine_cv_recent_bison
=yes
6614 wine_cv_recent_bison
=no
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6618 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6619 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
6621 if test -n "$ac_tool_prefix"; then
6622 for ac_prog
in ar gar
6624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6625 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 printf %s
"checking for $ac_word... " >&6; }
6628 if test ${ac_cv_prog_AR+y}
6630 printf %s
"(cached) " >&6
6632 if test -n "$AR"; then
6633 ac_cv_prog_AR
="$AR" # Let the user override the test.
6635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6639 case $as_dir in #(((
6642 *) as_dir
=$as_dir/ ;;
6644 for ac_exec_ext
in '' $ac_executable_extensions; do
6645 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6657 if test -n "$AR"; then
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6659 printf "%s\n" "$AR" >&6; }
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 printf "%s\n" "no" >&6; }
6666 test -n "$AR" && break
6669 if test -z "$AR"; then
6671 for ac_prog
in ar gar
6673 # Extract the first word of "$ac_prog", so it can be a program name with args.
6674 set dummy
$ac_prog; ac_word
=$2
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 printf %s
"checking for $ac_word... " >&6; }
6677 if test ${ac_cv_prog_ac_ct_AR+y}
6679 printf %s
"(cached) " >&6
6681 if test -n "$ac_ct_AR"; then
6682 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6688 case $as_dir in #(((
6691 *) as_dir
=$as_dir/ ;;
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_ac_ct_AR
="$ac_prog"
6696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6705 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6706 if test -n "$ac_ct_AR"; then
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6708 printf "%s\n" "$ac_ct_AR" >&6; }
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 printf "%s\n" "no" >&6; }
6715 test -n "$ac_ct_AR" && break
6718 if test "x$ac_ct_AR" = x
; then
6721 case $cross_compiling:$ac_tool_warned in
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725 ac_tool_warned
=yes ;;
6731 if test -n "$ac_tool_prefix"; then
6732 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6733 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 printf %s
"checking for $ac_word... " >&6; }
6736 if test ${ac_cv_prog_STRIP+y}
6738 printf %s
"(cached) " >&6
6740 if test -n "$STRIP"; then
6741 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6747 case $as_dir in #(((
6750 *) as_dir
=$as_dir/ ;;
6752 for ac_exec_ext
in '' $ac_executable_extensions; do
6753 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6754 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6764 STRIP
=$ac_cv_prog_STRIP
6765 if test -n "$STRIP"; then
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6767 printf "%s\n" "$STRIP" >&6; }
6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 printf "%s\n" "no" >&6; }
6775 if test -z "$ac_cv_prog_STRIP"; then
6777 # Extract the first word of "strip", so it can be a program name with args.
6778 set dummy strip
; ac_word
=$2
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 printf %s
"checking for $ac_word... " >&6; }
6781 if test ${ac_cv_prog_ac_ct_STRIP+y}
6783 printf %s
"(cached) " >&6
6785 if test -n "$ac_ct_STRIP"; then
6786 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6792 case $as_dir in #(((
6795 *) as_dir
=$as_dir/ ;;
6797 for ac_exec_ext
in '' $ac_executable_extensions; do
6798 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6799 ac_cv_prog_ac_ct_STRIP
="strip"
6800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6809 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6810 if test -n "$ac_ct_STRIP"; then
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6812 printf "%s\n" "$ac_ct_STRIP" >&6; }
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815 printf "%s\n" "no" >&6; }
6818 if test "x$ac_ct_STRIP" = x
; then
6821 case $cross_compiling:$ac_tool_warned in
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6824 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6825 ac_tool_warned
=yes ;;
6830 STRIP
="$ac_cv_prog_STRIP"
6833 if test -n "$ac_tool_prefix"; then
6834 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6835 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 printf %s
"checking for $ac_word... " >&6; }
6838 if test ${ac_cv_prog_RANLIB+y}
6840 printf %s
"(cached) " >&6
6842 if test -n "$RANLIB"; then
6843 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6849 case $as_dir in #(((
6852 *) as_dir
=$as_dir/ ;;
6854 for ac_exec_ext
in '' $ac_executable_extensions; do
6855 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6856 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6866 RANLIB
=$ac_cv_prog_RANLIB
6867 if test -n "$RANLIB"; then
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6869 printf "%s\n" "$RANLIB" >&6; }
6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 printf "%s\n" "no" >&6; }
6877 if test -z "$ac_cv_prog_RANLIB"; then
6878 ac_ct_RANLIB
=$RANLIB
6879 # Extract the first word of "ranlib", so it can be a program name with args.
6880 set dummy ranlib
; ac_word
=$2
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6882 printf %s
"checking for $ac_word... " >&6; }
6883 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6885 printf %s
"(cached) " >&6
6887 if test -n "$ac_ct_RANLIB"; then
6888 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6894 case $as_dir in #(((
6897 *) as_dir
=$as_dir/ ;;
6899 for ac_exec_ext
in '' $ac_executable_extensions; do
6900 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6901 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6911 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6912 if test -n "$ac_ct_RANLIB"; then
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6914 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 printf "%s\n" "no" >&6; }
6920 if test "x$ac_ct_RANLIB" = x
; then
6923 case $cross_compiling:$ac_tool_warned in
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6926 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6927 ac_tool_warned
=yes ;;
6929 RANLIB
=$ac_ct_RANLIB
6932 RANLIB
="$ac_cv_prog_RANLIB"
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6936 printf %s
"checking whether ln -s works... " >&6; }
6938 if test "$LN_S" = "ln -s"; then
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6940 printf "%s\n" "yes" >&6; }
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6943 printf "%s\n" "no, using $LN_S" >&6; }
6946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6947 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6948 if test ${ac_cv_path_GREP+y}
6950 printf %s
"(cached) " >&6
6952 if test -z "$GREP"; then
6953 ac_path_GREP_found
=false
6954 # Loop through the user's path and test for each of PROGNAME-LIST
6955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6956 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6959 case $as_dir in #(((
6962 *) as_dir
=$as_dir/ ;;
6964 for ac_prog
in grep ggrep
6966 for ac_exec_ext
in '' $ac_executable_extensions; do
6967 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6968 as_fn_executable_p
"$ac_path_GREP" ||
continue
6969 # Check for GNU ac_path_GREP and select it if it is found.
6970 # Check for GNU $ac_path_GREP
6971 case `"$ac_path_GREP" --version 2>&1` in
6973 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6976 printf %s
0123456789 >"conftest.in"
6979 cat "conftest.in" "conftest.in" >"conftest.tmp"
6980 mv "conftest.tmp" "conftest.in"
6981 cp "conftest.in" "conftest.nl"
6982 printf "%s\n" 'GREP' >> "conftest.nl"
6983 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6984 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6985 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6986 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6987 # Best one so far, save it but keep looking for a better one
6988 ac_cv_path_GREP
="$ac_path_GREP"
6989 ac_path_GREP_max
=$ac_count
6991 # 10*(2^10) chars as input seems more than enough
6992 test $ac_count -gt 10 && break
6994 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6997 $ac_path_GREP_found && break 3
7002 if test -z "$ac_cv_path_GREP"; then
7003 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7006 ac_cv_path_GREP
=$GREP
7010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7011 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7012 GREP
="$ac_cv_path_GREP"
7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7016 printf %s
"checking for egrep... " >&6; }
7017 if test ${ac_cv_path_EGREP+y}
7019 printf %s
"(cached) " >&6
7021 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7022 then ac_cv_path_EGREP
="$GREP -E"
7024 if test -z "$EGREP"; then
7025 ac_path_EGREP_found
=false
7026 # Loop through the user's path and test for each of PROGNAME-LIST
7027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7028 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7031 case $as_dir in #(((
7034 *) as_dir
=$as_dir/ ;;
7036 for ac_prog
in egrep
7038 for ac_exec_ext
in '' $ac_executable_extensions; do
7039 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7040 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7041 # Check for GNU ac_path_EGREP and select it if it is found.
7042 # Check for GNU $ac_path_EGREP
7043 case `"$ac_path_EGREP" --version 2>&1` in
7045 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7048 printf %s
0123456789 >"conftest.in"
7051 cat "conftest.in" "conftest.in" >"conftest.tmp"
7052 mv "conftest.tmp" "conftest.in"
7053 cp "conftest.in" "conftest.nl"
7054 printf "%s\n" 'EGREP' >> "conftest.nl"
7055 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7056 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7057 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7058 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7059 # Best one so far, save it but keep looking for a better one
7060 ac_cv_path_EGREP
="$ac_path_EGREP"
7061 ac_path_EGREP_max
=$ac_count
7063 # 10*(2^10) chars as input seems more than enough
7064 test $ac_count -gt 10 && break
7066 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7069 $ac_path_EGREP_found && break 3
7074 if test -z "$ac_cv_path_EGREP"; then
7075 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7078 ac_cv_path_EGREP
=$EGREP
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7084 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7085 EGREP
="$ac_cv_path_EGREP"
7088 # Extract the first word of "ldconfig", so it can be a program name with args.
7089 set dummy ldconfig
; ac_word
=$2
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 printf %s
"checking for $ac_word... " >&6; }
7092 if test ${ac_cv_path_LDCONFIG+y}
7094 printf %s
"(cached) " >&6
7098 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7102 for as_dir
in /sbin
/usr
/sbin
$PATH
7105 case $as_dir in #(((
7108 *) as_dir
=$as_dir/ ;;
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7112 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7120 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7124 LDCONFIG
=$ac_cv_path_LDCONFIG
7125 if test -n "$LDCONFIG"; then
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7127 printf "%s\n" "$LDCONFIG" >&6; }
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 printf "%s\n" "no" >&6; }
7134 for ac_prog
in msgfmt
7136 # Extract the first word of "$ac_prog", so it can be a program name with args.
7137 set dummy
$ac_prog; ac_word
=$2
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 printf %s
"checking for $ac_word... " >&6; }
7140 if test ${ac_cv_prog_MSGFMT+y}
7142 printf %s
"(cached) " >&6
7144 if test -n "$MSGFMT"; then
7145 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7151 case $as_dir in #(((
7154 *) as_dir
=$as_dir/ ;;
7156 for ac_exec_ext
in '' $ac_executable_extensions; do
7157 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_MSGFMT
="$ac_prog"
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7168 MSGFMT
=$ac_cv_prog_MSGFMT
7169 if test -n "$MSGFMT"; then
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7171 printf "%s\n" "$MSGFMT" >&6; }
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 printf "%s\n" "no" >&6; }
7178 test -n "$MSGFMT" && break
7180 test -n "$MSGFMT" || MSGFMT
="false"
7182 if test ${ac_tool_prefix+y}
7184 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7185 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 printf %s
"checking for $ac_word... " >&6; }
7188 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 printf %s
"(cached) " >&6
7192 if test -n "$PKG_CONFIG"; then
7193 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7199 case $as_dir in #(((
7202 *) as_dir
=$as_dir/ ;;
7204 for ac_exec_ext
in '' $ac_executable_extensions; do
7205 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7216 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7217 if test -n "$PKG_CONFIG"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7219 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 printf "%s\n" "no" >&6; }
7227 if ${ac_cv_prog_PKG_CONFIG:+false} :
7229 if test "x$cross_compiling" = xyes
7233 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7234 # Extract the first word of "pkg-config", so it can be a program name with args.
7235 set dummy pkg-config
; ac_word
=$2
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 printf %s
"checking for $ac_word... " >&6; }
7238 if test ${ac_cv_prog_PKG_CONFIG+y}
7240 printf %s
"(cached) " >&6
7242 if test -n "$PKG_CONFIG"; then
7243 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7249 case $as_dir in #(((
7252 *) as_dir
=$as_dir/ ;;
7254 for ac_exec_ext
in '' $ac_executable_extensions; do
7255 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7256 ac_cv_prog_PKG_CONFIG
="pkg-config"
7257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7266 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7267 if test -n "$PKG_CONFIG"; then
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7269 printf "%s\n" "$PKG_CONFIG" >&6; }
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272 printf "%s\n" "no" >&6; }
7278 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7281 if test "x$enable_maintainer_mode" != "xyes"
7288 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7289 for ac_prog
in fontforge
7291 # Extract the first word of "$ac_prog", so it can be a program name with args.
7292 set dummy
$ac_prog; ac_word
=$2
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 printf %s
"checking for $ac_word... " >&6; }
7295 if test ${ac_cv_prog_FONTFORGE+y}
7297 printf %s
"(cached) " >&6
7299 if test -n "$FONTFORGE"; then
7300 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7306 case $as_dir in #(((
7309 *) as_dir
=$as_dir/ ;;
7311 for ac_exec_ext
in '' $ac_executable_extensions; do
7312 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_FONTFORGE
="$ac_prog"
7314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7323 FONTFORGE
=$ac_cv_prog_FONTFORGE
7324 if test -n "$FONTFORGE"; then
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7326 printf "%s\n" "$FONTFORGE" >&6; }
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 printf "%s\n" "no" >&6; }
7333 test -n "$FONTFORGE" && break
7335 test -n "$FONTFORGE" || FONTFORGE
="false"
7337 for ac_prog
in rsvg-convert rsvg
7339 # Extract the first word of "$ac_prog", so it can be a program name with args.
7340 set dummy
$ac_prog; ac_word
=$2
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 printf %s
"checking for $ac_word... " >&6; }
7343 if test ${ac_cv_prog_RSVG+y}
7345 printf %s
"(cached) " >&6
7347 if test -n "$RSVG"; then
7348 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7354 case $as_dir in #(((
7357 *) as_dir
=$as_dir/ ;;
7359 for ac_exec_ext
in '' $ac_executable_extensions; do
7360 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7361 ac_cv_prog_RSVG
="$ac_prog"
7362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7371 RSVG
=$ac_cv_prog_RSVG
7372 if test -n "$RSVG"; then
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7374 printf "%s\n" "$RSVG" >&6; }
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 printf "%s\n" "no" >&6; }
7381 test -n "$RSVG" && break
7383 test -n "$RSVG" || RSVG
="false"
7385 for ac_prog
in convert
7387 # Extract the first word of "$ac_prog", so it can be a program name with args.
7388 set dummy
$ac_prog; ac_word
=$2
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 printf %s
"checking for $ac_word... " >&6; }
7391 if test ${ac_cv_prog_CONVERT+y}
7393 printf %s
"(cached) " >&6
7395 if test -n "$CONVERT"; then
7396 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7402 case $as_dir in #(((
7405 *) as_dir
=$as_dir/ ;;
7407 for ac_exec_ext
in '' $ac_executable_extensions; do
7408 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_CONVERT
="$ac_prog"
7410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7419 CONVERT
=$ac_cv_prog_CONVERT
7420 if test -n "$CONVERT"; then
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7422 printf "%s\n" "$CONVERT" >&6; }
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 printf "%s\n" "no" >&6; }
7429 test -n "$CONVERT" && break
7431 test -n "$CONVERT" || CONVERT
="false"
7433 for ac_prog
in icotool
7435 # Extract the first word of "$ac_prog", so it can be a program name with args.
7436 set dummy
$ac_prog; ac_word
=$2
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 printf %s
"checking for $ac_word... " >&6; }
7439 if test ${ac_cv_prog_ICOTOOL+y}
7441 printf %s
"(cached) " >&6
7443 if test -n "$ICOTOOL"; then
7444 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7450 case $as_dir in #(((
7453 *) as_dir
=$as_dir/ ;;
7455 for ac_exec_ext
in '' $ac_executable_extensions; do
7456 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7457 ac_cv_prog_ICOTOOL
="$ac_prog"
7458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7467 ICOTOOL
=$ac_cv_prog_ICOTOOL
7468 if test -n "$ICOTOOL"; then
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7470 printf "%s\n" "$ICOTOOL" >&6; }
7472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 printf "%s\n" "no" >&6; }
7477 test -n "$ICOTOOL" && break
7479 test -n "$ICOTOOL" || ICOTOOL
="false"
7481 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7482 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7484 if test "$CONVERT" = false
7486 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7489 printf %s
"checking for recent enough imagemagick... " >&6; }
7490 convert_version
=`convert --version | head -n1`
7491 if test "x$convert_version" != "x"
7493 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7494 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7495 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7500 if test "$CONVERT" = false
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7503 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7504 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7507 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7511 if test "$ICOTOOL" = false
7513 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7516 printf %s
"checking for recent enough icotool... " >&6; }
7517 icotool_version
=`icotool --version | head -n1`
7518 if test "x$icotool_version" != "x"
7520 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7521 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7522 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7525 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7528 if test "$ICOTOOL" = false
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7531 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7532 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7535 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7545 test "x$with_gettext" != xno || MSGFMT
=false
7546 if test "$MSGFMT" != "false"
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7549 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7550 if test ${wine_cv_msgfmt_contexts+y}
7552 printf %s
"(cached) " >&6
7554 cat >conftest.po
<<EOF
7560 if $MSGFMT -o /dev
/null conftest.po
2>&5
7562 wine_cv_msgfmt_contexts
=yes
7564 wine_cv_msgfmt_contexts
=no
7567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7568 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7569 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7571 if test "$MSGFMT" = false
7573 case "x$with_gettext" in
7574 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7576 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7577 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7579 enable_po
=${enable_po:-no}
7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7584 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7585 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7587 printf %s
"(cached) " >&6
7589 ac_check_lib_save_LIBS
=$LIBS
7591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h. */
7594 /* Override any GCC internal prototype to avoid an error.
7595 Use char because int might match the return type of a GCC
7596 builtin and then its argument prototype would still apply. */
7597 char i386_set_ldt ();
7601 return i386_set_ldt ();
7606 if ac_fn_c_try_link
"$LINENO"
7608 ac_cv_lib_i386_i386_set_ldt
=yes
7610 ac_cv_lib_i386_i386_set_ldt
=no
7612 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7613 conftest
$ac_exeext conftest.
$ac_ext
7614 LIBS
=$ac_check_lib_save_LIBS
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7617 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7618 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7629 # Check whether --enable-largefile was given.
7630 if test ${enable_largefile+y}
7632 enableval
=$enable_largefile;
7635 if test "$enable_largefile" != no
; then
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7638 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7639 if test ${ac_cv_sys_largefile_CC+y}
7641 printf %s
"(cached) " >&6
7643 ac_cv_sys_largefile_CC
=no
7644 if test "$GCC" != yes; then
7647 # IRIX 6.2 and later do not support large files by default,
7648 # so use the C compiler's -n32 option if that helps.
7649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7651 #include <sys/types.h>
7652 /* Check that off_t can represent 2**63 - 1 correctly.
7653 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7654 since some C++ compilers masquerading as C compilers
7655 incorrectly reject 9223372036854775807. */
7656 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7657 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7658 && LARGE_OFF_T % 2147483647 == 1)
7668 if ac_fn_c_try_compile
"$LINENO"
7672 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7674 if ac_fn_c_try_compile
"$LINENO"
7676 ac_cv_sys_largefile_CC
=' -n32'; break
7678 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7682 rm -f conftest.
$ac_ext
7685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7686 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7687 if test "$ac_cv_sys_largefile_CC" != no
; then
7688 CC
=$CC$ac_cv_sys_largefile_CC
7691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7692 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7693 if test ${ac_cv_sys_file_offset_bits+y}
7695 printf %s
"(cached) " >&6
7698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7700 #include <sys/types.h>
7701 /* Check that off_t can represent 2**63 - 1 correctly.
7702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7703 since some C++ compilers masquerading as C compilers
7704 incorrectly reject 9223372036854775807. */
7705 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7707 && LARGE_OFF_T % 2147483647 == 1)
7717 if ac_fn_c_try_compile
"$LINENO"
7719 ac_cv_sys_file_offset_bits
=no
; break
7721 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7724 #define _FILE_OFFSET_BITS 64
7725 #include <sys/types.h>
7726 /* Check that off_t can represent 2**63 - 1 correctly.
7727 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7728 since some C++ compilers masquerading as C compilers
7729 incorrectly reject 9223372036854775807. */
7730 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7731 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7732 && LARGE_OFF_T % 2147483647 == 1)
7742 if ac_fn_c_try_compile
"$LINENO"
7744 ac_cv_sys_file_offset_bits
=64; break
7746 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7747 ac_cv_sys_file_offset_bits
=unknown
7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7752 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7753 case $ac_cv_sys_file_offset_bits in #(
7756 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7760 if test $ac_cv_sys_file_offset_bits = unknown
; then
7761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7762 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7763 if test ${ac_cv_sys_large_files+y}
7765 printf %s
"(cached) " >&6
7768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 #include <sys/types.h>
7771 /* Check that off_t can represent 2**63 - 1 correctly.
7772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7773 since some C++ compilers masquerading as C compilers
7774 incorrectly reject 9223372036854775807. */
7775 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7777 && LARGE_OFF_T % 2147483647 == 1)
7787 if ac_fn_c_try_compile
"$LINENO"
7789 ac_cv_sys_large_files
=no
; break
7791 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h. */
7794 #define _LARGE_FILES 1
7795 #include <sys/types.h>
7796 /* Check that off_t can represent 2**63 - 1 correctly.
7797 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7798 since some C++ compilers masquerading as C compilers
7799 incorrectly reject 9223372036854775807. */
7800 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7801 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7802 && LARGE_OFF_T % 2147483647 == 1)
7812 if ac_fn_c_try_compile
"$LINENO"
7814 ac_cv_sys_large_files
=1; break
7816 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7817 ac_cv_sys_large_files
=unknown
7821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7822 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7823 case $ac_cv_sys_large_files in #(
7826 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7834 ac_header
= ac_cache
=
7835 for ac_item
in $ac_header_c_list
7837 if test $ac_cache; then
7838 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7839 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7840 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7842 ac_header
= ac_cache
=
7843 elif test $ac_header; then
7857 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7860 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7863 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_EGL_egl_h" = xyes
7872 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_arpa_inet_h" = xyes
7884 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7890 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_asm_types_h" = xyes
7896 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_asm_user_h" = xyes
7902 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_elf_h" = xyes
7908 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_float_h" = xyes
7914 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_gettext_po_h" = xyes
7920 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_libproc_h" = xyes
7926 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_link_h" = xyes
7932 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7938 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_filter_h" = xyes
7944 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7950 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7956 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_input_h" = xyes
7962 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7968 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_major_h" = xyes
7974 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_param_h" = xyes
7980 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_serial_h" = xyes
7986 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_types_h" = xyes
7992 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7998 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_lwp_h" = xyes
8004 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8010 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_mach_mach_h" = xyes
8016 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_machine_cpu_h" = xyes
8022 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8028 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_mntent_h" = xyes
8034 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_netdb_h" = xyes
8040 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_netinet_in_h" = xyes
8046 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8052 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8058 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8064 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8070 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_port_h" = xyes
8076 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_pthread_h" = xyes
8082 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_pwd_h" = xyes
8088 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_sched_h" = xyes
8094 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8100 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8106 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_scsi_sg_h" = xyes
8112 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_stdint_h" = xyes
8118 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_sys_attr_h" = xyes
8124 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_auxv_h" = xyes
8130 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_cdio_h" = xyes
8136 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_epoll_h" = xyes
8142 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_event_h" = xyes
8148 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_extattr_h" = xyes
8154 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_filio_h" = xyes
8160 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_ipc_h" = xyes
8166 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_link_h" = xyes
8172 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_modem_h" = xyes
8178 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_mtio_h" = xyes
8184 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_param_h" = xyes
8190 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_prctl_h" = xyes
8196 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8202 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_queue_h" = xyes
8208 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_random_h" = xyes
8214 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_resource_h" = xyes
8220 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8226 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_shm_h" = xyes
8232 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_signal_h" = xyes
8238 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8244 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_sockio_h" = xyes
8250 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8256 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_strtio_h" = xyes
8262 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_syscall_h" = xyes
8268 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8274 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_times_h" = xyes
8280 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_uio_h" = xyes
8286 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_user_h" = xyes
8292 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_utsname_h" = xyes
8298 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_vnode_h" = xyes
8304 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_xattr_h" = xyes
8310 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_syscall_h" = xyes
8316 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_utime_h" = xyes
8322 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8328 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8334 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8342 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8346 if test $ac_cv_header_sys_mkdev_h = no
; then
8347 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8351 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8357 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8358 if test ${ac_cv_header_stat_broken+y}
8360 printf %s
"(cached) " >&6
8362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 #include <sys/types.h>
8365 #include <sys/stat.h>
8367 #if defined S_ISBLK && defined S_IFDIR
8368 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8371 #if defined S_ISBLK && defined S_IFCHR
8372 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8375 #if defined S_ISLNK && defined S_IFREG
8376 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8379 #if defined S_ISSOCK && defined S_IFREG
8380 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8384 if ac_fn_c_try_compile
"$LINENO"
8386 ac_cv_header_stat_broken
=no
8388 ac_cv_header_stat_broken
=yes
8390 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8393 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8394 if test $ac_cv_header_stat_broken = yes; then
8396 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8402 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8403 #ifdef HAVE_SYS_PARAM_H
8404 # include <sys/param.h>
8407 if test "x$ac_cv_header_sys_conf_h" = xyes
8409 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8412 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8413 #ifdef HAVE_SYS_PARAM_H
8414 # include <sys/param.h>
8417 if test "x$ac_cv_header_sys_mount_h" = xyes
8419 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8423 #ifdef HAVE_SYS_PARAM_H
8424 # include <sys/param.h>
8427 if test "x$ac_cv_header_sys_statfs_h" = xyes
8429 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8433 #ifdef HAVE_SYS_PARAM_H
8434 # include <sys/param.h>
8437 if test "x$ac_cv_header_sys_user_h" = xyes
8439 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8447 if test "x$ac_cv_header_sys_vfs_h" = xyes
8449 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8454 saved_sysctl_h_CFLAGS
=$CFLAGS
8455 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8456 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8457 #ifdef HAVE_SYS_PARAM_H
8458 # include <sys/param.h>
8461 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8463 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8467 CFLAGS
=$saved_sysctl_h_CFLAGS
8469 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_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_netinet_ip_h" = xyes
8492 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8495 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_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_h" = xyes
8518 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_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_arp_h" = xyes
8544 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8547 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_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_dl_h" = xyes
8570 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_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_if_types_h" = xyes
8596 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_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_net_route_h" = xyes
8622 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8625 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_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_if_ether_h" = xyes
8648 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_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_in_pcb_h" = xyes
8674 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_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_icmp_h" = xyes
8700 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8703 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_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_ip_var_h" = xyes
8726 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8729 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_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_netinet_udp_h" = xyes
8752 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_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_netinet6_ip6_var_h" = xyes
8778 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8781 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_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_netipx_ipx_h" = xyes
8804 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8807 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8808 #include <sys/socket.h>
8809 #ifdef HAVE_SYS_SOCKETVAR_H
8810 # include <sys/socketvar.h>
8812 #ifdef HAVE_NET_ROUTE_H
8813 # include <net/route.h>
8815 #ifdef HAVE_NETINET_IN_H
8816 # include <netinet/in.h>
8818 #ifdef HAVE_NETINET_IN_SYSTM_H
8819 # include <netinet/in_systm.h>
8821 #ifdef HAVE_NET_IF_H
8822 # include <net/if.h>
8824 #ifdef HAVE_NETINET_IP_H
8825 # include <netinet/ip.h>
8828 if test "x$ac_cv_header_sys_un_h" = xyes
8830 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8835 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8836 #include <sys/socket.h>
8837 #ifdef HAVE_SYS_SOCKETVAR_H
8838 # include <sys/socketvar.h>
8840 #ifdef HAVE_NETINET_IN_H
8841 # include <netinet/in.h>
8843 #ifdef HAVE_NETINET_IN_SYSTM_H
8844 # include <netinet/in_systm.h>
8846 #ifdef HAVE_NETINET_IP_H
8847 # include <netinet/ip.h>
8849 #ifdef HAVE_NETINET_IP_VAR_H
8850 # include <netinet/ip_var.h>
8852 #ifdef HAVE_NETINET_IP_ICMP_H
8853 # include <netinet/ip_icmp.h>
8855 #ifdef HAVE_NETINET_UDP_H
8856 # include <netinet/udp.h>
8858 #ifdef HAVE_NETINET_TCP_H
8859 # include <netinet/tcp.h>
8862 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8864 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8867 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8868 #include <sys/socket.h>
8869 #ifdef HAVE_SYS_SOCKETVAR_H
8870 # include <sys/socketvar.h>
8872 #ifdef HAVE_NETINET_IN_H
8873 # include <netinet/in.h>
8875 #ifdef HAVE_NETINET_IN_SYSTM_H
8876 # include <netinet/in_systm.h>
8878 #ifdef HAVE_NETINET_IP_H
8879 # include <netinet/ip.h>
8881 #ifdef HAVE_NETINET_IP_VAR_H
8882 # include <netinet/ip_var.h>
8884 #ifdef HAVE_NETINET_IP_ICMP_H
8885 # include <netinet/ip_icmp.h>
8887 #ifdef HAVE_NETINET_UDP_H
8888 # include <netinet/udp.h>
8890 #ifdef HAVE_NETINET_TCP_H
8891 # include <netinet/tcp.h>
8894 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8896 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8899 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8900 #include <sys/socket.h>
8901 #ifdef HAVE_SYS_SOCKETVAR_H
8902 # include <sys/socketvar.h>
8904 #ifdef HAVE_NETINET_IN_H
8905 # include <netinet/in.h>
8907 #ifdef HAVE_NETINET_IN_SYSTM_H
8908 # include <netinet/in_systm.h>
8910 #ifdef HAVE_NETINET_IP_H
8911 # include <netinet/ip.h>
8913 #ifdef HAVE_NETINET_IP_VAR_H
8914 # include <netinet/ip_var.h>
8916 #ifdef HAVE_NETINET_IP_ICMP_H
8917 # include <netinet/ip_icmp.h>
8919 #ifdef HAVE_NETINET_UDP_H
8920 # include <netinet/udp.h>
8922 #ifdef HAVE_NETINET_TCP_H
8923 # include <netinet/tcp.h>
8926 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8928 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8931 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8932 #include <sys/socket.h>
8933 #ifdef HAVE_SYS_SOCKETVAR_H
8934 # include <sys/socketvar.h>
8936 #ifdef HAVE_NETINET_IN_H
8937 # include <netinet/in.h>
8939 #ifdef HAVE_NETINET_IN_SYSTM_H
8940 # include <netinet/in_systm.h>
8942 #ifdef HAVE_NETINET_IP_H
8943 # include <netinet/ip.h>
8945 #ifdef HAVE_NETINET_IP_VAR_H
8946 # include <netinet/ip_var.h>
8948 #ifdef HAVE_NETINET_IP_ICMP_H
8949 # include <netinet/ip_icmp.h>
8951 #ifdef HAVE_NETINET_UDP_H
8952 # include <netinet/udp.h>
8954 #ifdef HAVE_NETINET_TCP_H
8955 # include <netinet/tcp.h>
8958 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8960 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8965 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8966 #include <sys/socket.h>
8967 #ifdef HAVE_ASM_TYPES_H
8968 # include <asm/types.h>
8970 #ifdef HAVE_LINUX_TYPES_H
8971 # include <linux/types.h>
8974 if test "x$ac_cv_header_linux_ipx_h" = xyes
8976 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8979 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8980 #include <sys/socket.h>
8981 #ifdef HAVE_ASM_TYPES_H
8982 # include <asm/types.h>
8984 #ifdef HAVE_LINUX_TYPES_H
8985 # include <linux/types.h>
8988 if test "x$ac_cv_header_linux_irda_h" = xyes
8990 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8994 #include <sys/socket.h>
8995 #ifdef HAVE_ASM_TYPES_H
8996 # include <asm/types.h>
8998 #ifdef HAVE_LINUX_TYPES_H
8999 # include <linux/types.h>
9002 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9004 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9009 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9010 #include <sys/socket.h>
9011 #ifdef HAVE_NETINET_IN_H
9012 # include <netinet/in.h>
9014 #ifdef HAVE_ARPA_NAMESER_H
9015 # include <arpa/nameser.h>
9018 if test "x$ac_cv_header_resolv_h" = xyes
9020 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9025 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9027 if test "x$ac_cv_header_ifaddrs_h" = xyes
9029 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9036 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9038 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9044 #ifdef HAVE_SYS_UCONTEXT_H
9045 #include <sys/ucontext.h>
9048 if test "x$ac_cv_header_sys_thr_h" = xyes
9050 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9056 #include <pthread.h>
9059 if test "x$ac_cv_header_pthread_np_h" = xyes
9061 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9066 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9067 #include <sys/types.h>
9068 #ifdef HAVE_ASM_TYPES_H
9069 #include <asm/types.h>
9072 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9074 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9079 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9080 #include <sys/param.h>
9082 #include <sys/socket.h>
9083 #ifdef HAVE_SYS_QUEUE_H
9084 #include <sys/queue.h>
9087 if test "x$ac_cv_header_libprocstat_h" = xyes
9089 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9094 if test "x$ac_cv_header_sys_xattr_h" = xyes
9096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9097 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9098 if test ${wine_cv_xattr_extra_args+y}
9100 printf %s
"(cached) " >&6
9102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9103 /* end confdefs.h. */
9104 #include <sys/xattr.h>
9108 getxattr("", "", "", 0, 0, 0);
9113 if ac_fn_c_try_compile
"$LINENO"
9115 wine_cv_xattr_extra_args
=yes
9117 wine_cv_xattr_extra_args
=no
9119 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9122 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9123 test $wine_cv_xattr_extra_args != yes ||
9124 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9137 UNIXDLLFLAGS
="-fPIC"
9139 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9145 WINELOADER_LDFLAGS
=""
9147 WINEPRELOADER_LDFLAGS
=""
9150 # Extract the first word of "ldd", so it can be a program name with args.
9151 set dummy ldd
; ac_word
=$2
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9153 printf %s
"checking for $ac_word... " >&6; }
9154 if test ${ac_cv_path_LDD+y}
9156 printf %s
"(cached) " >&6
9160 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9164 as_dummy
="/sbin:/usr/sbin:$PATH"
9165 for as_dir
in $as_dummy
9168 case $as_dir in #(((
9171 *) as_dir
=$as_dir/ ;;
9173 for ac_exec_ext
in '' $ac_executable_extensions; do
9174 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9175 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9183 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9188 if test -n "$LDD"; then
9189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9190 printf "%s\n" "$LDD" >&6; }
9192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193 printf "%s\n" "no" >&6; }
9197 if test -n "$ac_tool_prefix"; then
9198 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9199 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9201 printf %s
"checking for $ac_word... " >&6; }
9202 if test ${ac_cv_prog_OTOOL+y}
9204 printf %s
"(cached) " >&6
9206 if test -n "$OTOOL"; then
9207 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9213 case $as_dir in #(((
9216 *) as_dir
=$as_dir/ ;;
9218 for ac_exec_ext
in '' $ac_executable_extensions; do
9219 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9220 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9230 OTOOL
=$ac_cv_prog_OTOOL
9231 if test -n "$OTOOL"; then
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9233 printf "%s\n" "$OTOOL" >&6; }
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9236 printf "%s\n" "no" >&6; }
9241 if test -z "$ac_cv_prog_OTOOL"; then
9243 # Extract the first word of "otool", so it can be a program name with args.
9244 set dummy otool
; ac_word
=$2
9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9246 printf %s
"checking for $ac_word... " >&6; }
9247 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9249 printf %s
"(cached) " >&6
9251 if test -n "$ac_ct_OTOOL"; then
9252 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9258 case $as_dir in #(((
9261 *) as_dir
=$as_dir/ ;;
9263 for ac_exec_ext
in '' $ac_executable_extensions; do
9264 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9265 ac_cv_prog_ac_ct_OTOOL
="otool"
9266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9275 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9276 if test -n "$ac_ct_OTOOL"; then
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9278 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9281 printf "%s\n" "no" >&6; }
9284 if test "x$ac_ct_OTOOL" = x
; then
9287 case $cross_compiling:$ac_tool_warned in
9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9290 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9291 ac_tool_warned
=yes ;;
9296 OTOOL
="$ac_cv_prog_OTOOL"
9299 if test -n "$ac_tool_prefix"; then
9300 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9301 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9303 printf %s
"checking for $ac_word... " >&6; }
9304 if test ${ac_cv_prog_READELF+y}
9306 printf %s
"(cached) " >&6
9308 if test -n "$READELF"; then
9309 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9315 case $as_dir in #(((
9318 *) as_dir
=$as_dir/ ;;
9320 for ac_exec_ext
in '' $ac_executable_extensions; do
9321 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9322 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9332 READELF
=$ac_cv_prog_READELF
9333 if test -n "$READELF"; then
9334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9335 printf "%s\n" "$READELF" >&6; }
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 printf "%s\n" "no" >&6; }
9343 if test -z "$ac_cv_prog_READELF"; then
9344 ac_ct_READELF
=$READELF
9345 # Extract the first word of "readelf", so it can be a program name with args.
9346 set dummy readelf
; ac_word
=$2
9347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9348 printf %s
"checking for $ac_word... " >&6; }
9349 if test ${ac_cv_prog_ac_ct_READELF+y}
9351 printf %s
"(cached) " >&6
9353 if test -n "$ac_ct_READELF"; then
9354 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9360 case $as_dir in #(((
9363 *) as_dir
=$as_dir/ ;;
9365 for ac_exec_ext
in '' $ac_executable_extensions; do
9366 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9367 ac_cv_prog_ac_ct_READELF
="readelf"
9368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9377 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9378 if test -n "$ac_ct_READELF"; then
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9380 printf "%s\n" "$ac_ct_READELF" >&6; }
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9383 printf "%s\n" "no" >&6; }
9386 if test "x$ac_ct_READELF" = x
; then
9389 case $cross_compiling:$ac_tool_warned in
9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9392 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9393 ac_tool_warned
=yes ;;
9395 READELF
=$ac_ct_READELF
9398 READELF
="$ac_cv_prog_READELF"
9406 CONFIGURE_TARGETS
=""
9409 wine_fn_config_makefile
()
9411 as_fn_append SUBDIRS
" \\$as_nl $1"
9414 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9415 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9416 if test -n "$PE_ARCHS"
9420 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9423 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9428 wine_fn_config_symlink
()
9431 as_fn_append wine_rules
"
9433 @./config.status \$@"
9434 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9440 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9442 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9443 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9444 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9446 printf %s
"(cached) " >&6
9448 ac_wine_try_cflags_saved
=$CFLAGS
9449 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9452 int main(int argc, char **argv) { return 0; }
9454 if ac_fn_c_try_link
"$LINENO"
9456 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9458 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9460 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9461 conftest
$ac_exeext conftest.
$ac_ext
9462 CFLAGS
=$ac_wine_try_cflags_saved
9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9465 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9466 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9468 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9471 enable_loader
=${enable_loader:-no}
9472 enable_server
=${enable_server:-no}
9473 with_x
=${with_x:-no}
9474 with_pthread
=${with_pthread:-no}
9479 DLLFLAGS
="$DLLFLAGS -fPIC"
9481 enable_winemac_drv
=${enable_winemac_drv:-yes}
9482 CARBON_LIBS
="-framework Carbon"
9484 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9486 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9488 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9490 METAL_LIBS
="-framework Metal"
9492 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9494 CORESERVICES_LIBS
="-framework CoreServices"
9496 APPKIT_LIBS
="-framework AppKit"
9498 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9500 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9503 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9505 wine_can_build_preloader
=yes
9506 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"
9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9508 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9509 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9511 printf %s
"(cached) " >&6
9513 ac_wine_try_cflags_saved
=$CFLAGS
9514 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 int main(int argc, char **argv) { return 0; }
9519 if ac_fn_c_try_link
"$LINENO"
9521 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9523 ac_cv_cflags__Wl__no_new_main__e__main
=no
9525 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9526 conftest
$ac_exeext conftest.
$ac_ext
9527 CFLAGS
=$ac_wine_try_cflags_saved
9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9530 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9531 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9533 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9534 { 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
9535 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9536 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9538 printf %s
"(cached) " >&6
9540 ac_wine_try_cflags_saved
=$CFLAGS
9541 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9544 int main(int argc, char **argv) { return 0; }
9546 if ac_fn_c_try_link
"$LINENO"
9548 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9550 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9552 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9553 conftest
$ac_exeext conftest.
$ac_ext
9554 CFLAGS
=$ac_wine_try_cflags_saved
9556 { 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
9557 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9558 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9560 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9562 wine_can_build_preloader
=no
9565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9566 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9567 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9569 printf %s
"(cached) " >&6
9571 ac_wine_try_cflags_saved
=$CFLAGS
9572 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9575 int main(int argc, char **argv) { return 0; }
9577 if ac_fn_c_try_link
"$LINENO"
9579 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9581 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9583 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9584 conftest
$ac_exeext conftest.
$ac_ext
9585 CFLAGS
=$ac_wine_try_cflags_saved
9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9588 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9589 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9591 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9593 wine_can_build_preloader
=no
9596 if test "$wine_can_build_preloader" = "yes"
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9599 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9600 if test ${ac_cv_cflags__Wl__no_pie+y}
9602 printf %s
"(cached) " >&6
9604 ac_wine_try_cflags_saved
=$CFLAGS
9605 CFLAGS
="$CFLAGS -Wl,-no_pie"
9606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9607 /* end confdefs.h. */
9608 int main(int argc, char **argv) { return 0; }
9610 if ac_fn_c_try_link
"$LINENO"
9612 ac_cv_cflags__Wl__no_pie
=yes
9614 ac_cv_cflags__Wl__no_pie
=no
9616 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9617 conftest
$ac_exeext conftest.
$ac_ext
9618 CFLAGS
=$ac_wine_try_cflags_saved
9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9621 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9622 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9624 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9626 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9628 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9631 if test "x$with_coreaudio" != "xno";
9633 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9635 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9637 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9639 OPENCL_LIBS
="-framework OpenCL"
9641 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9645 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9647 ac_cpp
='$OBJCPP $CPPFLAGS'
9648 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9649 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9650 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9653 ac_cpp
='$OBJCPP $CPPFLAGS'
9654 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9655 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9656 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9657 if test -n "$ac_tool_prefix"; then
9658 for ac_prog
in gcc objcc objc cc CC clang
9660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9661 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 printf %s
"checking for $ac_word... " >&6; }
9664 if test ${ac_cv_prog_OBJC+y}
9666 printf %s
"(cached) " >&6
9668 if test -n "$OBJC"; then
9669 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9675 case $as_dir in #(((
9678 *) as_dir
=$as_dir/ ;;
9680 for ac_exec_ext
in '' $ac_executable_extensions; do
9681 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9692 OBJC
=$ac_cv_prog_OBJC
9693 if test -n "$OBJC"; then
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9695 printf "%s\n" "$OBJC" >&6; }
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 printf "%s\n" "no" >&6; }
9702 test -n "$OBJC" && break
9705 if test -z "$OBJC"; then
9707 for ac_prog
in gcc objcc objc cc CC clang
9709 # Extract the first word of "$ac_prog", so it can be a program name with args.
9710 set dummy
$ac_prog; ac_word
=$2
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9712 printf %s
"checking for $ac_word... " >&6; }
9713 if test ${ac_cv_prog_ac_ct_OBJC+y}
9715 printf %s
"(cached) " >&6
9717 if test -n "$ac_ct_OBJC"; then
9718 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9724 case $as_dir in #(((
9727 *) as_dir
=$as_dir/ ;;
9729 for ac_exec_ext
in '' $ac_executable_extensions; do
9730 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9731 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9741 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9742 if test -n "$ac_ct_OBJC"; then
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9744 printf "%s\n" "$ac_ct_OBJC" >&6; }
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9747 printf "%s\n" "no" >&6; }
9751 test -n "$ac_ct_OBJC" && break
9754 if test "x$ac_ct_OBJC" = x
; then
9757 case $cross_compiling:$ac_tool_warned in
9759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9761 ac_tool_warned
=yes ;;
9767 # Provide some information about the compiler.
9768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9771 for ac_option
in --version -v -V -qversion; do
9772 { { ac_try
="$ac_compiler $ac_option >&5"
9774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9775 *) ac_try_echo=$ac_try;;
9777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9778 printf "%s\n" "$ac_try_echo"; } >&5
9779 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9781 if test -s conftest.err; then
9783 ... rest of stderr output deleted ...
9784 10q' conftest.err >conftest.er1
9785 cat conftest.er1 >&5
9787 rm -f conftest.er1 conftest.err
9788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9789 test $ac_status = 0; }
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9793 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9794 if test ${ac_cv_objc_compiler_gnu+y}
9796 printf %s "(cached) " >&6
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9812 if ac_fn_objc_try_compile "$LINENO"
9818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9819 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9823 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9824 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9826 if test $ac_compiler_gnu = yes; then
9831 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9832 ac_save_OBJCFLAGS=$OBJCFLAGS
9833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9834 printf %s "checking whether $OBJC accepts -g... " >&6; }
9835 if test ${ac_cv_prog_objc_g+y}
9837 printf %s "(cached) " >&6
9839 ac_save_objc_werror_flag=$ac_objc_werror_flag
9840 ac_objc_werror_flag=yes
9841 ac_cv_prog_objc_g=no
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9854 if ac_fn_objc_try_compile "$LINENO"
9856 ac_cv_prog_objc_g=yes
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9870 if ac_fn_objc_try_compile "$LINENO"
9874 ac_objc_werror_flag=$ac_save_objc_werror_flag
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9887 if ac_fn_objc_try_compile "$LINENO"
9889 ac_cv_prog_objc_g=yes
9891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9896 ac_objc_werror_flag=$ac_save_objc_werror_flag
9898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9899 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9900 if test $ac_test_OBJCFLAGS; then
9901 OBJCFLAGS=$ac_save_OBJCFLAGS
9902 elif test $ac_cv_prog_objc_g = yes; then
9903 if test "$GOBJC" = yes; then
9909 if test "$GOBJC" = yes; then
9916 ac_cpp='$OBJCPP $CPPFLAGS'
9917 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9918 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9919 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9924 #include <Metal/Metal.h>
9928 id<MTLDevice> device; device.registryID;
9933 if ac_fn_objc_try_compile "$LINENO"
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9936 printf "%s\n" "yes" >&6; }
9938 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9942 printf "%s\n" "no" >&6; }
9944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9946 ac_cpp='$CPP $CPPFLAGS'
9947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9952 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9953 WINELOADER_DEPENDS="wine_info.plist"
9959 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9961 DLLFLAGS="$DLLFLAGS -fPIC"
9963 LDEXECFLAGS="-Wl,-pie"
9964 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9966 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9967 if test ${ac_cv_cflags__Wl__z_defs+y}
9969 printf %s "(cached) " >&6
9971 ac_wine_try_cflags_saved=$CFLAGS
9972 CFLAGS="$CFLAGS -Wl,-z,defs"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 int main(int argc, char **argv) { return 0; }
9977 if ac_fn_c_try_link "$LINENO"
9979 ac_cv_cflags__Wl__z_defs=yes
9981 ac_cv_cflags__Wl__z_defs=no
9983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9984 conftest$ac_exeext conftest.$ac_ext
9985 CFLAGS=$ac_wine_try_cflags_saved
9987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9988 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9989 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9991 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9994 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9995 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9997 printf %s "(cached) " >&6
9999 ac_wine_try_cflags_saved=$CFLAGS
10000 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int main(int argc, char **argv) { return 0; }
10005 if ac_fn_c_try_link "$LINENO"
10007 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10009 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10012 conftest$ac_exeext conftest.$ac_ext
10013 CFLAGS=$ac_wine_try_cflags_saved
10015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10016 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10017 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10019 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10021 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10024 printf %s "checking for -lEGL... " >&6; }
10025 if test ${ac_cv_lib_soname_EGL+y}
10027 printf %s "(cached) " >&6
10029 ac_check_soname_save_LIBS=$LIBS
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 char eglGetProcAddress ();
10041 return eglGetProcAddress ();
10046 if ac_fn_c_try_link "$LINENO"
10049 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10050 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'` ;;
10051 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10052 if ${ac_cv_lib_soname_EGL:+false} :
10054 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10058 ac_cv_lib_soname_EGL=
10060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10061 conftest$ac_exeext conftest.$ac_ext
10062 LIBS=$ac_check_soname_save_LIBS
10064 if ${ac_cv_lib_soname_EGL:+false} :
10066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10067 printf "%s\n" "not found" >&6; }
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10071 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10073 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10078 printf %s "checking for -lGLESv2... " >&6; }
10079 if test ${ac_cv_lib_soname_GLESv2+y}
10081 printf %s "(cached) " >&6
10083 ac_check_soname_save_LIBS=$LIBS
10084 LIBS="-lGLESv2 $LIBS"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10100 if ac_fn_c_try_link "$LINENO"
10103 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10104 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'` ;;
10105 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10106 if ${ac_cv_lib_soname_GLESv2:+false} :
10108 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10112 ac_cv_lib_soname_GLESv2=
10114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_soname_save_LIBS
10118 if ${ac_cv_lib_soname_GLESv2:+false} :
10120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10121 printf "%s\n" "not found" >&6; }
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10125 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10127 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10132 if test "x$exec_prefix" = xNONE
10135 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10136 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10137 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10138 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10145 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10147 test "$ac_cv_sys_file_offset_bits" = 64 &&
10148 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10152 DLLFLAGS="$DLLFLAGS -fno-PIC"
10153 LDDLLFLAGS="-fno-PIC"
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10155 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10156 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10158 printf %s "(cached) " >&6
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int main(int argc, char **argv) { return 0; }
10166 if ac_fn_c_try_link "$LINENO"
10168 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10170 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10177 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10178 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10180 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10184 DLLFLAGS="$DLLFLAGS -fPIC"
10185 LDDLLFLAGS="-fPIC" ;;
10188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10189 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10190 if test ${ac_cv_cflags__Wl__z_defs+y}
10192 printf %s "(cached) " >&6
10194 ac_wine_try_cflags_saved=$CFLAGS
10195 CFLAGS="$CFLAGS -Wl,-z,defs"
10196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10198 int main(int argc, char **argv) { return 0; }
10200 if ac_fn_c_try_link "$LINENO"
10202 ac_cv_cflags__Wl__z_defs=yes
10204 ac_cv_cflags__Wl__z_defs=no
10206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10207 conftest$ac_exeext conftest.$ac_ext
10208 CFLAGS=$ac_wine_try_cflags_saved
10210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10211 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10212 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10214 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10217 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10218 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10220 printf %s "(cached) " >&6
10222 ac_wine_try_cflags_saved=$CFLAGS
10223 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 int main(int argc, char **argv) { return 0; }
10228 if ac_fn_c_try_link "$LINENO"
10230 ac_cv_cflags__Wl___export_dynamic=yes
10232 ac_cv_cflags__Wl___export_dynamic=no
10234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10235 conftest$ac_exeext conftest.$ac_ext
10236 CFLAGS=$ac_wine_try_cflags_saved
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10239 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10240 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10242 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10244 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10247 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10249 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10250 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10252 printf %s "(cached) " >&6
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int main(int argc, char **argv) { return 0; }
10260 if ac_fn_c_try_link "$LINENO"
10262 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10264 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10271 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10272 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10275 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10276 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10280 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10281 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10283 printf %s "(cached) " >&6
10285 ac_wine_try_cflags_saved=$CFLAGS
10286 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 int main(int argc, char **argv) { return 0; }
10291 if ac_fn_c_try_link "$LINENO"
10293 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10295 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10302 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10303 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10306 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10307 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10312 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10313 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10315 printf %s "(cached) " >&6
10317 ac_wine_try_cflags_saved=$CFLAGS
10318 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10321 int main(int argc, char **argv) { return 0; }
10323 if ac_fn_c_try_link "$LINENO"
10325 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10327 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10330 conftest$ac_exeext conftest.$ac_ext
10331 CFLAGS=$ac_wine_try_cflags_saved
10333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10334 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10335 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10337 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10344 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10345 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10346 enable_winemac_drv=${enable_winemac_drv:-no}
10351 if test ${enable_archs+y}
10353 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10356 set x $enable_archs
10362 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10363 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10367 if test "x$with_mingw" != xno
10369 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10370 case "x$with_mingw" in
10372 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10377 for wine_arch in $cross_archs
10379 if eval \${${wine_arch}_CC:+false} :
10383 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10385 # Extract the first word of "$ac_prog", so it can be a program name with args.
10386 set dummy $ac_prog; ac_word=$2
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10388 printf %s "checking for $ac_word... " >&6; }
10389 if test ${ac_cv_prog_aarch64_CC+y}
10391 printf %s "(cached) " >&6
10393 if test -n "$aarch64_CC"; then
10394 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10397 for as_dir in $PATH
10400 case $as_dir in #(((
10403 *) as_dir=$as_dir/ ;;
10405 for ac_exec_ext in '' $ac_executable_extensions; do
10406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10407 ac_cv_prog_aarch64_CC="$ac_prog"
10408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10417 aarch64_CC=$ac_cv_prog_aarch64_CC
10418 if test -n "$aarch64_CC"; then
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10420 printf "%s\n" "$aarch64_CC" >&6; }
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10423 printf "%s\n" "no" >&6; }
10427 test -n "$aarch64_CC" && break
10429 test -n "$aarch64_CC" || aarch64_CC="false"
10433 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10435 # Extract the first word of "$ac_prog", so it can be a program name with args.
10436 set dummy $ac_prog; ac_word=$2
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10438 printf %s "checking for $ac_word... " >&6; }
10439 if test ${ac_cv_prog_arm_CC+y}
10441 printf %s "(cached) " >&6
10443 if test -n "$arm_CC"; then
10444 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10447 for as_dir in $PATH
10450 case $as_dir in #(((
10453 *) as_dir=$as_dir/ ;;
10455 for ac_exec_ext in '' $ac_executable_extensions; do
10456 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10457 ac_cv_prog_arm_CC="$ac_prog"
10458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10467 arm_CC=$ac_cv_prog_arm_CC
10468 if test -n "$arm_CC"; then
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10470 printf "%s\n" "$arm_CC" >&6; }
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 printf "%s\n" "no" >&6; }
10477 test -n "$arm_CC" && break
10479 test -n "$arm_CC" || arm_CC="false"
10483 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 "
10484 for ac_prog in $ac_prefix_list clang
10486 # Extract the first word of "$ac_prog", so it can be a program name with args.
10487 set dummy $ac_prog; ac_word=$2
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10489 printf %s "checking for $ac_word... " >&6; }
10490 if test ${ac_cv_prog_i386_CC+y}
10492 printf %s "(cached) " >&6
10494 if test -n "$i386_CC"; then
10495 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10498 for as_dir in $PATH
10501 case $as_dir in #(((
10504 *) as_dir=$as_dir/ ;;
10506 for ac_exec_ext in '' $ac_executable_extensions; do
10507 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10508 ac_cv_prog_i386_CC="$ac_prog"
10509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10518 i386_CC=$ac_cv_prog_i386_CC
10519 if test -n "$i386_CC"; then
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10521 printf "%s\n" "$i386_CC" >&6; }
10523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10524 printf "%s\n" "no" >&6; }
10528 test -n "$i386_CC" && break
10530 test -n "$i386_CC" || i386_CC="false"
10534 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10535 for ac_prog in $ac_prefix_list clang
10537 # Extract the first word of "$ac_prog", so it can be a program name with args.
10538 set dummy $ac_prog; ac_word=$2
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10540 printf %s "checking for $ac_word... " >&6; }
10541 if test ${ac_cv_prog_x86_64_CC+y}
10543 printf %s "(cached) " >&6
10545 if test -n "$x86_64_CC"; then
10546 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10549 for as_dir in $PATH
10552 case $as_dir in #(((
10555 *) as_dir=$as_dir/ ;;
10557 for ac_exec_ext in '' $ac_executable_extensions; do
10558 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10559 ac_cv_prog_x86_64_CC="$ac_prog"
10560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10569 x86_64_CC=$ac_cv_prog_x86_64_CC
10570 if test -n "$x86_64_CC"; then
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10572 printf "%s\n" "$x86_64_CC" >&6; }
10574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10575 printf "%s\n" "no" >&6; }
10579 test -n "$x86_64_CC" && break
10581 test -n "$x86_64_CC" || x86_64_CC="false"
10587 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10593 saved_CFLAGS=$CFLAGS
10595 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10596 eval CC=\$${wine_arch}_CC
10597 eval ${wine_arch}_CFLAGS=\$CFLAGS
10598 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10599 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10602 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10605 printf %s "checking whether $CC works... " >&6; }
10606 if eval test \${$as_wine_cv_crosscc+y}
10608 printf %s "(cached) " >&6
10610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10621 if ac_fn_c_try_compile "$LINENO"
10623 eval "$as_wine_cv_crosscc=yes"
10625 eval "$as_wine_cv_crosscc=no"
10627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10629 eval ac_res=\$$as_wine_cv_crosscc
10630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10631 printf "%s\n" "$ac_res" >&6; }
10632 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10636 while test $# -ge 1
10639 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10640 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10645 llvm_target=$target
10646 if test -z "$llvm_target"
10649 i386) llvm_target=i686-windows ;;
10650 arm) llvm_target=armv7-windows ;;
10651 *) llvm_target=$wine_arch-windows ;;
10654 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10655 case $llvm_target in
10656 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10658 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10660 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10661 if eval test \${$as_ac_var+y}
10663 printf %s "(cached) " >&6
10665 ac_wine_try_cflags_saved=$CFLAGS
10666 ac_wine_try_cflags_saved_exeext=$ac_exeext
10667 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10671 int __cdecl mainCRTStartup(void) { return 0; }
10673 if ac_fn_c_try_link "$LINENO"
10675 eval "$as_ac_var=yes"
10677 eval "$as_ac_var=no"
10679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10680 conftest$ac_exeext conftest.$ac_ext
10681 CFLAGS=$ac_wine_try_cflags_saved
10682 ac_exeext=$ac_wine_try_cflags_saved_exeext
10684 eval ac_res=\$$as_ac_var
10685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10686 printf "%s\n" "$ac_res" >&6; }
10687 if eval test \"x\$"$as_ac_var"\" = x"yes"
10689 target=$llvm_target
10690 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10691 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10692 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10694 eval "${wine_arch}_TARGET=\$target"
10698 if test -z "$target"
10701 CFLAGS=$saved_CFLAGS
10704 as_fn_append PE_ARCHS " $wine_arch"
10706 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10709 printf %s "checking for $CC option to enable C99 features... " >&6; }
10710 if eval test \${$as_wine_cv_crosscc_c99+y}
10712 printf %s "(cached) " >&6
10714 eval "$as_wine_cv_crosscc_c99=no"
10715 for arg in '' '-std=gnu99'
10717 test -z "$arg" || CC="$CC $arg"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10720 $ac_c_conftest_c99_program
10722 if ac_fn_c_try_compile "$LINENO"
10724 eval "$as_wine_cv_crosscc_c99=\$arg"
10726 eval "$as_wine_cv_crosscc_c99=no"
10728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10729 eval CC=\$${wine_arch}_CC
10730 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10739 eval res=\$$as_wine_cv_crosscc_c99
10741 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10742 printf "%s\n" "none needed" >&6; } ;;
10743 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10744 printf "%s\n" "unsupported" >&6; } ;;
10745 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10746 printf "%s\n" "$res" >&6; }
10747 as_fn_append ${wine_arch}_CC " $res" ;;
10751 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10753 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10754 if eval test \${$as_ac_var+y}
10756 printf %s "(cached) " >&6
10758 ac_wine_try_cflags_saved=$CFLAGS
10759 ac_wine_try_cflags_saved_exeext=$ac_exeext
10760 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10764 int __cdecl mainCRTStartup(void) { return 0; }
10766 if ac_fn_c_try_link "$LINENO"
10768 eval "$as_ac_var=yes"
10770 eval "$as_ac_var=no"
10772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10773 conftest$ac_exeext conftest.$ac_ext
10774 CFLAGS=$ac_wine_try_cflags_saved
10775 ac_exeext=$ac_wine_try_cflags_saved_exeext
10777 eval ac_res=\$$as_ac_var
10778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10779 printf "%s\n" "$ac_res" >&6; }
10780 if eval test \"x\$"$as_ac_var"\" = x"yes"
10782 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10784 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10786 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10787 if eval test \${$as_ac_var+y}
10789 printf %s "(cached) " >&6
10791 ac_wine_try_cflags_saved=$CFLAGS
10792 ac_wine_try_cflags_saved_exeext=$ac_exeext
10793 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10797 int __cdecl mainCRTStartup(void) { return 0; }
10799 if ac_fn_c_try_link "$LINENO"
10801 eval "$as_ac_var=yes"
10803 eval "$as_ac_var=no"
10805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10806 conftest$ac_exeext conftest.$ac_ext
10807 CFLAGS=$ac_wine_try_cflags_saved
10808 ac_exeext=$ac_wine_try_cflags_saved_exeext
10810 eval ac_res=\$$as_ac_var
10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10812 printf "%s\n" "$ac_res" >&6; }
10813 if eval test \"x\$"$as_ac_var"\" = x"yes"
10815 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10817 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10819 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10820 if eval test \${$as_ac_var+y}
10822 printf %s "(cached) " >&6
10824 ac_wine_try_cflags_saved=$CFLAGS
10825 ac_wine_try_cflags_saved_exeext=$ac_exeext
10826 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10830 int __cdecl mainCRTStartup(void) { return 0; }
10832 if ac_fn_c_try_link "$LINENO"
10834 eval "$as_ac_var=yes"
10836 eval "$as_ac_var=no"
10838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10839 conftest$ac_exeext conftest.$ac_ext
10840 CFLAGS=$ac_wine_try_cflags_saved
10841 ac_exeext=$ac_wine_try_cflags_saved_exeext
10843 eval ac_res=\$$as_ac_var
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10845 printf "%s\n" "$ac_res" >&6; }
10846 if eval test \"x\$"$as_ac_var"\" = x"yes"
10848 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10850 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10852 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10853 if eval test \${$as_ac_var+y}
10855 printf %s "(cached) " >&6
10857 ac_wine_try_cflags_saved=$CFLAGS
10858 ac_wine_try_cflags_saved_exeext=$ac_exeext
10859 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 int __cdecl mainCRTStartup(void) { return 0; }
10865 if ac_fn_c_try_link "$LINENO"
10867 eval "$as_ac_var=yes"
10869 eval "$as_ac_var=no"
10871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10872 conftest$ac_exeext conftest.$ac_ext
10873 CFLAGS=$ac_wine_try_cflags_saved
10874 ac_exeext=$ac_wine_try_cflags_saved_exeext
10876 eval ac_res=\$$as_ac_var
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10878 printf "%s\n" "$ac_res" >&6; }
10879 if eval test \"x\$"$as_ac_var"\" = x"yes"
10881 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10883 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10885 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10886 if eval test \${$as_ac_var+y}
10888 printf %s "(cached) " >&6
10890 ac_wine_try_cflags_saved=$CFLAGS
10891 ac_wine_try_cflags_saved_exeext=$ac_exeext
10892 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896 int __cdecl mainCRTStartup(void) { return 0; }
10898 if ac_fn_c_try_link "$LINENO"
10900 eval "$as_ac_var=yes"
10902 eval "$as_ac_var=no"
10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10905 conftest$ac_exeext conftest.$ac_ext
10906 CFLAGS=$ac_wine_try_cflags_saved
10907 ac_exeext=$ac_wine_try_cflags_saved_exeext
10909 eval ac_res=\$$as_ac_var
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10911 printf "%s\n" "$ac_res" >&6; }
10912 if eval test \"x\$"$as_ac_var"\" = x"yes"
10914 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10916 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10918 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10919 if eval test \${$as_ac_var+y}
10921 printf %s "(cached) " >&6
10923 ac_wine_try_cflags_saved=$CFLAGS
10924 ac_wine_try_cflags_saved_exeext=$ac_exeext
10925 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10929 int __cdecl mainCRTStartup(void) { return 0; }
10931 if ac_fn_c_try_link "$LINENO"
10933 eval "$as_ac_var=yes"
10935 eval "$as_ac_var=no"
10937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10938 conftest$ac_exeext conftest.$ac_ext
10939 CFLAGS=$ac_wine_try_cflags_saved
10940 ac_exeext=$ac_wine_try_cflags_saved_exeext
10942 eval ac_res=\$$as_ac_var
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10944 printf "%s\n" "$ac_res" >&6; }
10945 if eval test \"x\$"$as_ac_var"\" = x"yes"
10947 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10949 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10951 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10952 if eval test \${$as_ac_var+y}
10954 printf %s "(cached) " >&6
10956 ac_wine_try_cflags_saved=$CFLAGS
10957 ac_wine_try_cflags_saved_exeext=$ac_exeext
10958 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10962 int __cdecl mainCRTStartup(void) { return 0; }
10964 if ac_fn_c_try_link "$LINENO"
10966 eval "$as_ac_var=yes"
10968 eval "$as_ac_var=no"
10970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10971 conftest$ac_exeext conftest.$ac_ext
10972 CFLAGS=$ac_wine_try_cflags_saved
10973 ac_exeext=$ac_wine_try_cflags_saved_exeext
10975 eval ac_res=\$$as_ac_var
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10977 printf "%s\n" "$ac_res" >&6; }
10978 if eval test \"x\$"$as_ac_var"\" = x"yes"
10980 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10982 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10984 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10985 if eval test \${$as_ac_var+y}
10987 printf %s "(cached) " >&6
10989 ac_wine_try_cflags_saved=$CFLAGS
10990 ac_wine_try_cflags_saved_exeext=$ac_exeext
10991 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10995 int __cdecl mainCRTStartup(void) { return 0; }
10997 if ac_fn_c_try_link "$LINENO"
10999 eval "$as_ac_var=yes"
11001 eval "$as_ac_var=no"
11003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11004 conftest$ac_exeext conftest.$ac_ext
11005 CFLAGS=$ac_wine_try_cflags_saved
11006 ac_exeext=$ac_wine_try_cflags_saved_exeext
11008 eval ac_res=\$$as_ac_var
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11010 printf "%s\n" "$ac_res" >&6; }
11011 if eval test \"x\$"$as_ac_var"\" = x"yes"
11013 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11015 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11017 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11018 if eval test \${$as_ac_var+y}
11020 printf %s "(cached) " >&6
11022 ac_wine_try_cflags_saved=$CFLAGS
11023 ac_wine_try_cflags_saved_exeext=$ac_exeext
11024 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11028 int __cdecl mainCRTStartup(void) { return 0; }
11030 if ac_fn_c_try_link "$LINENO"
11032 eval "$as_ac_var=yes"
11034 eval "$as_ac_var=no"
11036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11037 conftest$ac_exeext conftest.$ac_ext
11038 CFLAGS=$ac_wine_try_cflags_saved
11039 ac_exeext=$ac_wine_try_cflags_saved_exeext
11041 eval ac_res=\$$as_ac_var
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11043 printf "%s\n" "$ac_res" >&6; }
11044 if eval test \"x\$"$as_ac_var"\" = x"yes"
11046 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11048 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11050 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11051 if eval test \${$as_ac_var+y}
11053 printf %s "(cached) " >&6
11055 ac_wine_try_cflags_saved=$CFLAGS
11056 ac_wine_try_cflags_saved_exeext=$ac_exeext
11057 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11061 int __cdecl mainCRTStartup(void) { return 0; }
11063 if ac_fn_c_try_link "$LINENO"
11065 eval "$as_ac_var=yes"
11067 eval "$as_ac_var=no"
11069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11070 conftest$ac_exeext conftest.$ac_ext
11071 CFLAGS=$ac_wine_try_cflags_saved
11072 ac_exeext=$ac_wine_try_cflags_saved_exeext
11074 eval ac_res=\$$as_ac_var
11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11076 printf "%s\n" "$ac_res" >&6; }
11077 if eval test \"x\$"$as_ac_var"\" = x"yes"
11079 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11081 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11083 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11084 if eval test \${$as_ac_var+y}
11086 printf %s "(cached) " >&6
11088 ac_wine_try_cflags_saved=$CFLAGS
11089 ac_wine_try_cflags_saved_exeext=$ac_exeext
11090 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11094 int __cdecl mainCRTStartup(void) { return 0; }
11096 if ac_fn_c_try_link "$LINENO"
11098 eval "$as_ac_var=yes"
11100 eval "$as_ac_var=no"
11102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11103 conftest$ac_exeext conftest.$ac_ext
11104 CFLAGS=$ac_wine_try_cflags_saved
11105 ac_exeext=$ac_wine_try_cflags_saved_exeext
11107 eval ac_res=\$$as_ac_var
11108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11109 printf "%s\n" "$ac_res" >&6; }
11110 if eval test \"x\$"$as_ac_var"\" = x"yes"
11112 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11114 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11116 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11117 if eval test \${$as_ac_var+y}
11119 printf %s "(cached) " >&6
11121 ac_wine_try_cflags_saved=$CFLAGS
11122 ac_wine_try_cflags_saved_exeext=$ac_exeext
11123 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11127 int __cdecl mainCRTStartup(void) { return 0; }
11129 if ac_fn_c_try_link "$LINENO"
11131 eval "$as_ac_var=yes"
11133 eval "$as_ac_var=no"
11135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11136 conftest$ac_exeext conftest.$ac_ext
11137 CFLAGS=$ac_wine_try_cflags_saved
11138 ac_exeext=$ac_wine_try_cflags_saved_exeext
11140 eval ac_res=\$$as_ac_var
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11142 printf "%s\n" "$ac_res" >&6; }
11143 if eval test \"x\$"$as_ac_var"\" = x"yes"
11145 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11147 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11149 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11150 if eval test \${$as_ac_var+y}
11152 printf %s "(cached) " >&6
11154 ac_wine_try_cflags_saved=$CFLAGS
11155 ac_wine_try_cflags_saved_exeext=$ac_exeext
11156 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11160 int __cdecl mainCRTStartup(void) { return 0; }
11162 if ac_fn_c_try_link "$LINENO"
11164 eval "$as_ac_var=yes"
11166 eval "$as_ac_var=no"
11168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11169 conftest$ac_exeext conftest.$ac_ext
11170 CFLAGS=$ac_wine_try_cflags_saved
11171 ac_exeext=$ac_wine_try_cflags_saved_exeext
11173 eval ac_res=\$$as_ac_var
11174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11175 printf "%s\n" "$ac_res" >&6; }
11176 if eval test \"x\$"$as_ac_var"\" = x"yes"
11178 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11180 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11182 printf %s "checking whether $CC supports -Wvla... " >&6; }
11183 if eval test \${$as_ac_var+y}
11185 printf %s "(cached) " >&6
11187 ac_wine_try_cflags_saved=$CFLAGS
11188 ac_wine_try_cflags_saved_exeext=$ac_exeext
11189 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11193 int __cdecl mainCRTStartup(void) { return 0; }
11195 if ac_fn_c_try_link "$LINENO"
11197 eval "$as_ac_var=yes"
11199 eval "$as_ac_var=no"
11201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11202 conftest$ac_exeext conftest.$ac_ext
11203 CFLAGS=$ac_wine_try_cflags_saved
11204 ac_exeext=$ac_wine_try_cflags_saved_exeext
11206 eval ac_res=\$$as_ac_var
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11208 printf "%s\n" "$ac_res" >&6; }
11209 if eval test \"x\$"$as_ac_var"\" = x"yes"
11211 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11213 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11215 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11216 if eval test \${$as_ac_var+y}
11218 printf %s "(cached) " >&6
11220 ac_wine_try_cflags_saved=$CFLAGS
11221 ac_wine_try_cflags_saved_exeext=$ac_exeext
11222 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11226 int __cdecl mainCRTStartup(void) { return 0; }
11228 if ac_fn_c_try_link "$LINENO"
11230 eval "$as_ac_var=yes"
11232 eval "$as_ac_var=no"
11234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11235 conftest$ac_exeext conftest.$ac_ext
11236 CFLAGS=$ac_wine_try_cflags_saved
11237 ac_exeext=$ac_wine_try_cflags_saved_exeext
11239 eval ac_res=\$$as_ac_var
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11241 printf "%s\n" "$ac_res" >&6; }
11242 if eval test \"x\$"$as_ac_var"\" = x"yes"
11244 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11246 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11248 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11249 if eval test \${$as_ac_var+y}
11251 printf %s "(cached) " >&6
11253 ac_wine_try_cflags_saved=$CFLAGS
11254 ac_wine_try_cflags_saved_exeext=$ac_exeext
11255 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 int __cdecl mainCRTStartup(void) { return 0; }
11261 if ac_fn_c_try_link "$LINENO"
11263 eval "$as_ac_var=yes"
11265 eval "$as_ac_var=no"
11267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11268 conftest$ac_exeext conftest.$ac_ext
11269 CFLAGS=$ac_wine_try_cflags_saved
11270 ac_exeext=$ac_wine_try_cflags_saved_exeext
11272 eval ac_res=\$$as_ac_var
11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11274 printf "%s\n" "$ac_res" >&6; }
11275 if eval test \"x\$"$as_ac_var"\" = x"yes"
11277 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11279 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11281 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11282 if eval test \${$as_ac_var+y}
11284 printf %s "(cached) " >&6
11286 ac_wine_try_cflags_saved=$CFLAGS
11287 ac_wine_try_cflags_saved_exeext=$ac_exeext
11288 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11292 int __cdecl mainCRTStartup(void) { return 0; }
11294 if ac_fn_c_try_link "$LINENO"
11296 eval "$as_ac_var=yes"
11298 eval "$as_ac_var=no"
11300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11301 conftest$ac_exeext conftest.$ac_ext
11302 CFLAGS=$ac_wine_try_cflags_saved
11303 ac_exeext=$ac_wine_try_cflags_saved_exeext
11305 eval ac_res=\$$as_ac_var
11306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11307 printf "%s\n" "$ac_res" >&6; }
11308 if eval test \"x\$"$as_ac_var"\" = x"yes"
11310 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11312 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11314 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11315 if eval test \${$as_ac_var+y}
11317 printf %s "(cached) " >&6
11319 ac_wine_try_cflags_saved=$CFLAGS
11320 ac_wine_try_cflags_saved_exeext=$ac_exeext
11321 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11325 int __cdecl mainCRTStartup(void) { return 0; }
11327 if ac_fn_c_try_link "$LINENO"
11329 eval "$as_ac_var=yes"
11331 eval "$as_ac_var=no"
11333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11334 conftest$ac_exeext conftest.$ac_ext
11335 CFLAGS=$ac_wine_try_cflags_saved
11336 ac_exeext=$ac_wine_try_cflags_saved_exeext
11338 eval ac_res=\$$as_ac_var
11339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11340 printf "%s\n" "$ac_res" >&6; }
11341 if eval test \"x\$"$as_ac_var"\" = x"yes"
11343 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11347 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11349 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11350 if eval test \${$as_ac_var+y}
11352 printf %s "(cached) " >&6
11354 ac_wine_try_cflags_saved=$CFLAGS
11355 ac_wine_try_cflags_saved_exeext=$ac_exeext
11356 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11360 int __cdecl mainCRTStartup(void) { return 0; }
11362 if ac_fn_c_try_link "$LINENO"
11364 eval "$as_ac_var=yes"
11366 eval "$as_ac_var=no"
11368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11369 conftest$ac_exeext conftest.$ac_ext
11370 CFLAGS=$ac_wine_try_cflags_saved
11371 ac_exeext=$ac_wine_try_cflags_saved_exeext
11373 eval ac_res=\$$as_ac_var
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11375 printf "%s\n" "$ac_res" >&6; }
11376 if eval test \"x\$"$as_ac_var"\" = x"yes"
11378 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11380 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11382 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11383 if eval test \${$as_ac_var+y}
11385 printf %s "(cached) " >&6
11387 ac_wine_try_cflags_saved=$CFLAGS
11388 ac_wine_try_cflags_saved_exeext=$ac_exeext
11389 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11393 int __cdecl mainCRTStartup(void) { return 0; }
11395 if ac_fn_c_try_link "$LINENO"
11397 eval "$as_ac_var=yes"
11399 eval "$as_ac_var=no"
11401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11402 conftest$ac_exeext conftest.$ac_ext
11403 CFLAGS=$ac_wine_try_cflags_saved
11404 ac_exeext=$ac_wine_try_cflags_saved_exeext
11406 eval ac_res=\$$as_ac_var
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11408 printf "%s\n" "$ac_res" >&6; }
11409 if eval test \"x\$"$as_ac_var"\" = x"yes"
11411 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11413 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11415 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11416 if eval test \${$as_ac_var+y}
11418 printf %s "(cached) " >&6
11420 ac_wine_try_cflags_saved=$CFLAGS
11421 ac_wine_try_cflags_saved_exeext=$ac_exeext
11422 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11426 int __cdecl mainCRTStartup(void) { return 0; }
11428 if ac_fn_c_try_link "$LINENO"
11430 eval "$as_ac_var=yes"
11432 eval "$as_ac_var=no"
11434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11435 conftest$ac_exeext conftest.$ac_ext
11436 CFLAGS=$ac_wine_try_cflags_saved
11437 ac_exeext=$ac_wine_try_cflags_saved_exeext
11439 eval ac_res=\$$as_ac_var
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11441 printf "%s\n" "$ac_res" >&6; }
11442 if eval test \"x\$"$as_ac_var"\" = x"yes"
11444 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11446 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11448 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11449 if eval test \${$as_ac_var+y}
11451 printf %s "(cached) " >&6
11453 ac_wine_try_cflags_saved=$CFLAGS
11454 ac_wine_try_cflags_saved_exeext=$ac_exeext
11455 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11459 int __cdecl mainCRTStartup(void) { return 0; }
11461 if ac_fn_c_try_link "$LINENO"
11463 eval "$as_ac_var=yes"
11465 eval "$as_ac_var=no"
11467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11468 conftest$ac_exeext conftest.$ac_ext
11469 CFLAGS=$ac_wine_try_cflags_saved
11470 ac_exeext=$ac_wine_try_cflags_saved_exeext
11472 eval ac_res=\$$as_ac_var
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11474 printf "%s\n" "$ac_res" >&6; }
11475 if eval test \"x\$"$as_ac_var"\" = x"yes"
11477 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11479 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11481 printf %s "checking whether $CC supports -mcx16... " >&6; }
11482 if eval test \${$as_ac_var+y}
11484 printf %s "(cached) " >&6
11486 ac_wine_try_cflags_saved=$CFLAGS
11487 ac_wine_try_cflags_saved_exeext=$ac_exeext
11488 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11492 int __cdecl mainCRTStartup(void) { return 0; }
11494 if ac_fn_c_try_link "$LINENO"
11496 eval "$as_ac_var=yes"
11498 eval "$as_ac_var=no"
11500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11501 conftest$ac_exeext conftest.$ac_ext
11502 CFLAGS=$ac_wine_try_cflags_saved
11503 ac_exeext=$ac_wine_try_cflags_saved_exeext
11505 eval ac_res=\$$as_ac_var
11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11507 printf "%s\n" "$ac_res" >&6; }
11508 if eval test \"x\$"$as_ac_var"\" = x"yes"
11510 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11514 wine_crossdebug=$CROSSDEBUG
11515 if test -z "$wine_crossdebug"
11517 for ac_flag in $CFLAGS; do
11519 -gdwarf*) wine_crossdebug=dwarf ;;
11520 -gcodeview) wine_crossdebug=pdb ;;
11521 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11526 ac_debug_format_seen=""
11527 for ac_flag in $CFLAGS; do
11529 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11532 if test "x$ac_debug_format_seen" = x
11534 case $wine_crossdebug in
11535 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11537 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11538 if eval test \${$as_ac_var+y}
11540 printf %s "(cached) " >&6
11542 ac_wine_try_cflags_saved=$CFLAGS
11543 ac_wine_try_cflags_saved_exeext=$ac_exeext
11544 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11548 int __cdecl mainCRTStartup(void) { return 0; }
11550 if ac_fn_c_try_link "$LINENO"
11552 eval "$as_ac_var=yes"
11554 eval "$as_ac_var=no"
11556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11557 conftest$ac_exeext conftest.$ac_ext
11558 CFLAGS=$ac_wine_try_cflags_saved
11559 ac_exeext=$ac_wine_try_cflags_saved_exeext
11561 eval ac_res=\$$as_ac_var
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11563 printf "%s\n" "$ac_res" >&6; }
11564 if eval test \"x\$"$as_ac_var"\" = x"yes"
11566 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11568 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11570 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11571 if eval test \${$as_ac_var+y}
11573 printf %s "(cached) " >&6
11575 ac_wine_try_cflags_saved=$CFLAGS
11576 ac_wine_try_cflags_saved_exeext=$ac_exeext
11577 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11581 int __cdecl mainCRTStartup(void) { return 0; }
11583 if ac_fn_c_try_link "$LINENO"
11585 eval "$as_ac_var=yes"
11587 eval "$as_ac_var=no"
11589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11590 conftest$ac_exeext conftest.$ac_ext
11591 CFLAGS=$ac_wine_try_cflags_saved
11592 ac_exeext=$ac_wine_try_cflags_saved_exeext
11594 eval ac_res=\$$as_ac_var
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11596 printf "%s\n" "$ac_res" >&6; }
11597 if eval test \"x\$"$as_ac_var"\" = x"yes"
11599 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11603 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11605 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11607 printf %s "checking whether $CC supports -Werror... " >&6; }
11608 if eval test \${$as_ac_var+y}
11610 printf %s "(cached) " >&6
11612 ac_wine_try_cflags_saved=$CFLAGS
11613 ac_wine_try_cflags_saved_exeext=$ac_exeext
11614 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11618 int __cdecl mainCRTStartup(void) { return 0; }
11620 if ac_fn_c_try_link "$LINENO"
11622 eval "$as_ac_var=yes"
11624 eval "$as_ac_var=no"
11626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11627 conftest$ac_exeext conftest.$ac_ext
11628 CFLAGS=$ac_wine_try_cflags_saved
11629 ac_exeext=$ac_wine_try_cflags_saved_exeext
11631 eval ac_res=\$$as_ac_var
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11633 printf "%s\n" "$ac_res" >&6; }
11634 if eval test \"x\$"$as_ac_var"\" = x"yes"
11636 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11638 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11640 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11641 if eval test \${$as_ac_var+y}
11643 printf %s "(cached) " >&6
11645 ac_wine_try_cflags_saved=$CFLAGS
11646 ac_wine_try_cflags_saved_exeext=$ac_exeext
11647 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11651 int __cdecl mainCRTStartup(void) { return 0; }
11653 if ac_fn_c_try_link "$LINENO"
11655 eval "$as_ac_var=yes"
11657 eval "$as_ac_var=no"
11659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11660 conftest$ac_exeext conftest.$ac_ext
11661 CFLAGS=$ac_wine_try_cflags_saved
11662 ac_exeext=$ac_wine_try_cflags_saved_exeext
11664 eval ac_res=\$$as_ac_var
11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11666 printf "%s\n" "$ac_res" >&6; }
11667 if eval test \"x\$"$as_ac_var"\" = x"yes"
11669 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11670 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11674 CFLAGS=$saved_CFLAGS
11677 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11679 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11682 if test "x$PE_ARCHS" = "x"
11684 case "x$with_mingw" in
11685 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11687 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11688 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11694 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11696 case "$host_cpu" in
11698 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11700 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11702 for ac_prog in $ac_prefix_list
11704 # Extract the first word of "$ac_prog", so it can be a program name with args.
11705 set dummy $ac_prog; ac_word=$2
11706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11707 printf %s "checking for $ac_word... " >&6; }
11708 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11710 printf %s "(cached) " >&6
11712 if test -n "$MINGW_PKG_CONFIG"; then
11713 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11716 for as_dir in $PATH
11719 case $as_dir in #(((
11722 *) as_dir=$as_dir/ ;;
11724 for ac_exec_ext in '' $ac_executable_extensions; do
11725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11726 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11736 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11737 if test -n "$MINGW_PKG_CONFIG"; then
11738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11739 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11742 printf "%s\n" "no" >&6; }
11746 test -n "$MINGW_PKG_CONFIG" && break
11748 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11750 if ${FAUDIO_PE_CFLAGS:+false} :
11752 if test ${MINGW_PKG_CONFIG+y}
11754 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11757 if ${FAUDIO_PE_LIBS:+false} :
11759 if test ${MINGW_PKG_CONFIG+y}
11761 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11764 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11765 ac_save_CPPFLAGS=$CPPFLAGS
11766 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11768 printf %s "checking for MinGW FAudio.h... " >&6; }
11769 if test ${ac_cv_mingw_header_FAudio_h+y}
11771 printf %s "(cached) " >&6
11773 ac_wine_check_headers_saved_cc=$CC
11774 ac_wine_check_headers_saved_exeext=$ac_exeext
11775 eval CC=\$${wine_arch}_CC
11777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11780 #include <FAudio.h>
11789 if ac_fn_c_try_compile "$LINENO"
11791 ac_cv_mingw_header_FAudio_h=yes
11793 ac_cv_mingw_header_FAudio_h=no
11795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11796 CC=$ac_wine_check_headers_saved_cc
11797 ac_exeext=$ac_wine_check_headers_saved_exeext
11799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11800 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11801 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11804 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11805 if test ${ac_cv_mingw_lib_FAudio+y}
11807 printf %s "(cached) " >&6
11809 ac_wine_check_headers_saved_cc=$CC
11810 ac_wine_check_headers_saved_exeext=$ac_exeext
11811 ac_wine_check_headers_saved_libs=$LIBS
11812 eval CC=\$${wine_arch}_CC
11814 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 char FAudio_CommitOperationSet ();
11825 return FAudio_CommitOperationSet ();
11830 if ac_fn_c_try_link "$LINENO"
11832 ac_cv_mingw_lib_FAudio=yes
11834 ac_cv_mingw_lib_FAudio=no
11836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11837 conftest$ac_exeext conftest.$ac_ext
11838 CC=$ac_wine_check_headers_saved_cc
11839 ac_exeext=$ac_wine_check_headers_saved_exeext
11840 LIBS=$ac_wine_check_headers_saved_libs
11842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11843 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11844 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11848 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11851 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11853 CPPFLAGS=$ac_save_CPPFLAGS
11855 if test "x$FAUDIO_PE_LIBS" = "x"
11857 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11860 if ${JPEG_PE_CFLAGS:+false} :
11862 if test ${MINGW_PKG_CONFIG+y}
11864 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11867 if ${JPEG_PE_LIBS:+false} :
11869 if test ${MINGW_PKG_CONFIG+y}
11871 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11875 ac_save_CPPFLAGS=$CPPFLAGS
11876 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11878 printf %s "checking for MinGW jpeglib.h... " >&6; }
11879 if test ${ac_cv_mingw_header_jpeglib_h+y}
11881 printf %s "(cached) " >&6
11883 ac_wine_check_headers_saved_cc=$CC
11884 ac_wine_check_headers_saved_exeext=$ac_exeext
11885 eval CC=\$${wine_arch}_CC
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11889 #include <stddef.h>
11891 #include <jpeglib.h>
11900 if ac_fn_c_try_compile "$LINENO"
11902 ac_cv_mingw_header_jpeglib_h=yes
11904 ac_cv_mingw_header_jpeglib_h=no
11906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11907 CC=$ac_wine_check_headers_saved_cc
11908 ac_exeext=$ac_wine_check_headers_saved_exeext
11910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11911 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11912 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11915 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11916 if test ${ac_cv_mingw_lib_jpeg+y}
11918 printf %s "(cached) " >&6
11920 ac_wine_check_headers_saved_cc=$CC
11921 ac_wine_check_headers_saved_exeext=$ac_exeext
11922 ac_wine_check_headers_saved_libs=$LIBS
11923 eval CC=\$${wine_arch}_CC
11925 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11932 char jpeg_start_decompress ();
11936 return jpeg_start_decompress ();
11941 if ac_fn_c_try_link "$LINENO"
11943 ac_cv_mingw_lib_jpeg=yes
11945 ac_cv_mingw_lib_jpeg=no
11947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11948 conftest$ac_exeext conftest.$ac_ext
11949 CC=$ac_wine_check_headers_saved_cc
11950 ac_exeext=$ac_wine_check_headers_saved_exeext
11951 LIBS=$ac_wine_check_headers_saved_libs
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11954 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11955 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11959 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11962 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11964 CPPFLAGS=$ac_save_CPPFLAGS
11966 if test "x$JPEG_PE_LIBS" = "x"
11968 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11971 if ${LCMS2_PE_CFLAGS:+false} :
11973 if test ${MINGW_PKG_CONFIG+y}
11975 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
11978 if ${LCMS2_PE_LIBS:+false} :
11980 if test ${MINGW_PKG_CONFIG+y}
11982 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
11985 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11986 ac_save_CPPFLAGS=$CPPFLAGS
11987 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11989 printf %s "checking for MinGW lcms2.h... " >&6; }
11990 if test ${ac_cv_mingw_header_lcms2_h+y}
11992 printf %s "(cached) " >&6
11994 ac_wine_check_headers_saved_cc=$CC
11995 ac_wine_check_headers_saved_exeext=$ac_exeext
11996 eval CC=\$${wine_arch}_CC
11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12010 if ac_fn_c_try_compile "$LINENO"
12012 ac_cv_mingw_header_lcms2_h=yes
12014 ac_cv_mingw_header_lcms2_h=no
12016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12017 CC=$ac_wine_check_headers_saved_cc
12018 ac_exeext=$ac_wine_check_headers_saved_exeext
12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12021 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12022 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12025 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12026 if test ${ac_cv_mingw_lib_lcms2+y}
12028 printf %s "(cached) " >&6
12030 ac_wine_check_headers_saved_cc=$CC
12031 ac_wine_check_headers_saved_exeext=$ac_exeext
12032 ac_wine_check_headers_saved_libs=$LIBS
12033 eval CC=\$${wine_arch}_CC
12035 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12042 char cmsOpenProfileFromFile ();
12046 return cmsOpenProfileFromFile ();
12051 if ac_fn_c_try_link "$LINENO"
12053 ac_cv_mingw_lib_lcms2=yes
12055 ac_cv_mingw_lib_lcms2=no
12057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12058 conftest$ac_exeext conftest.$ac_ext
12059 CC=$ac_wine_check_headers_saved_cc
12060 ac_exeext=$ac_wine_check_headers_saved_exeext
12061 LIBS=$ac_wine_check_headers_saved_libs
12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12064 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12065 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12069 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12072 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12074 CPPFLAGS=$ac_save_CPPFLAGS
12076 if test "x$LCMS2_PE_LIBS" = "x"
12078 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12081 if ${MPG123_PE_CFLAGS:+false} :
12083 if test ${MINGW_PKG_CONFIG+y}
12085 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12088 if ${MPG123_PE_LIBS:+false} :
12090 if test ${MINGW_PKG_CONFIG+y}
12092 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12095 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12096 ac_save_CPPFLAGS=$CPPFLAGS
12097 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12099 printf %s "checking for MinGW mpg123.h... " >&6; }
12100 if test ${ac_cv_mingw_header_mpg123_h+y}
12102 printf %s "(cached) " >&6
12104 ac_wine_check_headers_saved_cc=$CC
12105 ac_wine_check_headers_saved_exeext=$ac_exeext
12106 eval CC=\$${wine_arch}_CC
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 #include <mpg123.h>
12120 if ac_fn_c_try_compile "$LINENO"
12122 ac_cv_mingw_header_mpg123_h=yes
12124 ac_cv_mingw_header_mpg123_h=no
12126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12127 CC=$ac_wine_check_headers_saved_cc
12128 ac_exeext=$ac_wine_check_headers_saved_exeext
12130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12131 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12132 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12135 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12136 if test ${ac_cv_mingw_lib_mpg123+y}
12138 printf %s "(cached) " >&6
12140 ac_wine_check_headers_saved_cc=$CC
12141 ac_wine_check_headers_saved_exeext=$ac_exeext
12142 ac_wine_check_headers_saved_libs=$LIBS
12143 eval CC=\$${wine_arch}_CC
12145 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12152 char mpg123_feed ();
12156 return mpg123_feed ();
12161 if ac_fn_c_try_link "$LINENO"
12163 ac_cv_mingw_lib_mpg123=yes
12165 ac_cv_mingw_lib_mpg123=no
12167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12168 conftest$ac_exeext conftest.$ac_ext
12169 CC=$ac_wine_check_headers_saved_cc
12170 ac_exeext=$ac_wine_check_headers_saved_exeext
12171 LIBS=$ac_wine_check_headers_saved_libs
12173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12174 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12175 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12179 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12182 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12184 CPPFLAGS=$ac_save_CPPFLAGS
12186 if test "x$MPG123_PE_LIBS" = "x"
12188 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12191 if ${PNG_PE_CFLAGS:+false} :
12193 if test ${MINGW_PKG_CONFIG+y}
12195 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12198 if ${PNG_PE_LIBS:+false} :
12200 if test ${MINGW_PKG_CONFIG+y}
12202 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12206 ac_save_CPPFLAGS=$CPPFLAGS
12207 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12209 printf %s "checking for MinGW png.h... " >&6; }
12210 if test ${ac_cv_mingw_header_png_h+y}
12212 printf %s "(cached) " >&6
12214 ac_wine_check_headers_saved_cc=$CC
12215 ac_wine_check_headers_saved_exeext=$ac_exeext
12216 eval CC=\$${wine_arch}_CC
12218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12230 if ac_fn_c_try_compile "$LINENO"
12232 ac_cv_mingw_header_png_h=yes
12234 ac_cv_mingw_header_png_h=no
12236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12237 CC=$ac_wine_check_headers_saved_cc
12238 ac_exeext=$ac_wine_check_headers_saved_exeext
12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12241 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12242 if test "x$ac_cv_mingw_header_png_h" = xyes
12244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12245 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12246 if test ${ac_cv_mingw_lib_png+y}
12248 printf %s "(cached) " >&6
12250 ac_wine_check_headers_saved_cc=$CC
12251 ac_wine_check_headers_saved_exeext=$ac_exeext
12252 ac_wine_check_headers_saved_libs=$LIBS
12253 eval CC=\$${wine_arch}_CC
12255 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12262 char png_create_read_struct ();
12266 return png_create_read_struct ();
12271 if ac_fn_c_try_link "$LINENO"
12273 ac_cv_mingw_lib_png=yes
12275 ac_cv_mingw_lib_png=no
12277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12278 conftest$ac_exeext conftest.$ac_ext
12279 CC=$ac_wine_check_headers_saved_cc
12280 ac_exeext=$ac_wine_check_headers_saved_exeext
12281 LIBS=$ac_wine_check_headers_saved_libs
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12284 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12285 if test "x$ac_cv_mingw_lib_png" = xyes
12289 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12292 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12294 CPPFLAGS=$ac_save_CPPFLAGS
12296 if test "x$PNG_PE_LIBS" = "x"
12298 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12301 if ${TIFF_PE_CFLAGS:+false} :
12303 if test ${MINGW_PKG_CONFIG+y}
12305 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12308 if ${TIFF_PE_LIBS:+false} :
12310 if test ${MINGW_PKG_CONFIG+y}
12312 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12316 ac_save_CPPFLAGS=$CPPFLAGS
12317 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12319 printf %s "checking for MinGW tiffio.h... " >&6; }
12320 if test ${ac_cv_mingw_header_tiffio_h+y}
12322 printf %s "(cached) " >&6
12324 ac_wine_check_headers_saved_cc=$CC
12325 ac_wine_check_headers_saved_exeext=$ac_exeext
12326 eval CC=\$${wine_arch}_CC
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 #include <tiffio.h>
12340 if ac_fn_c_try_compile "$LINENO"
12342 ac_cv_mingw_header_tiffio_h=yes
12344 ac_cv_mingw_header_tiffio_h=no
12346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12347 CC=$ac_wine_check_headers_saved_cc
12348 ac_exeext=$ac_wine_check_headers_saved_exeext
12350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12351 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12352 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12355 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12356 if test ${ac_cv_mingw_lib_tiff+y}
12358 printf %s "(cached) " >&6
12360 ac_wine_check_headers_saved_cc=$CC
12361 ac_wine_check_headers_saved_exeext=$ac_exeext
12362 ac_wine_check_headers_saved_libs=$LIBS
12363 eval CC=\$${wine_arch}_CC
12365 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12369 /* Override any GCC internal prototype to avoid an error.
12370 Use char because int might match the return type of a GCC
12371 builtin and then its argument prototype would still apply. */
12372 char TIFFClientOpen ();
12376 return TIFFClientOpen ();
12381 if ac_fn_c_try_link "$LINENO"
12383 ac_cv_mingw_lib_tiff=yes
12385 ac_cv_mingw_lib_tiff=no
12387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12388 conftest$ac_exeext conftest.$ac_ext
12389 CC=$ac_wine_check_headers_saved_cc
12390 ac_exeext=$ac_wine_check_headers_saved_exeext
12391 LIBS=$ac_wine_check_headers_saved_libs
12393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12394 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12395 if test "x$ac_cv_mingw_lib_tiff" = xyes
12399 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12402 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12404 CPPFLAGS=$ac_save_CPPFLAGS
12406 if test "x$TIFF_PE_LIBS" = "x"
12408 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12411 if ${XML2_PE_CFLAGS:+false} :
12413 if test ${MINGW_PKG_CONFIG+y}
12415 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12418 if ${XML2_PE_LIBS:+false} :
12420 if test ${MINGW_PKG_CONFIG+y}
12422 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12425 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12426 ac_save_CPPFLAGS=$CPPFLAGS
12427 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12429 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12430 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12432 printf %s "(cached) " >&6
12434 ac_wine_check_headers_saved_cc=$CC
12435 ac_wine_check_headers_saved_exeext=$ac_exeext
12436 eval CC=\$${wine_arch}_CC
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 #include <libxml/parser.h>
12450 if ac_fn_c_try_compile "$LINENO"
12452 ac_cv_mingw_header_libxml_parser_h=yes
12454 ac_cv_mingw_header_libxml_parser_h=no
12456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12457 CC=$ac_wine_check_headers_saved_cc
12458 ac_exeext=$ac_wine_check_headers_saved_exeext
12460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12461 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12462 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12467 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12468 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12470 printf %s "(cached) " >&6
12472 ac_wine_check_headers_saved_cc=$CC
12473 ac_wine_check_headers_saved_exeext=$ac_exeext
12474 eval CC=\$${wine_arch}_CC
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 #include <libxml/xmlsave.h>
12488 if ac_fn_c_try_compile "$LINENO"
12490 ac_cv_mingw_header_libxml_xmlsave_h=yes
12492 ac_cv_mingw_header_libxml_xmlsave_h=no
12494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12495 CC=$ac_wine_check_headers_saved_cc
12496 ac_exeext=$ac_wine_check_headers_saved_exeext
12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12499 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12500 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12505 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12506 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12508 printf %s "(cached) " >&6
12510 ac_wine_check_headers_saved_cc=$CC
12511 ac_wine_check_headers_saved_exeext=$ac_exeext
12512 eval CC=\$${wine_arch}_CC
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12517 #include <libxml/SAX2.h>
12526 if ac_fn_c_try_compile "$LINENO"
12528 ac_cv_mingw_header_libxml_SAX2_h=yes
12530 ac_cv_mingw_header_libxml_SAX2_h=no
12532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12533 CC=$ac_wine_check_headers_saved_cc
12534 ac_exeext=$ac_wine_check_headers_saved_exeext
12536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12537 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12538 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12542 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"
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12545 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12546 if test ${ac_cv_mingw_lib_xml2+y}
12548 printf %s "(cached) " >&6
12550 ac_wine_check_headers_saved_cc=$CC
12551 ac_wine_check_headers_saved_exeext=$ac_exeext
12552 ac_wine_check_headers_saved_libs=$LIBS
12553 eval CC=\$${wine_arch}_CC
12555 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12557 /* end confdefs.h. */
12559 /* Override any GCC internal prototype to avoid an error.
12560 Use char because int might match the return type of a GCC
12561 builtin and then its argument prototype would still apply. */
12562 char xmlFirstElementChild ();
12566 return xmlFirstElementChild ();
12571 if ac_fn_c_try_link "$LINENO"
12573 ac_cv_mingw_lib_xml2=yes
12575 ac_cv_mingw_lib_xml2=no
12577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12578 conftest$ac_exeext conftest.$ac_ext
12579 CC=$ac_wine_check_headers_saved_cc
12580 ac_exeext=$ac_wine_check_headers_saved_exeext
12581 LIBS=$ac_wine_check_headers_saved_libs
12583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12584 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12585 if test "x$ac_cv_mingw_lib_xml2" = xyes
12589 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12595 CPPFLAGS=$ac_save_CPPFLAGS
12597 if test "x$XML2_PE_LIBS" = "x"
12599 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12602 if ${XSLT_PE_CFLAGS:+false} :
12604 if test ${MINGW_PKG_CONFIG+y}
12606 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12609 if ${XSLT_PE_LIBS:+false} :
12611 if test ${MINGW_PKG_CONFIG+y}
12613 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12616 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12617 ac_save_CPPFLAGS=$CPPFLAGS
12618 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12620 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12621 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12623 printf %s "(cached) " >&6
12625 ac_wine_check_headers_saved_cc=$CC
12626 ac_wine_check_headers_saved_exeext=$ac_exeext
12627 eval CC=\$${wine_arch}_CC
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 #include <libxslt/pattern.h>
12641 if ac_fn_c_try_compile "$LINENO"
12643 ac_cv_mingw_header_libxslt_pattern_h=yes
12645 ac_cv_mingw_header_libxslt_pattern_h=no
12647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12648 CC=$ac_wine_check_headers_saved_cc
12649 ac_exeext=$ac_wine_check_headers_saved_exeext
12651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12652 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12653 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12658 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12659 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12661 printf %s "(cached) " >&6
12663 ac_wine_check_headers_saved_cc=$CC
12664 ac_wine_check_headers_saved_exeext=$ac_exeext
12665 eval CC=\$${wine_arch}_CC
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12670 #include <libxslt/transform.h>
12679 if ac_fn_c_try_compile "$LINENO"
12681 ac_cv_mingw_header_libxslt_transform_h=yes
12683 ac_cv_mingw_header_libxslt_transform_h=no
12685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12686 CC=$ac_wine_check_headers_saved_cc
12687 ac_exeext=$ac_wine_check_headers_saved_exeext
12689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12690 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12691 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12695 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12698 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12699 if test ${ac_cv_mingw_lib_xslt+y}
12701 printf %s "(cached) " >&6
12703 ac_wine_check_headers_saved_cc=$CC
12704 ac_wine_check_headers_saved_exeext=$ac_exeext
12705 ac_wine_check_headers_saved_libs=$LIBS
12706 eval CC=\$${wine_arch}_CC
12708 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12712 /* Override any GCC internal prototype to avoid an error.
12713 Use char because int might match the return type of a GCC
12714 builtin and then its argument prototype would still apply. */
12715 char xsltCompilePattern ();
12719 return xsltCompilePattern ();
12724 if ac_fn_c_try_link "$LINENO"
12726 ac_cv_mingw_lib_xslt=yes
12728 ac_cv_mingw_lib_xslt=no
12730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12731 conftest$ac_exeext conftest.$ac_ext
12732 CC=$ac_wine_check_headers_saved_cc
12733 ac_exeext=$ac_wine_check_headers_saved_exeext
12734 LIBS=$ac_wine_check_headers_saved_libs
12736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12737 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12738 if test "x$ac_cv_mingw_lib_xslt" = xyes
12742 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12748 CPPFLAGS=$ac_save_CPPFLAGS
12750 if test "x$XSLT_PE_LIBS" = "x"
12752 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12755 if ${VKD3D_PE_CFLAGS:+false} :
12757 if test ${MINGW_PKG_CONFIG+y}
12759 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12762 if ${VKD3D_PE_LIBS:+false} :
12764 if test ${MINGW_PKG_CONFIG+y}
12766 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12769 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12770 ac_save_CPPFLAGS=$CPPFLAGS
12771 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12773 printf %s "checking for MinGW vkd3d.h... " >&6; }
12774 if test ${ac_cv_mingw_header_vkd3d_h+y}
12776 printf %s "(cached) " >&6
12778 ac_wine_check_headers_saved_cc=$CC
12779 ac_wine_check_headers_saved_exeext=$ac_exeext
12780 eval CC=\$${wine_arch}_CC
12782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12794 if ac_fn_c_try_compile "$LINENO"
12796 ac_cv_mingw_header_vkd3d_h=yes
12798 ac_cv_mingw_header_vkd3d_h=no
12800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12801 CC=$ac_wine_check_headers_saved_cc
12802 ac_exeext=$ac_wine_check_headers_saved_exeext
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12805 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12806 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12811 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12812 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12814 printf %s "(cached) " >&6
12816 ac_wine_check_headers_saved_cc=$CC
12817 ac_wine_check_headers_saved_exeext=$ac_exeext
12818 eval CC=\$${wine_arch}_CC
12820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12821 /* end confdefs.h. */
12823 #include <vkd3d_shader.h>
12832 if ac_fn_c_try_compile "$LINENO"
12834 ac_cv_mingw_header_vkd3d_shader_h=yes
12836 ac_cv_mingw_header_vkd3d_shader_h=no
12838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12839 CC=$ac_wine_check_headers_saved_cc
12840 ac_exeext=$ac_wine_check_headers_saved_exeext
12842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12843 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12844 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12848 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12851 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12852 if test ${ac_cv_mingw_lib_vkd3d+y}
12854 printf %s "(cached) " >&6
12856 ac_wine_check_headers_saved_cc=$CC
12857 ac_wine_check_headers_saved_exeext=$ac_exeext
12858 ac_wine_check_headers_saved_libs=$LIBS
12859 eval CC=\$${wine_arch}_CC
12861 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 char vkd3d_set_log_callback ();
12872 return vkd3d_set_log_callback ();
12877 if ac_fn_c_try_link "$LINENO"
12879 ac_cv_mingw_lib_vkd3d=yes
12881 ac_cv_mingw_lib_vkd3d=no
12883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12884 conftest$ac_exeext conftest.$ac_ext
12885 CC=$ac_wine_check_headers_saved_cc
12886 ac_exeext=$ac_wine_check_headers_saved_exeext
12887 LIBS=$ac_wine_check_headers_saved_libs
12889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12890 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12891 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12898 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12899 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12901 printf %s "(cached) " >&6
12903 ac_wine_check_headers_saved_cc=$CC
12904 ac_wine_check_headers_saved_exeext=$ac_exeext
12905 ac_wine_check_headers_saved_libs=$LIBS
12906 eval CC=\$${wine_arch}_CC
12908 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 /* Override any GCC internal prototype to avoid an error.
12913 Use char because int might match the return type of a GCC
12914 builtin and then its argument prototype would still apply. */
12915 char vkd3d_shader_serialize_dxbc ();
12919 return vkd3d_shader_serialize_dxbc ();
12924 if ac_fn_c_try_link "$LINENO"
12926 ac_cv_mingw_lib_vkd3d_shader=yes
12928 ac_cv_mingw_lib_vkd3d_shader=no
12930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12931 conftest$ac_exeext conftest.$ac_ext
12932 CC=$ac_wine_check_headers_saved_cc
12933 ac_exeext=$ac_wine_check_headers_saved_exeext
12934 LIBS=$ac_wine_check_headers_saved_libs
12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12937 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12938 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12944 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12953 CPPFLAGS=$ac_save_CPPFLAGS
12955 if test "x$VKD3D_PE_LIBS" = "x"
12957 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12960 if ${ZLIB_PE_CFLAGS:+false} :
12962 if test ${MINGW_PKG_CONFIG+y}
12964 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
12967 if ${ZLIB_PE_LIBS:+false} :
12969 if test ${MINGW_PKG_CONFIG+y}
12971 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
12974 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12975 ac_save_CPPFLAGS=$CPPFLAGS
12976 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12978 printf %s "checking for MinGW zlib.h... " >&6; }
12979 if test ${ac_cv_mingw_header_zlib_h+y}
12981 printf %s "(cached) " >&6
12983 ac_wine_check_headers_saved_cc=$CC
12984 ac_wine_check_headers_saved_exeext=$ac_exeext
12985 eval CC=\$${wine_arch}_CC
12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12999 if ac_fn_c_try_compile "$LINENO"
13001 ac_cv_mingw_header_zlib_h=yes
13003 ac_cv_mingw_header_zlib_h=no
13005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13006 CC=$ac_wine_check_headers_saved_cc
13007 ac_exeext=$ac_wine_check_headers_saved_exeext
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13010 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13011 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13014 printf %s "checking for inflate in MinGW -lz... " >&6; }
13015 if test ${ac_cv_mingw_lib_z+y}
13017 printf %s "(cached) " >&6
13019 ac_wine_check_headers_saved_cc=$CC
13020 ac_wine_check_headers_saved_exeext=$ac_exeext
13021 ac_wine_check_headers_saved_libs=$LIBS
13022 eval CC=\$${wine_arch}_CC
13024 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13028 /* Override any GCC internal prototype to avoid an error.
13029 Use char because int might match the return type of a GCC
13030 builtin and then its argument prototype would still apply. */
13040 if ac_fn_c_try_link "$LINENO"
13042 ac_cv_mingw_lib_z=yes
13044 ac_cv_mingw_lib_z=no
13046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13047 conftest$ac_exeext conftest.$ac_ext
13048 CC=$ac_wine_check_headers_saved_cc
13049 ac_exeext=$ac_wine_check_headers_saved_exeext
13050 LIBS=$ac_wine_check_headers_saved_libs
13052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13053 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13054 if test "x$ac_cv_mingw_lib_z" = xyes
13058 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13061 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13063 CPPFLAGS=$ac_save_CPPFLAGS
13065 if test "x$ZLIB_PE_LIBS" = "x"
13067 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13071 if ${FAUDIO_PE_LIBS:+false} :
13073 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13074 if ${FAUDIO_PE_CFLAGS:+false} :
13076 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13086 if ${GSM_PE_LIBS:+false} :
13089 if ${GSM_PE_CFLAGS:+false} :
13091 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13101 if ${JPEG_PE_LIBS:+false} :
13104 if ${JPEG_PE_CFLAGS:+false} :
13106 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13116 if ${JXR_PE_LIBS:+false} :
13119 if ${JXR_PE_CFLAGS:+false} :
13121 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13131 if ${LCMS2_PE_LIBS:+false} :
13133 LCMS2_PE_LIBS=lcms2
13134 if ${LCMS2_PE_CFLAGS:+false} :
13136 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13146 if ${LDAP_PE_LIBS:+false} :
13149 if ${LDAP_PE_CFLAGS:+false} :
13151 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13161 if ${MPG123_PE_LIBS:+false} :
13163 MPG123_PE_LIBS=mpg123
13164 if ${MPG123_PE_CFLAGS:+false} :
13166 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13176 if ${MUSL_PE_LIBS:+false} :
13179 if ${MUSL_PE_CFLAGS:+false} :
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13191 if ${PNG_PE_LIBS:+false} :
13193 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13194 if ${PNG_PE_CFLAGS:+false} :
13196 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13206 if ${TIFF_PE_LIBS:+false} :
13208 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13209 if ${TIFF_PE_CFLAGS:+false} :
13211 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13221 if ${VKD3D_PE_LIBS:+false} :
13223 VKD3D_PE_LIBS=vkd3d
13224 if ${VKD3D_PE_CFLAGS:+false} :
13226 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13236 if ${XML2_PE_LIBS:+false} :
13239 if ${XML2_PE_CFLAGS:+false} :
13241 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13251 if ${XSLT_PE_LIBS:+false} :
13254 if ${XSLT_PE_CFLAGS:+false} :
13256 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13266 if ${ZLIB_PE_LIBS:+false} :
13269 if ${ZLIB_PE_CFLAGS:+false} :
13271 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13281 if ${ZYDIS_PE_LIBS:+false} :
13283 ZYDIS_PE_LIBS=zydis
13284 if ${ZYDIS_PE_CFLAGS:+false} :
13286 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13298 if test "$ac_cv_header_pthread_h" = "yes"
13300 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13301 if test "x$ac_cv_func_pthread_create" = xyes
13305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13306 printf %s "checking for pthread_create in -lpthread... " >&6; }
13307 if test ${ac_cv_lib_pthread_pthread_create+y}
13309 printf %s "(cached) " >&6
13311 ac_check_lib_save_LIBS=$LIBS
13312 LIBS="-lpthread $LIBS"
13313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13316 /* Override any GCC internal prototype to avoid an error.
13317 Use char because int might match the return type of a GCC
13318 builtin and then its argument prototype would still apply. */
13319 char pthread_create ();
13323 return pthread_create ();
13328 if ac_fn_c_try_link "$LINENO"
13330 ac_cv_lib_pthread_pthread_create=yes
13332 ac_cv_lib_pthread_pthread_create=no
13334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13335 conftest$ac_exeext conftest.$ac_ext
13336 LIBS=$ac_check_lib_save_LIBS
13338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13339 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13340 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13342 PTHREAD_LIBS="-lpthread"
13349 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13351 case "x$with_pthread" in
13353 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13354 Wine cannot support threads without libpthread.
13355 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13362 ac_cpp='$CPP $CPPFLAGS'
13363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13367 printf %s "checking how to run the C preprocessor... " >&6; }
13368 # On Suns, sometimes $CPP names a directory.
13369 if test -n "$CPP" && test -d "$CPP"; then
13372 if test -z "$CPP"; then
13373 if test ${ac_cv_prog_CPP+y}
13375 printf %s "(cached) " >&6
13377 # Double quotes because $CC needs to be expanded
13378 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13380 ac_preproc_ok=false
13381 for ac_c_preproc_warn_flag in '' yes
13383 # Use a header file that comes with gcc, so configuring glibc
13384 # with a fresh cross-compiler works.
13385 # On the NeXT, cc -E runs the code through the compiler's parser,
13386 # not just through cpp. "Syntax error" is here to catch this case.
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13389 #include <limits.h>
13392 if ac_fn_c_try_cpp "$LINENO"
13396 # Broken: fails on valid input.
13399 rm -f conftest.err conftest.i conftest.$ac_ext
13401 # OK, works on sane cases. Now check whether nonexistent headers
13402 # can be detected and how.
13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13405 #include <ac_nonexistent.h>
13407 if ac_fn_c_try_cpp "$LINENO"
13409 # Broken: success on invalid input.
13412 # Passes both tests.
13416 rm -f conftest.err conftest.i conftest.$ac_ext
13419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13420 rm -f conftest.i conftest.err conftest.
$ac_ext
13427 ac_cv_prog_CPP
=$CPP
13430 CPP
=$ac_cv_prog_CPP
13432 ac_cv_prog_CPP
=$CPP
13434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13435 printf "%s\n" "$CPP" >&6; }
13436 ac_preproc_ok
=false
13437 for ac_c_preproc_warn_flag
in '' yes
13439 # Use a header file that comes with gcc, so configuring glibc
13440 # with a fresh cross-compiler works.
13441 # On the NeXT, cc -E runs the code through the compiler's parser,
13442 # not just through cpp. "Syntax error" is here to catch this case.
13443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13445 #include <limits.h>
13448 if ac_fn_c_try_cpp
"$LINENO"
13452 # Broken: fails on valid input.
13455 rm -f conftest.err conftest.i conftest.
$ac_ext
13457 # OK, works on sane cases. Now check whether nonexistent headers
13458 # can be detected and how.
13459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13460 /* end confdefs.h. */
13461 #include <ac_nonexistent.h>
13463 if ac_fn_c_try_cpp
"$LINENO"
13465 # Broken: success on invalid input.
13468 # Passes both tests.
13472 rm -f conftest.err conftest.i conftest.
$ac_ext
13475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13476 rm -f conftest.i conftest.err conftest.
$ac_ext
13481 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13482 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13483 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13484 See \`config.log' for more details" "$LINENO" 5; }
13488 ac_cpp
='$CPP $CPPFLAGS'
13489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13495 printf %s
"checking for X... " >&6; }
13498 # Check whether --with-x was given.
13499 if test ${with_x+y}
13504 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13505 if test "x$with_x" = xno
; then
13506 # The user explicitly disabled X.
13509 case $x_includes,$x_libraries in #(
13510 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13511 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13513 printf %s
"(cached) " >&6
13515 # One or both of the vars are not set, and there is no cached value.
13518 # Do we need to do anything special at all?
13521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13523 #include <X11/Xlib.h>
13532 if ac_fn_c_try_link
"$LINENO"
13534 # We can compile and link X programs with no special options.
13538 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13539 conftest
$ac_exeext conftest.
$ac_ext
13540 LIBS
="$ac_save_LIBS"
13541 # If that didn't work, only try xmkmf and file system searches
13542 # for native compilation.
13543 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13545 rm -f -r conftest.dir
13546 if mkdir conftest.dir
; then
13548 cat >Imakefile
<<'_ACEOF'
13550 @echo incroot='${INCROOT}'
13552 @echo usrlibdir='${USRLIBDIR}'
13554 @echo libdir='${LIBDIR}'
13556 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13557 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13558 for ac_var
in incroot usrlibdir libdir
; do
13559 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13561 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13562 for ac_extension
in a so sl dylib la dll
; do
13563 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13564 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13565 ac_im_usrlibdir
=$ac_im_libdir; break
13568 # Screen out bogus values from the imake configuration. They are
13569 # bogus both because they are the default anyway, and because
13570 # using them would break gcc on systems where it needs fixed includes.
13571 case $ac_im_incroot in
13572 /usr
/include
) ac_x_includes
= ;;
13573 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13575 case $ac_im_usrlibdir in
13576 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13577 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13581 rm -f -r conftest.dir
13584 # Standard set of common directories for X headers.
13585 # Check X11 before X11Rn because it is often a symlink to the current release.
13599 /usr/local/X11/include
13600 /usr/local/X11R7/include
13601 /usr/local/X11R6/include
13602 /usr/local/X11R5/include
13603 /usr/local/X11R4/include
13605 /usr/local/include/X11
13606 /usr/local/include/X11R7
13607 /usr/local/include/X11R6
13608 /usr/local/include/X11R5
13609 /usr/local/include/X11R4
13615 /usr/XFree86/include/X11
13619 /usr/unsupported/include
13620 /usr/athena/include
13621 /usr/local/x11r5/include
13622 /usr/lpp/Xamples/include
13624 /usr/openwin/include
13625 /usr/openwin/share/include'
13627 if test "$ac_x_includes" = no
; then
13628 # Guess where to find include files, by looking for Xlib.h.
13629 # First, try using that file with no special directory specified.
13630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13632 #include <X11/Xlib.h>
13634 if ac_fn_c_try_cpp
"$LINENO"
13636 # We can compile using X headers with no special include directory.
13639 for ac_dir
in $ac_x_header_dirs; do
13640 if test -r "$ac_dir/X11/Xlib.h"; then
13641 ac_x_includes
=$ac_dir
13646 rm -f conftest.err conftest.i conftest.
$ac_ext
13647 fi # $ac_x_includes = no
13649 if test "$ac_x_libraries" = no
; then
13650 # Check for the libraries.
13651 # See if we find them without any special options.
13652 # Don't add to $LIBS permanently.
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 #include <X11/Xlib.h>
13666 if ac_fn_c_try_link
"$LINENO"
13669 # We can link X programs with no special library path.
13673 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13675 # Don't even attempt the hair of trying to link an X program!
13676 for ac_extension
in a so sl dylib la dll
; do
13677 if test -r "$ac_dir/libX11.$ac_extension"; then
13678 ac_x_libraries
=$ac_dir
13684 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13685 conftest
$ac_exeext conftest.
$ac_ext
13686 fi # $ac_x_libraries = no
13689 # Record the results.
13690 case $ac_x_includes,$ac_x_libraries in #(
13691 no
,* |
*,no |
*\'*) :
13692 # Didn't find X, or a directory has "'" in its name.
13693 ac_cv_have_x
="have_x=no" ;; #(
13695 # Record where we found X for the cache.
13696 ac_cv_have_x
="have_x=yes\
13697 ac_x_includes='$ac_x_includes'\
13698 ac_x_libraries='$ac_x_libraries'" ;;
13704 eval "$ac_cv_have_x"
13707 if test "$have_x" != yes; then
13708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13709 printf "%s\n" "$have_x" >&6; }
13712 # If each of the values was on the command line, it overrides each guess.
13713 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13714 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13715 # Update the cache value to reflect the command line values.
13716 ac_cv_have_x
="have_x=yes\
13717 ac_x_includes='$x_includes'\
13718 ac_x_libraries='$x_libraries'"
13719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13720 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13723 if test "$no_x" = yes; then
13724 # Not all programs may use this symbol, but it does not hurt to define it.
13726 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13728 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13730 if test -n "$x_includes"; then
13731 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13734 # It would also be nice to do this for all -L options, not just this one.
13735 if test -n "$x_libraries"; then
13736 X_LIBS
="$X_LIBS -L$x_libraries"
13737 # For Solaris; some versions of Sun CC require a space after -R and
13738 # others require no space. Words are not sufficient . . . .
13739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13740 printf %s
"checking whether -R must be followed by a space... " >&6; }
13741 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13742 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13743 ac_c_werror_flag
=yes
13744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13755 if ac_fn_c_try_link
"$LINENO"
13757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13758 printf "%s\n" "no" >&6; }
13759 X_LIBS
="$X_LIBS -R$x_libraries"
13761 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13773 if ac_fn_c_try_link
"$LINENO"
13775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13776 printf "%s\n" "yes" >&6; }
13777 X_LIBS
="$X_LIBS -R $x_libraries"
13779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13780 printf "%s\n" "neither works" >&6; }
13782 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13783 conftest
$ac_exeext conftest.
$ac_ext
13785 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13786 conftest
$ac_exeext conftest.
$ac_ext
13787 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13788 LIBS
=$ac_xsave_LIBS
13791 # Check for system-dependent libraries X programs must link with.
13792 # Do this before checking for the system-independent R6 libraries
13793 # (-lICE), since we may need -lsocket or whatever for X linking.
13795 if test "$ISC" = yes; then
13796 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13798 # Martyn Johnson says this is needed for Ultrix, if the X
13799 # libraries were built with DECnet support. And Karl Berry says
13800 # the Alpha needs dnet_stub (dnet does not exist).
13801 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13805 /* Override any GCC internal prototype to avoid an error.
13806 Use char because int might match the return type of a GCC
13807 builtin and then its argument prototype would still apply. */
13808 char XOpenDisplay ();
13812 return XOpenDisplay ();
13817 if ac_fn_c_try_link
"$LINENO"
13821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13822 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13823 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13825 printf %s
"(cached) " >&6
13827 ac_check_lib_save_LIBS
=$LIBS
13828 LIBS
="-ldnet $LIBS"
13829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13839 return dnet_ntoa ();
13844 if ac_fn_c_try_link
"$LINENO"
13846 ac_cv_lib_dnet_dnet_ntoa
=yes
13848 ac_cv_lib_dnet_dnet_ntoa
=no
13850 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13851 conftest
$ac_exeext conftest.
$ac_ext
13852 LIBS
=$ac_check_lib_save_LIBS
13854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13855 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13856 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13858 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13861 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13863 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13864 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13866 printf %s
"(cached) " >&6
13868 ac_check_lib_save_LIBS
=$LIBS
13869 LIBS
="-ldnet_stub $LIBS"
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13873 /* Override any GCC internal prototype to avoid an error.
13874 Use char because int might match the return type of a GCC
13875 builtin and then its argument prototype would still apply. */
13880 return dnet_ntoa ();
13885 if ac_fn_c_try_link
"$LINENO"
13887 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13889 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13891 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13892 conftest
$ac_exeext conftest.
$ac_ext
13893 LIBS
=$ac_check_lib_save_LIBS
13895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13896 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13897 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13899 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13904 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13905 conftest
$ac_exeext conftest.
$ac_ext
13906 LIBS
="$ac_xsave_LIBS"
13908 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13909 # to get the SysV transport functions.
13910 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13912 # The nsl library prevents programs from opening the X display
13913 # on Irix 5.2, according to T.E. Dickey.
13914 # The functions gethostbyname, getservbyname, and inet_addr are
13915 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13916 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13917 if test "x$ac_cv_func_gethostbyname" = xyes
13922 if test $ac_cv_func_gethostbyname = no
; then
13923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13924 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
13925 if test ${ac_cv_lib_nsl_gethostbyname+y}
13927 printf %s
"(cached) " >&6
13929 ac_check_lib_save_LIBS
=$LIBS
13931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13934 /* Override any GCC internal prototype to avoid an error.
13935 Use char because int might match the return type of a GCC
13936 builtin and then its argument prototype would still apply. */
13937 char gethostbyname ();
13941 return gethostbyname ();
13946 if ac_fn_c_try_link
"$LINENO"
13948 ac_cv_lib_nsl_gethostbyname
=yes
13950 ac_cv_lib_nsl_gethostbyname
=no
13952 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13953 conftest
$ac_exeext conftest.
$ac_ext
13954 LIBS
=$ac_check_lib_save_LIBS
13956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13957 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13958 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13960 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13963 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13965 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
13966 if test ${ac_cv_lib_bsd_gethostbyname+y}
13968 printf %s
"(cached) " >&6
13970 ac_check_lib_save_LIBS
=$LIBS
13972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13978 char gethostbyname ();
13982 return gethostbyname ();
13987 if ac_fn_c_try_link
"$LINENO"
13989 ac_cv_lib_bsd_gethostbyname
=yes
13991 ac_cv_lib_bsd_gethostbyname
=no
13993 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13994 conftest
$ac_exeext conftest.
$ac_ext
13995 LIBS
=$ac_check_lib_save_LIBS
13997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13998 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13999 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14007 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14008 # socket/setsockopt and other routines are undefined under SCO ODT
14009 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14010 # on later versions), says Simon Leinen: it contains gethostby*
14011 # variants that don't use the name server (or something). -lsocket
14012 # must be given before -lnsl if both are needed. We assume that
14013 # if connect needs -lnsl, so does gethostbyname.
14014 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14015 if test "x$ac_cv_func_connect" = xyes
14020 if test $ac_cv_func_connect = no
; then
14021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14022 printf %s
"checking for connect in -lsocket... " >&6; }
14023 if test ${ac_cv_lib_socket_connect+y}
14025 printf %s
"(cached) " >&6
14027 ac_check_lib_save_LIBS
=$LIBS
14028 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14032 /* Override any GCC internal prototype to avoid an error.
14033 Use char because int might match the return type of a GCC
14034 builtin and then its argument prototype would still apply. */
14044 if ac_fn_c_try_link
"$LINENO"
14046 ac_cv_lib_socket_connect
=yes
14048 ac_cv_lib_socket_connect
=no
14050 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14051 conftest
$ac_exeext conftest.
$ac_ext
14052 LIBS
=$ac_check_lib_save_LIBS
14054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14055 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14056 if test "x$ac_cv_lib_socket_connect" = xyes
14058 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14063 # Guillermo Gomez says -lposix is necessary on A/UX.
14064 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14065 if test "x$ac_cv_func_remove" = xyes
14070 if test $ac_cv_func_remove = no
; then
14071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14072 printf %s
"checking for remove in -lposix... " >&6; }
14073 if test ${ac_cv_lib_posix_remove+y}
14075 printf %s
"(cached) " >&6
14077 ac_check_lib_save_LIBS
=$LIBS
14078 LIBS
="-lposix $LIBS"
14079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14094 if ac_fn_c_try_link
"$LINENO"
14096 ac_cv_lib_posix_remove
=yes
14098 ac_cv_lib_posix_remove
=no
14100 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14101 conftest
$ac_exeext conftest.
$ac_ext
14102 LIBS
=$ac_check_lib_save_LIBS
14104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14105 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14106 if test "x$ac_cv_lib_posix_remove" = xyes
14108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14113 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14114 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14115 if test "x$ac_cv_func_shmat" = xyes
14120 if test $ac_cv_func_shmat = no
; then
14121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14122 printf %s
"checking for shmat in -lipc... " >&6; }
14123 if test ${ac_cv_lib_ipc_shmat+y}
14125 printf %s
"(cached) " >&6
14127 ac_check_lib_save_LIBS
=$LIBS
14129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14132 /* Override any GCC internal prototype to avoid an error.
14133 Use char because int might match the return type of a GCC
14134 builtin and then its argument prototype would still apply. */
14144 if ac_fn_c_try_link
"$LINENO"
14146 ac_cv_lib_ipc_shmat
=yes
14148 ac_cv_lib_ipc_shmat
=no
14150 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14151 conftest
$ac_exeext conftest.
$ac_ext
14152 LIBS
=$ac_check_lib_save_LIBS
14154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14155 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14156 if test "x$ac_cv_lib_ipc_shmat" = xyes
14158 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14164 # Check for libraries that X11R6 Xt/Xaw programs need.
14165 ac_save_LDFLAGS
=$LDFLAGS
14166 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14167 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14168 # check for ICE first), but we must link in the order -lSM -lICE or
14169 # we get undefined symbols. So assume we have SM if we have ICE.
14170 # These have to be linked with before -lX11, unlike the other
14171 # libraries we check for below, so use a different variable.
14172 # John Interrante, Karl Berry
14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14174 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14175 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14177 printf %s
"(cached) " >&6
14179 ac_check_lib_save_LIBS
=$LIBS
14180 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14187 char IceConnectionNumber ();
14191 return IceConnectionNumber ();
14196 if ac_fn_c_try_link
"$LINENO"
14198 ac_cv_lib_ICE_IceConnectionNumber
=yes
14200 ac_cv_lib_ICE_IceConnectionNumber
=no
14202 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14203 conftest
$ac_exeext conftest.
$ac_ext
14204 LIBS
=$ac_check_lib_save_LIBS
14206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14207 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14208 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14210 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14213 LDFLAGS
=$ac_save_LDFLAGS
14218 if test "$have_x" = "yes"
14220 ac_save_CPPFLAGS
="$CPPFLAGS"
14221 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14224 printf %s
"checking for -lX11... " >&6; }
14225 if test ${ac_cv_lib_soname_X11+y}
14227 printf %s
"(cached) " >&6
14229 ac_check_soname_save_LIBS
=$LIBS
14230 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14234 /* Override any GCC internal prototype to avoid an error.
14235 Use char because int might match the return type of a GCC
14236 builtin and then its argument prototype would still apply. */
14237 char XCreateWindow ();
14241 return XCreateWindow ();
14246 if ac_fn_c_try_link
"$LINENO"
14249 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14250 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'` ;;
14251 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14252 if ${ac_cv_lib_soname_X11:+false} :
14254 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14258 ac_cv_lib_soname_X11
=
14260 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14261 conftest
$ac_exeext conftest.
$ac_ext
14262 LIBS
=$ac_check_soname_save_LIBS
14264 if ${ac_cv_lib_soname_X11:+false} :
14266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14267 printf "%s\n" "not found" >&6; }
14270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14271 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14273 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14278 printf %s
"checking for -lXext... " >&6; }
14279 if test ${ac_cv_lib_soname_Xext+y}
14281 printf %s
"(cached) " >&6
14283 ac_check_soname_save_LIBS
=$LIBS
14284 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14288 /* Override any GCC internal prototype to avoid an error.
14289 Use char because int might match the return type of a GCC
14290 builtin and then its argument prototype would still apply. */
14291 char XextCreateExtension ();
14295 return XextCreateExtension ();
14300 if ac_fn_c_try_link
"$LINENO"
14303 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14304 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'` ;;
14305 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14306 if ${ac_cv_lib_soname_Xext:+false} :
14308 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14312 ac_cv_lib_soname_Xext
=
14314 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14315 conftest
$ac_exeext conftest.
$ac_ext
14316 LIBS
=$ac_check_soname_save_LIBS
14318 if ${ac_cv_lib_soname_Xext:+false} :
14320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14321 printf "%s\n" "not found" >&6; }
14324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14325 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14327 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14329 X_LIBS
="$X_LIBS -lXext"
14331 X_LIBS
="$X_LIBS -lX11"
14333 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14334 # include <X11/Xlib.h>
14336 #ifdef HAVE_X11_XUTIL_H
14337 # include <X11/Xutil.h>
14340 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14342 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14345 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14346 # include <X11/Xlib.h>
14348 #ifdef HAVE_X11_XUTIL_H
14349 # include <X11/Xutil.h>
14352 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14354 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14357 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14358 # include <X11/Xlib.h>
14360 #ifdef HAVE_X11_XUTIL_H
14361 # include <X11/Xutil.h>
14364 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14366 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14369 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14370 # include <X11/Xlib.h>
14372 #ifdef HAVE_X11_XUTIL_H
14373 # include <X11/Xutil.h>
14376 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14378 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14381 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14382 # include <X11/Xlib.h>
14384 #ifdef HAVE_X11_XUTIL_H
14385 # include <X11/Xutil.h>
14388 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14390 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14393 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14394 # include <X11/Xlib.h>
14396 #ifdef HAVE_X11_XUTIL_H
14397 # include <X11/Xutil.h>
14400 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14402 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14405 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14406 # include <X11/Xlib.h>
14408 #ifdef HAVE_X11_XUTIL_H
14409 # include <X11/Xutil.h>
14412 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14414 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14417 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14418 # include <X11/Xlib.h>
14420 #ifdef HAVE_X11_XUTIL_H
14421 # include <X11/Xutil.h>
14424 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14426 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14429 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14430 # include <X11/Xlib.h>
14432 #ifdef HAVE_X11_XUTIL_H
14433 # include <X11/Xutil.h>
14436 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14438 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14441 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14442 # include <X11/Xlib.h>
14444 #ifdef HAVE_X11_XUTIL_H
14445 # include <X11/Xutil.h>
14448 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14450 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14453 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14454 # include <X11/Xlib.h>
14456 #ifdef HAVE_X11_XUTIL_H
14457 # include <X11/Xutil.h>
14460 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14462 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14465 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14466 # include <X11/Xlib.h>
14468 #ifdef HAVE_X11_XUTIL_H
14469 # include <X11/Xutil.h>
14472 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14474 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14477 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14478 # include <X11/Xlib.h>
14480 #ifdef HAVE_X11_XUTIL_H
14481 # include <X11/Xutil.h>
14484 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14486 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14489 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14490 # include <X11/Xlib.h>
14492 #ifdef HAVE_X11_XUTIL_H
14493 # include <X11/Xutil.h>
14496 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14498 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14501 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14502 # include <X11/Xlib.h>
14504 #ifdef HAVE_X11_XUTIL_H
14505 # include <X11/Xutil.h>
14508 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14510 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14515 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14518 printf %s
"checking for -lXcursor... " >&6; }
14519 if test ${ac_cv_lib_soname_Xcursor+y}
14521 printf %s
"(cached) " >&6
14523 ac_check_soname_save_LIBS
=$LIBS
14524 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14528 /* Override any GCC internal prototype to avoid an error.
14529 Use char because int might match the return type of a GCC
14530 builtin and then its argument prototype would still apply. */
14531 char XcursorImageLoadCursor ();
14535 return XcursorImageLoadCursor ();
14540 if ac_fn_c_try_link
"$LINENO"
14543 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14544 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'` ;;
14545 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14546 if ${ac_cv_lib_soname_Xcursor:+false} :
14548 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14552 ac_cv_lib_soname_Xcursor
=
14554 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14555 conftest
$ac_exeext conftest.
$ac_ext
14556 LIBS
=$ac_check_soname_save_LIBS
14558 if ${ac_cv_lib_soname_Xcursor:+false} :
14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14561 printf "%s\n" "not found" >&6; }
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14565 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14567 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14572 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14574 case "x$with_xcursor" in
14575 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14577 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14578 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14583 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14586 printf %s
"checking for -lXi... " >&6; }
14587 if test ${ac_cv_lib_soname_Xi+y}
14589 printf %s
"(cached) " >&6
14591 ac_check_soname_save_LIBS
=$LIBS
14592 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14599 char XOpenDevice ();
14603 return XOpenDevice ();
14608 if ac_fn_c_try_link
"$LINENO"
14611 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14612 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'` ;;
14613 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14614 if ${ac_cv_lib_soname_Xi:+false} :
14616 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14620 ac_cv_lib_soname_Xi
=
14622 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14623 conftest
$ac_exeext conftest.
$ac_ext
14624 LIBS
=$ac_check_soname_save_LIBS
14626 if ${ac_cv_lib_soname_Xi:+false} :
14628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14629 printf "%s\n" "not found" >&6; }
14632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14633 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14635 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14640 if test "x$ac_cv_lib_soname_Xi" = "x"
14642 case "x$with_xinput" in
14643 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14645 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14646 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14651 if test "x$ac_cv_lib_soname_Xi" != x
14653 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14655 case "x$with_xinput2" in
14656 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14658 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14659 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14665 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14668 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14669 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14671 printf %s
"(cached) " >&6
14673 ac_check_lib_save_LIBS
=$LIBS
14674 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14678 /* Override any GCC internal prototype to avoid an error.
14679 Use char because int might match the return type of a GCC
14680 builtin and then its argument prototype would still apply. */
14681 char XShmQueryExtension ();
14685 return XShmQueryExtension ();
14690 if ac_fn_c_try_link
"$LINENO"
14692 ac_cv_lib_Xext_XShmQueryExtension
=yes
14694 ac_cv_lib_Xext_XShmQueryExtension
=no
14696 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14697 conftest
$ac_exeext conftest.
$ac_ext
14698 LIBS
=$ac_check_lib_save_LIBS
14700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14701 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14702 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14705 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14710 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14712 case "x$with_xshm" in
14713 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14715 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14716 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14721 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14724 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14725 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14727 printf %s
"(cached) " >&6
14729 ac_check_lib_save_LIBS
=$LIBS
14730 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14734 /* Override any GCC internal prototype to avoid an error.
14735 Use char because int might match the return type of a GCC
14736 builtin and then its argument prototype would still apply. */
14737 char XShapeQueryExtension ();
14741 return XShapeQueryExtension ();
14746 if ac_fn_c_try_link
"$LINENO"
14748 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14750 ac_cv_lib_Xext_XShapeQueryExtension
=no
14752 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14753 conftest
$ac_exeext conftest.
$ac_ext
14754 LIBS
=$ac_check_lib_save_LIBS
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14757 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14758 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14761 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14766 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14768 case "x$with_xshape" in
14769 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14771 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14772 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14777 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14780 printf %s
"checking for -lXxf86vm... " >&6; }
14781 if test ${ac_cv_lib_soname_Xxf86vm+y}
14783 printf %s
"(cached) " >&6
14785 ac_check_soname_save_LIBS
=$LIBS
14786 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14793 char XF86VidModeQueryExtension ();
14797 return XF86VidModeQueryExtension ();
14802 if ac_fn_c_try_link
"$LINENO"
14805 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14806 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'` ;;
14807 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14808 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14810 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14814 ac_cv_lib_soname_Xxf86vm
=
14816 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14817 conftest
$ac_exeext conftest.
$ac_ext
14818 LIBS
=$ac_check_soname_save_LIBS
14820 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14823 printf "%s\n" "not found" >&6; }
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14827 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14829 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14834 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14836 case "x$with_xxf86vm" in
14837 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14839 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14840 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14845 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14848 printf %s
"checking for -lXrender... " >&6; }
14849 if test ${ac_cv_lib_soname_Xrender+y}
14851 printf %s
"(cached) " >&6
14853 ac_check_soname_save_LIBS
=$LIBS
14854 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14861 char XRenderQueryExtension ();
14865 return XRenderQueryExtension ();
14870 if ac_fn_c_try_link
"$LINENO"
14873 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14874 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'` ;;
14875 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14876 if ${ac_cv_lib_soname_Xrender:+false} :
14878 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14882 ac_cv_lib_soname_Xrender
=
14884 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14885 conftest
$ac_exeext conftest.
$ac_ext
14886 LIBS
=$ac_check_soname_save_LIBS
14888 if ${ac_cv_lib_soname_Xrender:+false} :
14890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14891 printf "%s\n" "not found" >&6; }
14894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14895 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14897 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14900 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14901 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14903 printf %s
"(cached) " >&6
14905 ac_check_lib_save_LIBS
=$LIBS
14906 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14910 /* Override any GCC internal prototype to avoid an error.
14911 Use char because int might match the return type of a GCC
14912 builtin and then its argument prototype would still apply. */
14913 char XRenderSetPictureTransform ();
14917 return XRenderSetPictureTransform ();
14922 if ac_fn_c_try_link
"$LINENO"
14924 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
14926 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
14928 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14929 conftest
$ac_exeext conftest.
$ac_ext
14930 LIBS
=$ac_check_lib_save_LIBS
14932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14933 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14934 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14937 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14942 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14943 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14945 printf %s
"(cached) " >&6
14947 ac_check_lib_save_LIBS
=$LIBS
14948 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 char XRenderCreateLinearGradient ();
14959 return XRenderCreateLinearGradient ();
14964 if ac_fn_c_try_link
"$LINENO"
14966 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
14968 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
14970 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14971 conftest
$ac_exeext conftest.
$ac_ext
14972 LIBS
=$ac_check_lib_save_LIBS
14974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14975 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14976 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14979 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14986 if test "x$ac_cv_lib_soname_Xrender" = "x"
14988 case "x$with_xrender" in
14989 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14991 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
14992 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14997 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15001 #include <X11/Xlib.h>
15002 #include <X11/extensions/Xrandr.h>
15006 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15011 if ac_fn_c_try_compile
"$LINENO"
15013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15014 printf %s
"checking for -lXrandr... " >&6; }
15015 if test ${ac_cv_lib_soname_Xrandr+y}
15017 printf %s
"(cached) " >&6
15019 ac_check_soname_save_LIBS
=$LIBS
15020 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h. */
15024 /* Override any GCC internal prototype to avoid an error.
15025 Use char because int might match the return type of a GCC
15026 builtin and then its argument prototype would still apply. */
15027 char XRRQueryExtension ();
15031 return XRRQueryExtension ();
15036 if ac_fn_c_try_link
"$LINENO"
15039 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15040 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'` ;;
15041 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15042 if ${ac_cv_lib_soname_Xrandr:+false} :
15044 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15048 ac_cv_lib_soname_Xrandr
=
15050 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15051 conftest
$ac_exeext conftest.
$ac_ext
15052 LIBS
=$ac_check_soname_save_LIBS
15054 if ${ac_cv_lib_soname_Xrandr:+false} :
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15057 printf "%s\n" "not found" >&6; }
15060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15061 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15063 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 #include <X11/Xlib.h>
15068 #include <X11/extensions/Xrandr.h>
15072 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15077 if ac_fn_c_try_compile
"$LINENO"
15080 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15083 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15085 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15088 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15090 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15092 case "x$with_xrandr" in
15093 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15095 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15096 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15101 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15105 #include <X11/Xlib.h>
15106 #include <X11/extensions/Xfixes.h>
15110 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15115 if ac_fn_c_try_compile
"$LINENO"
15117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15118 printf %s
"checking for -lXfixes... " >&6; }
15119 if test ${ac_cv_lib_soname_Xfixes+y}
15121 printf %s
"(cached) " >&6
15123 ac_check_soname_save_LIBS
=$LIBS
15124 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15128 /* Override any GCC internal prototype to avoid an error.
15129 Use char because int might match the return type of a GCC
15130 builtin and then its argument prototype would still apply. */
15131 char XFixesQueryVersion ();
15135 return XFixesQueryVersion ();
15140 if ac_fn_c_try_link
"$LINENO"
15143 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15144 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'` ;;
15145 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15146 if ${ac_cv_lib_soname_Xfixes:+false} :
15148 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15152 ac_cv_lib_soname_Xfixes
=
15154 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15155 conftest
$ac_exeext conftest.
$ac_ext
15156 LIBS
=$ac_check_soname_save_LIBS
15158 if ${ac_cv_lib_soname_Xfixes:+false} :
15160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15161 printf "%s\n" "not found" >&6; }
15164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15165 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15167 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15172 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15174 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15176 case "x$with_xfixes" in
15177 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15179 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15180 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15185 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15189 #include <X11/Xlib.h>
15190 #include <X11/extensions/Xinerama.h>
15194 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15199 if ac_fn_c_try_compile
"$LINENO"
15201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15202 printf %s
"checking for -lXinerama... " >&6; }
15203 if test ${ac_cv_lib_soname_Xinerama+y}
15205 printf %s
"(cached) " >&6
15207 ac_check_soname_save_LIBS
=$LIBS
15208 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15212 /* Override any GCC internal prototype to avoid an error.
15213 Use char because int might match the return type of a GCC
15214 builtin and then its argument prototype would still apply. */
15215 char XineramaQueryScreens ();
15219 return XineramaQueryScreens ();
15224 if ac_fn_c_try_link
"$LINENO"
15227 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15228 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'` ;;
15229 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15230 if ${ac_cv_lib_soname_Xinerama:+false} :
15232 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15236 ac_cv_lib_soname_Xinerama
=
15238 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15239 conftest
$ac_exeext conftest.
$ac_ext
15240 LIBS
=$ac_check_soname_save_LIBS
15242 if ${ac_cv_lib_soname_Xinerama:+false} :
15244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15245 printf "%s\n" "not found" >&6; }
15248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15249 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15251 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15256 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15258 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15260 case "x$with_xinerama" in
15261 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15263 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15264 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15269 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15272 printf %s
"checking for -lXcomposite... " >&6; }
15273 if test ${ac_cv_lib_soname_Xcomposite+y}
15275 printf %s
"(cached) " >&6
15277 ac_check_soname_save_LIBS
=$LIBS
15278 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15282 /* Override any GCC internal prototype to avoid an error.
15283 Use char because int might match the return type of a GCC
15284 builtin and then its argument prototype would still apply. */
15285 char XCompositeRedirectWindow ();
15289 return XCompositeRedirectWindow ();
15294 if ac_fn_c_try_link
"$LINENO"
15297 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15298 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'` ;;
15299 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15300 if ${ac_cv_lib_soname_Xcomposite:+false} :
15302 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15306 ac_cv_lib_soname_Xcomposite
=
15308 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15309 conftest
$ac_exeext conftest.
$ac_ext
15310 LIBS
=$ac_check_soname_save_LIBS
15312 if ${ac_cv_lib_soname_Xcomposite:+false} :
15314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15315 printf "%s\n" "not found" >&6; }
15318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15319 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15321 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15326 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15328 case "x$with_xcomposite" in
15329 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15331 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15332 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15337 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15338 #include <X11/Xlib.h>
15341 if test "x$ac_cv_member_XICCallback_callback" = xyes
15344 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15348 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15349 #include <X11/Xlib.h>
15352 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15355 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15363 if test "x$with_opengl" != "xno"
15365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15366 printf %s
"checking for -lGL... " >&6; }
15367 if test ${ac_cv_lib_soname_GL+y}
15369 printf %s
"(cached) " >&6
15371 ac_check_soname_save_LIBS
=$LIBS
15372 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15376 /* Override any GCC internal prototype to avoid an error.
15377 Use char because int might match the return type of a GCC
15378 builtin and then its argument prototype would still apply. */
15379 char glXCreateContext ();
15383 return glXCreateContext ();
15388 if ac_fn_c_try_link
"$LINENO"
15391 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15392 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'` ;;
15393 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15394 if ${ac_cv_lib_soname_GL:+false} :
15396 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15400 ac_cv_lib_soname_GL
=
15402 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15403 conftest
$ac_exeext conftest.
$ac_ext
15404 LIBS
=$ac_check_soname_save_LIBS
15406 if ${ac_cv_lib_soname_GL:+false} :
15408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15409 printf "%s\n" "not found" >&6; }
15410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15411 printf %s
"checking for -lGL... " >&6; }
15412 if test ${ac_cv_lib_soname_GL+y}
15414 printf %s
"(cached) " >&6
15416 ac_check_soname_save_LIBS
=$LIBS
15417 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"
15418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15419 /* end confdefs.h. */
15421 /* Override any GCC internal prototype to avoid an error.
15422 Use char because int might match the return type of a GCC
15423 builtin and then its argument prototype would still apply. */
15424 char glXCreateContext ();
15428 return glXCreateContext ();
15433 if ac_fn_c_try_link
"$LINENO"
15436 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15437 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'` ;;
15438 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15439 if ${ac_cv_lib_soname_GL:+false} :
15441 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15445 ac_cv_lib_soname_GL
=
15447 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15448 conftest
$ac_exeext conftest.
$ac_ext
15449 LIBS
=$ac_check_soname_save_LIBS
15451 if ${ac_cv_lib_soname_GL:+false} :
15453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15454 printf "%s\n" "not found" >&6; }
15455 if test -f /usr
/X11R
6/lib
/libGL.a
15457 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15458 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15460 opengl_msg
="No OpenGL library found on this system."
15463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15464 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15466 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15468 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"
15471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15472 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15474 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15478 if test "x$with_osmesa" != "xno"
15480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15481 printf %s
"checking for -lOSMesa... " >&6; }
15482 if test ${ac_cv_lib_soname_OSMesa+y}
15484 printf %s
"(cached) " >&6
15486 ac_check_soname_save_LIBS
=$LIBS
15487 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15489 /* end confdefs.h. */
15491 /* Override any GCC internal prototype to avoid an error.
15492 Use char because int might match the return type of a GCC
15493 builtin and then its argument prototype would still apply. */
15494 char OSMesaGetProcAddress ();
15498 return OSMesaGetProcAddress ();
15503 if ac_fn_c_try_link
"$LINENO"
15506 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15507 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'` ;;
15508 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15509 if ${ac_cv_lib_soname_OSMesa:+false} :
15511 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15515 ac_cv_lib_soname_OSMesa
=
15517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15518 conftest
$ac_exeext conftest.
$ac_ext
15519 LIBS
=$ac_check_soname_save_LIBS
15521 if ${ac_cv_lib_soname_OSMesa:+false} :
15523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15524 printf "%s\n" "not found" >&6; }
15527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15528 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15530 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15534 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15536 case "x$with_osmesa" in
15537 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15539 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15540 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15546 if test -n "$opengl_msg"
15548 case "x$with_opengl" in
15549 x
) as_fn_append wine_warnings
"|$opengl_msg
15550 OpenGL and Direct3D won't be supported." ;;
15552 *) as_fn_error $?
"$opengl_msg
15553 OpenGL and Direct3D won't be supported.
15554 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15559 CPPFLAGS
="$ac_save_CPPFLAGS"
15565 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15567 if test "x$X_LIBS" = "x"
15571 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15572 without X support, which probably isn't what you want. You will need
15573 to install ${notice_platform}development packages of Xlib at the very least.
15574 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15576 enable_winex11_drv
=${enable_winex11_drv:-no}
15579 if test "x$X_LIBS" = "x"
15582 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15584 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15585 This is an error since --with-x was requested." "$LINENO" 5 ;;
15587 enable_winex11_drv
=${enable_winex11_drv:-no}
15591 if test "x$with_wayland" != "xno"
15594 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15596 if test ${PKG_CONFIG+y}
15598 WAYLAND_CLIENT_CFLAGS
=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15602 if ${WAYLAND_CLIENT_LIBS:+false} :
15604 if test ${PKG_CONFIG+y}
15606 WAYLAND_CLIENT_LIBS
=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15613 if test -s conftest.err
; then
15614 printf %s
"$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15615 cat conftest.err
>&5
15618 ac_save_CPPFLAGS
=$CPPFLAGS
15619 CPPFLAGS
="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15620 for ac_header
in wayland-client.h
15622 ac_fn_c_check_header_compile
"$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15623 if test "x$ac_cv_header_wayland_client_h" = xyes
15625 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15627 printf %s
"checking for wl_display_connect in -lwayland-client... " >&6; }
15628 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15630 printf %s
"(cached) " >&6
15632 ac_check_lib_save_LIBS
=$LIBS
15633 LIBS
="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15637 /* Override any GCC internal prototype to avoid an error.
15638 Use char because int might match the return type of a GCC
15639 builtin and then its argument prototype would still apply. */
15640 char wl_display_connect ();
15644 return wl_display_connect ();
15649 if ac_fn_c_try_link
"$LINENO"
15651 ac_cv_lib_wayland_client_wl_display_connect
=yes
15653 ac_cv_lib_wayland_client_wl_display_connect
=no
15655 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15656 conftest
$ac_exeext conftest.
$ac_ext
15657 LIBS
=$ac_check_lib_save_LIBS
15659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15660 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15661 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15663 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15664 set dummy wayland-scanner
; ac_word
=$2
15665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15666 printf %s
"checking for $ac_word... " >&6; }
15667 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15669 printf %s
"(cached) " >&6
15671 case $WAYLAND_SCANNER in
15673 ac_cv_path_WAYLAND_SCANNER
="$WAYLAND_SCANNER" # Let the user override the test with a path.
15676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15677 for as_dir
in $PATH
15680 case $as_dir in #(((
15683 *) as_dir
=$as_dir/ ;;
15685 for ac_exec_ext
in '' $ac_executable_extensions; do
15686 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
15687 ac_cv_path_WAYLAND_SCANNER
="$as_dir$ac_word$ac_exec_ext"
15688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15695 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`"
15699 WAYLAND_SCANNER
=$ac_cv_path_WAYLAND_SCANNER
15700 if test -n "$WAYLAND_SCANNER"; then
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15702 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15705 printf "%s\n" "no" >&6; }
15710 WAYLAND_CLIENT_LIBS
=""
15716 CPPFLAGS
=$ac_save_CPPFLAGS
15719 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15721 case "x$with_wayland" in
15722 x
) as_fn_append wine_notices
"|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15724 *) as_fn_error $?
"Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15725 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15727 enable_winewayland_drv
=${enable_winewayland_drv:-no}
15730 if test "$ac_cv_header_CL_cl_h" = "yes"
15732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15733 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15734 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15736 printf %s
"(cached) " >&6
15738 ac_check_lib_save_LIBS
=$LIBS
15739 LIBS
="-lOpenCL $LIBS"
15740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15743 /* Override any GCC internal prototype to avoid an error.
15744 Use char because int might match the return type of a GCC
15745 builtin and then its argument prototype would still apply. */
15746 char clGetPlatformInfo ();
15750 return clGetPlatformInfo ();
15755 if ac_fn_c_try_link
"$LINENO"
15757 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15759 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15761 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15762 conftest
$ac_exeext conftest.
$ac_ext
15763 LIBS
=$ac_check_lib_save_LIBS
15765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15766 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15767 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15769 OPENCL_LIBS
="-lOpenCL"
15774 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15776 case "x$with_opencl" in
15777 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15779 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15780 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15782 enable_opencl
=${enable_opencl:-no}
15785 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15788 printf %s
"checking for pcap_init in -lpcap... " >&6; }
15789 if test ${ac_cv_lib_pcap_pcap_init+y}
15791 printf %s
"(cached) " >&6
15793 ac_check_lib_save_LIBS
=$LIBS
15794 LIBS
="-lpcap $LIBS"
15795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15796 /* end confdefs.h. */
15798 /* Override any GCC internal prototype to avoid an error.
15799 Use char because int might match the return type of a GCC
15800 builtin and then its argument prototype would still apply. */
15805 return pcap_init ();
15810 if ac_fn_c_try_link
"$LINENO"
15812 ac_cv_lib_pcap_pcap_init
=yes
15814 ac_cv_lib_pcap_pcap_init
=no
15816 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15817 conftest
$ac_exeext conftest.
$ac_ext
15818 LIBS
=$ac_check_lib_save_LIBS
15820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15821 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15822 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15829 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15831 case "x$with_pcap" in
15832 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15834 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15835 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15837 enable_wpcap
=${enable_wpcap:-no}
15840 if test "x$with_pcsclite" != "xno"
15842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15843 printf %s
"checking for SCardEstablishContext in -lpcsclite... " >&6; }
15844 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15846 printf %s
"(cached) " >&6
15848 ac_check_lib_save_LIBS
=$LIBS
15849 LIBS
="-lpcsclite $LIBS"
15850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15853 /* Override any GCC internal prototype to avoid an error.
15854 Use char because int might match the return type of a GCC
15855 builtin and then its argument prototype would still apply. */
15856 char SCardEstablishContext ();
15860 return SCardEstablishContext ();
15865 if ac_fn_c_try_link
"$LINENO"
15867 ac_cv_lib_pcsclite_SCardEstablishContext
=yes
15869 ac_cv_lib_pcsclite_SCardEstablishContext
=no
15871 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15872 conftest
$ac_exeext conftest.
$ac_ext
15873 LIBS
=$ac_check_lib_save_LIBS
15875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15876 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15877 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15879 PCSCLITE_LIBS
="-lpcsclite"
15884 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15886 case "x$with_pcsclite" in
15887 x
) as_fn_append wine_notices
"|libpcsclite not found, smart cards won't be supported." ;;
15889 *) as_fn_error $?
"libpcsclite not found, smart cards won't be supported.
15890 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15892 enable_winscard
=${enable_winscard:-no}
15895 if test "x$with_inotify" != "xno"
15898 if ${INOTIFY_CFLAGS:+false} :
15900 if test ${PKG_CONFIG+y}
15902 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15906 if ${INOTIFY_LIBS:+false} :
15908 if test ${PKG_CONFIG+y}
15910 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15917 if test -s conftest.err
; then
15918 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15919 cat conftest.err
>&5
15922 ac_save_CPPFLAGS
=$CPPFLAGS
15923 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15924 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15925 if test "x$ac_cv_header_sys_inotify_h" = xyes
15927 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15932 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15933 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15935 printf %s
"(cached) " >&6
15937 ac_check_lib_save_LIBS
=$LIBS
15938 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15945 char inotify_add_watch ();
15949 return inotify_add_watch ();
15954 if ac_fn_c_try_link
"$LINENO"
15956 ac_cv_lib_inotify_inotify_add_watch
=yes
15958 ac_cv_lib_inotify_inotify_add_watch
=no
15960 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15961 conftest
$ac_exeext conftest.
$ac_ext
15962 LIBS
=$ac_check_lib_save_LIBS
15964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15965 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15966 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15973 CPPFLAGS
=$ac_save_CPPFLAGS
15976 if test "$ac_cv_header_sys_inotify_h" != "yes"
15978 case "x$with_inotify" in
15979 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15981 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15982 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15987 if test "x$with_dbus" != "xno"
15990 if ${DBUS_CFLAGS:+false} :
15992 if test ${PKG_CONFIG+y}
15994 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15998 if ${DBUS_LIBS:+false} :
16000 if test ${PKG_CONFIG+y}
16002 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16009 if test -s conftest.err
; then
16010 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16011 cat conftest.err
>&5
16014 ac_save_CPPFLAGS
=$CPPFLAGS
16015 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16016 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16017 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16020 printf %s
"checking for -ldbus-1... " >&6; }
16021 if test ${ac_cv_lib_soname_dbus_1+y}
16023 printf %s
"(cached) " >&6
16025 ac_check_soname_save_LIBS
=$LIBS
16026 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16030 /* Override any GCC internal prototype to avoid an error.
16031 Use char because int might match the return type of a GCC
16032 builtin and then its argument prototype would still apply. */
16033 char dbus_connection_close ();
16037 return dbus_connection_close ();
16042 if ac_fn_c_try_link
"$LINENO"
16045 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16046 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'` ;;
16047 *) 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'`
16048 if ${ac_cv_lib_soname_dbus_1:+false} :
16050 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16054 ac_cv_lib_soname_dbus_1
=
16056 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16057 conftest
$ac_exeext conftest.
$ac_ext
16058 LIBS
=$ac_check_soname_save_LIBS
16060 if ${ac_cv_lib_soname_dbus_1:+false} :
16062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16063 printf "%s\n" "not found" >&6; }
16066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16067 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16069 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16077 CPPFLAGS
=$ac_save_CPPFLAGS
16081 darwin
*|macosx
*) ;;
16082 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16084 case "x$with_dbus" in
16085 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16087 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16088 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16094 if test "x$with_gnutls" != "xno"
16097 if ${GNUTLS_CFLAGS:+false} :
16099 if test ${PKG_CONFIG+y}
16101 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16105 if ${GNUTLS_LIBS:+false} :
16107 if test ${PKG_CONFIG+y}
16109 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16113 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16116 if test -s conftest.err
; then
16117 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16118 cat conftest.err
>&5
16121 ac_save_CPPFLAGS
=$CPPFLAGS
16122 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16123 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16124 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16127 /* end confdefs.h. */
16128 #include <gnutls/gnutls.h>
16129 #include <gnutls/crypto.h>
16133 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16138 if ac_fn_c_try_compile
"$LINENO"
16140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16141 printf %s
"checking for -lgnutls... " >&6; }
16142 if test ${ac_cv_lib_soname_gnutls+y}
16144 printf %s
"(cached) " >&6
16146 ac_check_soname_save_LIBS
=$LIBS
16147 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16151 /* Override any GCC internal prototype to avoid an error.
16152 Use char because int might match the return type of a GCC
16153 builtin and then its argument prototype would still apply. */
16154 char gnutls_global_init ();
16158 return gnutls_global_init ();
16163 if ac_fn_c_try_link
"$LINENO"
16166 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16167 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'` ;;
16168 *) 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'`
16169 if ${ac_cv_lib_soname_gnutls:+false} :
16171 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'`
16175 ac_cv_lib_soname_gnutls
=
16177 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16178 conftest
$ac_exeext conftest.
$ac_ext
16179 LIBS
=$ac_check_soname_save_LIBS
16181 if ${ac_cv_lib_soname_gnutls:+false} :
16183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16184 printf "%s\n" "not found" >&6; }
16187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16188 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16190 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16194 ac_wine_check_funcs_save_LIBS
="$LIBS"
16195 LIBS
="$LIBS $GNUTLS_LIBS"
16197 for ac_func
in gnutls_cipher_init
16199 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16200 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16202 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16205 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16209 LIBS
="$ac_wine_check_funcs_save_LIBS"
16211 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16216 CPPFLAGS
=$ac_save_CPPFLAGS
16219 if test "x$ac_cv_lib_soname_gnutls" = "x"
16221 case "x$with_gnutls" in
16222 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16224 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16225 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16230 if test "x$with_sane" != "xno"
16233 if ${SANE_CFLAGS:+false} :
16235 if test ${PKG_CONFIG+y}
16237 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16240 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16241 if ${SANE_LIBS:+false} :
16243 if test ${PKG_CONFIG+y}
16245 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16248 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16252 if test -s conftest.err
; then
16253 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16254 cat conftest.err
>&5
16257 ac_save_CPPFLAGS
=$CPPFLAGS
16258 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16259 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16260 if test "x$ac_cv_header_sane_sane_h" = xyes
16262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16263 printf %s
"checking for sane_init in -lsane... " >&6; }
16264 if test ${ac_cv_lib_sane_sane_init+y}
16266 printf %s
"(cached) " >&6
16268 ac_check_lib_save_LIBS
=$LIBS
16269 LIBS
="-lsane $SANE_LIBS $LIBS"
16270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16273 /* Override any GCC internal prototype to avoid an error.
16274 Use char because int might match the return type of a GCC
16275 builtin and then its argument prototype would still apply. */
16280 return sane_init ();
16285 if ac_fn_c_try_link
"$LINENO"
16287 ac_cv_lib_sane_sane_init
=yes
16289 ac_cv_lib_sane_sane_init
=no
16291 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16292 conftest
$ac_exeext conftest.
$ac_ext
16293 LIBS
=$ac_check_lib_save_LIBS
16295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16296 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16297 if test "x$ac_cv_lib_sane_sane_init" = xyes
16304 CPPFLAGS
=$ac_save_CPPFLAGS
16307 if test "$ac_cv_lib_sane_sane_init" != "yes"
16309 case "x$with_sane" in
16310 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16312 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16313 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16315 enable_sane_ds
=${enable_sane_ds:-no}
16318 if test "x$with_usb" != "xno"
16321 if ${USB_CFLAGS:+false} :
16323 if test ${PKG_CONFIG+y}
16325 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16329 if ${USB_LIBS:+false} :
16331 if test ${PKG_CONFIG+y}
16333 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16337 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16340 if test -s conftest.err
; then
16341 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16342 cat conftest.err
>&5
16345 ac_save_CPPFLAGS
=$CPPFLAGS
16346 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16347 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16348 if test "x$ac_cv_header_libusb_h" = xyes
16350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16351 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16352 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16354 printf %s
"(cached) " >&6
16356 ac_check_lib_save_LIBS
=$LIBS
16357 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h. */
16361 /* Override any GCC internal prototype to avoid an error.
16362 Use char because int might match the return type of a GCC
16363 builtin and then its argument prototype would still apply. */
16364 char libusb_interrupt_event_handler ();
16368 return libusb_interrupt_event_handler ();
16373 if ac_fn_c_try_link
"$LINENO"
16375 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16377 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16379 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16380 conftest
$ac_exeext conftest.
$ac_ext
16381 LIBS
=$ac_check_lib_save_LIBS
16383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16384 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16385 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16396 CPPFLAGS
=$ac_save_CPPFLAGS
16399 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16401 case "x$with_usb" in
16402 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16404 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16405 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16407 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16410 if test "x$with_v4l2" != "xno"
16412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16413 printf %s
"checking for -lv4l2... " >&6; }
16414 if test ${ac_cv_lib_soname_v4l2+y}
16416 printf %s
"(cached) " >&6
16418 ac_check_soname_save_LIBS
=$LIBS
16419 LIBS
="-lv4l2 $LIBS"
16420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16423 /* Override any GCC internal prototype to avoid an error.
16424 Use char because int might match the return type of a GCC
16425 builtin and then its argument prototype would still apply. */
16430 return v4l2_open ();
16435 if ac_fn_c_try_link
"$LINENO"
16438 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16439 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'` ;;
16440 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16441 if ${ac_cv_lib_soname_v4l2:+false} :
16443 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16447 ac_cv_lib_soname_v4l2
=
16449 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16450 conftest
$ac_exeext conftest.
$ac_ext
16451 LIBS
=$ac_check_soname_save_LIBS
16453 if ${ac_cv_lib_soname_v4l2:+false} :
16455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16456 printf "%s\n" "not found" >&6; }
16459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16460 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16462 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16467 if test "x$ac_cv_lib_soname_v4l2" = "x"
16469 case "x$with_v4l2" in
16470 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16472 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16473 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16478 if test "x$with_gphoto" != "xno"
16481 if ${GPHOTO2_CFLAGS:+false} :
16483 if test ${PKG_CONFIG+y}
16485 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16488 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16489 if ${GPHOTO2_LIBS:+false} :
16491 if test ${PKG_CONFIG+y}
16493 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16496 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16497 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16500 if test -s conftest.err
; then
16501 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16502 cat conftest.err
>&5
16505 ac_save_CPPFLAGS
=$CPPFLAGS
16506 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16507 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16508 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16511 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16512 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16514 printf %s
"(cached) " >&6
16516 ac_check_lib_save_LIBS
=$LIBS
16517 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16521 /* Override any GCC internal prototype to avoid an error.
16522 Use char because int might match the return type of a GCC
16523 builtin and then its argument prototype would still apply. */
16524 char gp_camera_new ();
16528 return gp_camera_new ();
16533 if ac_fn_c_try_link
"$LINENO"
16535 ac_cv_lib_gphoto2_gp_camera_new
=yes
16537 ac_cv_lib_gphoto2_gp_camera_new
=no
16539 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16540 conftest
$ac_exeext conftest.
$ac_ext
16541 LIBS
=$ac_check_lib_save_LIBS
16543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16544 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16545 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16552 CPPFLAGS
=$ac_save_CPPFLAGS
16555 if ${GPHOTO2_PORT_CFLAGS:+false} :
16557 if test ${PKG_CONFIG+y}
16559 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16562 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16563 if ${GPHOTO2_PORT_LIBS:+false} :
16565 if test ${PKG_CONFIG+y}
16567 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16570 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16571 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16574 if test -s conftest.err
; then
16575 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16576 cat conftest.err
>&5
16579 ac_save_CPPFLAGS
=$CPPFLAGS
16580 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16581 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16582 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16585 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16586 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16588 printf %s
"(cached) " >&6
16590 ac_check_lib_save_LIBS
=$LIBS
16591 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16595 /* Override any GCC internal prototype to avoid an error.
16596 Use char because int might match the return type of a GCC
16597 builtin and then its argument prototype would still apply. */
16598 char gp_port_info_list_new ();
16602 return gp_port_info_list_new ();
16607 if ac_fn_c_try_link
"$LINENO"
16609 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16611 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16614 conftest
$ac_exeext conftest.
$ac_ext
16615 LIBS
=$ac_check_lib_save_LIBS
16617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16618 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16619 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16622 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16625 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16629 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16632 CPPFLAGS
=$ac_save_CPPFLAGS
16635 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16637 case "x$with_gphoto" in
16638 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16640 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16641 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16643 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16645 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16647 case "x$with_gphoto" in
16648 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16650 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16651 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16657 if test "$ac_cv_header_resolv_h" = "yes"
16659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16660 printf %s
"checking for resolver library... " >&6; }
16661 if test ${ac_cv_have_resolv+y}
16663 printf %s
"(cached) " >&6
16665 ac_save_LIBS
="$LIBS"
16666 for lib
in '' -lresolv
16668 LIBS
="$lib $ac_save_LIBS"
16669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16670 /* end confdefs.h. */
16671 #ifdef HAVE_NETINET_IN_H
16672 #include <netinet/in.h>
16674 #include <resolv.h>
16678 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16683 if ac_fn_c_try_link
"$LINENO"
16685 ac_cv_have_resolv
=${lib:-"none required"}
16687 ac_cv_have_resolv
="not found"
16689 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16690 conftest
$ac_exeext conftest.
$ac_ext
16691 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16693 LIBS
="$ac_save_LIBS"
16695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16696 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16698 case "$ac_cv_have_resolv" in
16702 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16705 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16707 RESOLV_LIBS
=$ac_cv_have_resolv
16711 if test "x$ac_cv_have_resolv" != "xnot found"
16713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16714 printf %s
"checking for res_getservers... " >&6; }
16715 if test ${ac_cv_have_res_getservers+y}
16717 printf %s
"(cached) " >&6
16719 ac_save_LIBS
="$LIBS"
16720 LIBS
="$RESOLV_LIBS $LIBS"
16721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #include <resolv.h>
16727 res_getservers(NULL, NULL, 0);
16732 if ac_fn_c_try_link
"$LINENO"
16734 ac_cv_have_res_getservers
=yes
16736 ac_cv_have_res_getservers
=no
16738 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16739 conftest
$ac_exeext conftest.
$ac_ext
16740 LIBS
="$ac_save_LIBS"
16742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16743 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16744 if test "$ac_cv_have_res_getservers" = "yes"
16747 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16753 if test "x$with_freetype" != "xno"
16756 if ${FREETYPE_CFLAGS:+false} :
16758 if test ${PKG_CONFIG+y}
16760 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16763 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16764 if ${FREETYPE_LIBS:+false} :
16766 if test ${PKG_CONFIG+y}
16768 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16771 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16772 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16775 if test -s conftest.err
; then
16776 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16777 cat conftest.err
>&5
16780 ac_save_CPPFLAGS
=$CPPFLAGS
16781 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16782 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16783 if test "x$ac_cv_header_ft2build_h" = xyes
16785 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16789 if test "$ac_cv_header_ft2build_h" = "yes"
16791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16792 printf %s
"checking for -lfreetype... " >&6; }
16793 if test ${ac_cv_lib_soname_freetype+y}
16795 printf %s
"(cached) " >&6
16797 ac_check_soname_save_LIBS
=$LIBS
16798 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16800 /* end confdefs.h. */
16802 /* Override any GCC internal prototype to avoid an error.
16803 Use char because int might match the return type of a GCC
16804 builtin and then its argument prototype would still apply. */
16805 char FT_Init_FreeType ();
16809 return FT_Init_FreeType ();
16814 if ac_fn_c_try_link
"$LINENO"
16817 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16818 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'` ;;
16819 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16820 if ${ac_cv_lib_soname_freetype:+false} :
16822 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16826 ac_cv_lib_soname_freetype
=
16828 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16829 conftest
$ac_exeext conftest.
$ac_ext
16830 LIBS
=$ac_check_soname_save_LIBS
16832 if ${ac_cv_lib_soname_freetype:+false} :
16834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16835 printf "%s\n" "not found" >&6; }
16838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16839 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16841 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16844 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16846 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16847 #include FT_MODULE_H
16849 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16852 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16862 CPPFLAGS
=$ac_save_CPPFLAGS
16865 if test "x$ac_cv_lib_soname_freetype" = x
16867 case "x$with_freetype" in
16869 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16870 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16872 enable_fonts
=${enable_fonts:-no}
16875 ac_wine_check_funcs_save_LIBS
="$LIBS"
16876 LIBS
="$LIBS $PTHREAD_LIBS"
16877 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16878 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16880 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16884 LIBS
="$ac_wine_check_funcs_save_LIBS"
16886 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16888 if test "$ac_cv_header_gettext_po_h" = "yes"
16890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16891 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16892 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16894 printf %s
"(cached) " >&6
16896 ac_check_lib_save_LIBS
=$LIBS
16897 LIBS
="-lgettextpo $LIBS"
16898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16901 /* Override any GCC internal prototype to avoid an error.
16902 Use char because int might match the return type of a GCC
16903 builtin and then its argument prototype would still apply. */
16904 char po_message_msgctxt ();
16908 return po_message_msgctxt ();
16913 if ac_fn_c_try_link
"$LINENO"
16915 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16917 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16919 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16920 conftest
$ac_exeext conftest.
$ac_ext
16921 LIBS
=$ac_check_lib_save_LIBS
16923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16924 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16925 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16928 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16930 GETTEXTPO_LIBS
="-lgettextpo"
16935 if test "x$GETTEXTPO_LIBS" = "x"
16937 case "x$with_gettextpo" in
16938 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16940 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16941 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16945 if test "$srcdir" != .
16947 case "x$with_gettextpo" in
16948 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16950 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16951 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16957 if test "x$with_pulse" != "xno";
16960 if ${PULSE_CFLAGS:+false} :
16962 if test ${PKG_CONFIG+y}
16964 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16968 if ${PULSE_LIBS:+false} :
16970 if test ${PKG_CONFIG+y}
16972 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16979 if test -s conftest.err
; then
16980 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16981 cat conftest.err
>&5
16984 ac_save_CPPFLAGS
=$CPPFLAGS
16985 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16986 for ac_header
in pulse
/pulseaudio.h
16988 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16989 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16991 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16993 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16994 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16996 printf %s
"(cached) " >&6
16998 ac_check_lib_save_LIBS
=$LIBS
16999 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17003 /* Override any GCC internal prototype to avoid an error.
17004 Use char because int might match the return type of a GCC
17005 builtin and then its argument prototype would still apply. */
17006 char pa_stream_is_corked ();
17010 return pa_stream_is_corked ();
17015 if ac_fn_c_try_link
"$LINENO"
17017 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17019 ac_cv_lib_pulse_pa_stream_is_corked
=no
17021 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17022 conftest
$ac_exeext conftest.
$ac_ext
17023 LIBS
=$ac_check_lib_save_LIBS
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17026 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17027 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17039 CPPFLAGS
=$ac_save_CPPFLAGS
17042 if test -z "$PULSE_LIBS"
17044 case "x$with_pulse" in
17045 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17047 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17048 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17050 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17053 if test "x$with_gstreamer" != "xno"
17056 if ${GSTREAMER_CFLAGS:+false} :
17058 if test ${PKG_CONFIG+y}
17060 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17064 if ${GSTREAMER_LIBS:+false} :
17066 if test ${PKG_CONFIG+y}
17068 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17073 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
17074 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
17075 if test -s conftest.err
; then
17076 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17077 cat conftest.err
>&5
17080 ac_save_CPPFLAGS
=$CPPFLAGS
17081 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17082 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17083 if test "x$ac_cv_header_gst_gst_h" = xyes
17085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17086 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 #include <gst/gst.h>
17093 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17098 if ac_fn_c_try_compile
"$LINENO"
17100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17101 printf "%s\n" "yes" >&6; }
17102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17103 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17104 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17106 printf %s
"(cached) " >&6
17108 ac_check_lib_save_LIBS
=$LIBS
17109 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17113 /* Override any GCC internal prototype to avoid an error.
17114 Use char because int might match the return type of a GCC
17115 builtin and then its argument prototype would still apply. */
17116 char gst_pad_new ();
17120 return gst_pad_new ();
17125 if ac_fn_c_try_link
"$LINENO"
17127 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17129 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17131 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17132 conftest
$ac_exeext conftest.
$ac_ext
17133 LIBS
=$ac_check_lib_save_LIBS
17135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17136 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17137 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17144 printf "%s\n" "no" >&6; }
17145 ac_glib2_broken
=yes
17146 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17148 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17151 CPPFLAGS
=$ac_save_CPPFLAGS
17154 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17156 case "x$with_gstreamer" in
17157 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17159 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17160 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17162 enable_winegstreamer
=${enable_winegstreamer:-no}
17167 if test "x$with_alsa" != "xno"
17169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17170 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17171 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17173 printf %s
"(cached) " >&6
17175 ac_check_lib_save_LIBS
=$LIBS
17176 LIBS
="-lasound $LIBS"
17177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17180 /* Override any GCC internal prototype to avoid an error.
17181 Use char because int might match the return type of a GCC
17182 builtin and then its argument prototype would still apply. */
17183 char snd_pcm_hw_params_get_access_mask ();
17187 return snd_pcm_hw_params_get_access_mask ();
17192 if ac_fn_c_try_link
"$LINENO"
17194 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17196 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17198 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17199 conftest
$ac_exeext conftest.
$ac_ext
17200 LIBS
=$ac_check_lib_save_LIBS
17202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17203 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17204 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 #include <alsa/asoundlib.h>
17212 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17217 if ac_fn_c_try_compile
"$LINENO"
17219 ALSA_LIBS
="-lasound"
17221 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17225 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17227 if test "x$with_oss" != xno
17229 ac_save_CPPFLAGS
="$CPPFLAGS"
17230 if test -f /etc
/oss.conf
17234 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17235 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17236 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17237 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17239 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17241 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17244 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17246 OSS4_CFLAGS
="$ac_oss_incl"
17248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17249 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17250 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17252 printf %s
"(cached) " >&6
17254 ac_check_lib_save_LIBS
=$LIBS
17255 LIBS
="-lossaudio $LIBS"
17256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17259 /* Override any GCC internal prototype to avoid an error.
17260 Use char because int might match the return type of a GCC
17261 builtin and then its argument prototype would still apply. */
17262 char _oss_ioctl ();
17266 return _oss_ioctl ();
17271 if ac_fn_c_try_link
"$LINENO"
17273 ac_cv_lib_ossaudio__oss_ioctl
=yes
17275 ac_cv_lib_ossaudio__oss_ioctl
=no
17277 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17278 conftest
$ac_exeext conftest.
$ac_ext
17279 LIBS
=$ac_check_lib_save_LIBS
17281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17282 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17283 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17285 OSS4_LIBS
="-lossaudio"
17293 CPPFLAGS
="$ac_save_CPPFLAGS"
17295 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17297 case "x$with_oss" in
17298 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17300 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17301 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17303 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17306 if test "x$with_udev" != "xno"
17309 if ${UDEV_CFLAGS:+false} :
17311 if test ${PKG_CONFIG+y}
17313 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17317 if ${UDEV_LIBS:+false} :
17319 if test ${PKG_CONFIG+y}
17321 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17325 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17328 if test -s conftest.err
; then
17329 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17330 cat conftest.err
>&5
17333 ac_save_CPPFLAGS
=$CPPFLAGS
17334 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17335 for ac_header
in libudev.h
17337 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17338 if test "x$ac_cv_header_libudev_h" = xyes
17340 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17342 printf %s
"checking for udev_new in -ludev... " >&6; }
17343 if test ${ac_cv_lib_udev_udev_new+y}
17345 printf %s
"(cached) " >&6
17347 ac_check_lib_save_LIBS
=$LIBS
17348 LIBS
="-ludev $UDEV_LIBS $LIBS"
17349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17352 /* Override any GCC internal prototype to avoid an error.
17353 Use char because int might match the return type of a GCC
17354 builtin and then its argument prototype would still apply. */
17359 return udev_new ();
17364 if ac_fn_c_try_link
"$LINENO"
17366 ac_cv_lib_udev_udev_new
=yes
17368 ac_cv_lib_udev_udev_new
=no
17370 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17371 conftest
$ac_exeext conftest.
$ac_ext
17372 LIBS
=$ac_check_lib_save_LIBS
17374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17375 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17376 if test "x$ac_cv_lib_udev_udev_new" = xyes
17379 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17390 CPPFLAGS
=$ac_save_CPPFLAGS
17393 if test "x$UDEV_LIBS" = "x"
17395 case "x$with_udev" in
17396 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17398 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17399 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17404 if test "x$with_unwind" != xno
17407 if ${UNWIND_CFLAGS:+false} :
17409 if test ${PKG_CONFIG+y}
17411 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17415 if ${UNWIND_LIBS:+false} :
17417 if test ${PKG_CONFIG+y}
17419 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17423 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17426 if test -s conftest.err
; then
17427 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17428 cat conftest.err
>&5
17431 ac_save_CPPFLAGS
=$CPPFLAGS
17432 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17434 printf %s
"checking for unw_step... " >&6; }
17435 if test ${wine_cv_have_unw_step+y}
17437 printf %s
"(cached) " >&6
17439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 #define UNW_LOCAL_ONLY
17442 #include <libunwind.h>
17446 unw_cursor_t cursor; unw_step( &cursor );
17451 if ac_fn_c_try_link
"$LINENO"
17453 wine_cv_have_unw_step
="yes"
17455 wine_cv_have_unw_step
="no"
17457 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17458 conftest
$ac_exeext conftest.
$ac_ext
17460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17461 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17462 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17465 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17466 LIBS
="$UNWIND_LIBS $LIBS"
17467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17468 printf %s
"checking for unw_step in libunwind... " >&6; }
17469 if test ${wine_cv_have_libunwind_unw_step+y}
17471 printf %s
"(cached) " >&6
17473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 #define UNW_LOCAL_ONLY
17476 #include <libunwind.h>
17480 unw_cursor_t cursor; unw_step( &cursor );
17485 if ac_fn_c_try_link
"$LINENO"
17487 wine_cv_have_libunwind_unw_step
="yes"
17489 wine_cv_have_libunwind_unw_step
="no"
17491 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17492 conftest
$ac_exeext conftest.
$ac_ext
17494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17495 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17498 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17499 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17502 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17505 CPPFLAGS
=$ac_save_CPPFLAGS
17509 aarch64
*|
*-darwin*)
17510 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17512 case "x$with_unwind" in
17513 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17515 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17516 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17522 if test "x$with_sdl" != "xno"
17525 if ${SDL2_CFLAGS:+false} :
17527 if test ${PKG_CONFIG+y}
17529 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17533 if ${SDL2_LIBS:+false} :
17535 if test ${PKG_CONFIG+y}
17537 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17541 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17544 if test -s conftest.err
; then
17545 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17546 cat conftest.err
>&5
17549 ac_save_CPPFLAGS
=$CPPFLAGS
17550 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17551 for ac_header
in SDL.h
17553 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17554 if test "x$ac_cv_header_SDL_h" = xyes
17556 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17558 printf %s
"checking for -lSDL2... " >&6; }
17559 if test ${ac_cv_lib_soname_SDL2+y}
17561 printf %s
"(cached) " >&6
17563 ac_check_soname_save_LIBS
=$LIBS
17564 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17568 /* Override any GCC internal prototype to avoid an error.
17569 Use char because int might match the return type of a GCC
17570 builtin and then its argument prototype would still apply. */
17575 return SDL_Init ();
17580 if ac_fn_c_try_link
"$LINENO"
17583 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17584 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'` ;;
17585 *) 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'`
17586 if ${ac_cv_lib_soname_SDL2:+false} :
17588 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17592 ac_cv_lib_soname_SDL2
=
17594 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17595 conftest
$ac_exeext conftest.
$ac_ext
17596 LIBS
=$ac_check_soname_save_LIBS
17598 if ${ac_cv_lib_soname_SDL2:+false} :
17600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17601 printf "%s\n" "not found" >&6; }
17604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17605 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17607 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17614 CPPFLAGS
=$ac_save_CPPFLAGS
17617 if test "x$ac_cv_lib_soname_SDL2" = "x"
17619 case "x$with_sdl" in
17620 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17622 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17623 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17628 if test "x$with_capi" != "xno"
17631 if ${CAPI20_CFLAGS:+false} :
17633 if test ${PKG_CONFIG+y}
17635 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17639 if ${CAPI20_LIBS:+false} :
17641 if test ${PKG_CONFIG+y}
17643 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17650 if test -s conftest.err
; then
17651 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17652 cat conftest.err
>&5
17655 ac_save_CPPFLAGS
=$CPPFLAGS
17656 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17657 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17659 if test "x$ac_cv_header_capi20_h" = xyes
17661 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17664 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17666 if test "x$ac_cv_header_linux_capi_h" = xyes
17668 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17672 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17675 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17676 if test ${ac_cv_lib_capi20_capi20_register+y}
17678 printf %s
"(cached) " >&6
17680 ac_check_lib_save_LIBS
=$LIBS
17681 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17683 /* end confdefs.h. */
17685 /* Override any GCC internal prototype to avoid an error.
17686 Use char because int might match the return type of a GCC
17687 builtin and then its argument prototype would still apply. */
17688 char capi20_register ();
17692 return capi20_register ();
17697 if ac_fn_c_try_link
"$LINENO"
17699 ac_cv_lib_capi20_capi20_register
=yes
17701 ac_cv_lib_capi20_capi20_register
=no
17703 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17704 conftest
$ac_exeext conftest.
$ac_ext
17705 LIBS
=$ac_check_lib_save_LIBS
17707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17708 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17709 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17717 CPPFLAGS
=$ac_save_CPPFLAGS
17720 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17722 case "x$with_capi" in
17723 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17725 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17726 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17728 enable_capi2032
=${enable_capi2032:-no}
17731 if test "x$with_cups" != "xno"
17734 if ${CUPS_CFLAGS:+false} :
17736 if test ${PKG_CONFIG+y}
17738 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17741 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17742 if ${CUPS_LIBS:+false} :
17744 if test ${PKG_CONFIG+y}
17746 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17749 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17750 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17753 if test -s conftest.err
; then
17754 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17755 cat conftest.err
>&5
17758 ac_save_CPPFLAGS
=$CPPFLAGS
17759 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17760 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17761 if test "x$ac_cv_header_cups_cups_h" = xyes
17763 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17766 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17767 if test "x$ac_cv_header_cups_ppd_h" = xyes
17769 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17773 if test "$ac_cv_header_cups_cups_h" = "yes"
17775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17776 printf %s
"checking for -lcups... " >&6; }
17777 if test ${ac_cv_lib_soname_cups+y}
17779 printf %s
"(cached) " >&6
17781 ac_check_soname_save_LIBS
=$LIBS
17782 LIBS
="-lcups $CUPS_LIBS $LIBS"
17783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17786 /* Override any GCC internal prototype to avoid an error.
17787 Use char because int might match the return type of a GCC
17788 builtin and then its argument prototype would still apply. */
17789 char cupsGetDefault ();
17793 return cupsGetDefault ();
17798 if ac_fn_c_try_link
"$LINENO"
17801 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17802 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'` ;;
17803 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17804 if ${ac_cv_lib_soname_cups:+false} :
17806 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17810 ac_cv_lib_soname_cups
=
17812 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17813 conftest
$ac_exeext conftest.
$ac_ext
17814 LIBS
=$ac_check_soname_save_LIBS
17816 if ${ac_cv_lib_soname_cups:+false} :
17818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17819 printf "%s\n" "not found" >&6; }
17822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17823 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17825 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17833 CPPFLAGS
=$ac_save_CPPFLAGS
17836 if test "x$ac_cv_lib_soname_cups" = "x"
17838 case "x$with_cups" in
17839 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17841 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17842 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17847 if test "x$with_fontconfig" != "xno"
17850 if ${FONTCONFIG_CFLAGS:+false} :
17852 if test ${PKG_CONFIG+y}
17854 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17857 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17858 if ${FONTCONFIG_LIBS:+false} :
17860 if test ${PKG_CONFIG+y}
17862 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17865 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17869 if test -s conftest.err
; then
17870 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17871 cat conftest.err
>&5
17874 ac_save_CPPFLAGS
=$CPPFLAGS
17875 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17876 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17877 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17879 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17883 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17886 printf %s
"checking for -lfontconfig... " >&6; }
17887 if test ${ac_cv_lib_soname_fontconfig+y}
17889 printf %s
"(cached) " >&6
17891 ac_check_soname_save_LIBS
=$LIBS
17892 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17896 /* Override any GCC internal prototype to avoid an error.
17897 Use char because int might match the return type of a GCC
17898 builtin and then its argument prototype would still apply. */
17908 if ac_fn_c_try_link
"$LINENO"
17911 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17912 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'` ;;
17913 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17914 if ${ac_cv_lib_soname_fontconfig:+false} :
17916 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17920 ac_cv_lib_soname_fontconfig
=
17922 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17923 conftest
$ac_exeext conftest.
$ac_ext
17924 LIBS
=$ac_check_soname_save_LIBS
17926 if ${ac_cv_lib_soname_fontconfig:+false} :
17928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17929 printf "%s\n" "not found" >&6; }
17930 FONTCONFIG_CFLAGS
=""
17932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17933 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17935 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17940 FONTCONFIG_CFLAGS
=""
17942 CPPFLAGS
=$ac_save_CPPFLAGS
17945 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17947 case "x$with_fontconfig" in
17948 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17950 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17951 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17956 if test "x$with_krb5" != "xno"
17959 if ${KRB5_CFLAGS:+false} :
17961 if test ${PKG_CONFIG+y}
17963 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17966 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17967 if ${KRB5_LIBS:+false} :
17969 if test ${PKG_CONFIG+y}
17971 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17974 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17978 if test -s conftest.err
; then
17979 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17980 cat conftest.err
>&5
17983 ac_save_CPPFLAGS
=$CPPFLAGS
17984 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17985 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17986 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17988 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17992 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17995 printf %s
"checking for -lkrb5... " >&6; }
17996 if test ${ac_cv_lib_soname_krb5+y}
17998 printf %s
"(cached) " >&6
18000 ac_check_soname_save_LIBS
=$LIBS
18001 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
18002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18005 /* Override any GCC internal prototype to avoid an error.
18006 Use char because int might match the return type of a GCC
18007 builtin and then its argument prototype would still apply. */
18008 char krb5_is_config_principal ();
18012 return krb5_is_config_principal ();
18017 if ac_fn_c_try_link
"$LINENO"
18020 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18021 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'` ;;
18022 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18023 if ${ac_cv_lib_soname_krb5:+false} :
18025 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18029 ac_cv_lib_soname_krb5
=
18031 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18032 conftest
$ac_exeext conftest.
$ac_ext
18033 LIBS
=$ac_check_soname_save_LIBS
18035 if ${ac_cv_lib_soname_krb5:+false} :
18037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18038 printf "%s\n" "not found" >&6; }
18041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18042 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18044 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18051 CPPFLAGS
=$ac_save_CPPFLAGS
18054 if test "x$ac_cv_lib_soname_krb5" = "x"
18056 case "x$with_krb5" in
18057 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18059 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18060 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18064 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18066 if test "x$with_gssapi" != "xno"
18069 if ${GSSAPI_CFLAGS:+false} :
18071 if test ${PKG_CONFIG+y}
18073 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18076 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18077 if ${GSSAPI_LIBS:+false} :
18079 if test ${PKG_CONFIG+y}
18081 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18084 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18088 if test -s conftest.err
; then
18089 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18090 cat conftest.err
>&5
18093 ac_save_CPPFLAGS
=$CPPFLAGS
18094 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18095 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18096 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18098 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18101 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18102 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18104 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18108 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18111 printf %s
"checking for -lgssapi_krb5... " >&6; }
18112 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18114 printf %s
"(cached) " >&6
18116 ac_check_soname_save_LIBS
=$LIBS
18117 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18121 /* Override any GCC internal prototype to avoid an error.
18122 Use char because int might match the return type of a GCC
18123 builtin and then its argument prototype would still apply. */
18124 char gss_init_sec_context ();
18128 return gss_init_sec_context ();
18133 if ac_fn_c_try_link
"$LINENO"
18136 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18137 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'` ;;
18138 *) 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'`
18139 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18141 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18145 ac_cv_lib_soname_gssapi_krb5
=
18147 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18148 conftest
$ac_exeext conftest.
$ac_ext
18149 LIBS
=$ac_check_soname_save_LIBS
18151 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18154 printf "%s\n" "not found" >&6; }
18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18158 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18160 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18167 CPPFLAGS
=$ac_save_CPPFLAGS
18170 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18172 case "x$with_gssapi" in
18173 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18175 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18176 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18181 if test "$ac_cv_header_libprocstat_h" = "yes"
18183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18184 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18185 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18187 printf %s
"(cached) " >&6
18189 ac_check_lib_save_LIBS
=$LIBS
18190 LIBS
="-lprocstat $LIBS"
18191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18194 /* Override any GCC internal prototype to avoid an error.
18195 Use char because int might match the return type of a GCC
18196 builtin and then its argument prototype would still apply. */
18197 char procstat_open_sysctl ();
18201 return procstat_open_sysctl ();
18206 if ac_fn_c_try_link
"$LINENO"
18208 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18210 ac_cv_lib_procstat_procstat_open_sysctl
=no
18212 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18213 conftest
$ac_exeext conftest.
$ac_ext
18214 LIBS
=$ac_check_lib_save_LIBS
18216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18217 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18218 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18221 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18223 PROCSTAT_LIBS
="-lprocstat"
18229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18230 printf %s
"checking for -lodbc... " >&6; }
18231 if test ${ac_cv_lib_soname_odbc+y}
18233 printf %s
"(cached) " >&6
18235 ac_check_soname_save_LIBS
=$LIBS
18236 LIBS
="-lodbc $LIBS"
18237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18238 /* end confdefs.h. */
18240 /* Override any GCC internal prototype to avoid an error.
18241 Use char because int might match the return type of a GCC
18242 builtin and then its argument prototype would still apply. */
18243 char SQLConnect ();
18247 return SQLConnect ();
18252 if ac_fn_c_try_link
"$LINENO"
18255 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18256 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'` ;;
18257 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18258 if ${ac_cv_lib_soname_odbc:+false} :
18260 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18264 ac_cv_lib_soname_odbc
=
18266 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18267 conftest
$ac_exeext conftest.
$ac_ext
18268 LIBS
=$ac_check_soname_save_LIBS
18270 if ${ac_cv_lib_soname_odbc:+false} :
18272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18273 printf "%s\n" "not found" >&6; }
18274 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18278 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18280 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18285 if test "x$with_netapi" != "xno"
18288 if ${NETAPI_CFLAGS:+false} :
18290 if test ${PKG_CONFIG+y}
18292 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18296 if ${NETAPI_LIBS:+false} :
18298 if test ${PKG_CONFIG+y}
18300 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18307 if test -s conftest.err
; then
18308 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18309 cat conftest.err
>&5
18312 ac_save_CPPFLAGS
=$CPPFLAGS
18313 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18315 printf %s
"checking for -lnetapi... " >&6; }
18316 if test ${ac_cv_lib_soname_netapi+y}
18318 printf %s
"(cached) " >&6
18320 ac_check_soname_save_LIBS
=$LIBS
18321 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18325 /* Override any GCC internal prototype to avoid an error.
18326 Use char because int might match the return type of a GCC
18327 builtin and then its argument prototype would still apply. */
18328 char libnetapi_init ();
18332 return libnetapi_init ();
18337 if ac_fn_c_try_link
"$LINENO"
18340 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18341 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'` ;;
18342 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18343 if ${ac_cv_lib_soname_netapi:+false} :
18345 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18349 ac_cv_lib_soname_netapi
=
18351 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18352 conftest
$ac_exeext conftest.
$ac_ext
18353 LIBS
=$ac_check_soname_save_LIBS
18355 if ${ac_cv_lib_soname_netapi:+false} :
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18358 printf "%s\n" "not found" >&6; }
18359 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18363 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18365 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18369 CPPFLAGS
=$ac_save_CPPFLAGS
18372 if test "x$ac_cv_lib_soname_netapi" = "x"
18374 case "x$with_netapi" in
18375 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18377 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18378 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18380 enable_netapi
=${enable_netapi:-no}
18384 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18385 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18387 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18390 if test "x$with_vulkan" != "xno"
18392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18393 printf %s
"checking for -lvulkan... " >&6; }
18394 if test ${ac_cv_lib_soname_vulkan+y}
18396 printf %s
"(cached) " >&6
18398 ac_check_soname_save_LIBS
=$LIBS
18399 LIBS
="-lvulkan $LIBS"
18400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18401 /* end confdefs.h. */
18403 /* Override any GCC internal prototype to avoid an error.
18404 Use char because int might match the return type of a GCC
18405 builtin and then its argument prototype would still apply. */
18406 char vkGetInstanceProcAddr ();
18410 return vkGetInstanceProcAddr ();
18415 if ac_fn_c_try_link
"$LINENO"
18418 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18419 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'` ;;
18420 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18421 if ${ac_cv_lib_soname_vulkan:+false} :
18423 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18427 ac_cv_lib_soname_vulkan
=
18429 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18430 conftest
$ac_exeext conftest.
$ac_ext
18431 LIBS
=$ac_check_soname_save_LIBS
18433 if ${ac_cv_lib_soname_vulkan:+false} :
18435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18436 printf "%s\n" "not found" >&6; }
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18440 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18442 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18446 if test "x$ac_cv_lib_soname_vulkan" = "x"
18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18449 printf %s
"checking for -lMoltenVK... " >&6; }
18450 if test ${ac_cv_lib_soname_MoltenVK+y}
18452 printf %s
"(cached) " >&6
18454 ac_check_soname_save_LIBS
=$LIBS
18455 LIBS
="-lMoltenVK $LIBS"
18456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h. */
18459 /* Override any GCC internal prototype to avoid an error.
18460 Use char because int might match the return type of a GCC
18461 builtin and then its argument prototype would still apply. */
18462 char vkGetInstanceProcAddr ();
18466 return vkGetInstanceProcAddr ();
18471 if ac_fn_c_try_link
"$LINENO"
18474 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18475 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'` ;;
18476 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18477 if ${ac_cv_lib_soname_MoltenVK:+false} :
18479 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18483 ac_cv_lib_soname_MoltenVK
=
18485 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18486 conftest
$ac_exeext conftest.
$ac_ext
18487 LIBS
=$ac_check_soname_save_LIBS
18489 if ${ac_cv_lib_soname_MoltenVK:+false} :
18491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18492 printf "%s\n" "not found" >&6; }
18495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18496 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18498 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18504 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18506 case "x$with_vulkan" in
18507 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18509 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18510 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18516 if test "x${GCC}" = "xyes"
18518 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18520 saved_CFLAGS
=$CFLAGS
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18522 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18523 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18525 printf %s
"(cached) " >&6
18527 ac_wine_try_cflags_saved
=$CFLAGS
18528 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18531 int main(int argc, char **argv) { return 0; }
18533 if ac_fn_c_try_link
"$LINENO"
18535 ac_cv_cflags__Werror_unknown_warning_option
=yes
18537 ac_cv_cflags__Werror_unknown_warning_option
=no
18539 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18540 conftest
$ac_exeext conftest.
$ac_ext
18541 CFLAGS
=$ac_wine_try_cflags_saved
18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18544 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18545 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18547 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18550 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18551 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18553 printf %s
"(cached) " >&6
18555 ac_wine_try_cflags_saved
=$CFLAGS
18556 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559 int main(int argc, char **argv) { return 0; }
18561 if ac_fn_c_try_link
"$LINENO"
18563 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18565 ac_cv_cflags__Werror_unused_command_line_argument
=no
18567 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18568 conftest
$ac_exeext conftest.
$ac_ext
18569 CFLAGS
=$ac_wine_try_cflags_saved
18571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18572 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18573 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18575 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18578 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18579 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18581 printf %s
"(cached) " >&6
18583 ac_wine_try_cflags_saved
=$CFLAGS
18584 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18587 int main(int argc, char **argv) { return 0; }
18589 if ac_fn_c_try_link
"$LINENO"
18591 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18593 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18595 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18596 conftest
$ac_exeext conftest.
$ac_ext
18597 CFLAGS
=$ac_wine_try_cflags_saved
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18600 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18601 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18603 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18606 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18607 if test ${ac_cv_cflags__fcf_protection_none+y}
18609 printf %s
"(cached) " >&6
18611 ac_wine_try_cflags_saved
=$CFLAGS
18612 CFLAGS
="$CFLAGS -fcf-protection=none"
18613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 int main(int argc, char **argv) { return 0; }
18617 if ac_fn_c_try_link
"$LINENO"
18619 ac_cv_cflags__fcf_protection_none
=yes
18621 ac_cv_cflags__fcf_protection_none
=no
18623 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18624 conftest
$ac_exeext conftest.
$ac_ext
18625 CFLAGS
=$ac_wine_try_cflags_saved
18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18628 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18629 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18631 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18634 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18635 if test ${ac_cv_cflags__fno_stack_protector+y}
18637 printf %s
"(cached) " >&6
18639 ac_wine_try_cflags_saved
=$CFLAGS
18640 CFLAGS
="$CFLAGS -fno-stack-protector"
18641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 int main(int argc, char **argv) { return 0; }
18645 if ac_fn_c_try_link
"$LINENO"
18647 ac_cv_cflags__fno_stack_protector
=yes
18649 ac_cv_cflags__fno_stack_protector
=no
18651 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18652 conftest
$ac_exeext conftest.
$ac_ext
18653 CFLAGS
=$ac_wine_try_cflags_saved
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18656 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18657 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18659 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18662 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18663 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18665 printf %s
"(cached) " >&6
18667 ac_wine_try_cflags_saved
=$CFLAGS
18668 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 int main(int argc, char **argv) { return 0; }
18673 if ac_fn_c_try_link
"$LINENO"
18675 ac_cv_cflags__fno_strict_aliasing
=yes
18677 ac_cv_cflags__fno_strict_aliasing
=no
18679 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18680 conftest
$ac_exeext conftest.
$ac_ext
18681 CFLAGS
=$ac_wine_try_cflags_saved
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18684 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18685 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18687 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18690 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18691 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18693 printf %s
"(cached) " >&6
18695 ac_wine_try_cflags_saved
=$CFLAGS
18696 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 int main(int argc, char **argv) { return 0; }
18701 if ac_fn_c_try_link
"$LINENO"
18703 ac_cv_cflags__Wdeclaration_after_statement
=yes
18705 ac_cv_cflags__Wdeclaration_after_statement
=no
18707 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18708 conftest
$ac_exeext conftest.
$ac_ext
18709 CFLAGS
=$ac_wine_try_cflags_saved
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18712 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18713 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18715 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18718 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18719 if test ${ac_cv_cflags__Wempty_body+y}
18721 printf %s
"(cached) " >&6
18723 ac_wine_try_cflags_saved
=$CFLAGS
18724 CFLAGS
="$CFLAGS -Wempty-body"
18725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18727 int main(int argc, char **argv) { return 0; }
18729 if ac_fn_c_try_link
"$LINENO"
18731 ac_cv_cflags__Wempty_body
=yes
18733 ac_cv_cflags__Wempty_body
=no
18735 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18736 conftest
$ac_exeext conftest.
$ac_ext
18737 CFLAGS
=$ac_wine_try_cflags_saved
18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18740 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18741 if test "x$ac_cv_cflags__Wempty_body" = xyes
18743 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18746 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18747 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18749 printf %s
"(cached) " >&6
18751 ac_wine_try_cflags_saved
=$CFLAGS
18752 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18755 int main(int argc, char **argv) { return 0; }
18757 if ac_fn_c_try_link
"$LINENO"
18759 ac_cv_cflags__Wignored_qualifiers
=yes
18761 ac_cv_cflags__Wignored_qualifiers
=no
18763 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18764 conftest
$ac_exeext conftest.
$ac_ext
18765 CFLAGS
=$ac_wine_try_cflags_saved
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18768 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18769 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18771 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18774 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18775 if test ${ac_cv_cflags__Winit_self+y}
18777 printf %s
"(cached) " >&6
18779 ac_wine_try_cflags_saved
=$CFLAGS
18780 CFLAGS
="$CFLAGS -Winit-self"
18781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18783 int main(int argc, char **argv) { return 0; }
18785 if ac_fn_c_try_link
"$LINENO"
18787 ac_cv_cflags__Winit_self
=yes
18789 ac_cv_cflags__Winit_self
=no
18791 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18792 conftest
$ac_exeext conftest.
$ac_ext
18793 CFLAGS
=$ac_wine_try_cflags_saved
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18796 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18797 if test "x$ac_cv_cflags__Winit_self" = xyes
18799 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18802 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18803 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18805 printf %s
"(cached) " >&6
18807 ac_wine_try_cflags_saved
=$CFLAGS
18808 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 int main(int argc, char **argv) { return 0; }
18813 if ac_fn_c_try_link
"$LINENO"
18815 ac_cv_cflags__Wpacked_not_aligned
=yes
18817 ac_cv_cflags__Wpacked_not_aligned
=no
18819 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18820 conftest
$ac_exeext conftest.
$ac_ext
18821 CFLAGS
=$ac_wine_try_cflags_saved
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18824 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18825 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18827 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18830 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18831 if test ${ac_cv_cflags__Wpragma_pack+y}
18833 printf %s
"(cached) " >&6
18835 ac_wine_try_cflags_saved
=$CFLAGS
18836 CFLAGS
="$CFLAGS -Wpragma-pack"
18837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 int main(int argc, char **argv) { return 0; }
18841 if ac_fn_c_try_link
"$LINENO"
18843 ac_cv_cflags__Wpragma_pack
=yes
18845 ac_cv_cflags__Wpragma_pack
=no
18847 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18848 conftest
$ac_exeext conftest.
$ac_ext
18849 CFLAGS
=$ac_wine_try_cflags_saved
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18852 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18853 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18855 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18858 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18859 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18861 printf %s
"(cached) " >&6
18863 ac_wine_try_cflags_saved
=$CFLAGS
18864 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 int main(int argc, char **argv) { return 0; }
18869 if ac_fn_c_try_link
"$LINENO"
18871 ac_cv_cflags__Wshift_overflow_2
=yes
18873 ac_cv_cflags__Wshift_overflow_2
=no
18875 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18876 conftest
$ac_exeext conftest.
$ac_ext
18877 CFLAGS
=$ac_wine_try_cflags_saved
18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18880 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18881 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18883 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18886 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18887 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18889 printf %s
"(cached) " >&6
18891 ac_wine_try_cflags_saved
=$CFLAGS
18892 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18895 int main(int argc, char **argv) { return 0; }
18897 if ac_fn_c_try_link
"$LINENO"
18899 ac_cv_cflags__Wstrict_prototypes
=yes
18901 ac_cv_cflags__Wstrict_prototypes
=no
18903 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18904 conftest
$ac_exeext conftest.
$ac_ext
18905 CFLAGS
=$ac_wine_try_cflags_saved
18907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18908 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18909 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18911 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18914 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18915 if test ${ac_cv_cflags__Wtype_limits+y}
18917 printf %s
"(cached) " >&6
18919 ac_wine_try_cflags_saved
=$CFLAGS
18920 CFLAGS
="$CFLAGS -Wtype-limits"
18921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18922 /* end confdefs.h. */
18923 int main(int argc, char **argv) { return 0; }
18925 if ac_fn_c_try_link
"$LINENO"
18927 ac_cv_cflags__Wtype_limits
=yes
18929 ac_cv_cflags__Wtype_limits
=no
18931 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18932 conftest
$ac_exeext conftest.
$ac_ext
18933 CFLAGS
=$ac_wine_try_cflags_saved
18935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18936 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18937 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18939 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18942 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18943 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18945 printf %s
"(cached) " >&6
18947 ac_wine_try_cflags_saved
=$CFLAGS
18948 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18951 int main(int argc, char **argv) { return 0; }
18953 if ac_fn_c_try_link
"$LINENO"
18955 ac_cv_cflags__Wunused_but_set_parameter
=yes
18957 ac_cv_cflags__Wunused_but_set_parameter
=no
18959 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18960 conftest
$ac_exeext conftest.
$ac_ext
18961 CFLAGS
=$ac_wine_try_cflags_saved
18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18964 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18965 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18967 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18970 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18971 if test ${ac_cv_cflags__Wvla+y}
18973 printf %s
"(cached) " >&6
18975 ac_wine_try_cflags_saved
=$CFLAGS
18976 CFLAGS
="$CFLAGS -Wvla"
18977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18978 /* end confdefs.h. */
18979 int main(int argc, char **argv) { return 0; }
18981 if ac_fn_c_try_link
"$LINENO"
18983 ac_cv_cflags__Wvla
=yes
18985 ac_cv_cflags__Wvla
=no
18987 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18988 conftest
$ac_exeext conftest.
$ac_ext
18989 CFLAGS
=$ac_wine_try_cflags_saved
18991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18992 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18993 if test "x$ac_cv_cflags__Wvla" = xyes
18995 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18998 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18999 if test ${ac_cv_cflags__Wwrite_strings+y}
19001 printf %s
"(cached) " >&6
19003 ac_wine_try_cflags_saved
=$CFLAGS
19004 CFLAGS
="$CFLAGS -Wwrite-strings"
19005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 int main(int argc, char **argv) { return 0; }
19009 if ac_fn_c_try_link
"$LINENO"
19011 ac_cv_cflags__Wwrite_strings
=yes
19013 ac_cv_cflags__Wwrite_strings
=no
19015 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19016 conftest
$ac_exeext conftest.
$ac_ext
19017 CFLAGS
=$ac_wine_try_cflags_saved
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19020 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19021 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19023 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
19026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19027 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
19028 if test ${ac_cv_cflags__Wpointer_arith+y}
19030 printf %s
"(cached) " >&6
19032 ac_wine_try_cflags_saved
=$CFLAGS
19033 CFLAGS
="$CFLAGS -Wpointer-arith"
19034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19036 int main(int argc, char **argv) { return 0; }
19038 if ac_fn_c_try_link
"$LINENO"
19040 ac_cv_cflags__Wpointer_arith
=yes
19042 ac_cv_cflags__Wpointer_arith
=no
19044 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19045 conftest
$ac_exeext conftest.
$ac_ext
19046 CFLAGS
=$ac_wine_try_cflags_saved
19048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19049 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19050 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19052 saved_string_h_CFLAGS
=$CFLAGS
19053 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19055 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19056 if test ${ac_cv_c_string_h_warnings+y}
19058 printf %s
"(cached) " >&6
19060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19061 /* end confdefs.h. */
19062 #include <string.h>
19071 if ac_fn_c_try_compile
"$LINENO"
19073 ac_cv_c_string_h_warnings
=no
19075 ac_cv_c_string_h_warnings
=yes
19077 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19080 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19081 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19082 CFLAGS
=$saved_string_h_CFLAGS
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19086 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19087 if test ${ac_cv_cflags__Wlogical_op+y}
19089 printf %s
"(cached) " >&6
19091 ac_wine_try_cflags_saved
=$CFLAGS
19092 CFLAGS
="$CFLAGS -Wlogical-op"
19093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19095 int main(int argc, char **argv) { return 0; }
19097 if ac_fn_c_try_link
"$LINENO"
19099 ac_cv_cflags__Wlogical_op
=yes
19101 ac_cv_cflags__Wlogical_op
=no
19103 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19104 conftest
$ac_exeext conftest.
$ac_ext
19105 CFLAGS
=$ac_wine_try_cflags_saved
19107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19108 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19109 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19111 saved_string_h_CFLAGS
=$CFLAGS
19112 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19114 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19115 if test ${ac_cv_c_logicalop_noisy+y}
19117 printf %s
"(cached) " >&6
19119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19121 #include <string.h>
19122 char*f(const char *h,char n) {return strchr(h,n);}
19131 if ac_fn_c_try_compile
"$LINENO"
19133 ac_cv_c_logicalop_noisy
=no
19135 ac_cv_c_logicalop_noisy
=yes
19137 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19140 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19141 CFLAGS
=$saved_string_h_CFLAGS
19142 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19146 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19147 if test ${wine_cv_64bit_compare_swap+y}
19149 printf %s
"(cached) " >&6
19151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19152 /* end confdefs.h. */
19153 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19164 if ac_fn_c_try_compile
"$LINENO"
19166 wine_cv_64bit_compare_swap
="none needed"
19169 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19170 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19171 *) wine_cv_64bit_compare_swap
="unknown" ;;
19173 if test "x$wine_cv_64bit_compare_swap" != xunknown
19175 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19189 if ac_fn_c_try_compile
"$LINENO"
19193 wine_cv_64bit_compare_swap
="unknown"
19195 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19196 CFLAGS
=$saved_CFLAGS
19199 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19202 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19203 case "$wine_cv_64bit_compare_swap" in
19204 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19206 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19209 ac_debug_format_seen
=""
19210 for ac_flag
in $CFLAGS; do
19212 -gdwarf*) ac_debug_format_seen
=yes ;;
19213 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19216 if test "x$ac_debug_format_seen" = xdefault
19218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19219 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19220 if test ${ac_cv_cflags__gdwarf_4+y}
19222 printf %s
"(cached) " >&6
19224 ac_wine_try_cflags_saved
=$CFLAGS
19225 CFLAGS
="$CFLAGS -gdwarf-4"
19226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 int main(int argc, char **argv) { return 0; }
19230 if ac_fn_c_try_link
"$LINENO"
19232 ac_cv_cflags__gdwarf_4
=yes
19234 ac_cv_cflags__gdwarf_4
=no
19236 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19237 conftest
$ac_exeext conftest.
$ac_ext
19238 CFLAGS
=$ac_wine_try_cflags_saved
19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19241 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19242 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19244 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19251 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19252 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19253 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19255 printf %s
"(cached) " >&6
19257 ac_wine_try_cflags_saved
=$CFLAGS
19258 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h. */
19261 int main(int argc, char **argv) { return 0; }
19263 if ac_fn_c_try_link
"$LINENO"
19265 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19267 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19269 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19270 conftest
$ac_exeext conftest.
$ac_ext
19271 CFLAGS
=$ac_wine_try_cflags_saved
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19274 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19275 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19277 DELAYLOADFLAG
="-Wl,-delayload,"
19280 *) MSVCRTFLAGS
="-D_WIN32"
19281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19282 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19283 if test ${ac_cv_cflags__fno_builtin+y}
19285 printf %s
"(cached) " >&6
19287 ac_wine_try_cflags_saved
=$CFLAGS
19288 CFLAGS
="$CFLAGS -fno-builtin"
19289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 int main(int argc, char **argv) { return 0; }
19293 if ac_fn_c_try_link
"$LINENO"
19295 ac_cv_cflags__fno_builtin
=yes
19297 ac_cv_cflags__fno_builtin
=no
19299 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19300 conftest
$ac_exeext conftest.
$ac_ext
19301 CFLAGS
=$ac_wine_try_cflags_saved
19303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19304 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19305 if test "x$ac_cv_cflags__fno_builtin" = xyes
19307 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19310 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19311 if test ${ac_cv_cflags__fshort_wchar+y}
19313 printf %s
"(cached) " >&6
19315 ac_wine_try_cflags_saved
=$CFLAGS
19316 CFLAGS
="$CFLAGS -fshort-wchar"
19317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19318 /* end confdefs.h. */
19319 int main(int argc, char **argv) { return 0; }
19321 if ac_fn_c_try_link
"$LINENO"
19323 ac_cv_cflags__fshort_wchar
=yes
19325 ac_cv_cflags__fshort_wchar
=no
19327 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19328 conftest
$ac_exeext conftest.
$ac_ext
19329 CFLAGS
=$ac_wine_try_cflags_saved
19331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19332 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19333 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19335 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19338 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19339 if test ${ac_cv_cflags__Wno_format+y}
19341 printf %s
"(cached) " >&6
19343 ac_wine_try_cflags_saved
=$CFLAGS
19344 CFLAGS
="$CFLAGS -Wno-format"
19345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19346 /* end confdefs.h. */
19347 int main(int argc, char **argv) { return 0; }
19349 if ac_fn_c_try_link
"$LINENO"
19351 ac_cv_cflags__Wno_format
=yes
19353 ac_cv_cflags__Wno_format
=no
19355 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19356 conftest
$ac_exeext conftest.
$ac_ext
19357 CFLAGS
=$ac_wine_try_cflags_saved
19359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19360 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19361 if test "x$ac_cv_cflags__Wno_format" = xyes
19363 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19368 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19369 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19370 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19372 printf %s
"(cached) " >&6
19374 ac_wine_try_cflags_saved
=$CFLAGS
19375 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
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__fno_omit_frame_pointer
=yes
19384 ac_cv_cflags__fno_omit_frame_pointer
=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__fno_omit_frame_pointer" >&5
19391 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19392 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19394 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-omit-frame-pointer"
19398 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19399 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19400 if test ${ac_cv_cflags__Wno_format+y}
19402 printf %s
"(cached) " >&6
19404 ac_wine_try_cflags_saved
=$CFLAGS
19405 CFLAGS
="$CFLAGS -Wno-format"
19406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19407 /* end confdefs.h. */
19408 int main(int argc, char **argv) { return 0; }
19410 if ac_fn_c_try_link
"$LINENO"
19412 ac_cv_cflags__Wno_format
=yes
19414 ac_cv_cflags__Wno_format
=no
19416 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19417 conftest
$ac_exeext conftest.
$ac_ext
19418 CFLAGS
=$ac_wine_try_cflags_saved
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19421 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19422 if test "x$ac_cv_cflags__Wno_format" = xyes
19424 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19426 *) if test -z "$PE_ARCHS"
19428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19429 printf %s
"checking for working -mabi=ms... " >&6; }
19430 if test ${ac_cv_mabi_ms+y}
19432 printf %s
"(cached) " >&6
19434 CFLAGS
="$CFLAGS -mabi=ms"
19435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19436 /* end confdefs.h. */
19437 #include <stdarg.h>
19438 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19447 if ac_fn_c_try_compile
"$LINENO"
19453 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19454 CFLAGS
=$saved_CFLAGS
19456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19457 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19458 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
19460 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19464 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19465 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19467 printf %s
"(cached) " >&6
19469 ac_wine_try_cflags_saved
=$CFLAGS
19470 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19473 int main(int argc, char **argv) { return 0; }
19475 if ac_fn_c_try_link
"$LINENO"
19477 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19479 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19481 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19482 conftest
$ac_exeext conftest.
$ac_ext
19483 CFLAGS
=$ac_wine_try_cflags_saved
19485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19486 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19487 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19489 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19493 CFLAGS
=$saved_CFLAGS
19495 if test "x$enable_werror" = "xyes"
19497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19498 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19499 if test ${ac_cv_cflags__Werror+y}
19501 printf %s
"(cached) " >&6
19503 ac_wine_try_cflags_saved
=$CFLAGS
19504 CFLAGS
="$CFLAGS -Werror"
19505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 int main(int argc, char **argv) { return 0; }
19509 if ac_fn_c_try_link
"$LINENO"
19511 ac_cv_cflags__Werror
=yes
19513 ac_cv_cflags__Werror
=no
19515 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19516 conftest
$ac_exeext conftest.
$ac_ext
19517 CFLAGS
=$ac_wine_try_cflags_saved
19519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19520 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19521 if test "x$ac_cv_cflags__Werror" = xyes
19523 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19526 if test "x$enable_build_id" = "xyes"
19528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19529 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19530 if test ${ac_cv_cflags__Wl___build_id+y}
19532 printf %s
"(cached) " >&6
19534 ac_wine_try_cflags_saved
=$CFLAGS
19535 CFLAGS
="$CFLAGS -Wl,--build-id"
19536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19538 int main(int argc, char **argv) { return 0; }
19540 if ac_fn_c_try_link
"$LINENO"
19542 ac_cv_cflags__Wl___build_id
=yes
19544 ac_cv_cflags__Wl___build_id
=no
19546 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19547 conftest
$ac_exeext conftest.
$ac_ext
19548 CFLAGS
=$ac_wine_try_cflags_saved
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19551 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19552 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19554 CFLAGS
="$CFLAGS -Wl,--build-id"
19555 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19562 printf %s
"checking for the need to disable Fortify... " >&6; }
19563 if test ${ac_cv_c_fortify_enabled+y}
19565 printf %s
"(cached) " >&6
19567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #include <string.h>
19573 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19574 #error Fortify enabled
19580 if ac_fn_c_try_compile
"$LINENO"
19582 ac_cv_c_fortify_enabled
=no
19584 ac_cv_c_fortify_enabled
=yes
19586 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19589 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19590 if test "$ac_cv_c_fortify_enabled" = yes
19592 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19597 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19598 if test ${ac_cv_c_cfi_support+y}
19600 printf %s
"(cached) " >&6
19602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19603 /* end confdefs.h. */
19604 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19613 if ac_fn_c_try_compile
"$LINENO"
19615 ac_cv_c_cfi_support
="yes"
19617 ac_cv_c_cfi_support
="no"
19619 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19622 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19623 if test "$ac_cv_c_cfi_support" = "yes"
19625 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19626 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19627 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19628 elif test $HOST_ARCH = x86_64
19630 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19634 case "$HOST_ARCH,$PE_ARCHS" in
19635 x86_64
,*i386
*) wine_binary
="wine" ;;
19636 x86_64
,*) wine_binary
="wine64" ;;
19637 *) wine_binary
="wine" ;;
19639 WINELOADER_PROGRAMS
="$wine_binary"
19645 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19646 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19647 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19652 if test "$wine_can_build_preloader" = "yes"
19654 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19655 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19662 printf %s
"checking for library containing dlopen... " >&6; }
19663 if test ${ac_cv_search_dlopen+y}
19665 printf %s
"(cached) " >&6
19667 ac_func_search_save_LIBS
=$LIBS
19668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19671 /* Override any GCC internal prototype to avoid an error.
19672 Use char because int might match the return type of a GCC
19673 builtin and then its argument prototype would still apply. */
19683 for ac_lib
in '' dl
19685 if test -z "$ac_lib"; then
19686 ac_res
="none required"
19689 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19691 if ac_fn_c_try_link
"$LINENO"
19693 ac_cv_search_dlopen
=$ac_res
19695 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19697 if test ${ac_cv_search_dlopen+y}
19702 if test ${ac_cv_search_dlopen+y}
19706 ac_cv_search_dlopen
=no
19708 rm conftest.
$ac_ext
19709 LIBS
=$ac_func_search_save_LIBS
19711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19712 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19713 ac_res
=$ac_cv_search_dlopen
19714 if test "$ac_res" != no
19716 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19722 printf %s
"checking for library containing gethostbyname... " >&6; }
19723 if test ${ac_cv_search_gethostbyname+y}
19725 printf %s
"(cached) " >&6
19727 ac_func_search_save_LIBS
=$LIBS
19728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19731 /* Override any GCC internal prototype to avoid an error.
19732 Use char because int might match the return type of a GCC
19733 builtin and then its argument prototype would still apply. */
19734 char gethostbyname ();
19738 return gethostbyname ();
19743 for ac_lib
in '' nsl
19745 if test -z "$ac_lib"; then
19746 ac_res
="none required"
19749 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19751 if ac_fn_c_try_link
"$LINENO"
19753 ac_cv_search_gethostbyname
=$ac_res
19755 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19757 if test ${ac_cv_search_gethostbyname+y}
19762 if test ${ac_cv_search_gethostbyname+y}
19766 ac_cv_search_gethostbyname
=no
19768 rm conftest.
$ac_ext
19769 LIBS
=$ac_func_search_save_LIBS
19771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19772 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19773 ac_res
=$ac_cv_search_gethostbyname
19774 if test "$ac_res" != no
19776 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19782 printf %s
"checking for library containing connect... " >&6; }
19783 if test ${ac_cv_search_connect+y}
19785 printf %s
"(cached) " >&6
19787 ac_func_search_save_LIBS
=$LIBS
19788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19791 /* Override any GCC internal prototype to avoid an error.
19792 Use char because int might match the return type of a GCC
19793 builtin and then its argument prototype would still apply. */
19803 for ac_lib
in '' socket
19805 if test -z "$ac_lib"; then
19806 ac_res
="none required"
19809 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19811 if ac_fn_c_try_link
"$LINENO"
19813 ac_cv_search_connect
=$ac_res
19815 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19817 if test ${ac_cv_search_connect+y}
19822 if test ${ac_cv_search_connect+y}
19826 ac_cv_search_connect
=no
19828 rm conftest.
$ac_ext
19829 LIBS
=$ac_func_search_save_LIBS
19831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19832 printf "%s\n" "$ac_cv_search_connect" >&6; }
19833 ac_res
=$ac_cv_search_connect
19834 if test "$ac_res" != no
19836 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19842 printf %s
"checking for library containing inet_aton... " >&6; }
19843 if test ${ac_cv_search_inet_aton+y}
19845 printf %s
"(cached) " >&6
19847 ac_func_search_save_LIBS
=$LIBS
19848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19849 /* end confdefs.h. */
19851 /* Override any GCC internal prototype to avoid an error.
19852 Use char because int might match the return type of a GCC
19853 builtin and then its argument prototype would still apply. */
19858 return inet_aton ();
19863 for ac_lib
in '' resolv
19865 if test -z "$ac_lib"; then
19866 ac_res
="none required"
19869 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19871 if ac_fn_c_try_link
"$LINENO"
19873 ac_cv_search_inet_aton
=$ac_res
19875 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19877 if test ${ac_cv_search_inet_aton+y}
19882 if test ${ac_cv_search_inet_aton+y}
19886 ac_cv_search_inet_aton
=no
19888 rm conftest.
$ac_ext
19889 LIBS
=$ac_func_search_save_LIBS
19891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19892 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19893 ac_res
=$ac_cv_search_inet_aton
19894 if test "$ac_res" != no
19896 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19901 ac_save_CFLAGS
="$CFLAGS"
19902 CFLAGS
="$CFLAGS $BUILTINFLAG"
19903 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19904 if test "x$ac_cv_func_dladdr1" = xyes
19906 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19909 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19910 if test "x$ac_cv_func_dlinfo" = xyes
19912 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19915 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19916 if test "x$ac_cv_func_epoll_create" = xyes
19918 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19921 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19922 if test "x$ac_cv_func_fstatfs" = xyes
19924 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19927 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19928 if test "x$ac_cv_func_futimens" = xyes
19930 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19933 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19934 if test "x$ac_cv_func_futimes" = xyes
19936 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19939 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19940 if test "x$ac_cv_func_futimesat" = xyes
19942 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19945 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19946 if test "x$ac_cv_func_getaddrinfo" = xyes
19948 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19951 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19952 if test "x$ac_cv_func_getattrlist" = xyes
19954 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19957 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19958 if test "x$ac_cv_func_getauxval" = xyes
19960 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19963 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19964 if test "x$ac_cv_func_getifaddrs" = xyes
19966 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19969 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19970 if test "x$ac_cv_func_getrandom" = xyes
19972 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19975 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19976 if test "x$ac_cv_func_kqueue" = xyes
19978 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19981 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19982 if test "x$ac_cv_func_mach_continuous_time" = xyes
19984 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19987 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19988 if test "x$ac_cv_func_pipe2" = xyes
19990 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19993 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19994 if test "x$ac_cv_func_port_create" = xyes
19996 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19999 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20000 if test "x$ac_cv_func_posix_fadvise" = xyes
20002 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20005 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20006 if test "x$ac_cv_func_posix_fallocate" = xyes
20008 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20011 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
20012 if test "x$ac_cv_func_prctl" = xyes
20014 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20017 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20018 if test "x$ac_cv_func_proc_pidinfo" = xyes
20020 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20023 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20024 if test "x$ac_cv_func_sched_yield" = xyes
20026 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20029 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20030 if test "x$ac_cv_func_setproctitle" = xyes
20032 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20035 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
20036 if test "x$ac_cv_func_setprogname" = xyes
20038 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20041 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20042 if test "x$ac_cv_func_sigprocmask" = xyes
20044 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20047 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20048 if test "x$ac_cv_func_sysinfo" = xyes
20050 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20053 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20054 if test "x$ac_cv_func_tcdrain" = xyes
20056 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20059 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20060 if test "x$ac_cv_func_thr_kill2" = xyes
20062 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20066 CFLAGS
="$ac_save_CFLAGS"
20069 darwin
*|macosx
*) ;;
20070 *) ac_save_LIBS
=$LIBS
20071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20072 printf %s
"checking for library containing clock_gettime... " >&6; }
20073 if test ${ac_cv_search_clock_gettime+y}
20075 printf %s
"(cached) " >&6
20077 ac_func_search_save_LIBS
=$LIBS
20078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20081 /* Override any GCC internal prototype to avoid an error.
20082 Use char because int might match the return type of a GCC
20083 builtin and then its argument prototype would still apply. */
20084 char clock_gettime ();
20088 return clock_gettime ();
20093 for ac_lib
in '' rt
20095 if test -z "$ac_lib"; then
20096 ac_res
="none required"
20099 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20101 if ac_fn_c_try_link
"$LINENO"
20103 ac_cv_search_clock_gettime
=$ac_res
20105 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20107 if test ${ac_cv_search_clock_gettime+y}
20112 if test ${ac_cv_search_clock_gettime+y}
20116 ac_cv_search_clock_gettime
=no
20118 rm conftest.
$ac_ext
20119 LIBS
=$ac_func_search_save_LIBS
20121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20122 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20123 ac_res
=$ac_cv_search_clock_gettime
20124 if test "$ac_res" != no
20126 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20128 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20130 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20139 printf %s
"checking for sched_setaffinity... " >&6; }
20140 if test ${wine_cv_have_sched_setaffinity+y}
20142 printf %s
"(cached) " >&6
20144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20150 sched_setaffinity(0, 0, 0);
20155 if ac_fn_c_try_link
"$LINENO"
20157 wine_cv_have_sched_setaffinity
=yes
20159 wine_cv_have_sched_setaffinity
=no
20161 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20162 conftest
$ac_exeext conftest.
$ac_ext
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20165 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20166 if test "$wine_cv_have_sched_setaffinity" = "yes"
20169 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20175 printf %s
"checking for inline... " >&6; }
20176 if test ${ac_cv_c_inline+y}
20178 printf %s
"(cached) " >&6
20181 for ac_kw
in inline __inline__ __inline
; do
20182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20183 /* end confdefs.h. */
20184 #ifndef __cplusplus
20186 static $ac_kw foo_t static_foo (void) {return 0; }
20187 $ac_kw foo_t foo (void) {return 0; }
20191 if ac_fn_c_try_compile
"$LINENO"
20193 ac_cv_c_inline
=$ac_kw
20195 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20196 test "$ac_cv_c_inline" != no
&& break
20200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20201 printf "%s\n" "$ac_cv_c_inline" >&6; }
20203 case $ac_cv_c_inline in
20206 case $ac_cv_c_inline in
20208 *) ac_val
=$ac_cv_c_inline;;
20210 cat >>confdefs.h
<<_ACEOF
20211 #ifndef __cplusplus
20212 #define inline $ac_val
20218 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20220 if test "x$ac_cv_type_request_sense" = xyes
20223 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20229 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20230 #include <sys/socket.h>
20231 #ifdef HAVE_SYS_SOCKETVAR_H
20232 #include <sys/socketvar.h>
20234 #ifdef HAVE_NET_ROUTE_H
20235 #include <net/route.h>
20237 #ifdef HAVE_NETINET_IN_H
20238 #include <netinet/in.h>
20240 #ifdef HAVE_NETINET_IN_SYSTM_H
20241 #include <netinet/in_systm.h>
20243 #ifdef HAVE_NETINET_IP_H
20244 #include <netinet/ip.h>
20246 #ifdef HAVE_NETINET_IN_PCB_H
20247 #include <netinet/in_pcb.h>
20250 if test "x$ac_cv_type_struct_xinpgen" = xyes
20253 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20260 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20261 if test ${wine_cv_linux_gethostbyname_r_6+y}
20263 printf %s
"(cached) " >&6
20265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20266 /* end confdefs.h. */
20274 struct hostent *result;
20281 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20282 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20288 if ac_fn_c_try_link
"$LINENO"
20290 wine_cv_linux_gethostbyname_r_6
=yes
20292 wine_cv_linux_gethostbyname_r_6
=no
20295 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20296 conftest
$ac_exeext conftest.
$ac_ext
20299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20300 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20301 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20304 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20308 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20309 #include <sys/socket.h>
20310 #ifdef HAVE_SYS_UN_H
20311 # include <sys/un.h>
20314 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20317 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20321 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20322 #include <sys/socket.h>
20323 #ifdef HAVE_SYS_UN_H
20324 # include <sys/un.h>
20327 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20330 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20336 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20337 #ifdef HAVE_SCSI_SG_H
20338 #include <scsi/sg.h>
20341 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20344 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20348 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>
20349 #ifdef HAVE_SCSI_SG_H
20350 #include <scsi/sg.h>
20353 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20356 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20362 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20364 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20367 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20373 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20374 #ifdef HAVE_SYS_MTIO_H
20375 #include <sys/mtio.h>
20378 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20381 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20385 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20386 #ifdef HAVE_SYS_MTIO_H
20387 #include <sys/mtio.h>
20390 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20393 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20397 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20398 #ifdef HAVE_SYS_MTIO_H
20399 #include <sys/mtio.h>
20402 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20405 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20411 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20412 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20415 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20419 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20420 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20423 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20427 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20428 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20431 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20435 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20436 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20439 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20443 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20444 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20447 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20451 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20452 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20455 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20459 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20460 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20463 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20467 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20468 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20471 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20475 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20476 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20479 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20483 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20484 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20487 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20491 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20492 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20495 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20501 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>
20502 #ifdef HAVE_NETINET_IN_H
20503 #include <netinet/in.h>
20506 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20509 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20515 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
20516 #include <resolv.h>
20519 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20522 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20528 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20529 #include <netinet/in.h>
20532 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20535 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20541 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20542 #ifdef HAVE_SYS_SOCKETVAR_H
20543 #include <sys/socketvar.h>
20545 #ifdef HAVE_NETINET_IN_H
20546 #include <netinet/in.h>
20548 #ifdef HAVE_NETINET_IP_VAR_H
20549 #include <netinet/ip_var.h>
20552 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20555 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20561 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
20562 #include <netinet/ip_var.h>
20565 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20568 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20574 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20575 #ifdef HAVE_SYS_SOCKETVAR_H
20576 #include <sys/socketvar.h>
20578 #ifdef HAVE_NETINET_IN_H
20579 #include <netinet/in.h>
20581 #ifdef HAVE_NETINET6_IP6_VAR_H
20582 #include <netinet6/ip6_var.h>
20585 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20588 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20594 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20595 #ifdef HAVE_SYS_SOCKETVAR_H
20596 #include <sys/socketvar.h>
20598 #ifdef HAVE_NETINET_IN_H
20599 #include <netinet/in.h>
20601 #ifdef HAVE_NETINET_IP_H
20602 #include <netinet/ip.h>
20604 #ifdef HAVE_NETINET_IP_ICMP_H
20605 #include <netinet/ip_icmp.h>
20607 #ifdef HAVE_NETINET_ICMP_VAR_H
20608 #include <netinet/icmp_var.h>
20611 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20614 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20620 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20621 #ifdef HAVE_SYS_SOCKETVAR_H
20622 #include <sys/socketvar.h>
20624 #ifdef HAVE_NETINET_IN_H
20625 #include <netinet/in.h>
20627 #ifdef HAVE_NETINET_ICMP6_H
20628 #include <netinet/icmp6.h>
20631 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20634 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20640 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20641 #ifdef HAVE_SYS_SOCKETVAR_H
20642 #include <sys/socketvar.h>
20644 #ifdef HAVE_NETINET_IN_H
20645 #include <netinet/in.h>
20647 #ifdef HAVE_NETINET_TCP_H
20648 #include <netinet/tcp.h>
20650 #ifdef HAVE_NETINET_TCP_VAR_H
20651 #include <netinet/tcp_var.h>
20654 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20657 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20663 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
20664 #include <netinet/tcp_var.h>
20667 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20670 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20676 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20677 #ifdef HAVE_NETINET_IN_H
20678 #include <netinet/in.h>
20680 #ifdef HAVE_NETINET_IP_VAR_H
20681 #include <netinet/ip_var.h>
20683 #ifdef HAVE_NETINET_UDP_H
20684 #include <netinet/udp.h>
20686 #ifdef HAVE_NETINET_UDP_VAR_H
20687 #include <netinet/udp_var.h>
20690 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20693 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20699 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20700 #ifdef HAVE_NET_IF_H
20701 # include <net/if.h>
20704 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20707 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20713 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20714 # include <sys/sysinfo.h>
20717 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20720 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20724 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20725 # include <sys/sysinfo.h>
20728 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20731 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20737 LIBS
="$ac_save_LIBS"
20739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20740 printf %s
"checking for __builtin_popcount... " >&6; }
20741 if test ${ac_cv_have___builtin_popcount+y}
20743 printf %s
"(cached) " >&6
20745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20746 /* end confdefs.h. */
20751 return __builtin_popcount(1)
20756 if ac_fn_c_try_link
"$LINENO"
20758 ac_cv_have___builtin_popcount
="yes"
20760 ac_cv_have___builtin_popcount
="no"
20762 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20763 conftest
$ac_exeext conftest.
$ac_ext
20765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20766 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20767 if test "$ac_cv_have___builtin_popcount" = "yes"
20770 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20775 printf %s
"checking for __clear_cache... " >&6; }
20776 if test ${ac_cv_have___clear_cache+y}
20778 printf %s
"(cached) " >&6
20780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20786 __clear_cache((void*)0, (void*)0); return 0;
20791 if ac_fn_c_try_link
"$LINENO"
20793 ac_cv_have___clear_cache
="yes"
20795 ac_cv_have___clear_cache
="no"
20797 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20798 conftest
$ac_exeext conftest.
$ac_ext
20800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20801 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20802 if test "$ac_cv_have___clear_cache" = "yes"
20805 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20811 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20812 printf %s
"checking whether we need to define __i386__... " >&6; }
20813 if test ${ac_cv_cpp_def___i386__+y}
20815 printf %s
"(cached) " >&6
20817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20818 /* end confdefs.h. */
20823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20824 $EGREP "yes" >/dev
/null
2>&1
20826 ac_cv_cpp_def___i386__
=yes
20828 ac_cv_cpp_def___i386__
=no
20833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20834 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20835 if test "x$ac_cv_cpp_def___i386__" = xyes
20837 CFLAGS
="$CFLAGS -D__i386__"
20838 LINTFLAGS
="$LINTFLAGS -D__i386__"
20840 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20841 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20842 if test ${ac_cv_cpp_def___x86_64__+y}
20844 printf %s
"(cached) " >&6
20846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20847 /* end confdefs.h. */
20852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20853 $EGREP "yes" >/dev
/null
2>&1
20855 ac_cv_cpp_def___x86_64__
=yes
20857 ac_cv_cpp_def___x86_64__
=no
20862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20863 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20864 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20866 CFLAGS
="$CFLAGS -D__x86_64__"
20867 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20869 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20870 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20871 if test ${ac_cv_cpp_def___sparc64__+y}
20873 printf %s
"(cached) " >&6
20875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20877 #ifndef __sparc64__
20881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20882 $EGREP "yes" >/dev
/null
2>&1
20884 ac_cv_cpp_def___sparc64__
=yes
20886 ac_cv_cpp_def___sparc64__
=no
20891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20892 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20893 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20895 CFLAGS
="$CFLAGS -D__sparc64__"
20896 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20898 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20899 printf %s
"checking whether we need to define __sparc__... " >&6; }
20900 if test ${ac_cv_cpp_def___sparc__+y}
20902 printf %s
"(cached) " >&6
20904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20905 /* end confdefs.h. */
20910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20911 $EGREP "yes" >/dev
/null
2>&1
20913 ac_cv_cpp_def___sparc__
=yes
20915 ac_cv_cpp_def___sparc__
=no
20920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20921 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20922 if test "x$ac_cv_cpp_def___sparc__" = xyes
20924 CFLAGS
="$CFLAGS -D__sparc__"
20925 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20927 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20928 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20929 if test ${ac_cv_cpp_def___powerpc64__+y}
20931 printf %s
"(cached) " >&6
20933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #ifndef __powerpc64__
20939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20940 $EGREP "yes" >/dev
/null
2>&1
20942 ac_cv_cpp_def___powerpc64__
=yes
20944 ac_cv_cpp_def___powerpc64__
=no
20949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20950 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20951 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20953 CFLAGS
="$CFLAGS -D__powerpc64__"
20954 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20956 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20957 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20958 if test ${ac_cv_cpp_def___powerpc__+y}
20960 printf %s
"(cached) " >&6
20962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20963 /* end confdefs.h. */
20964 #ifndef __powerpc__
20968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20969 $EGREP "yes" >/dev
/null
2>&1
20971 ac_cv_cpp_def___powerpc__
=yes
20973 ac_cv_cpp_def___powerpc__
=no
20978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20979 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20980 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20982 CFLAGS
="$CFLAGS -D__powerpc__"
20983 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20985 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20986 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20987 if test ${ac_cv_cpp_def___aarch64__+y}
20989 printf %s
"(cached) " >&6
20991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20992 /* end confdefs.h. */
20993 #ifndef __aarch64__
20997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20998 $EGREP "yes" >/dev
/null
2>&1
21000 ac_cv_cpp_def___aarch64__
=yes
21002 ac_cv_cpp_def___aarch64__
=no
21007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21008 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21009 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21011 CFLAGS
="$CFLAGS -D__aarch64__"
21012 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21014 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21015 printf %s
"checking whether we need to define __arm__... " >&6; }
21016 if test ${ac_cv_cpp_def___arm__+y}
21018 printf %s
"(cached) " >&6
21020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21021 /* end confdefs.h. */
21026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21027 $EGREP "yes" >/dev
/null
2>&1
21029 ac_cv_cpp_def___arm__
=yes
21031 ac_cv_cpp_def___arm__
=no
21036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21037 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21038 if test "x$ac_cv_cpp_def___arm__" = xyes
21040 CFLAGS
="$CFLAGS -D__arm__"
21041 LINTFLAGS
="$LINTFLAGS -D__arm__"
21045 case $host_vendor in
21046 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21047 printf %s
"checking whether we need to define __sun__... " >&6; }
21048 if test ${ac_cv_cpp_def___sun__+y}
21050 printf %s
"(cached) " >&6
21052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21053 /* end confdefs.h. */
21058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21059 $EGREP "yes" >/dev
/null
2>&1
21061 ac_cv_cpp_def___sun__
=yes
21063 ac_cv_cpp_def___sun__
=no
21068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21069 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21070 if test "x$ac_cv_cpp_def___sun__" = xyes
21072 CFLAGS
="$CFLAGS -D__sun__"
21073 LINTFLAGS
="$LINTFLAGS -D__sun__"
21081 ac_config_commands
="$ac_config_commands include/stamp-h"
21083 printf %s
"creating Makefile rules..." >&6
21086 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21089 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21091 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21092 wine_fn_config_symlink wine
21093 if test "$wine_binary" = wine64
-o -n "$with_wine64"; then
21094 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21095 wine_fn_config_symlink wine64
21098 wine_fn_config_makefile dlls
/acledit enable_acledit
21099 wine_fn_config_makefile dlls
/aclui enable_aclui
21100 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21101 wine_fn_config_makefile dlls
/activeds enable_activeds
21102 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21103 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21104 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21105 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21106 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21107 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21108 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21109 wine_fn_config_makefile dlls
/advpack enable_advpack
21110 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21111 wine_fn_config_makefile dlls
/amsi enable_amsi
21112 wine_fn_config_makefile dlls
/amstream enable_amstream
21113 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21114 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21115 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21116 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21117 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21118 wine_fn_config_makefile dlls
/atl enable_atl
21119 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21120 wine_fn_config_makefile dlls
/atl100 enable_atl100
21121 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21122 wine_fn_config_makefile dlls
/atl110 enable_atl110
21123 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21124 wine_fn_config_makefile dlls
/atl80 enable_atl80
21125 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21126 wine_fn_config_makefile dlls
/atl90 enable_atl90
21127 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21128 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21129 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21130 wine_fn_config_makefile dlls
/authz enable_authz
21131 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21132 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21133 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21134 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21135 wine_fn_config_makefile dlls
/avrt enable_avrt
21136 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21137 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21138 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21139 wine_fn_config_makefile dlls
/browseui enable_browseui
21140 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21141 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21142 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21143 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21144 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21145 wine_fn_config_makefile dlls
/cards enable_cards
21146 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21147 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21148 wine_fn_config_makefile dlls
/cfgmgr32
/tests enable_tests
21149 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21150 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21151 wine_fn_config_makefile dlls
/combase enable_combase
21152 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21153 wine_fn_config_makefile dlls
/comcat enable_comcat
21154 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21155 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21156 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21157 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21158 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21159 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21160 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21161 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21162 wine_fn_config_makefile dlls
/compstui enable_compstui
21163 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21164 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21165 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21166 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21167 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21168 wine_fn_config_makefile dlls
/connect enable_connect
21169 wine_fn_config_makefile dlls
/credui enable_credui
21170 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21171 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21172 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21173 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21174 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21175 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21176 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21177 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21178 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21179 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21180 wine_fn_config_makefile dlls
/cryptowinrt
/tests enable_tests
21181 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21182 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21183 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21184 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21185 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21186 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21187 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21188 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21189 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21190 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21191 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21192 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21193 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21194 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21195 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21196 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21197 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21198 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21199 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21200 wine_fn_config_makefile dlls
/d3d12core enable_d3d12core
21201 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21202 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21203 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21204 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21205 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21206 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21207 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21208 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21209 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21210 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21211 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21212 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21213 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21214 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21215 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21216 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21217 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21218 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21219 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21220 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21221 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21222 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21223 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21224 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21225 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21226 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21227 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21228 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21229 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21230 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21231 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21232 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21233 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21234 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21235 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21236 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21237 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21238 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21239 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21240 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21241 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21242 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21243 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21244 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21245 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21246 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21247 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21248 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21249 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21250 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21251 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21252 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21253 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21254 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21255 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21256 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21257 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21258 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21259 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21260 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21261 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21262 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21263 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21264 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21265 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21266 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21267 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21268 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21269 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21270 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21271 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21272 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21273 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21274 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21275 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21276 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21277 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21278 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21279 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21280 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21281 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21282 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21283 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21284 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21285 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21286 wine_fn_config_makefile dlls
/devenum enable_devenum
21287 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21288 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21289 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21290 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21291 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21292 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21293 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21294 wine_fn_config_makefile dlls
/dinput enable_dinput
21295 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21296 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21297 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21298 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21299 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21300 wine_fn_config_makefile dlls
/dispex enable_dispex
21301 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21302 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21303 wine_fn_config_makefile dlls
/dmband enable_dmband
21304 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21305 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21306 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21307 wine_fn_config_makefile dlls
/dmime enable_dmime
21308 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21309 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21310 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21311 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21312 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21313 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21314 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21315 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21316 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21317 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21318 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21319 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21320 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21321 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21322 wine_fn_config_makefile dlls
/dplay enable_dplay
21323 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21324 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21325 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21326 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21327 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21328 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21329 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21330 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21331 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21332 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21333 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21334 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21335 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21336 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21337 wine_fn_config_makefile dlls
/dsound enable_dsound
21338 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21339 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21340 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21341 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21342 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21343 wine_fn_config_makefile dlls
/dswave enable_dswave
21344 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21345 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21346 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21347 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21348 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21349 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21350 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21351 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21352 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21353 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21354 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21355 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21356 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21357 wine_fn_config_makefile dlls
/esent enable_esent
21358 wine_fn_config_makefile dlls
/evr enable_evr
21359 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21360 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21361 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21362 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21363 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21364 wine_fn_config_makefile dlls
/feclient enable_feclient
21365 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21366 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21367 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21368 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21369 wine_fn_config_makefile dlls
/fusion enable_fusion
21370 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21371 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21372 wine_fn_config_makefile dlls
/gameux enable_gameux
21373 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21374 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21375 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21376 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21377 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21378 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21379 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21380 wine_fn_config_makefile dlls
/glu32 enable_glu32
21381 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21382 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21383 wine_fn_config_makefile dlls
/graphicscapture enable_graphicscapture
21384 wine_fn_config_makefile dlls
/graphicscapture
/tests enable_tests
21385 wine_fn_config_makefile dlls
/hal enable_hal
21386 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21387 wine_fn_config_makefile dlls
/hid enable_hid
21388 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21389 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21390 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21391 wine_fn_config_makefile dlls
/hlink enable_hlink
21392 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21393 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21394 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21395 wine_fn_config_makefile dlls
/hrtfapo enable_hrtfapo
21396 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21397 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21398 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21399 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21400 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21401 wine_fn_config_makefile dlls
/icmp enable_icmp
21402 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21403 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21404 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21405 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21406 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21407 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21408 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21409 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21410 wine_fn_config_makefile dlls
/imm32 enable_imm32
21411 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21412 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21413 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21414 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21415 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21416 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21417 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21418 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21419 wine_fn_config_makefile dlls
/initpki enable_initpki
21420 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21421 wine_fn_config_makefile dlls
/inseng enable_inseng
21422 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21423 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21424 wine_fn_config_makefile dlls
/iprop enable_iprop
21425 wine_fn_config_makefile dlls
/ir50_32 enable_ir50_32
21426 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21427 wine_fn_config_makefile dlls
/itircl enable_itircl
21428 wine_fn_config_makefile dlls
/itss enable_itss
21429 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21430 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21431 wine_fn_config_makefile dlls
/jscript enable_jscript
21432 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21433 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21434 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21435 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21436 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21437 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21438 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21439 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21440 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21441 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21442 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21443 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21444 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21445 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21446 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21447 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21448 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21449 wine_fn_config_makefile dlls
/localspl enable_localspl
21450 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21451 wine_fn_config_makefile dlls
/localui enable_localui
21452 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21453 wine_fn_config_makefile dlls
/lz32 enable_lz32
21454 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21455 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21456 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21457 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21458 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21459 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21460 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21461 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21462 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21463 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21464 wine_fn_config_makefile dlls
/mf enable_mf
21465 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21466 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21467 wine_fn_config_makefile dlls
/mferror enable_mferror
21468 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21469 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21470 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21471 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21472 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21473 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21474 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21475 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21476 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21477 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21478 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21479 wine_fn_config_makefile dlls
/midimap enable_midimap
21480 wine_fn_config_makefile dlls
/mlang enable_mlang
21481 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21482 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21483 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21484 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21485 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21486 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21487 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21488 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21489 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21490 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21491 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21492 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21493 wine_fn_config_makefile dlls
/mpr enable_mpr
21494 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21495 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21496 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21497 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21498 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21499 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21500 wine_fn_config_makefile dlls
/msado15 enable_msado15
21501 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21502 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21503 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21504 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21505 wine_fn_config_makefile dlls
/msauddecmft enable_msauddecmft
21506 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21507 wine_fn_config_makefile dlls
/mscms enable_mscms
21508 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21509 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21510 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21511 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21512 wine_fn_config_makefile dlls
/msctf enable_msctf
21513 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21514 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21515 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21516 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21517 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21518 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21519 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21520 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21521 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21522 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21523 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21524 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21525 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21526 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21527 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21528 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21529 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21530 wine_fn_config_makefile dlls
/msi enable_msi
21531 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21532 wine_fn_config_makefile dlls
/msident enable_msident
21533 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21534 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21535 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21536 wine_fn_config_makefile dlls
/msisip enable_msisip
21537 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21538 wine_fn_config_makefile dlls
/msls31 enable_msls31
21539 wine_fn_config_makefile dlls
/msmpeg2vdec enable_msmpeg2vdec
21540 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21541 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21542 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21543 wine_fn_config_makefile dlls
/msports enable_msports
21544 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21545 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21546 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21547 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21548 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21549 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21550 wine_fn_config_makefile dlls
/mstask enable_mstask
21551 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21552 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21553 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21554 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21555 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21556 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21557 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21558 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21559 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21560 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21561 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21562 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21563 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21564 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21565 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21566 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21567 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21568 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21569 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21570 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21571 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21572 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21573 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21574 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21575 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21576 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21577 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21578 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21579 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21580 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21581 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21582 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21583 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21584 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21585 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21586 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21587 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21588 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21589 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21590 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21591 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21592 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21593 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21594 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21595 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21596 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21597 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21598 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21599 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21600 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21601 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21602 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21603 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21604 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21605 wine_fn_config_makefile dlls
/msxml enable_msxml
21606 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21607 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21608 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21609 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21610 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21611 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21612 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21613 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21614 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21615 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21616 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21617 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21618 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21619 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21620 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21621 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21622 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21623 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21624 wine_fn_config_makefile dlls
/netutils enable_netutils
21625 wine_fn_config_makefile dlls
/newdev enable_newdev
21626 wine_fn_config_makefile dlls
/ninput enable_ninput
21627 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21628 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21629 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21630 wine_fn_config_makefile dlls
/npptools enable_npptools
21631 wine_fn_config_makefile dlls
/nsi enable_nsi
21632 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21633 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21634 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21635 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21636 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21637 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21638 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21639 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21640 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21641 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21642 wine_fn_config_makefile dlls
/objsel enable_objsel
21643 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21644 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21645 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21646 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21647 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21648 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21649 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21650 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21651 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21652 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21653 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21654 wine_fn_config_makefile dlls
/ole32 enable_ole32
21655 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21656 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21657 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21658 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21659 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21660 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21661 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21662 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21663 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21664 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21665 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21666 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21667 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21668 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21669 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21670 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21671 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21672 wine_fn_config_makefile dlls
/opencl enable_opencl
21673 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21674 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21675 wine_fn_config_makefile dlls
/packager enable_packager
21676 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21677 wine_fn_config_makefile dlls
/pdh enable_pdh
21678 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21679 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21680 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21681 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21682 wine_fn_config_makefile dlls
/printui enable_printui
21683 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21684 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21685 wine_fn_config_makefile dlls
/propsys enable_propsys
21686 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21687 wine_fn_config_makefile dlls
/psapi enable_psapi
21688 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21689 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21690 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21691 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21692 wine_fn_config_makefile dlls
/qasf enable_qasf
21693 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21694 wine_fn_config_makefile dlls
/qcap enable_qcap
21695 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21696 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21697 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21698 wine_fn_config_makefile dlls
/qedit enable_qedit
21699 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21700 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21701 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21702 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21703 wine_fn_config_makefile dlls
/quartz enable_quartz
21704 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21705 wine_fn_config_makefile dlls
/query enable_query
21706 wine_fn_config_makefile dlls
/qwave enable_qwave
21707 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21708 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21709 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21710 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21711 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21712 wine_fn_config_makefile dlls
/regapi enable_regapi
21713 wine_fn_config_makefile dlls
/resutils enable_resutils
21714 wine_fn_config_makefile dlls
/riched20 enable_riched20
21715 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21716 wine_fn_config_makefile dlls
/riched32 enable_riched32
21717 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21718 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21719 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21720 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21721 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21722 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21723 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21724 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21725 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21726 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21727 wine_fn_config_makefile dlls
/samlib enable_samlib
21728 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21729 wine_fn_config_makefile dlls
/sapi enable_sapi
21730 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21731 wine_fn_config_makefile dlls
/sas enable_sas
21732 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21733 wine_fn_config_makefile dlls
/scardsvr enable_scardsvr
21734 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21735 wine_fn_config_makefile dlls
/schannel enable_schannel
21736 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21737 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21738 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21739 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21740 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21741 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21742 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21743 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21744 wine_fn_config_makefile dlls
/sechost enable_sechost
21745 wine_fn_config_makefile dlls
/secur32 enable_secur32
21746 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21747 wine_fn_config_makefile dlls
/security enable_security
21748 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21749 wine_fn_config_makefile dlls
/serialui enable_serialui
21750 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21751 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21752 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21753 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21754 wine_fn_config_makefile dlls
/sfc enable_sfc
21755 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21756 wine_fn_config_makefile dlls
/shcore enable_shcore
21757 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21758 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21759 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21760 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21761 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21762 wine_fn_config_makefile dlls
/shell32 enable_shell32
21763 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21764 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21765 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21766 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21767 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21768 wine_fn_config_makefile dlls
/slc enable_slc
21769 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21770 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21771 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21772 wine_fn_config_makefile dlls
/softpub enable_softpub
21773 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21774 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21775 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21776 wine_fn_config_makefile dlls
/sppc enable_sppc
21777 wine_fn_config_makefile dlls
/srclient enable_srclient
21778 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21779 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21780 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21781 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21782 wine_fn_config_makefile dlls
/sti enable_sti
21783 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21784 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21785 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21786 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21787 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21788 wine_fn_config_makefile dlls
/sxs enable_sxs
21789 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21790 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21791 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21792 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21793 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21794 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21795 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21796 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21797 wine_fn_config_makefile dlls
/tbs enable_tbs
21798 wine_fn_config_makefile dlls
/tdh enable_tdh
21799 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21800 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21801 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21802 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21803 wine_fn_config_makefile dlls
/traffic enable_traffic
21804 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21805 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21806 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21807 wine_fn_config_makefile dlls
/twinapi.appcore enable_twinapi_appcore
21808 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21809 wine_fn_config_makefile dlls
/tzres enable_tzres
21810 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21811 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21812 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21813 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21814 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21815 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21816 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21817 wine_fn_config_makefile dlls
/unicows enable_unicows
21818 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21819 wine_fn_config_makefile dlls
/url enable_url
21820 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21821 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21822 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21823 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21824 wine_fn_config_makefile dlls
/user32 enable_user32
21825 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21826 wine_fn_config_makefile dlls
/userenv enable_userenv
21827 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21828 wine_fn_config_makefile dlls
/usp10 enable_usp10
21829 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21830 wine_fn_config_makefile dlls
/utildll enable_utildll
21831 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21832 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21833 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21834 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21835 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21836 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21837 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21838 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21839 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21840 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21841 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21842 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21843 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21844 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21845 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21846 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21847 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21848 wine_fn_config_makefile dlls
/version enable_version
21849 wine_fn_config_makefile dlls
/version
/tests enable_tests
21850 wine_fn_config_makefile dlls
/vga enable_vga
21851 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21852 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21853 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21854 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21855 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21856 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21857 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21858 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21859 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21860 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21861 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21862 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21863 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21864 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21865 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21866 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21867 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21868 wine_fn_config_makefile dlls
/webservices enable_webservices
21869 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21870 wine_fn_config_makefile dlls
/websocket enable_websocket
21871 wine_fn_config_makefile dlls
/wer enable_wer
21872 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21873 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21874 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21875 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21876 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21877 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21878 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21879 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21880 wine_fn_config_makefile dlls
/win32u enable_win32u
21881 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21882 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21883 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21884 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21885 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21886 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21887 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21888 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21889 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21890 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21891 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21892 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21893 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21894 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21895 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21896 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21897 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21898 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21899 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21900 wine_fn_config_makefile dlls
/windows.perception.stub enable_windows_perception_stub
21901 wine_fn_config_makefile dlls
/windows.perception.stub
/tests enable_tests
21902 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21903 wine_fn_config_makefile dlls
/windows.system.profile.systemmanufacturers
/tests enable_tests
21904 wine_fn_config_makefile dlls
/windows.ui enable_windows_ui
21905 wine_fn_config_makefile dlls
/windows.ui
/tests enable_tests
21906 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21907 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21908 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21909 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21910 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21911 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21912 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21913 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21914 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21915 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21916 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21917 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21918 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21919 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21920 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21921 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21922 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21923 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21924 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21925 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21926 wine_fn_config_makefile dlls
/winewayland.drv enable_winewayland_drv
21927 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21928 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21929 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21930 wine_fn_config_makefile dlls
/wing32 enable_wing32
21931 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21932 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21933 wine_fn_config_makefile dlls
/wininet enable_wininet
21934 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21935 wine_fn_config_makefile dlls
/winmm enable_winmm
21936 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21937 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21938 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21939 wine_fn_config_makefile dlls
/winprint enable_winprint
21940 wine_fn_config_makefile dlls
/winscard enable_winscard
21941 wine_fn_config_makefile dlls
/winscard
/tests enable_tests
21942 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21943 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21944 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21945 wine_fn_config_makefile dlls
/winsta enable_winsta
21946 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21947 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21948 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21949 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21950 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21951 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21952 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21953 wine_fn_config_makefile dlls
/winusb enable_winusb
21954 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21955 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21956 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21957 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21958 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21959 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21960 wine_fn_config_makefile dlls
/wmi enable_wmi
21961 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21962 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21963 wine_fn_config_makefile dlls
/wmp enable_wmp
21964 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21965 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21966 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21967 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21968 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21969 wine_fn_config_makefile dlls
/wofutil enable_wofutil
21970 wine_fn_config_makefile dlls
/wow32 enable_win16
21971 wine_fn_config_makefile dlls
/wow64 enable_wow64
21972 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21973 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21974 wine_fn_config_makefile dlls
/wpc enable_wpc
21975 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21976 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21977 wine_fn_config_makefile dlls
/wpcap
/tests enable_tests
21978 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21979 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21980 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21981 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21982 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21983 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21984 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21985 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21986 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21987 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21988 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21989 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21990 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21991 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21992 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21993 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21994 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21995 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21996 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21997 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21998 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21999 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22000 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22001 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22002 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22003 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22004 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22005 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22006 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22007 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22008 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22009 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22010 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22011 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22012 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22013 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22014 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22015 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22016 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22017 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22018 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22019 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22020 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22021 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22022 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22023 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22024 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22025 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22026 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22027 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22028 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22029 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22030 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22031 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22032 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22033 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22034 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
22035 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22036 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22037 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22038 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22039 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22040 wine_fn_config_makefile fonts enable_fonts
22041 wine_fn_config_makefile include enable_include
22042 wine_fn_config_makefile libs
/adsiid enable_adsiid
22043 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22044 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22045 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22046 wine_fn_config_makefile libs
/dxguid enable_dxguid
22047 wine_fn_config_makefile libs
/faudio enable_faudio
22048 wine_fn_config_makefile libs
/gsm enable_gsm
22049 wine_fn_config_makefile libs
/jpeg enable_jpeg
22050 wine_fn_config_makefile libs
/jxr enable_jxr
22051 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22052 wine_fn_config_makefile libs
/ldap enable_ldap
22053 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22054 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22055 wine_fn_config_makefile libs
/musl enable_musl
22056 wine_fn_config_makefile libs
/png enable_png
22057 wine_fn_config_makefile libs
/strmbase enable_strmbase
22058 wine_fn_config_makefile libs
/strmiids enable_strmiids
22059 wine_fn_config_makefile libs
/tiff enable_tiff
22060 wine_fn_config_makefile libs
/uuid enable_uuid
22061 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22062 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22063 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22064 wine_fn_config_makefile libs
/xml2 enable_xml2
22065 wine_fn_config_makefile libs
/xslt enable_xslt
22066 wine_fn_config_makefile libs
/zlib enable_zlib
22067 wine_fn_config_makefile libs
/zydis enable_zydis
22068 wine_fn_config_makefile loader enable_loader
22069 wine_fn_config_makefile nls enable_nls
22070 wine_fn_config_makefile po enable_po
22071 wine_fn_config_makefile programs
/arp enable_arp
22072 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22073 wine_fn_config_makefile programs
/attrib enable_attrib
22074 wine_fn_config_makefile programs
/cabarc enable_cabarc
22075 wine_fn_config_makefile programs
/cacls enable_cacls
22076 wine_fn_config_makefile programs
/certutil enable_certutil
22077 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22078 wine_fn_config_makefile programs
/clock enable_clock
22079 wine_fn_config_makefile programs
/cmd enable_cmd
22080 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22081 wine_fn_config_makefile programs
/conhost enable_conhost
22082 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22083 wine_fn_config_makefile programs
/control enable_control
22084 wine_fn_config_makefile programs
/cscript enable_cscript
22085 wine_fn_config_makefile programs
/dism enable_dism
22086 wine_fn_config_makefile programs
/dllhost enable_dllhost
22087 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22088 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22089 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22090 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22091 wine_fn_config_makefile programs
/eject enable_eject
22092 wine_fn_config_makefile programs
/expand enable_expand
22093 wine_fn_config_makefile programs
/explorer enable_explorer
22094 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22095 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22096 wine_fn_config_makefile programs
/fc enable_fc
22097 wine_fn_config_makefile programs
/find enable_find
22098 wine_fn_config_makefile programs
/find
/tests enable_tests
22099 wine_fn_config_makefile programs
/findstr enable_findstr
22100 wine_fn_config_makefile programs
/findstr
/tests enable_tests
22101 wine_fn_config_makefile programs
/fsutil enable_fsutil
22102 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22103 wine_fn_config_makefile programs
/hh enable_hh
22104 wine_fn_config_makefile programs
/hostname enable_hostname
22105 wine_fn_config_makefile programs
/icacls enable_icacls
22106 wine_fn_config_makefile programs
/icinfo enable_icinfo
22107 wine_fn_config_makefile programs
/iexplore enable_iexplore
22108 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22109 wine_fn_config_makefile programs
/lodctr enable_lodctr
22110 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22111 wine_fn_config_makefile programs
/mshta enable_mshta
22112 wine_fn_config_makefile programs
/msidb enable_msidb
22113 wine_fn_config_makefile programs
/msiexec enable_msiexec
22114 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22115 wine_fn_config_makefile programs
/net enable_net
22116 wine_fn_config_makefile programs
/netsh enable_netsh
22117 wine_fn_config_makefile programs
/netstat enable_netstat
22118 wine_fn_config_makefile programs
/ngen enable_ngen
22119 wine_fn_config_makefile programs
/notepad enable_notepad
22120 wine_fn_config_makefile programs
/oleview enable_oleview
22121 wine_fn_config_makefile programs
/ping enable_ping
22122 wine_fn_config_makefile programs
/plugplay enable_plugplay
22123 wine_fn_config_makefile programs
/powershell enable_powershell
22124 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22125 wine_fn_config_makefile programs
/progman enable_progman
22126 wine_fn_config_makefile programs
/reg enable_reg
22127 wine_fn_config_makefile programs
/reg
/tests enable_tests
22128 wine_fn_config_makefile programs
/regasm enable_regasm
22129 wine_fn_config_makefile programs
/regedit enable_regedit
22130 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22131 wine_fn_config_makefile programs
/regini enable_regini
22132 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22133 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22134 wine_fn_config_makefile programs
/robocopy enable_robocopy
22135 wine_fn_config_makefile programs
/rpcss enable_rpcss
22136 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22137 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22138 wine_fn_config_makefile programs
/sc enable_sc
22139 wine_fn_config_makefile programs
/sc
/tests enable_tests
22140 wine_fn_config_makefile programs
/schtasks enable_schtasks
22141 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22142 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22143 wine_fn_config_makefile programs
/secedit enable_secedit
22144 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22145 wine_fn_config_makefile programs
/services enable_services
22146 wine_fn_config_makefile programs
/services
/tests enable_tests
22147 wine_fn_config_makefile programs
/setx enable_setx
22148 wine_fn_config_makefile programs
/shutdown enable_shutdown
22149 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22150 wine_fn_config_makefile programs
/start enable_start
22151 wine_fn_config_makefile programs
/subst enable_subst
22152 wine_fn_config_makefile programs
/svchost enable_svchost
22153 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22154 wine_fn_config_makefile programs
/taskkill enable_taskkill
22155 wine_fn_config_makefile programs
/tasklist enable_tasklist
22156 wine_fn_config_makefile programs
/tasklist
/tests enable_tests
22157 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22158 wine_fn_config_makefile programs
/termsv enable_termsv
22159 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22160 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22161 wine_fn_config_makefile programs
/view enable_view
22162 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22163 wine_fn_config_makefile programs
/where enable_where
22164 wine_fn_config_makefile programs
/whoami enable_whoami
22165 wine_fn_config_makefile programs
/wineboot enable_wineboot
22166 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22167 wine_fn_config_makefile programs
/winecfg enable_winecfg
22168 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22169 wine_fn_config_makefile programs
/winedbg enable_winedbg
22170 wine_fn_config_makefile programs
/winedevice enable_winedevice
22171 wine_fn_config_makefile programs
/winefile enable_winefile
22172 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22173 wine_fn_config_makefile programs
/winemine enable_winemine
22174 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22175 wine_fn_config_makefile programs
/winepath enable_winepath
22176 wine_fn_config_makefile programs
/winetest enable_winetest
22177 wine_fn_config_makefile programs
/winevdm enable_win16
22178 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22179 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22180 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22181 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22182 wine_fn_config_makefile programs
/winver enable_winver
22183 wine_fn_config_makefile programs
/wmic enable_wmic
22184 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22185 wine_fn_config_makefile programs
/wordpad enable_wordpad
22186 wine_fn_config_makefile programs
/write enable_write
22187 wine_fn_config_makefile programs
/wscript enable_wscript
22188 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22189 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22190 wine_fn_config_makefile programs
/wusa enable_wusa
22191 wine_fn_config_makefile programs
/xcopy enable_xcopy
22192 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22193 wine_fn_config_makefile server enable_server
22194 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22195 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22196 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22197 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22198 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22199 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22200 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22201 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22202 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22205 as_fn_append CONFIGURE_TARGETS
" TAGS"
22206 as_fn_append CONFIGURE_TARGETS
" tags"
22207 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22208 as_fn_append CONFIGURE_TARGETS
" config.log"
22209 as_fn_append CONFIGURE_TARGETS
" config.status"
22210 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22211 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22212 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22214 if test "x$enable_tools" != xno
22216 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22217 ac_config_commands
="$ac_config_commands tools/makedep"
22221 ac_config_commands
="$ac_config_commands Makefile"
22228 as_fn_append wine_rules
"
22230 @echo \"Wine build complete.\"
22234 Makefile: config.status \$(MAKEDEP)
22235 @./config.status Makefile
22236 depend: \$(MAKEDEP)
22237 \$(MAKEDEP)$makedep_flags"
22240 as_fn_append wine_rules
"
22241 config.status: ${wine_srcdir}configure
22242 @./config.status --recheck
22243 include/config.h: include/stamp-h
22244 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22245 @./config.status include/config.h include/stamp-h"
22247 if test "x$enable_maintainer_mode" = xyes
22249 as_fn_append wine_rules
"
22250 configure: configure.ac aclocal.m4
22251 autoconf --warnings=all
22252 include/config.h.in: include/stamp-h.in
22253 include/stamp-h.in: configure.ac aclocal.m4
22254 autoheader --warnings=all
22255 @echo timestamp > \$@"
22258 if test "x$enable_tools" != xno
22260 as_fn_append wine_rules
"
22261 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22262 @./config.status tools/makedep
22263 Makefile: tools/makedep$ac_exeext"
22265 as_fn_append wine_rules
"
22267 @echo \"You need to run make in $toolsdir first\" && false"
22271 if test -n "$with_wine64"
22273 case "$with_wine64" in
22277 rm -f fonts server
2>/dev
/null
22278 as_fn_append wine_rules
"
22279 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22280 loader/wine64 loader/wine64-preloader:
22281 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22282 $with_wine64/loader/wine:
22283 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22284 $with_wine64/loader/wine-preloader:
22285 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22287 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22289 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22290 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22294 programs/msidb/msidb \
22295 programs/msiexec/msiexec \
22296 programs/notepad/notepad \
22297 programs/regedit/regedit \
22298 programs/regsvr32/regsvr32 \
22299 programs/wineboot/wineboot \
22300 programs/winecfg/winecfg \
22301 programs/wineconsole/wineconsole \
22302 programs/winedbg/winedbg \
22303 programs/winefile/winefile \
22304 programs/winemine/winemine \
22305 programs/winepath/winepath \
22309 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22310 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22315 as_fn_append wine_rules
"
22317 rm -rf autom4te.cache
22319 rm -f configure include/config.h.in"
22322 as_fn_append wine_rules
"
22323 dlls/ntdll/unix/version.c: dummy
22324 @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)
22325 programs/winetest/build.rc: dummy
22326 @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)
22327 programs/winetest/build.nfo:
22329 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
22330 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22331 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22334 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22336 as_fn_append wine_rules
"
22339 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22342 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22344 .PHONY: depend dummy install-manpages"
22346 printf "%s\n" " done" >&6
22347 cat >confcache
<<\_ACEOF
22348 # This file is a shell script that caches the results of configure
22349 # tests run on this system so they can be shared between configure
22350 # scripts and configure runs, see configure's option --config-cache.
22351 # It is not useful on other systems. If it contains results you don't
22352 # want to keep, you may remove or edit it.
22354 # config.status only pays attention to the cache file if you give it
22355 # the --recheck option to rerun configure.
22357 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22358 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22359 # following values.
22363 # The following way of writing the cache mishandles newlines in values,
22364 # but we know of no workaround that is simple, portable, and efficient.
22365 # So, we kill variables containing newlines.
22366 # Ultrix sh set writes to stderr and can't be redirected directly,
22367 # and sets the high bit in the cache file unless we assign to the vars.
22369 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22370 eval ac_val
=\$
$ac_var
22374 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22375 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22378 _ | IFS | as_nl
) ;; #(
22379 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22380 *) { eval $ac_var=; unset $ac_var;} ;;
22386 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22387 *${as_nl}ac_space
=\
*)
22388 # `set' does not quote correctly, so add quotes: double-quote
22389 # substitution turns \\\\ into \\, and sed turns \\ into \.
22392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22395 # `set' quotes correctly as required by POSIX, so do not add quotes.
22396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22405 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22407 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22409 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22410 if test -w "$cache_file"; then
22411 if test "x$cache_file" != "x/dev/null"; then
22412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22413 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22414 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22415 cat confcache
>"$cache_file"
22417 case $cache_file in #(
22419 mv -f confcache
"$cache_file"$$
&&
22420 mv -f "$cache_file"$$
"$cache_file" ;; #(
22422 mv -f confcache
"$cache_file" ;;
22427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22428 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22433 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22434 # Let make expand exec_prefix.
22435 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22437 DEFS
=-DHAVE_CONFIG_H
22442 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22443 # 1. Remove the extension, and $U if already installed.
22444 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22445 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22446 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22447 # will be set to the directory where LIBOBJS objects are built.
22448 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22449 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22451 LIBOBJS
=$ac_libobjs
22453 LTLIBOBJS
=$ac_ltlibobjs
22457 : "${CONFIG_STATUS=./config.status}"
22459 ac_clean_files_save
=$ac_clean_files
22460 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22462 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22466 # Generated by $as_me.
22467 # Run this file to recreate the current configuration.
22468 # Compiler output produced by configure, useful for debugging
22469 # configure, is in config.log if it exists.
22472 ac_cs_recheck=false
22475 SHELL=\${CONFIG_SHELL-$SHELL}
22478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22479 ## -------------------- ##
22480 ## M4sh Initialization. ##
22481 ## -------------------- ##
22483 # Be more Bourne compatible
22484 DUALCASE
=1; export DUALCASE
# for MKS sh
22486 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22490 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22491 # is contrary to our usage. Disable this feature.
22492 alias -g '${1+"$@"}'='"$@"'
22493 setopt NO_GLOB_SUBST
22495 case `(set -o) 2>/dev/null` in #(
22505 # Reset variables that may have inherited troublesome values from
22508 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22509 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22510 # side effect of setting IFS to empty, thus disabling word splitting.)
22511 # Quoting is to prevent editors from complaining about space-tab.
22521 # Ensure predictable behavior from utilities with locale-dependent output.
22527 # We cannot yet rely on "unset" to work, but we need these variables
22528 # to be unset--not just set to an empty or harmless value--now, to
22529 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22530 # also avoids known problems related to "unset" and subshell syntax
22531 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22532 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22533 do eval test \
${$as_var+y} \
22534 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22537 # Ensure that fds 0, 1, and 2 are open.
22538 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22539 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22540 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22542 # The user is always right.
22543 if ${PATH_SEPARATOR+false} :; then
22545 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22546 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22552 # Find who we are. Look in the path if we contain no directory separator.
22555 *[\\/]* ) as_myself
=$0 ;;
22556 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22557 for as_dir
in $PATH
22560 case $as_dir in #(((
22563 *) as_dir
=$as_dir/ ;;
22565 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22571 # We did not find ourselves, most probably we were run as `sh COMMAND'
22572 # in which case we are not to be found in the path.
22573 if test "x$as_myself" = x
; then
22576 if test ! -f "$as_myself"; then
22577 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22583 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22584 # ----------------------------------------
22585 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22586 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22587 # script with STATUS, using 1 if that was 0.
22590 as_status
=$1; test $as_status -eq 0 && as_status
=1
22592 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22595 printf "%s\n" "$as_me: error: $2" >&2
22596 as_fn_exit
$as_status
22601 # as_fn_set_status STATUS
22602 # -----------------------
22603 # Set $? to STATUS, without forking.
22604 as_fn_set_status
()
22607 } # as_fn_set_status
22609 # as_fn_exit STATUS
22610 # -----------------
22611 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22615 as_fn_set_status
$1
22621 # Portably unset VAR.
22624 { eval $1=; unset $1;}
22626 as_unset
=as_fn_unset
22628 # as_fn_append VAR VALUE
22629 # ----------------------
22630 # Append the text in VALUE to the end of the definition contained in VAR. Take
22631 # advantage of any shell optimizations that allow amortized linear growth over
22632 # repeated appends, instead of the typical quadratic growth present in naive
22634 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22636 eval 'as_fn_append ()
22647 # as_fn_arith ARG...
22648 # ------------------
22649 # Perform arithmetic evaluation on the ARGs, and store the result in the
22650 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22651 # must be portable across $(()) and expr.
22652 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22654 eval 'as_fn_arith ()
22661 as_val
=`expr "$@" || test $? -eq 1`
22666 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22667 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22673 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22674 as_basename
=basename
22679 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22685 as_me
=`$as_basename -- "$0" ||
22686 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22687 X"$0" : 'X\(//\)$' \| \
22688 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22689 printf "%s\n" X/"$0" |
22690 sed '/^.*\/\([^/][^/]*\)\/*$/{
22704 # Avoid depending upon Character Ranges.
22705 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22706 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22707 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22708 as_cr_digits
='0123456789'
22709 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22712 # Determine whether it's possible to make 'echo' print without a newline.
22713 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22714 # for compatibility with existing Makefiles.
22715 ECHO_C
= ECHO_N
= ECHO_T
=
22716 case `echo -n x` in #(((((
22718 case `echo 'xy\c'` in
22719 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22721 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22728 # For backward compatibility with old third-party macros, we provide
22729 # the shell variables $as_echo and $as_echo_n. New code should use
22730 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22731 as_echo
='printf %s\n'
22732 as_echo_n
='printf %s'
22734 rm -f conf$$ conf$$.exe conf$$.
file
22735 if test -d conf$$.dir
; then
22736 rm -f conf$$.dir
/conf$$.
file
22739 mkdir conf$$.dir
2>/dev
/null
22741 if (echo >conf$$.
file) 2>/dev
/null
; then
22742 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22744 # ... but there are two gotchas:
22745 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22746 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22747 # In both cases, we have to default to `cp -pR'.
22748 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22750 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22758 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22759 rmdir conf$$.dir
2>/dev
/null
22764 # Create "$as_dir" as a directory, including parents if necessary.
22769 -*) as_dir
=.
/$as_dir;;
22771 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22775 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22776 *) as_qdir
=$as_dir;;
22778 as_dirs
="'$as_qdir' $as_dirs"
22779 as_dir
=`$as_dirname -- "$as_dir" ||
22780 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22781 X"$as_dir" : 'X\(//\)[^/]' \| \
22782 X"$as_dir" : 'X\(//\)$' \| \
22783 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22784 printf "%s\n" X"$as_dir" |
22785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22789 /^X\(\/\/\)[^/].*/{
22802 test -d "$as_dir" && break
22804 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22805 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22809 if mkdir
-p .
2>/dev
/null
; then
22810 as_mkdir_p
='mkdir -p "$as_dir"'
22812 test -d .
/-p && rmdir .
/-p
22817 # as_fn_executable_p FILE
22818 # -----------------------
22819 # Test if FILE is an executable regular file.
22820 as_fn_executable_p
()
22822 test -f "$1" && test -x "$1"
22823 } # as_fn_executable_p
22824 as_test_x
='test -x'
22825 as_executable_p
=as_fn_executable_p
22827 # Sed expression to map a string onto a valid CPP name.
22828 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22830 # Sed expression to map a string onto a valid variable name.
22831 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22835 ## ----------------------------------- ##
22836 ## Main body of $CONFIG_STATUS script. ##
22837 ## ----------------------------------- ##
22839 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22842 # Save the log message, to keep $0 and so on meaningful, and to
22843 # report actual input values of CONFIG_FILES etc. instead of their
22844 # values after options handling.
22846 This file was extended by Wine $as_me 8.8, which was
22847 generated by GNU Autoconf 2.71. Invocation command line was
22849 CONFIG_FILES = $CONFIG_FILES
22850 CONFIG_HEADERS = $CONFIG_HEADERS
22851 CONFIG_LINKS = $CONFIG_LINKS
22852 CONFIG_COMMANDS = $CONFIG_COMMANDS
22855 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22861 case $ac_config_headers in *"
22862 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22867 # Files that config.status was made for.
22868 config_headers="$ac_config_headers"
22869 config_links="$ac_config_links"
22870 config_commands="$ac_config_commands"
22874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22876 \`$as_me' instantiates files and other configuration actions
22877 from templates according to the current configuration. Unless the files
22878 and actions are specified as TAGs, all are instantiated by default.
22880 Usage: $0 [OPTION]... [TAG]...
22882 -h, --help print this help, then exit
22883 -V, --version print version number and configuration settings, then exit
22884 --config print configuration, then exit
22885 -q, --quiet, --silent
22886 do not print progress messages
22887 -d, --debug don't remove temporary files
22888 --recheck update $as_me by reconfiguring in the same conditions
22889 --header=FILE[:TEMPLATE]
22890 instantiate the configuration header FILE
22892 Configuration headers:
22895 Configuration links:
22898 Configuration commands:
22901 Report bugs to <wine-devel@winehq.org>.
22902 Wine home page: <https://www.winehq.org>."
22905 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22906 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22908 ac_cs_config='$ac_cs_config_escaped'
22910 Wine config.status 8.8
22911 configured by $0, generated by GNU Autoconf 2.71,
22912 with options \\"\$ac_cs_config\\"
22914 Copyright (C) 2021 Free Software Foundation, Inc.
22915 This config.status script is free software; the Free Software Foundation
22916 gives unlimited permission to copy, distribute and modify it."
22920 test -n "\$AWK" || AWK=awk
22923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22924 # The default lists apply if the user does not specify any file.
22930 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22931 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22935 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22947 # Handling of the options.
22948 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22950 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22951 printf "%s\n" "$ac_cs_version"; exit ;;
22952 --config |
--confi |
--conf |
--con |
--co |
--c )
22953 printf "%s\n" "$ac_cs_config"; exit ;;
22954 --debug |
--debu |
--deb |
--de |
--d |
-d )
22956 --header |
--heade |
--head |
--hea )
22959 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22961 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22962 ac_need_defaults
=false
;;
22964 # Conflict between --help and --header
22965 as_fn_error $?
"ambiguous option: \`$1'
22966 Try \`$0 --help' for more information.";;
22967 --help |
--hel |
-h )
22968 printf "%s\n" "$ac_cs_usage"; exit ;;
22969 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22970 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22973 # This is an error.
22974 -*) as_fn_error $?
"unrecognized option: \`$1'
22975 Try \`$0 --help' for more information." ;;
22977 *) as_fn_append ac_config_targets
" $1"
22978 ac_need_defaults
=false
;;
22984 ac_configure_extra_args
=
22986 if $ac_cs_silent; then
22988 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22993 if \$ac_cs_recheck; then
22994 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22996 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22997 CONFIG_SHELL='$SHELL'
22998 export CONFIG_SHELL
23003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23007 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23008 ## Running $as_me. ##
23010 printf "%s\n" "$ac_log"
23014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23018 wine_fn_output_makedep ()
23020 as_dir=tools; as_fn_mkdir_p
23021 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23023 wine_fn_output_makefile ()
23025 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23026 # This Makefile understands the following targets:
23028 # all (default): build wine
23029 # clean: remove all intermediate files
23030 # distclean: also remove all files created by configure
23032 # testclean: clean test results to force running all tests again
23033 # install-lib: install libraries needed to run applications
23034 # install-dev: install development environment
23035 # install: install everything
23036 # uninstall: uninstall everything
23037 # ctags: create a tags file for vim and others.
23038 # etags: create a TAGS file for Emacs.
23041 PATH_SEPARATOR = $PATH_SEPARATOR
23042 PACKAGE_NAME = $PACKAGE_NAME
23043 PACKAGE_TARNAME = $PACKAGE_TARNAME
23044 PACKAGE_VERSION = $PACKAGE_VERSION
23045 PACKAGE_STRING = $PACKAGE_STRING
23046 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23047 PACKAGE_URL = $PACKAGE_URL
23048 exec_prefix = $exec_prefix
23050 program_transform_name = $program_transform_name
23053 libexecdir = $libexecdir
23054 datarootdir = $datarootdir
23056 sysconfdir = $sysconfdir
23057 sharedstatedir = $sharedstatedir
23058 localstatedir = $localstatedir
23059 runstatedir = $runstatedir
23060 includedir = $includedir
23061 oldincludedir = $oldincludedir
23069 localedir = $localedir
23076 build_alias = $build_alias
23077 host_alias = $host_alias
23078 target_alias = $target_alias
23079 system_dllpath = $system_dllpath
23081 build_cpu = $build_cpu
23082 build_vendor = $build_vendor
23083 build_os = $build_os
23085 host_cpu = $host_cpu
23086 host_vendor = $host_vendor
23092 SET_MAKE = $SET_MAKE
23096 CPPFLAGS = $CPPFLAGS
23097 ac_ct_CC = $ac_ct_CC
23101 CXXFLAGS = $CXXFLAGS
23102 ac_ct_CXX = $ac_ct_CXX
23105 TARGETFLAGS = $TARGETFLAGS
23106 toolsext = $toolsext
23107 HOST_ARCH = $HOST_ARCH
23108 aarch64_CC = $aarch64_CC
23109 aarch64_CFLAGS = $aarch64_CFLAGS
23110 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23111 aarch64_LDFLAGS = $aarch64_LDFLAGS
23112 aarch64_DEBUG = $aarch64_DEBUG
23113 aarch64_TARGET = $aarch64_TARGET
23114 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23115 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23117 arm_CFLAGS = $arm_CFLAGS
23118 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23119 arm_LDFLAGS = $arm_LDFLAGS
23120 arm_DEBUG = $arm_DEBUG
23121 arm_TARGET = $arm_TARGET
23122 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23123 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23125 i386_CFLAGS = $i386_CFLAGS
23126 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23127 i386_LDFLAGS = $i386_LDFLAGS
23128 i386_DEBUG = $i386_DEBUG
23129 i386_TARGET = $i386_TARGET
23130 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23131 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23132 x86_64_CC = $x86_64_CC
23133 x86_64_CFLAGS = $x86_64_CFLAGS
23134 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23135 x86_64_LDFLAGS = $x86_64_LDFLAGS
23136 x86_64_DEBUG = $x86_64_DEBUG
23137 x86_64_TARGET = $x86_64_TARGET
23138 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23139 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23140 toolsdir = $toolsdir
23142 RUNTESTFLAGS = $RUNTESTFLAGS
23147 ac_ct_AR = $ac_ct_AR
23153 LDCONFIG = $LDCONFIG
23155 PKG_CONFIG = $PKG_CONFIG
23156 FONTFORGE = $FONTFORGE
23160 I386_LIBS = $I386_LIBS
23161 OPENGL_LIBS = $OPENGL_LIBS
23162 DLLFLAGS = $DLLFLAGS
23163 LDDLLFLAGS = $LDDLLFLAGS
23164 LDEXECFLAGS = $LDEXECFLAGS
23165 EXTRACFLAGS = $EXTRACFLAGS
23166 UNIXDLLFLAGS = $UNIXDLLFLAGS
23167 UNIXLDFLAGS = $UNIXLDFLAGS
23168 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23169 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23170 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23171 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23176 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23177 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23178 CARBON_LIBS = $CARBON_LIBS
23179 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23180 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23181 IOKIT_LIBS = $IOKIT_LIBS
23182 METAL_LIBS = $METAL_LIBS
23183 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23184 CORESERVICES_LIBS = $CORESERVICES_LIBS
23185 APPKIT_LIBS = $APPKIT_LIBS
23186 SECURITY_LIBS = $SECURITY_LIBS
23187 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23188 COREAUDIO_LIBS = $COREAUDIO_LIBS
23189 OPENCL_LIBS = $OPENCL_LIBS
23191 OBJCFLAGS = $OBJCFLAGS
23192 ac_ct_OBJC = $ac_ct_OBJC
23193 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23194 PE_ARCHS = $PE_ARCHS
23195 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23196 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23197 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23198 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23199 GSM_PE_LIBS = $GSM_PE_LIBS
23200 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23201 JPEG_PE_LIBS = $JPEG_PE_LIBS
23202 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23203 JXR_PE_LIBS = $JXR_PE_LIBS
23204 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23205 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23206 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23207 LDAP_PE_LIBS = $LDAP_PE_LIBS
23208 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23209 MPG123_PE_LIBS = $MPG123_PE_LIBS
23210 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23211 MUSL_PE_LIBS = $MUSL_PE_LIBS
23212 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23213 PNG_PE_LIBS = $PNG_PE_LIBS
23214 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23215 TIFF_PE_LIBS = $TIFF_PE_LIBS
23216 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23217 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23218 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23219 XML2_PE_LIBS = $XML2_PE_LIBS
23220 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23221 XSLT_PE_LIBS = $XSLT_PE_LIBS
23222 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23223 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23224 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23225 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23226 PTHREAD_LIBS = $PTHREAD_LIBS
23229 X_CFLAGS = $X_CFLAGS
23230 X_PRE_LIBS = $X_PRE_LIBS
23232 X_EXTRA_LIBS = $X_EXTRA_LIBS
23233 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23234 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23235 WAYLAND_SCANNER = $WAYLAND_SCANNER
23236 PCAP_LIBS = $PCAP_LIBS
23237 PCSCLITE_LIBS = $PCSCLITE_LIBS
23238 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23239 INOTIFY_LIBS = $INOTIFY_LIBS
23240 DBUS_CFLAGS = $DBUS_CFLAGS
23241 DBUS_LIBS = $DBUS_LIBS
23242 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23243 GNUTLS_LIBS = $GNUTLS_LIBS
23244 SANE_CFLAGS = $SANE_CFLAGS
23245 SANE_LIBS = $SANE_LIBS
23246 USB_CFLAGS = $USB_CFLAGS
23247 USB_LIBS = $USB_LIBS
23248 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23249 GPHOTO2_LIBS = $GPHOTO2_LIBS
23250 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23251 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23252 RESOLV_LIBS = $RESOLV_LIBS
23253 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23254 FREETYPE_LIBS = $FREETYPE_LIBS
23255 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23256 PULSE_CFLAGS = $PULSE_CFLAGS
23257 PULSE_LIBS = $PULSE_LIBS
23258 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23259 GSTREAMER_LIBS = $GSTREAMER_LIBS
23260 ALSA_LIBS = $ALSA_LIBS
23261 OSS4_CFLAGS = $OSS4_CFLAGS
23262 OSS4_LIBS = $OSS4_LIBS
23263 UDEV_CFLAGS = $UDEV_CFLAGS
23264 UDEV_LIBS = $UDEV_LIBS
23265 UNWIND_CFLAGS = $UNWIND_CFLAGS
23266 UNWIND_LIBS = $UNWIND_LIBS
23267 SDL2_CFLAGS = $SDL2_CFLAGS
23268 SDL2_LIBS = $SDL2_LIBS
23269 CAPI20_CFLAGS = $CAPI20_CFLAGS
23270 CAPI20_LIBS = $CAPI20_LIBS
23271 CUPS_CFLAGS = $CUPS_CFLAGS
23272 CUPS_LIBS = $CUPS_LIBS
23273 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23274 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23275 KRB5_CFLAGS = $KRB5_CFLAGS
23276 KRB5_LIBS = $KRB5_LIBS
23277 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23278 GSSAPI_LIBS = $GSSAPI_LIBS
23279 PROCSTAT_LIBS = $PROCSTAT_LIBS
23280 NETAPI_CFLAGS = $NETAPI_CFLAGS
23281 NETAPI_LIBS = $NETAPI_LIBS
23282 MSVCRTFLAGS = $MSVCRTFLAGS
23283 DELAYLOADFLAG = $DELAYLOADFLAG
23284 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23286 TAGSFLAGS = $TAGSFLAGS
23288 LTLIBOBJS = $LTLIBOBJS
23292 as_fn_error $? "could not create Makefile" "$LINENO" 5
23297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23299 # Handling of arguments.
23300 for ac_config_target
in $ac_config_targets
23302 case $ac_config_target in
23303 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23304 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23305 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23306 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23307 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23308 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23310 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23315 # If the user did not use the arguments to specify the items to instantiate,
23316 # then the envvar interface is used. Set only those that are not.
23317 # We use the long form for the default assignment because of an extremely
23318 # bizarre bug on SunOS 4.1.3.
23319 if $ac_need_defaults; then
23320 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23321 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23322 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23325 # Have a temporary directory for convenience. Make it in the build tree
23326 # simply because there is no reason against having it here, and in addition,
23327 # creating and moving files from /tmp can sometimes cause problems.
23328 # Hook for its removal unless debugging.
23329 # Note that there is a small window in which the directory will not be cleaned:
23330 # after its creation but before its name has been assigned to `$tmp'.
23334 trap 'exit_status=$?
23335 : "${ac_tmp:=$tmp}"
23336 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23338 trap 'as_fn_exit 1' 1 2 13 15
23340 # Create a (secure) tmp directory for tmp files.
23343 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23347 tmp
=.
/conf$$
-$RANDOM
23348 (umask 077 && mkdir
"$tmp")
23349 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23352 # Set up the scripts for CONFIG_HEADERS section.
23353 # No need to generate them if there are no CONFIG_HEADERS.
23354 # This happens for instance with `./config.status Makefile'.
23355 if test -n "$CONFIG_HEADERS"; then
23356 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23360 # Transform confdefs.h into an awk script `defines.awk', embedded as
23361 # here-document in config.status, that substitutes the proper values into
23362 # config.h.in to produce config.h.
23364 # Create a delimiter string that does not exist in confdefs.h, to ease
23365 # handling of long lines.
23367 for ac_last_try
in false false
:; do
23368 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23369 if test -z "$ac_tt"; then
23371 elif $ac_last_try; then
23372 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23374 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23378 # For the awk script, D is an array of macro values keyed by name,
23379 # likewise P contains macro parameters if any. Preserve backslash
23380 # newline sequences.
23382 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23384 s/.\{148\}/&'"$ac_delim"'/g
23387 s/^[ ]*#[ ]*define[ ][ ]*/ /
23394 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23396 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23400 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23401 D["\1"]=" \3\\\\\\n"\\/p
23403 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23408 s/.\{148\}/&'"$ac_delim"'/g
23413 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23416 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23418 ' <confdefs.h |
sed '
23419 s/'"$ac_delim"'/"\\\
23420 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23423 for (key in D) D_is_set[key] = 1
23426 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23428 split(line, arg, " ")
23429 if (arg[1] == "#") {
23433 defundef = substr(arg[1], 2)
23436 split(mac1, mac2, "(") #)
23438 prefix = substr(line, 1, index(line, defundef) - 1)
23439 if (D_is_set[macro]) {
23440 # Preserve the white space surrounding the "#".
23441 print prefix "define", macro P[macro] D[macro]
23444 # Replace #undef with comments. This is necessary, for example,
23445 # in the case of _POSIX_SOURCE, which is predefined and required
23446 # on some systems where configure will not decide to define it.
23447 if (defundef == "undef") {
23448 print "/*", prefix defundef, macro, "*/"
23456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23457 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23458 fi # test -n "$CONFIG_HEADERS"
23461 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23466 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23468 case $ac_mode$ac_tag in
23470 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23471 :[FH
]-) ac_tag
=-:-;;
23472 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23489 -) ac_f
="$ac_tmp/stdin";;
23490 *) # Look for the file first in the build tree, then in the source tree
23491 # (if the path is not absolute). The absolute path cannot be DOS-style,
23492 # because $ac_f cannot contain `:'.
23496 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23498 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23500 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23501 as_fn_append ac_file_inputs
" '$ac_f'"
23504 # Let's still pretend it is `configure' which instantiates (i.e., don't
23505 # use $as_me), people would be surprised to read:
23506 # /* config.h. Generated by config.status. */
23507 configure_input
='Generated from '`
23508 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23510 if test x
"$ac_file" != x-
; then
23511 configure_input
="$ac_file. $configure_input"
23512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23513 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23515 # Neutralize special characters interpreted by sed in replacement strings.
23516 case $configure_input in #(
23517 *\
&* |
*\|
* |
*\\* )
23518 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23519 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23520 *) ac_sed_conf_input
=$configure_input;;
23524 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23525 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23530 ac_dir
=`$as_dirname -- "$ac_file" ||
23531 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23532 X"$ac_file" : 'X\(//\)[^/]' \| \
23533 X"$ac_file" : 'X\(//\)$' \| \
23534 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23535 printf "%s\n" X"$ac_file" |
23536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23540 /^X\(\/\/\)[^/].*/{
23553 as_dir
="$ac_dir"; as_fn_mkdir_p
23557 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23559 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23560 # A ".." for each directory in $ac_dir_suffix.
23561 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23562 case $ac_top_builddir_sub in
23563 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23564 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23567 ac_abs_top_builddir
=$ac_pwd
23568 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23569 # for backward compatibility:
23570 ac_top_builddir
=$ac_top_build_prefix
23573 .
) # We are building in place.
23575 ac_top_srcdir
=$ac_top_builddir_sub
23576 ac_abs_top_srcdir
=$ac_pwd ;;
23577 [\\/]* | ?
:[\\/]* ) # Absolute name.
23578 ac_srcdir
=$srcdir$ac_dir_suffix;
23579 ac_top_srcdir
=$srcdir
23580 ac_abs_top_srcdir
=$srcdir ;;
23581 *) # Relative name.
23582 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23583 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23584 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23586 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23595 if test x
"$ac_file" != x-
; then
23597 printf "%s\n" "/* $configure_input */" >&1 \
23598 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23599 } >"$ac_tmp/config.h" \
23600 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23601 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23603 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23606 mv "$ac_tmp/config.h" "$ac_file" \
23607 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23610 printf "%s\n" "/* $configure_input */" >&1 \
23611 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23612 || as_fn_error $?
"could not create -" "$LINENO" 5
23620 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23623 # Prefer the file from the source tree if names are identical.
23624 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23625 ac_source
=$srcdir/$ac_source
23628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23629 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23631 if test ! -r "$ac_source"; then
23632 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23636 # Try a relative symlink, then a hard link, then a copy.
23638 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23639 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23641 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23642 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23643 cp -p "$ac_source" "$ac_file" ||
23644 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23647 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23648 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23653 case $ac_file$ac_mode in
23654 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23655 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23656 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23664 ac_clean_files
=$ac_clean_files_save
23666 test $ac_write_fail = 0 ||
23667 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23670 # configure is writing to config.log, and then calls config.status.
23671 # config.status does its own redirection, appending to config.log.
23672 # Unfortunately, on DOS this fails, as config.log is still kept open
23673 # by configure, so config.status won't be able to write to it; its
23674 # output is simply discarded. So we exec the FD to /dev/null,
23675 # effectively closing config.log, so it can be properly (re)opened and
23676 # appended to by config.status. When coming back to configure, we
23677 # need to make the FD available again.
23678 if test "$no_create" != yes; then
23680 ac_config_status_args
=
23681 test "$silent" = yes &&
23682 ac_config_status_args
="$ac_config_status_args --quiet"
23684 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23686 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23687 # would make configure fail if this is the last instruction.
23688 $ac_cs_success || as_fn_exit
1
23690 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23692 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23696 if test "$no_create" = "yes"
23702 if test "x$wine_notices" != x
; then
23705 for msg
in $wine_notices; do
23711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23712 printf "%s\n" "$as_me: $msg" >&6;}
23717 for msg
in $wine_warnings; do
23724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23725 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23731 $as_me: Finished. Do '${ac_make}' to compile Wine.