2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.22.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
613 PACKAGE_TARNAME
='wine'
614 PACKAGE_VERSION
='7.22'
615 PACKAGE_STRING
='Wine 7.22'
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
749 SYSTEMCONFIGURATION_LIBS
753 APPLICATIONSERVICES_LIBS
765 WINEPRELOADER_LDFLAGS
797 x86_64_DISABLED_SUBDIRS
805 i386_DISABLED_SUBDIRS
821 aarch64_DISABLED_SUBDIRS
822 aarch64_DELAYLOADFLAG
886 program_transform_name
899 enable_option_checking
905 enable_maintainer_mode
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1086 enable_directmanipulation
1123 enable_explorerframe
1179 enable_light_msstyles
1194 enable_mfmediaengine
1257 enable_msvcp140_atomic_wait
1323 enable_photometadatahandler
1399 enable_threadpoolwinrt
1405 enable_uiautomationcore
1425 enable_vcruntime140_1
1443 enable_windows_devices_enumeration
1444 enable_windows_gaming_input
1445 enable_windows_gaming_ui_gamebar
1446 enable_windows_globalization
1447 enable_windows_media_devices
1448 enable_windows_media_speech
1449 enable_windows_media
1450 enable_windows_networking
1451 enable_windowscodecs
1452 enable_windowscodecsext
1454 enable_wineandroid_drv
1456 enable_winecoreaudio_drv
1459 enable_winegstreamer
1465 enable_winepulse_drv
1469 enable_winexinput_sys
1514 enable_xactengine2_0
1515 enable_xactengine2_4
1516 enable_xactengine2_7
1517 enable_xactengine2_9
1518 enable_xactengine3_0
1519 enable_xactengine3_1
1520 enable_xactengine3_2
1521 enable_xactengine3_3
1522 enable_xactengine3_4
1523 enable_xactengine3_5
1524 enable_xactengine3_6
1525 enable_xactengine3_7
1574 enable_wmcodecdspuuid
1582 enable_aspnet_regiis
1628 enable_presentationfontcache
1643 enable_servicemodelreg
1669 enable_winemenubuilder
1671 enable_winemsibuilder
1696 ac_precious_vars
='build_alias
1777 # Initialize some variables set by options.
1779 ac_init_version
=false
1780 ac_unrecognized_opts
=
1781 ac_unrecognized_sep
=
1782 # The variables have the same names as the options, with
1783 # dashes changed to underlines.
1784 cache_file
=/dev
/null
1791 program_transform_name
=s
,x
,x
,
1799 # Installation directory options.
1800 # These are left unexpanded so users can "make install exec_prefix=/foo"
1801 # and all the variables that are supposed to be based on exec_prefix
1802 # by default will actually change.
1803 # Use braces instead of parens because sh, perl, etc. also accept them.
1804 # (The list follows the same order as the GNU Coding Standards.)
1805 bindir
='${exec_prefix}/bin'
1806 sbindir
='${exec_prefix}/sbin'
1807 libexecdir
='${exec_prefix}/libexec'
1808 datarootdir
='${prefix}/share'
1809 datadir
='${datarootdir}'
1810 sysconfdir
='${prefix}/etc'
1811 sharedstatedir
='${prefix}/com'
1812 localstatedir
='${prefix}/var'
1813 runstatedir
='${localstatedir}/run'
1814 includedir
='${prefix}/include'
1815 oldincludedir
='/usr/include'
1816 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1817 infodir
='${datarootdir}/info'
1822 libdir
='${exec_prefix}/lib'
1823 localedir
='${datarootdir}/locale'
1824 mandir
='${datarootdir}/man'
1830 # If the previous option needs an argument, assign it.
1831 if test -n "$ac_prev"; then
1832 eval $ac_prev=\
$ac_option
1838 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1843 case $ac_dashdash$ac_option in
1847 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1849 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1850 bindir
=$ac_optarg ;;
1852 -build |
--build |
--buil |
--bui |
--bu)
1853 ac_prev
=build_alias
;;
1854 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1855 build_alias
=$ac_optarg ;;
1857 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1858 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1859 ac_prev
=cache_file
;;
1860 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1861 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1862 cache_file
=$ac_optarg ;;
1864 --config-cache |
-C)
1865 cache_file
=config.cache
;;
1867 -datadir |
--datadir |
--datadi |
--datad)
1869 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1870 datadir
=$ac_optarg ;;
1872 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1873 |
--dataroo |
--dataro |
--datar)
1874 ac_prev
=datarootdir
;;
1875 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1876 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1877 datarootdir
=$ac_optarg ;;
1879 -disable-* |
--disable-*)
1880 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1881 # Reject names that are not valid shell variable names.
1882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1883 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1884 ac_useropt_orig
=$ac_useropt
1885 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1886 case $ac_user_opts in
1888 "enable_
$ac_useropt"
1890 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1891 ac_unrecognized_sep
=', ';;
1893 eval enable_
$ac_useropt=no
;;
1895 -docdir |
--docdir |
--docdi |
--doc |
--do)
1897 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1898 docdir
=$ac_optarg ;;
1900 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1902 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1903 dvidir
=$ac_optarg ;;
1905 -enable-* |
--enable-*)
1906 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
1917 ac_unrecognized_sep
=', ';;
1919 eval enable_
$ac_useropt=\
$ac_optarg ;;
1921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1923 |
--exec |
--exe |
--ex)
1924 ac_prev
=exec_prefix
;;
1925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1927 |
--exec=* |
--exe=* |
--ex=*)
1928 exec_prefix
=$ac_optarg ;;
1930 -gas |
--gas |
--ga |
--g)
1931 # Obsolete; use --with-gas.
1934 -help |
--help |
--hel |
--he |
-h)
1935 ac_init_help
=long
;;
1936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1937 ac_init_help
=recursive
;;
1938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1939 ac_init_help
=short
;;
1941 -host |
--host |
--hos |
--ho)
1942 ac_prev
=host_alias
;;
1943 -host=* |
--host=* |
--hos=* |
--ho=*)
1944 host_alias
=$ac_optarg ;;
1946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1950 htmldir
=$ac_optarg ;;
1952 -includedir |
--includedir |
--includedi |
--included |
--include \
1953 |
--includ |
--inclu |
--incl |
--inc)
1954 ac_prev
=includedir
;;
1955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1957 includedir
=$ac_optarg ;;
1959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1962 infodir
=$ac_optarg ;;
1964 -libdir |
--libdir |
--libdi |
--libd)
1966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1967 libdir
=$ac_optarg ;;
1969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1970 |
--libexe |
--libex |
--libe)
1971 ac_prev
=libexecdir
;;
1972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1973 |
--libexe=* |
--libex=* |
--libe=*)
1974 libexecdir
=$ac_optarg ;;
1976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1977 ac_prev
=localedir
;;
1978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1979 localedir
=$ac_optarg ;;
1981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1983 ac_prev
=localstatedir
;;
1984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1986 localstatedir
=$ac_optarg ;;
1988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1991 mandir
=$ac_optarg ;;
1993 -nfp |
--nfp |
--nf)
1994 # Obsolete; use --without-fp.
1997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1998 |
--no-cr |
--no-c |
-n)
2001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
2002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2007 |
--oldin |
--oldi |
--old |
--ol |
--o)
2008 ac_prev
=oldincludedir
;;
2009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2012 oldincludedir
=$ac_optarg ;;
2014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2017 prefix
=$ac_optarg ;;
2019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2020 |
--program-pre |
--program-pr |
--program-p)
2021 ac_prev
=program_prefix
;;
2022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2024 program_prefix
=$ac_optarg ;;
2026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2027 |
--program-suf |
--program-su |
--program-s)
2028 ac_prev
=program_suffix
;;
2029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2031 program_suffix
=$ac_optarg ;;
2033 -program-transform-name |
--program-transform-name \
2034 |
--program-transform-nam |
--program-transform-na \
2035 |
--program-transform-n |
--program-transform- \
2036 |
--program-transform |
--program-transfor \
2037 |
--program-transfo |
--program-transf \
2038 |
--program-trans |
--program-tran \
2039 |
--progr-tra |
--program-tr |
--program-t)
2040 ac_prev
=program_transform_name
;;
2041 -program-transform-name=* |
--program-transform-name=* \
2042 |
--program-transform-nam=* |
--program-transform-na=* \
2043 |
--program-transform-n=* |
--program-transform-=* \
2044 |
--program-transform=* |
--program-transfor=* \
2045 |
--program-transfo=* |
--program-transf=* \
2046 |
--program-trans=* |
--program-tran=* \
2047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2048 program_transform_name
=$ac_optarg ;;
2050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2053 pdfdir
=$ac_optarg ;;
2055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2061 |
-silent |
--silent |
--silen |
--sile |
--sil)
2064 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2065 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2066 |
--run |
--ru |
--r)
2067 ac_prev
=runstatedir
;;
2068 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2069 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2070 |
--run=* |
--ru=* |
--r=*)
2071 runstatedir
=$ac_optarg ;;
2073 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2075 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2077 sbindir
=$ac_optarg ;;
2079 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2080 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2081 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2083 ac_prev
=sharedstatedir
;;
2084 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2085 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2086 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2088 sharedstatedir
=$ac_optarg ;;
2090 -site |
--site |
--sit)
2092 -site=* |
--site=* |
--sit=*)
2095 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2097 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2098 srcdir
=$ac_optarg ;;
2100 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2101 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2102 ac_prev
=sysconfdir
;;
2103 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2104 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2105 sysconfdir
=$ac_optarg ;;
2107 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2108 ac_prev
=target_alias
;;
2109 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2110 target_alias
=$ac_optarg ;;
2112 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2115 -version |
--version |
--versio |
--versi |
--vers |
-V)
2116 ac_init_version
=: ;;
2119 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2120 # Reject names that are not valid shell variable names.
2121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2122 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2123 ac_useropt_orig
=$ac_useropt
2124 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2125 case $ac_user_opts in
2129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2130 ac_unrecognized_sep
=', ';;
2132 eval with_
$ac_useropt=\
$ac_optarg ;;
2134 -without-* |
--without-*)
2135 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2136 # Reject names that are not valid shell variable names.
2137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2138 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2139 ac_useropt_orig
=$ac_useropt
2140 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2141 case $ac_user_opts in
2145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2146 ac_unrecognized_sep
=', ';;
2148 eval with_
$ac_useropt=no
;;
2151 # Obsolete; use --with-x.
2154 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2155 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2156 ac_prev
=x_includes
;;
2157 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2158 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2159 x_includes
=$ac_optarg ;;
2161 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2162 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2163 ac_prev
=x_libraries
;;
2164 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2165 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2166 x_libraries
=$ac_optarg ;;
2168 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2169 Try \`$0 --help' for more information"
2173 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2174 # Reject names that are not valid shell variable names.
2175 case $ac_envvar in #(
2176 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2177 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2179 eval $ac_envvar=\
$ac_optarg
2180 export $ac_envvar ;;
2183 # FIXME: should be removed in autoconf 3.0.
2184 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2186 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2193 if test -n "$ac_prev"; then
2194 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2195 as_fn_error $?
"missing argument to $ac_option"
2198 if test -n "$ac_unrecognized_opts"; then
2199 case $enable_option_checking in
2201 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2202 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2206 # Check all directory arguments for consistency.
2207 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2208 datadir sysconfdir sharedstatedir localstatedir includedir \
2209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2210 libdir localedir mandir runstatedir
2212 eval ac_val
=\$
$ac_var
2213 # Remove trailing slashes.
2216 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2217 eval $ac_var=\
$ac_val;;
2219 # Be sure to have absolute directory names.
2221 [\\/$
]* | ?
:[\\/]* ) continue;;
2222 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2224 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2227 # There might be people who depend on the old broken behavior: `$host'
2228 # used to hold the argument of --host etc.
2229 # FIXME: To remove some day.
2232 target
=$target_alias
2234 # FIXME: To remove some day.
2235 if test "x$host_alias" != x
; then
2236 if test "x$build_alias" = x
; then
2237 cross_compiling
=maybe
2238 elif test "x$build_alias" != "x$host_alias"; then
2244 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2246 test "$silent" = yes && exec 6>/dev
/null
2249 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2250 ac_ls_di
=`ls -di .` &&
2251 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2252 as_fn_error $?
"working directory cannot be determined"
2253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2254 as_fn_error $?
"pwd does not report name of working directory"
2257 # Find the source files, if location was not specified.
2258 if test -z "$srcdir"; then
2259 ac_srcdir_defaulted
=yes
2260 # Try the directory containing this script, then the parent directory.
2261 ac_confdir
=`$as_dirname -- "$as_myself" ||
2262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2263 X"$as_myself" : 'X\(//\)[^/]' \| \
2264 X"$as_myself" : 'X\(//\)$' \| \
2265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2266 printf "%s\n" X"$as_myself" |
2267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2285 if test ! -r "$srcdir/$ac_unique_file"; then
2289 ac_srcdir_defaulted
=no
2291 if test ! -r "$srcdir/$ac_unique_file"; then
2292 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2293 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2299 # When building in place, set srcdir=.
2300 if test "$ac_abs_confdir" = "$ac_pwd"; then
2303 # Remove unnecessary trailing slashes from srcdir.
2304 # Double slashes in file names in object file debugging info
2305 # mess up M-x gdb in Emacs.
2307 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2309 for ac_var
in $ac_precious_vars; do
2310 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2311 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2312 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2313 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2317 # Report the --help message.
2319 if test "$ac_init_help" = "long"; then
2320 # Omit some internal or obsolete options to make the list less imposing.
2321 # This message is too long to be a string in the A/UX 3.1 sh.
2323 \`configure' configures Wine 7.22 to adapt to many kinds of systems.
2325 Usage: $0 [OPTION]... [VAR=VALUE]...
2327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2328 VAR=VALUE. See below for descriptions of some of the useful variables.
2330 Defaults for the options are specified in brackets.
2333 -h, --help display this help and exit
2334 --help=short display options specific to this package
2335 --help=recursive display the short help of all the included packages
2336 -V, --version display version information and exit
2337 -q, --quiet, --silent do not print \`checking ...' messages
2338 --cache-file=FILE cache test results in FILE [disabled]
2339 -C, --config-cache alias for \`--cache-file=config.cache'
2340 -n, --no-create do not create output files
2341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2343 Installation directories:
2344 --prefix=PREFIX install architecture-independent files in PREFIX
2345 [$ac_default_prefix]
2346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2349 By default, \`make install' will install all the files in
2350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2352 for instance \`--prefix=\$HOME'.
2354 For better control, use the options below.
2356 Fine tuning of the installation directories:
2357 --bindir=DIR user executables [EPREFIX/bin]
2358 --sbindir=DIR system admin executables [EPREFIX/sbin]
2359 --libexecdir=DIR program executables [EPREFIX/libexec]
2360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2363 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2364 --libdir=DIR object code libraries [EPREFIX/lib]
2365 --includedir=DIR C header files [PREFIX/include]
2366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2369 --infodir=DIR info documentation [DATAROOTDIR/info]
2370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2371 --mandir=DIR man documentation [DATAROOTDIR/man]
2372 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2373 --htmldir=DIR html documentation [DOCDIR]
2374 --dvidir=DIR dvi documentation [DOCDIR]
2375 --pdfdir=DIR pdf documentation [DOCDIR]
2376 --psdir=DIR ps documentation [DOCDIR]
2382 --x-includes=DIR X include files are
in DIR
2383 --x-libraries=DIR X library files are
in DIR
2386 --build=BUILD configure
for building on BUILD
[guessed
]
2387 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2391 if test -n "$ac_init_help"; then
2392 case $ac_init_help in
2393 short | recursive
) echo "Configuration of Wine 7.22:";;
2398 --disable-option-checking ignore unrecognized
--enable/--with options
2399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2401 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2402 enable multiple architectures
for PE compilation
2403 --disable-win16 do not include Win16 support
2404 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2406 --disable-tests do not build the regression tests
2407 --enable-build-id include .buildid section in output objects
2408 --enable-maintainer-mode
2409 enable maintainer-specific build rules
2410 --enable-silent-rules use silent build rules (override: "make V=1")
2411 --enable-werror treat compilation warnings as errors
2412 --disable-largefile omit support for large files
2415 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2416 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2417 --without-alsa do not use the Alsa sound support
2418 --without-capi do not use CAPI (ISDN support)
2419 --without-coreaudio do not use the CoreAudio sound support
2420 --without-cups do not use CUPS
2421 --without-dbus do not use DBus (dynamic device support)
2422 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2423 --without-fontconfig do not use fontconfig
2424 --without-freetype do not use the FreeType library
2425 --without-gettext do not use gettext
2426 --with-gettextpo use the GetTextPO library to rebuild po files
2427 --without-gphoto do not use gphoto (Digital Camera support)
2428 --without-gnutls do not use GnuTLS (schannel support)
2429 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2430 --without-gstreamer do not use GStreamer (codecs support)
2431 --without-inotify do not use inotify (filesystem change notifications)
2432 --without-krb5 do not use krb5 (Kerberos)
2433 --without-mingw do not use the MinGW cross-compiler
2434 --without-netapi do not use the Samba NetAPI library
2435 --without-opencl do not use OpenCL
2436 --without-opengl do not use OpenGL
2437 --without-osmesa do not use the OSMesa library
2438 --without-oss do not use the OSS sound support
2439 --without-pcap do not use the Packet Capture library
2440 --without-pthread do not use the pthread library
2441 --without-pulse do not use PulseAudio sound support
2442 --without-sane do not use SANE (scanner support)
2443 --without-sdl do not use SDL
2444 --without-udev do not use udev (plug and play support)
2445 --without-unwind do not use the libunwind library (exception
2447 --without-usb do not use the libusb library
2448 --without-v4l2 do not use v4l2 (video capture)
2449 --without-vulkan do not use Vulkan
2450 --without-xcomposite do not use the Xcomposite extension
2451 --without-xcursor do not use the Xcursor extension
2452 --without-xfixes do not use Xfixes for clipboard change notifications
2453 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2454 --without-xinput do not use the Xinput extension
2455 --without-xinput2 do not use the Xinput 2 extension
2456 --without-xrandr do not use Xrandr (multi-monitor support)
2457 --without-xrender do not use the Xrender extension
2458 --without-xshape do not use the Xshape extension
2459 --without-xshm do not use XShm (shared memory extension)
2460 --without-xxf86vm do not use XFree video mode extension
2461 --with-system-dllpath=PATH
2462 load external PE dependencies from colon-separated
2464 --with-wine-tools=DIR use Wine tools from directory DIR
2465 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2466 --with-x use the X Window System
2468 Some influential environment variables:
2469 CC C compiler command
2470 CFLAGS C compiler flags
2471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2472 nonstandard directory <lib dir>
2473 LIBS libraries to pass to the linker, e.g. -l<library>
2474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2475 you have headers in a nonstandard directory <include dir>
2476 CXX C++ compiler command
2477 CXXFLAGS C++ compiler flags
2478 OBJC Objective C compiler command
2479 OBJCFLAGS Objective C compiler flags
2481 C compiler flags for the PE faudio, overriding the bundled
2484 Linker flags for the PE faudio, overriding the bundled version
2486 C compiler flags for the PE gsm, overriding the bundled version
2487 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2489 C compiler flags for the PE jpeg, overriding the bundled version
2491 Linker flags for the PE jpeg, overriding the bundled version
2493 C compiler flags for the PE jxr, overriding the bundled version
2494 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2496 C compiler flags for the PE lcms2, overriding the bundled
2499 Linker flags for the PE lcms2, overriding the bundled version
2501 C compiler flags for the PE ldap, overriding the bundled version
2503 Linker flags for the PE ldap, overriding the bundled version
2505 C compiler flags for the PE mpg123, overriding the bundled
2508 Linker flags for the PE mpg123, overriding the bundled version
2510 C compiler flags for the PE png, overriding the bundled version
2511 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2513 C compiler flags for the PE tiff, overriding the bundled version
2515 Linker flags for the PE tiff, overriding the bundled version
2517 C compiler flags for the PE vkd3d, overriding the bundled
2520 Linker flags for the PE vkd3d, overriding the bundled version
2522 C compiler flags for the PE xml2, overriding the bundled version
2524 Linker flags for the PE xml2, overriding the bundled version
2526 C compiler flags for the PE xslt, overriding the bundled version
2528 Linker flags for the PE xslt, overriding the bundled version
2530 C compiler flags for the PE zlib, overriding the bundled version
2532 Linker flags for the PE zlib, overriding the bundled version
2533 XMKMF Path to xmkmf, Makefile generator for X Window System
2536 C compiler flags for libinotify, overriding pkg-config
2538 Linker flags for libinotify, overriding pkg-config
2539 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2540 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2542 C compiler flags for gnutls, overriding pkg-config
2543 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2544 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2545 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2546 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2547 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2549 C compiler flags for libgphoto2, overriding pkg-config
2551 Linker flags for libgphoto2, overriding pkg-config
2553 C compiler flags for libgphoto2_port, overriding pkg-config
2555 Linker flags for libgphoto2_port, overriding pkg-config
2557 C compiler flags for freetype2, overriding pkg-config
2559 Linker flags for freetype2, overriding pkg-config
2561 C compiler flags for libpulse, overriding pkg-config
2562 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2564 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2565 gstreamer-audio-1.0, overriding pkg-config
2567 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2568 gstreamer-audio-1.0, overriding pkg-config
2569 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2570 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2572 C compiler flags for libunwind, overriding pkg-config
2573 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2574 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2575 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2577 C compiler flags for capi20, overriding pkg-config
2578 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2579 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2580 CUPS_LIBS Linker flags for cups, overriding pkg-config
2582 C compiler flags for fontconfig, overriding pkg-config
2584 Linker flags for fontconfig, overriding pkg-config
2585 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2586 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2588 C compiler flags for krb5-gssapi, overriding pkg-config
2589 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2591 C compiler flags for netapi, overriding pkg-config
2592 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2594 Use these variables to override the choices made by `configure' or to
help
2595 it to
find libraries and programs with nonstandard names
/locations.
2597 Report bugs to
<wine-devel@winehq.org
>.
2598 Wine home page
: <https
://www.winehq.org
>.
2603 if test "$ac_init_help" = "recursive"; then
2604 # If there are subdirs, report their specific --help.
2605 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2606 test -d "$ac_dir" ||
2607 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2612 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2614 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2615 # A ".." for each directory in $ac_dir_suffix.
2616 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2617 case $ac_top_builddir_sub in
2618 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2619 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2622 ac_abs_top_builddir
=$ac_pwd
2623 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2624 # for backward compatibility:
2625 ac_top_builddir
=$ac_top_build_prefix
2628 .
) # We are building in place.
2630 ac_top_srcdir
=$ac_top_builddir_sub
2631 ac_abs_top_srcdir
=$ac_pwd ;;
2632 [\\/]* | ?
:[\\/]* ) # Absolute name.
2633 ac_srcdir
=$srcdir$ac_dir_suffix;
2634 ac_top_srcdir
=$srcdir
2635 ac_abs_top_srcdir
=$srcdir ;;
2637 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2638 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2639 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2641 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2643 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2644 # Check for configure.gnu first; this name is used for a wrapper for
2645 # Metaconfig's "Configure" on case-insensitive file systems.
2646 if test -f "$ac_srcdir/configure.gnu"; then
2648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2649 elif test -f "$ac_srcdir/configure"; then
2651 $SHELL "$ac_srcdir/configure" --help=recursive
2653 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2655 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2659 test -n "$ac_init_help" && exit $ac_status
2660 if $ac_init_version; then
2663 generated by GNU Autoconf
2.71
2665 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2666 This configure
script is free software
; the Free Software Foundation
2667 gives unlimited permission to copy
, distribute and modify it.
2672 ## ------------------------ ##
2673 ## Autoconf initialization. ##
2674 ## ------------------------ ##
2676 # ac_fn_c_try_compile LINENO
2677 # --------------------------
2678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2679 ac_fn_c_try_compile
()
2681 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2682 rm -f conftest.
$ac_objext conftest.beam
2683 if { { ac_try
="$ac_compile"
2685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 printf "%s\n" "$ac_try_echo"; } >&5
2690 (eval "$ac_compile") 2>conftest.err
2692 if test -s conftest.err; then
2693 grep -v '^ *+' conftest.err >conftest.er1
2694 cat conftest.er1 >&5
2695 mv -f conftest.er1 conftest.err
2697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && {
2699 test -z "$ac_c_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest.$ac_objext
2705 printf "%s\n" "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 as_fn_set_status $ac_retval
2713 } # ac_fn_c_try_compile
2715 # ac_fn_cxx_try_compile LINENO
2716 # ----------------------------
2717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_cxx_try_compile ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 rm -f conftest.$ac_objext conftest.beam
2722 if { { ac_try="$ac_compile"
2724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2725 *) ac_try_echo
=$ac_try;;
2727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 printf "%s\n" "$ac_try_echo"; } >&5
2729 (eval "$ac_compile") 2>conftest.err
2731 if test -s conftest.err
; then
2732 grep -v '^ *+' conftest.err
>conftest.er1
2733 cat conftest.er1
>&5
2734 mv -f conftest.er1 conftest.err
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } && {
2738 test -z "$ac_cxx_werror_flag" ||
2739 test ! -s conftest.err
2740 } && test -s conftest.
$ac_objext
2744 printf "%s\n" "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.
$ac_ext >&5
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status
$ac_retval
2752 } # ac_fn_cxx_try_compile
2754 # ac_fn_c_try_link LINENO
2755 # -----------------------
2756 # Try to link conftest.$ac_ext, and return whether this succeeded.
2759 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2760 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2761 if { { ac_try
="$ac_link"
2763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 printf "%s\n" "$ac_try_echo"; } >&5
2768 (eval "$ac_link") 2>conftest.err
2770 if test -s conftest.err; then
2771 grep -v '^ *+' conftest.err >conftest.er1
2772 cat conftest.er1 >&5
2773 mv -f conftest.er1 conftest.err
2775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; } && {
2777 test -z "$ac_c_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest$ac_exeext && {
2780 test "$cross_compiling" = yes ||
2781 test -x conftest$ac_exeext
2786 printf "%s\n" "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2793 # interfere with the next link command; also delete a directory that is
2794 # left behind by Apple's compiler. We do this before executing the actions.
2795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status $ac_retval
2799 } # ac_fn_c_try_link
2801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2802 # -------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_c_check_header_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 printf %s "checking for $2... " >&6; }
2810 if eval test \${$3+y}
2812 printf %s "(cached) " >&6
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2819 if ac_fn_c_try_compile "$LINENO"
2825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2829 printf "%s\n" "$ac_res" >&6; }
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 } # ac_fn_c_check_header_compile
2834 # ac_fn_objc_try_compile LINENO
2835 # -----------------------------
2836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_objc_try_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext conftest.beam
2841 if { { ac_try="$ac_compile"
2843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2844 *) ac_try_echo
=$ac_try;;
2846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 printf "%s\n" "$ac_try_echo"; } >&5
2848 (eval "$ac_compile") 2>conftest.err
2850 if test -s conftest.err
; then
2851 grep -v '^ *+' conftest.err
>conftest.er1
2852 cat conftest.er1
>&5
2853 mv -f conftest.er1 conftest.err
2855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_objc_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.
$ac_objext
2863 printf "%s\n" "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.
$ac_ext >&5
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status
$ac_retval
2871 } # ac_fn_objc_try_compile
2873 # ac_fn_c_check_func LINENO FUNC VAR
2874 # ----------------------------------
2875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2876 ac_fn_c_check_func
()
2878 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 printf %s
"checking for $2... " >&6; }
2881 if eval test \
${$3+y}
2883 printf %s
"(cached) " >&6
2885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2889 #define $2 innocuous_$2
2891 /* System header to define __stub macros and hopefully few prototypes,
2892 which can conflict with char $2 (); below. */
2897 /* Override any GCC internal prototype to avoid an error.
2898 Use char because int might match the return type of a GCC
2899 builtin and then its argument prototype would still apply. */
2904 /* The GNU C library defines this for functions which it implements
2905 to always fail with ENOSYS. Some functions are actually named
2906 something starting with __ and the normal name is an alias. */
2907 #if defined __stub_$2 || defined __stub___$2
2919 if ac_fn_c_try_link
"$LINENO"
2925 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2926 conftest
$ac_exeext conftest.
$ac_ext
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 printf "%s\n" "$ac_res" >&6; }
2931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2933 } # ac_fn_c_check_func
2935 # ac_fn_c_try_cpp LINENO
2936 # ----------------------
2937 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2940 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2941 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 printf "%s\n" "$ac_try_echo"; } >&5
2948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2950 if test -s conftest.err; then
2951 grep -v '^ *+' conftest.err >conftest.er1
2952 cat conftest.er1 >&5
2953 mv -f conftest.er1 conftest.err
2955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; } > conftest.i && {
2957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2963 printf "%s\n" "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2969 as_fn_set_status $ac_retval
2973 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2974 # ----------------------------------------------------
2975 # Tries to find if the field MEMBER exists in type AGGR, after including
2976 # INCLUDES, setting cache variable VAR accordingly.
2977 ac_fn_c_check_member ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2981 printf %s "checking for $2.$3... " >&6; }
2982 if eval test \${$4+y}
2984 printf %s "(cached) " >&6
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2999 if ac_fn_c_try_compile "$LINENO"
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3010 if (sizeof ac_aggr.$3)
3016 if ac_fn_c_try_compile "$LINENO"
3022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3028 printf "%s\n" "$ac_res" >&6; }
3029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 } # ac_fn_c_check_member
3033 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3034 # -------------------------------------------
3035 # Tests whether TYPE exists after having included INCLUDES, setting cache
3036 # variable VAR accordingly.
3037 ac_fn_c_check_type ()
3039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3041 printf %s "checking for $2... " >&6; }
3042 if eval test \${$3+y}
3044 printf %s "(cached) " >&6
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3059 if ac_fn_c_try_compile "$LINENO"
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3073 if ac_fn_c_try_compile "$LINENO"
3079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3085 printf "%s\n" "$ac_res" >&6; }
3086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3088 } # ac_fn_c_check_type
3089 ac_configure_args_raw=
3094 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3096 as_fn_append ac_configure_args_raw " '$ac_arg'"
3099 case $ac_configure_args_raw in
3103 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3104 ac_unsafe_a="$ac_unsafe_z#~
"
3105 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3106 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3109 cat >config.log <<_ACEOF
3110 This file contains any messages produced by compilers while
3111 running configure, to aid debugging if configure makes a mistake.
3113 It was created by Wine $as_me 7.22, which was
3114 generated by GNU Autoconf 2.71. Invocation command line was
3116 $ $0$ac_configure_args_raw
3126 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3127 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3128 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3129 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3130 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3132 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3133 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3135 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3136 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3137 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3138 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 case $as_dir in #(((
3152 *) as_dir=$as_dir/ ;;
3154 printf "%s
\n" "PATH
: $as_dir"
3170 # Keep a trace of the command line.
3171 # Strip out --no-create and --no-recursion so they do not pile up.
3172 # Strip out --silent because we don't want to record it for future runs.
3173 # Also quote any args containing shell meta-characters.
3174 # Make two passes to allow for proper duplicate-argument suppression.
3178 ac_must_keep_next=false
3184 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3186 | -silent | --silent | --silen | --sile | --sil)
3189 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3192 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3194 as_fn_append ac_configure_args1 " '$ac_arg'"
3195 if test $ac_must_keep_next = true; then
3196 ac_must_keep_next=false # Got value, back to normal.
3199 *=* | --config-cache | -C | -disable-* | --disable-* \
3200 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3201 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3202 | -with-* | --with-* | -without-* | --without-* | --x)
3203 case "$ac_configure_args0 " in
3204 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3207 -* ) ac_must_keep_next=true ;;
3210 as_fn_append ac_configure_args " '$ac_arg'"
3215 { ac_configure_args0=; unset ac_configure_args0;}
3216 { ac_configure_args1=; unset ac_configure_args1;}
3218 # When interrupted or exit'd, cleanup temporary files, and complete
3219 # config.log. We remove comments because anyway the quotes in there
3220 # would cause problems or look ugly.
3221 # WARNING: Use '\'' to represent an apostrophe within the trap.
3222 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3223 trap 'exit_status=$?
3226 # Save into config.log some information that might help in debugging.
3230 printf "%s
\n" "## ---------------- ##
3231 ## Cache variables. ##
3232 ## ---------------- ##"
3234 # The following way of writing the cache mishandles newlines in values,
3236 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3237 eval ac_val
=\$
$ac_var
3241 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3242 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3245 _ | IFS | as_nl
) ;; #(
3246 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3247 *) { eval $ac_var=; unset $ac_var;} ;;
3252 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3253 *${as_nl}ac_space
=\
*)
3255 "s/'\''/'\''\\\\'\'''\''/g;
3256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3266 printf "%s\n" "## ----------------- ##
3267 ## Output variables. ##
3268 ## ----------------- ##"
3270 for ac_var
in $ac_subst_vars
3272 eval ac_val
=\$
$ac_var
3274 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3276 printf "%s\n" "$ac_var='\''$ac_val'\''"
3280 if test -n "$ac_subst_files"; then
3281 printf "%s\n" "## ------------------- ##
3282 ## File substitutions. ##
3283 ## ------------------- ##"
3285 for ac_var in $ac_subst_files
3287 eval ac_val=\$$ac_var
3289 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3291 printf "%s\n" "$ac_var='\''$ac_val'\''"
3296 if test -s confdefs.h
; then
3297 printf "%s\n" "## ----------- ##
3304 test "$ac_signal" != 0 &&
3305 printf "%s\n" "$as_me: caught signal $ac_signal"
3306 printf "%s\n" "$as_me: exit $exit_status"
3308 rm -f core
*.core core.conftest.
* &&
3309 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3312 for ac_signal in 1 2 13 15; do
3313 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3318 rm -f -r conftest* confdefs.h
3320 printf "%s\n" "/* confdefs.h */" > confdefs.h
3322 # Predefined preprocessor variables.
3324 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3326 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3328 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3332 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3334 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3337 # Let the site file select an alternate cache file if it wants to.
3338 # Prefer an explicitly selected file to automatically selected ones.
3339 if test -n "$CONFIG_SITE"; then
3340 ac_site_files="$CONFIG_SITE"
3341 elif test "x$prefix" != xNONE; then
3342 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3344 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3347 for ac_site_file in $ac_site_files
3349 case $ac_site_file in #(
3353 ac_site_file=./$ac_site_file ;;
3355 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3357 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3358 sed 's
/^
/|
/' "$ac_site_file" >&5
3360 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3362 as_fn_error $? "failed to load site script $ac_site_file
3363 See \`config.log
' for more details" "$LINENO" 5; }
3367 if test -r "$cache_file"; then
3368 # Some versions of bash will fail to source /dev/null (special files
3369 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3370 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3372 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3374 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3375 *) . "./$cache_file";;
3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3380 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3384 # Test code for whether the C compiler supports C89 (global declarations)
3385 ac_c_conftest_c89_globals='
3386 /* Does the compiler advertise C89 conformance?
3387 Do not
test the value of __STDC__
, because some compilers
set it to
0
3388 while being otherwise adequately conformant.
*/
3389 #if !defined __STDC__
3390 # error "Compiler does not advertise C89 conformance"
3396 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3397 struct buf
{ int x
; };
3398 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3399 static char
*e
(p
, i
)
3405 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3410 s
= g
(p
, va_arg
(v
,int
));
3415 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3416 function prototypes and stuff
, but not \xHH hex character constants.
3417 These
do not provoke an error unfortunately
, instead are silently treated
3418 as an
"x". The following induces an error
, until -std is added to get
3419 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3420 array size
at least. It is necessary to
write \x00 == 0 to get something
3421 that is true only with
-std.
*/
3422 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3424 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3425 inside
strings and character constants.
*/
3426 #define FOO(x) '\''x'\''
3427 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3429 int
test (int i
, double x
);
3430 struct s1
{int
(*f
) (int a
);};
3431 struct s2
{int
(*f
) (double a
);};
3432 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3435 # Test code for whether the C compiler supports C89 (body of main).
3436 ac_c_conftest_c89_main='
3437 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3440 # Test code for whether the C compiler supports C99 (global declarations)
3441 ac_c_conftest_c99_globals='
3442 // Does the compiler advertise C99 conformance?
3443 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3444 # error "Compiler does not advertise C99 conformance"
3447 #include <stdbool.h>
3448 extern int puts
(const char
*);
3449 extern int
printf (const char
*, ...
);
3450 extern int dprintf
(int
, const char
*, ...
);
3451 extern void
*malloc
(size_t
);
3453 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3454 // dprintf is used instead of fprintf to avoid needing to
declare
3456 #define debug(...) dprintf (2, __VA_ARGS__)
3457 #define showlist(...) puts (#__VA_ARGS__)
3458 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3460 test_varargs_macros
(void
)
3465 debug
("X = %d\n", x
);
3466 showlist
(The first
, second
, and third items.
);
3467 report
(x
>y
, "x is %d but y is %d", x
, y
);
3470 // Check long long types.
3471 #define BIG64 18446744073709551615ull
3472 #define BIG32 4294967295ul
3473 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3475 #error "your preprocessor is broken"
3479 #error "your preprocessor is broken"
3481 static long long int bignum
= -9223372036854775807LL;
3482 static unsigned long long int ubignum
= BIG64
;
3484 struct incomplete_array
3492 const wchar_t
*name
;
3496 typedef const char
*ccp
;
3499 test_restrict
(ccp restrict text
)
3501 // See
if C
++-style comments work.
3502 // Iterate through items via the restricted pointer.
3503 // Also check
for declarations
in for loops.
3504 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3509 // Check varargs and va_copy.
3511 test_varargs
(const char
*format
, ...
)
3514 va_start
(args
, format
);
3516 va_copy
(args_copy
, args
);
3518 const char
*str
= "";
3526 case '\''s
'\'': // string
3527 str
= va_arg
(args_copy
, const char
*);
3529 case '\''d
'\'': // int
3530 number
= va_arg
(args_copy
, int
);
3532 case '\''f
'\'': // float
3533 fnumber
= va_arg
(args_copy
, double
);
3542 return *str
&& number
&& fnumber
;
3546 # Test code for whether the C compiler supports C99 (body of main).
3547 ac_c_conftest_c99_main='
3549 _Bool success
= false
;
3550 success |
= (argc
!= 0);
3553 if (test_restrict
("String literal") == 0)
3555 char
*restrict newvar
= "Another string";
3558 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3559 test_varargs_macros
();
3561 // Check flexible array members.
3562 struct incomplete_array
*ia
=
3563 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3565 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3566 ia-
>data
[i
] = i
* 1.234;
3568 // Check named initializers.
3569 struct named_init ni
= {
3571 .name
= L
"Test wide string",
3572 .average
= 543.34343,
3577 int dynamic_array
[ni.number
];
3578 dynamic_array
[0] = argv
[0][0];
3579 dynamic_array
[ni.number
- 1] = 543;
3581 // work around unused variable warnings
3582 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3583 || dynamic_array
[ni.number
- 1] != 543);
3586 # Test code for whether the C compiler supports C11 (global declarations)
3587 ac_c_conftest_c11_globals='
3588 // Does the compiler advertise C11 conformance?
3589 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3590 # error "Compiler does not advertise C11 conformance"
3594 char _Alignas
(double
) aligned_as_double
;
3595 char _Alignas
(0) no_special_alignment
;
3596 extern char aligned_as_int
;
3597 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3602 int_alignment
= _Alignof
(int
),
3603 int_array_alignment
= _Alignof
(int
[100]),
3604 char_alignment
= _Alignof
(char
)
3606 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3609 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3611 // Check _Static_assert.
3612 struct test_static_assert
3615 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3616 "_Static_assert does not work in struct");
3620 // Check UTF-8 literals.
3621 #define u8 syntax error!
3622 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3624 // Check duplicate typedefs.
3625 typedef long
*long_ptr
;
3626 typedef long int
*long_ptr
;
3627 typedef long_ptr long_ptr
;
3629 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3633 struct
{ int i
; int j
; };
3634 struct
{ int k
; long int l
; } w
;
3640 # Test code for whether the C compiler supports C11 (body of main).
3641 ac_c_conftest_c11_main='
3642 _Static_assert
((offsetof
(struct anonymous
, i
)
3643 == offsetof
(struct anonymous
, w.k
)),
3644 "Anonymous union alignment botch");
3650 # Test code for whether the C compiler supports C11 (complete).
3651 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3652 ${ac_c_conftest_c99_globals}
3653 ${ac_c_conftest_c11_globals}
3656 main (int argc, char **argv)
3659 ${ac_c_conftest_c89_main}
3660 ${ac_c_conftest_c99_main}
3661 ${ac_c_conftest_c11_main}
3666 # Test code for whether the C compiler supports C99 (complete).
3667 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3668 ${ac_c_conftest_c99_globals}
3671 main (int argc, char **argv)
3674 ${ac_c_conftest_c89_main}
3675 ${ac_c_conftest_c99_main}
3680 # Test code for whether the C compiler supports C89 (complete).
3681 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3684 main (int argc, char **argv)
3687 ${ac_c_conftest_c89_main}
3692 # Test code for whether the C++ compiler supports C++98 (global declarations)
3693 ac_cxx_conftest_cxx98_globals='
3694 // Does the compiler advertise C
++98 conformance?
3695 #if !defined __cplusplus || __cplusplus < 199711L
3696 # error "Compiler does not advertise C++98 conformance"
3699 // These inclusions are to reject old compilers that
3700 // lack the unsuffixed header files.
3702 #include <exception>
3704 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3705 extern void assert
(int
);
3707 extern int strcmp
(const char
*, const char
*);
3710 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3711 using std
::exception
;
3716 void test_exception_syntax
()
3720 } catch
(const char
*s
) {
3721 // Extra parentheses suppress a warning when building autoconf itself
,
3722 // due to lint rules shared with
more typical C programs.
3723 assert
(!(strcmp
) (s
, "test"));
3727 template
<typename T
> struct test_template
3730 explicit test_template
(T t
) : val
(t
) {}
3731 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3734 } // anonymous namespace
3737 # Test code for whether the C++ compiler supports C++98 (body of main)
3738 ac_cxx_conftest_cxx98_main='
3742 test_exception_syntax
();
3743 test_template
<double
> tt
(2.0);
3744 assert
(tt.add
(4) == 6.0);
3745 assert
(true
&& !false
);
3749 # Test code for whether the C++ compiler supports C++11 (global declarations)
3750 ac_cxx_conftest_cxx11_globals='
3751 // Does the compiler advertise C
++ 2011 conformance?
3752 #if !defined __cplusplus || __cplusplus < 201103L
3753 # error "Compiler does not advertise C++11 conformance"
3758 constexpr int get_val
() { return 20; }
3769 delegate
(int n
) : n
(n
) {}
3770 delegate
(): delegate
(2354) {}
3772 virtual int getval
() { return this-
>n
; };
3777 class overridden
: public delegate
3780 overridden
(int n
): delegate
(n
) {}
3781 virtual int getval
() override final
{ return this-
>n
* 2; }
3787 nocopy
(int i
): i
(i
) {}
3789 nocopy
(const nocopy
&) = delete
;
3790 nocopy
& operator
=(const nocopy
&) = delete
;
3795 // for testing lambda expressions
3796 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3801 // for testing variadic templates and trailing
return types
3802 template
<typename V
> auto
sum(V first
) -> V
3806 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3808 return first
+ sum(rest...
);
3813 # Test code for whether the C++ compiler supports C++11 (body of main)
3814 ac_cxx_conftest_cxx11_main='
3816 // Test auto and decltype
3818 auto a2
= 48573953.4;
3819 auto a3
= "String literal";
3822 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3824 decltype
(a2
) a4
= 34895.034;
3828 short sa
[cxx11test
::get_val
()] = { 0 };
3831 // Test initializer lists
3832 cxx11test
::testinit il
= { 4323, 435234.23544 };
3835 // Test range-based
for
3836 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3837 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3838 for (auto
&x
: array
) { x
+= 23; }
3841 // Test lambda expressions
3842 using cxx11test
::eval;
3843 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3845 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3847 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3851 // Test use of variadic templates
3852 using cxx11test
::sum;
3855 auto c
= sum(1.0, 2.0, 3.0);
3858 // Test constructor delegation
3859 cxx11test
::delegate d1
;
3860 cxx11test
::delegate d2
();
3861 cxx11test
::delegate d3
(45);
3864 // Test override and final
3865 cxx11test
::overridden o1
(55464);
3872 // Test template brackets
3873 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3877 char const
*utf8
= u8
"UTF-8 string \u2500";
3878 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3879 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3883 # Test code for whether the C compiler supports C++11 (complete).
3884 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3885 ${ac_cxx_conftest_cxx11_globals}
3888 main (int argc, char **argv)
3891 ${ac_cxx_conftest_cxx98_main}
3892 ${ac_cxx_conftest_cxx11_main}
3897 # Test code for whether the C compiler supports C++98 (complete).
3898 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3900 main (int argc, char **argv)
3903 ${ac_cxx_conftest_cxx98_main}
3908 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3909 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3910 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3911 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3912 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3913 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3914 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3915 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3916 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3918 # Auxiliary files required by this configure script.
3919 ac_aux_files="config.guess config.sub"
3921 # Locations in which to look for auxiliary files.
3922 ac_aux_dir_candidates="${srcdir}/tools"
3924 # Search for a directory containing all of the required auxiliary files,
3925 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3926 # If we don't
find one directory that contains all the files we need
,
3927 # we report the set of missing files from the *first* directory in
3928 # $ac_aux_dir_candidates and give up.
3929 ac_missing_aux_files
=""
3930 ac_first_candidate
=:
3931 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 for as_dir
in $ac_aux_dir_candidates
3937 case $as_dir in #(((
3940 *) as_dir
=$as_dir/ ;;
3944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3945 ac_aux_dir_found
=yes
3947 for ac_aux
in $ac_aux_files
3949 # As a special case, if "install-sh" is required, that requirement
3950 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3951 # and $ac_install_sh is set appropriately for whichever one is found.
3952 if test x
"$ac_aux" = x
"install-sh"
3954 if test -f "${as_dir}install-sh"; then
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3956 ac_install_sh
="${as_dir}install-sh -c"
3957 elif test -f "${as_dir}install.sh"; then
3958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3959 ac_install_sh
="${as_dir}install.sh -c"
3960 elif test -f "${as_dir}shtool"; then
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3962 ac_install_sh
="${as_dir}shtool install -c"
3965 if $ac_first_candidate; then
3966 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3972 if test -f "${as_dir}${ac_aux}"; then
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3976 if $ac_first_candidate; then
3977 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3984 if test "$ac_aux_dir_found" = yes; then
3985 ac_aux_dir
="$as_dir"
3988 ac_first_candidate
=false
3997 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4001 # These three variables are undocumented and unsupported,
4002 # and are intended to be withdrawn in a future Autoconf release.
4003 # They can cause serious problems if a builder's source tree is in a directory
4004 # whose full name contains unusual characters.
4005 if test -f "${ac_aux_dir}config.guess"; then
4006 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4008 if test -f "${ac_aux_dir}config.sub"; then
4009 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4011 if test -f "$ac_aux_dir/configure"; then
4012 ac_configure
="$SHELL ${ac_aux_dir}configure"
4015 # Check that the precious variables saved in the cache have kept the same
4017 ac_cache_corrupted
=false
4018 for ac_var
in $ac_precious_vars; do
4019 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4020 eval ac_new_set
=\
$ac_env_${ac_var}_set
4021 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4022 eval ac_new_val
=\
$ac_env_${ac_var}_value
4023 case $ac_old_set,$ac_new_set in
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4026 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4027 ac_cache_corrupted
=: ;;
4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4030 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4031 ac_cache_corrupted
=: ;;
4034 if test "x$ac_old_val" != "x$ac_new_val"; then
4035 # differences in whitespace do not lead to failure.
4036 ac_old_val_w
=`echo x $ac_old_val`
4037 ac_new_val_w
=`echo x $ac_new_val`
4038 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4040 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4041 ac_cache_corrupted
=:
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4044 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4045 eval $ac_var=\
$ac_old_val
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4048 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4050 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4053 # Pass precious variables to config.status.
4054 if test "$ac_new_set" = set; then
4056 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4057 *) ac_arg
=$ac_var=$ac_new_val ;;
4059 case " $ac_configure_args " in
4060 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4061 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4065 if $ac_cache_corrupted; then
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4069 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4070 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4071 and start over" "$LINENO" 5
4073 ## -------------------- ##
4074 ## Main body of script. ##
4075 ## -------------------- ##
4078 ac_cpp
='$CPP $CPPFLAGS'
4079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4085 ac_config_headers
="$ac_config_headers include/config.h"
4089 libwine_version
="1.0"
4092 # Check whether --enable-archs was given.
4093 if test ${enable_archs+y}
4095 enableval
=$enable_archs;
4098 # Check whether --enable-win16 was given.
4099 if test ${enable_win16+y}
4101 enableval
=$enable_win16;
4104 # Check whether --enable-win64 was given.
4105 if test ${enable_win64+y}
4107 enableval
=$enable_win64;
4110 # Check whether --enable-tests was given.
4111 if test ${enable_tests+y}
4113 enableval
=$enable_tests;
4116 # Check whether --enable-build-id was given.
4117 if test ${enable_build_id+y}
4119 enableval
=$enable_build_id;
4122 # Check whether --enable-maintainer-mode was given.
4123 if test ${enable_maintainer_mode+y}
4125 enableval
=$enable_maintainer_mode;
4128 # Check whether --enable-silent-rules was given.
4129 if test ${enable_silent_rules+y}
4131 enableval
=$enable_silent_rules;
4134 # Check whether --enable-werror was given.
4135 if test ${enable_werror+y}
4137 enableval
=$enable_werror;
4142 # Check whether --with-alsa was given.
4143 if test ${with_alsa+y}
4149 # Check whether --with-capi was given.
4150 if test ${with_capi+y}
4156 # Check whether --with-coreaudio was given.
4157 if test ${with_coreaudio+y}
4159 withval
=$with_coreaudio;
4163 # Check whether --with-cups was given.
4164 if test ${with_cups+y}
4170 # Check whether --with-dbus was given.
4171 if test ${with_dbus+y}
4177 # Check whether --with-float-abi was given.
4178 if test ${with_float_abi+y}
4180 withval
=$with_float_abi;
4184 # Check whether --with-fontconfig was given.
4185 if test ${with_fontconfig+y}
4187 withval
=$with_fontconfig;
4191 # Check whether --with-freetype was given.
4192 if test ${with_freetype+y}
4194 withval
=$with_freetype;
4198 # Check whether --with-gettext was given.
4199 if test ${with_gettext+y}
4201 withval
=$with_gettext;
4205 # Check whether --with-gettextpo was given.
4206 if test ${with_gettextpo+y}
4208 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4212 # Check whether --with-gphoto was given.
4213 if test ${with_gphoto+y}
4215 withval
=$with_gphoto;
4219 # Check whether --with-gnutls was given.
4220 if test ${with_gnutls+y}
4222 withval
=$with_gnutls;
4226 # Check whether --with-gssapi was given.
4227 if test ${with_gssapi+y}
4229 withval
=$with_gssapi;
4233 # Check whether --with-gstreamer was given.
4234 if test ${with_gstreamer+y}
4236 withval
=$with_gstreamer;
4240 # Check whether --with-inotify was given.
4241 if test ${with_inotify+y}
4243 withval
=$with_inotify;
4247 # Check whether --with-krb5 was given.
4248 if test ${with_krb5+y}
4254 # Check whether --with-mingw was given.
4255 if test ${with_mingw+y}
4257 withval
=$with_mingw;
4261 # Check whether --with-netapi was given.
4262 if test ${with_netapi+y}
4264 withval
=$with_netapi;
4268 # Check whether --with-opencl was given.
4269 if test ${with_opencl+y}
4271 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4275 # Check whether --with-opengl was given.
4276 if test ${with_opengl+y}
4278 withval
=$with_opengl;
4282 # Check whether --with-osmesa was given.
4283 if test ${with_osmesa+y}
4285 withval
=$with_osmesa;
4289 # Check whether --with-oss was given.
4290 if test ${with_oss+y}
4296 # Check whether --with-pcap was given.
4297 if test ${with_pcap+y}
4299 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4303 # Check whether --with-pthread was given.
4304 if test ${with_pthread+y}
4306 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4310 # Check whether --with-pulse was given.
4311 if test ${with_pulse+y}
4313 withval
=$with_pulse;
4317 # Check whether --with-sane was given.
4318 if test ${with_sane+y}
4324 # Check whether --with-sdl was given.
4325 if test ${with_sdl+y}
4331 # Check whether --with-udev was given.
4332 if test ${with_udev+y}
4338 # Check whether --with-unwind was given.
4339 if test ${with_unwind+y}
4341 withval
=$with_unwind;
4345 # Check whether --with-usb was given.
4346 if test ${with_usb+y}
4352 # Check whether --with-v4l2 was given.
4353 if test ${with_v4l2+y}
4359 # Check whether --with-vulkan was given.
4360 if test ${with_vulkan+y}
4362 withval
=$with_vulkan;
4366 # Check whether --with-xcomposite was given.
4367 if test ${with_xcomposite+y}
4369 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4373 # Check whether --with-xcursor was given.
4374 if test ${with_xcursor+y}
4376 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4380 # Check whether --with-xfixes was given.
4381 if test ${with_xfixes+y}
4383 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4387 # Check whether --with-xinerama was given.
4388 if test ${with_xinerama+y}
4390 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4394 # Check whether --with-xinput was given.
4395 if test ${with_xinput+y}
4397 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4401 # Check whether --with-xinput2 was given.
4402 if test ${with_xinput2+y}
4404 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4408 # Check whether --with-xrandr was given.
4409 if test ${with_xrandr+y}
4411 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4415 # Check whether --with-xrender was given.
4416 if test ${with_xrender+y}
4418 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4422 # Check whether --with-xshape was given.
4423 if test ${with_xshape+y}
4425 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4429 # Check whether --with-xshm was given.
4430 if test ${with_xshm+y}
4432 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4436 # Check whether --with-xxf86vm was given.
4437 if test ${with_xxf86vm+y}
4439 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
4444 # Check whether --with-system-dllpath was given.
4445 if test ${with_system_dllpath+y}
4447 withval
=$with_system_dllpath; system_dllpath
=$withval
4452 # Check whether --with-wine-tools was given.
4453 if test ${with_wine_tools+y}
4455 withval
=$with_wine_tools;
4459 # Check whether --with-wine64 was given.
4460 if test ${with_wine64+y}
4462 withval
=$with_wine64;
4469 # Make sure we can run config.sub.
4470 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4471 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4474 printf %s
"checking build system type... " >&6; }
4475 if test ${ac_cv_build+y}
4477 printf %s
"(cached) " >&6
4479 ac_build_alias
=$build_alias
4480 test "x$ac_build_alias" = x
&&
4481 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4482 test "x$ac_build_alias" = x
&&
4483 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4484 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4485 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4489 printf "%s\n" "$ac_cv_build" >&6; }
4490 case $ac_cv_build in
4492 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4495 ac_save_IFS
=$IFS; IFS
='-'
4501 # Remember, the first character of IFS is used to create $*,
4502 # except with old shells:
4505 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4509 printf %s
"checking host system type... " >&6; }
4510 if test ${ac_cv_host+y}
4512 printf %s
"(cached) " >&6
4514 if test "x$host_alias" = x
; then
4515 ac_cv_host
=$ac_cv_build
4517 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4518 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4523 printf "%s\n" "$ac_cv_host" >&6; }
4526 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4529 ac_save_IFS
=$IFS; IFS
='-'
4535 # Remember, the first character of IFS is used to create $*,
4536 # except with old shells:
4539 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4543 dlldir
=\
${libdir}/wine
4545 fontdir
=\
${datadir}/wine
/fonts
4547 nlsdir
=\
${datadir}/wine
/nls
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4553 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4555 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4556 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4558 printf %s
"(cached) " >&6
4560 cat >conftest.
make <<\_ACEOF
4563 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4565 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4566 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4568 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4570 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4574 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4576 printf "%s\n" "yes" >&6; }
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 printf "%s\n" "no" >&6; }
4581 SET_MAKE
="MAKE=${MAKE-make}"
4594 ac_cpp
='$CPP $CPPFLAGS'
4595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4598 if test -n "$ac_tool_prefix"; then
4599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4600 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 printf %s
"checking for $ac_word... " >&6; }
4603 if test ${ac_cv_prog_CC+y}
4605 printf %s
"(cached) " >&6
4607 if test -n "$CC"; then
4608 ac_cv_prog_CC
="$CC" # Let the user override the test.
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 case $as_dir in #(((
4617 *) as_dir
=$as_dir/ ;;
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4632 if test -n "$CC"; then
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4634 printf "%s\n" "$CC" >&6; }
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 printf "%s\n" "no" >&6; }
4642 if test -z "$ac_cv_prog_CC"; then
4644 # Extract the first word of "gcc", so it can be a program name with args.
4645 set dummy gcc
; ac_word
=$2
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 printf %s
"checking for $ac_word... " >&6; }
4648 if test ${ac_cv_prog_ac_ct_CC+y}
4650 printf %s
"(cached) " >&6
4652 if test -n "$ac_ct_CC"; then
4653 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 case $as_dir in #(((
4662 *) as_dir
=$as_dir/ ;;
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_CC
="gcc"
4667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4676 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4677 if test -n "$ac_ct_CC"; then
4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4679 printf "%s\n" "$ac_ct_CC" >&6; }
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 printf "%s\n" "no" >&6; }
4685 if test "x$ac_ct_CC" = x
; then
4688 case $cross_compiling:$ac_tool_warned in
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned
=yes ;;
4700 if test -z "$CC"; then
4701 if test -n "$ac_tool_prefix"; then
4702 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4703 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 printf %s
"checking for $ac_word... " >&6; }
4706 if test ${ac_cv_prog_CC+y}
4708 printf %s
"(cached) " >&6
4710 if test -n "$CC"; then
4711 ac_cv_prog_CC
="$CC" # Let the user override the test.
4713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 case $as_dir in #(((
4720 *) as_dir
=$as_dir/ ;;
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4724 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4735 if test -n "$CC"; then
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4737 printf "%s\n" "$CC" >&6; }
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 printf "%s\n" "no" >&6; }
4746 if test -z "$CC"; then
4747 # Extract the first word of "cc", so it can be a program name with args.
4748 set dummy cc
; ac_word
=$2
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4750 printf %s
"checking for $ac_word... " >&6; }
4751 if test ${ac_cv_prog_CC+y}
4753 printf %s
"(cached) " >&6
4755 if test -n "$CC"; then
4756 ac_cv_prog_CC
="$CC" # Let the user override the test.
4759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4763 case $as_dir in #(((
4766 *) as_dir
=$as_dir/ ;;
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4770 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4771 ac_prog_rejected
=yes
4775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4782 if test $ac_prog_rejected = yes; then
4783 # We found a bogon in the path, so make sure we never use it.
4784 set dummy
$ac_cv_prog_CC
4786 if test $# != 0; then
4787 # We chose a different compiler from the bogus one.
4788 # However, it has the same basename, so the bogon will be chosen
4789 # first if we set CC to just the basename; use the full file name.
4791 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4797 if test -n "$CC"; then
4798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4799 printf "%s\n" "$CC" >&6; }
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 printf "%s\n" "no" >&6; }
4807 if test -z "$CC"; then
4808 if test -n "$ac_tool_prefix"; then
4809 for ac_prog
in cl.exe
4811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4812 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 printf %s
"checking for $ac_word... " >&6; }
4815 if test ${ac_cv_prog_CC+y}
4817 printf %s
"(cached) " >&6
4819 if test -n "$CC"; then
4820 ac_cv_prog_CC
="$CC" # Let the user override the test.
4822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4826 case $as_dir in #(((
4829 *) as_dir
=$as_dir/ ;;
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4844 if test -n "$CC"; then
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4846 printf "%s\n" "$CC" >&6; }
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 printf "%s\n" "no" >&6; }
4853 test -n "$CC" && break
4856 if test -z "$CC"; then
4858 for ac_prog
in cl.exe
4860 # Extract the first word of "$ac_prog", so it can be a program name with args.
4861 set dummy
$ac_prog; ac_word
=$2
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 printf %s
"checking for $ac_word... " >&6; }
4864 if test ${ac_cv_prog_ac_ct_CC+y}
4866 printf %s
"(cached) " >&6
4868 if test -n "$ac_ct_CC"; then
4869 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4875 case $as_dir in #(((
4878 *) as_dir
=$as_dir/ ;;
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_ac_ct_CC
="$ac_prog"
4883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4892 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4893 if test -n "$ac_ct_CC"; then
4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4895 printf "%s\n" "$ac_ct_CC" >&6; }
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 printf "%s\n" "no" >&6; }
4902 test -n "$ac_ct_CC" && break
4905 if test "x$ac_ct_CC" = x
; then
4908 case $cross_compiling:$ac_tool_warned in
4910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned
=yes ;;
4919 if test -z "$CC"; then
4920 if test -n "$ac_tool_prefix"; then
4921 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4922 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 printf %s
"checking for $ac_word... " >&6; }
4925 if test ${ac_cv_prog_CC+y}
4927 printf %s
"(cached) " >&6
4929 if test -n "$CC"; then
4930 ac_cv_prog_CC
="$CC" # Let the user override the test.
4932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4936 case $as_dir in #(((
4939 *) as_dir
=$as_dir/ ;;
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4954 if test -n "$CC"; then
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4956 printf "%s\n" "$CC" >&6; }
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 printf "%s\n" "no" >&6; }
4964 if test -z "$ac_cv_prog_CC"; then
4966 # Extract the first word of "clang", so it can be a program name with args.
4967 set dummy clang
; ac_word
=$2
4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 printf %s
"checking for $ac_word... " >&6; }
4970 if test ${ac_cv_prog_ac_ct_CC+y}
4972 printf %s
"(cached) " >&6
4974 if test -n "$ac_ct_CC"; then
4975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 case $as_dir in #(((
4984 *) as_dir
=$as_dir/ ;;
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_ac_ct_CC
="clang"
4989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4998 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4999 if test -n "$ac_ct_CC"; then
5000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5001 printf "%s\n" "$ac_ct_CC" >&6; }
5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 printf "%s\n" "no" >&6; }
5007 if test "x$ac_ct_CC" = x
; then
5010 case $cross_compiling:$ac_tool_warned in
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned
=yes ;;
5025 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5026 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5027 as_fn_error $?
"no acceptable C compiler found in \$PATH
5028 See \`config.log' for more details" "$LINENO" 5; }
5030 # Provide some information about the compiler.
5031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5034 for ac_option
in --version -v -V -qversion -version; do
5035 { { ac_try
="$ac_compiler $ac_option >&5"
5037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5038 *) ac_try_echo=$ac_try;;
5040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5041 printf "%s\n" "$ac_try_echo"; } >&5
5042 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5044 if test -s conftest.err; then
5046 ... rest of stderr output deleted ...
5047 10q' conftest.err >conftest.er1
5048 cat conftest.er1 >&5
5050 rm -f conftest.er1 conftest.err
5051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5052 test $ac_status = 0; }
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5066 ac_clean_files_save=$ac_clean_files
5067 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5068 # Try to create an executable without -o first, disregard a.out.
5069 # It will help us diagnose broken compilers, and finding out an intuition
5071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5072 printf %s "checking whether the C compiler works... " >&6; }
5073 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5075 # The possible output files:
5076 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5079 for ac_file in $ac_files
5082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5083 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5088 if { { ac_try="$ac_link_default"
5090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5091 *) ac_try_echo
=$ac_try;;
5093 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5094 printf "%s\n" "$ac_try_echo"; } >&5
5095 (eval "$ac_link_default") 2>&5
5097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5098 test $ac_status = 0; }
5100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5101 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5103 # so that the user can short-circuit this test for compilers unknown to
5105 for ac_file
in $ac_files ''
5107 test -f "$ac_file" ||
continue
5109 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5112 # We found the default executable, but exeext='' is most
5116 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5118 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5120 # We set ac_cv_exeext here because the later test for it is not
5121 # safe: cross compilers may not add the suffix if given an `-o'
5122 # argument, so we may need to know it at that point already.
5123 # Even if this section looks crufty: it has the advantage of
5130 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5135 if test -z "$ac_file"
5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 printf "%s\n" "no" >&6; }
5139 printf "%s\n" "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.
$ac_ext >&5
5142 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5143 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5144 as_fn_error
77 "C compiler cannot create executables
5145 See \`config.log' for more details" "$LINENO" 5; }
5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5148 printf "%s\n" "yes" >&6; }
5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5151 printf %s
"checking for C compiler default output file name... " >&6; }
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5153 printf "%s\n" "$ac_file" >&6; }
5154 ac_exeext
=$ac_cv_exeext
5156 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5157 ac_clean_files
=$ac_clean_files_save
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5159 printf %s
"checking for suffix of executables... " >&6; }
5160 if { { ac_try
="$ac_link"
5162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5163 *) ac_try_echo=$ac_try;;
5165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5166 printf "%s\n" "$ac_try_echo"; } >&5
5167 (eval "$ac_link") 2>&5
5169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5170 test $ac_status = 0; }
5172 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5173 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5174 # work properly (i.e., refer to `conftest.exe'), while it won't with
5176 for ac_file
in conftest.exe conftest conftest.
*; do
5177 test -f "$ac_file" ||
continue
5179 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5180 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5186 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5187 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5188 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5189 See \`config.log' for more details" "$LINENO" 5; }
5191 rm -f conftest conftest
$ac_cv_exeext
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5193 printf "%s\n" "$ac_cv_exeext" >&6; }
5195 rm -f conftest.
$ac_ext
5196 EXEEXT
=$ac_cv_exeext
5198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h. */
5204 FILE *f = fopen ("conftest.out", "w");
5205 return ferror (f) || fclose (f) != 0;
5211 ac_clean_files
="$ac_clean_files conftest.out"
5212 # Check that the compiler produces executables we can run. If not, either
5213 # the compiler is broken, or we cross compile.
5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5215 printf %s
"checking whether we are cross compiling... " >&6; }
5216 if test "$cross_compiling" != yes; then
5217 { { ac_try
="$ac_link"
5219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5220 *) ac_try_echo=$ac_try;;
5222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5223 printf "%s\n" "$ac_try_echo"; } >&5
5224 (eval "$ac_link") 2>&5
5226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5227 test $ac_status = 0; }
5228 if { ac_try='./conftest$ac_cv_exeext'
5229 { { case "(($ac_try" in
5230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5231 *) ac_try_echo
=$ac_try;;
5233 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5234 printf "%s\n" "$ac_try_echo"; } >&5
5235 (eval "$ac_try") 2>&5
5237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5238 test $ac_status = 0; }; }; then
5241 if test "$cross_compiling" = maybe
; then
5244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5245 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5246 as_fn_error
77 "cannot run C compiled programs.
5247 If you meant to cross compile, use \`--host'.
5248 See \`config.log' for more details" "$LINENO" 5; }
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5253 printf "%s\n" "$cross_compiling" >&6; }
5255 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5256 ac_clean_files
=$ac_clean_files_save
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5258 printf %s
"checking for suffix of object files... " >&6; }
5259 if test ${ac_cv_objext+y}
5261 printf %s
"(cached) " >&6
5263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5274 rm -f conftest.o conftest.obj
5275 if { { ac_try
="$ac_compile"
5277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 printf "%s\n" "$ac_try_echo"; } >&5
5282 (eval "$ac_compile") 2>&5
5284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285 test $ac_status = 0; }
5287 for ac_file in conftest.o conftest.obj conftest.*; do
5288 test -f "$ac_file" || continue;
5290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5291 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5296 printf "%s\n" "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.$ac_ext >&5
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 $? "cannot compute suffix of object files
: cannot compile
5302 See \
`config.log' for more details" "$LINENO" 5; }
5304 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5307 printf "%s\n" "$ac_cv_objext" >&6; }
5308 OBJEXT=$ac_cv_objext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5311 printf %s "checking whether the compiler supports GNU C... " >&6; }
5312 if test ${ac_cv_c_compiler_gnu+y}
5314 printf %s "(cached) " >&6
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5330 if ac_fn_c_try_compile "$LINENO"
5336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5337 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5341 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5344 if test $ac_compiler_gnu = yes; then
5349 ac_test_CFLAGS=${CFLAGS+y}
5350 ac_save_CFLAGS=$CFLAGS
5351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5352 printf %s "checking whether $CC accepts -g... " >&6; }
5353 if test ${ac_cv_prog_cc_g+y}
5355 printf %s "(cached) " >&6
5357 ac_save_c_werror_flag=$ac_c_werror_flag
5358 ac_c_werror_flag=yes
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5372 if ac_fn_c_try_compile "$LINENO"
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5388 if ac_fn_c_try_compile "$LINENO"
5392 ac_c_werror_flag=$ac_save_c_werror_flag
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5405 if ac_fn_c_try_compile "$LINENO"
5409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5414 ac_c_werror_flag=$ac_save_c_werror_flag
5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5417 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5418 if test $ac_test_CFLAGS; then
5419 CFLAGS=$ac_save_CFLAGS
5420 elif test $ac_cv_prog_cc_g = yes; then
5421 if test "$GCC" = yes; then
5427 if test "$GCC" = yes; then
5434 if test x$ac_prog_cc_stdc = xno
5436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5437 printf %s "checking for $CC option to enable C11 features... " >&6; }
5438 if test ${ac_cv_prog_cc_c11+y}
5440 printf %s "(cached) " >&6
5442 ac_cv_prog_cc_c11=no
5444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5446 $ac_c_conftest_c11_program
5448 for ac_arg in '' -std=gnu11
5450 CC="$ac_save_CC $ac_arg"
5451 if ac_fn_c_try_compile "$LINENO"
5453 ac_cv_prog_cc_c11=$ac_arg
5455 rm -f core conftest.err conftest.$ac_objext conftest.beam
5456 test "x$ac_cv_prog_cc_c11" != "xno" && break
5458 rm -f conftest.$ac_ext
5462 if test "x$ac_cv_prog_cc_c11" = xno
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5465 printf "%s\n" "unsupported" >&6; }
5467 if test "x$ac_cv_prog_cc_c11" = x
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5470 printf "%s\n" "none needed" >&6; }
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5473 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5474 CC="$CC $ac_cv_prog_cc_c11"
5476 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5480 if test x$ac_prog_cc_stdc = xno
5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5483 printf %s "checking for $CC option to enable C99 features... " >&6; }
5484 if test ${ac_cv_prog_cc_c99+y}
5486 printf %s "(cached) " >&6
5488 ac_cv_prog_cc_c99=no
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5492 $ac_c_conftest_c99_program
5494 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5496 CC="$ac_save_CC $ac_arg"
5497 if ac_fn_c_try_compile "$LINENO"
5499 ac_cv_prog_cc_c99=$ac_arg
5501 rm -f core conftest.err conftest.$ac_objext conftest.beam
5502 test "x$ac_cv_prog_cc_c99" != "xno" && break
5504 rm -f conftest.$ac_ext
5508 if test "x$ac_cv_prog_cc_c99" = xno
5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5511 printf "%s\n" "unsupported" >&6; }
5513 if test "x$ac_cv_prog_cc_c99" = x
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5516 printf "%s\n" "none needed" >&6; }
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5519 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5520 CC="$CC $ac_cv_prog_cc_c99"
5522 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5526 if test x$ac_prog_cc_stdc = xno
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5529 printf %s "checking for $CC option to enable C89 features... " >&6; }
5530 if test ${ac_cv_prog_cc_c89+y}
5532 printf %s "(cached) " >&6
5534 ac_cv_prog_cc_c89=no
5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5538 $ac_c_conftest_c89_program
5540 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5542 CC="$ac_save_CC $ac_arg"
5543 if ac_fn_c_try_compile "$LINENO"
5545 ac_cv_prog_cc_c89=$ac_arg
5547 rm -f core conftest.err conftest.$ac_objext conftest.beam
5548 test "x$ac_cv_prog_cc_c89" != "xno" && break
5550 rm -f conftest.$ac_ext
5554 if test "x$ac_cv_prog_cc_c89" = xno
5556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5557 printf "%s\n" "unsupported" >&6; }
5559 if test "x$ac_cv_prog_cc_c89" = x
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5562 printf "%s\n" "none needed" >&6; }
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5565 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5566 CC="$CC $ac_cv_prog_cc_c89"
5568 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5574 ac_cpp='$CPP $CPPFLAGS'
5575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5586 ac_cpp='$CXXCPP $CPPFLAGS'
5587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5590 if test -z "$CXX"; then
5591 if test -n "$CCC"; then
5594 if test -n "$ac_tool_prefix"; then
5595 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 printf %s "checking for $ac_word... " >&6; }
5601 if test ${ac_cv_prog_CXX+y}
5603 printf %s "(cached) " >&6
5605 if test -n "$CXX"; then
5606 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 case $as_dir in #(((
5615 *) as_dir=$as_dir/ ;;
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5630 if test -n "$CXX"; then
5631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5632 printf "%s\n" "$CXX" >&6; }
5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 printf "%s\n" "no" >&6; }
5639 test -n "$CXX" && break
5642 if test -z "$CXX"; then
5644 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5646 # Extract the first word of "$ac_prog", so it can be a program name with args.
5647 set dummy $ac_prog; ac_word=$2
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 printf %s "checking for $ac_word... " >&6; }
5650 if test ${ac_cv_prog_ac_ct_CXX+y}
5652 printf %s "(cached) " >&6
5654 if test -n "$ac_ct_CXX"; then
5655 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 case $as_dir in #(((
5664 *) as_dir=$as_dir/ ;;
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5668 ac_cv_prog_ac_ct_CXX="$ac_prog"
5669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5678 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5679 if test -n "$ac_ct_CXX"; then
5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5681 printf "%s\n" "$ac_ct_CXX" >&6; }
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 printf "%s\n" "no" >&6; }
5688 test -n "$ac_ct_CXX" && break
5691 if test "x$ac_ct_CXX" = x; then
5694 case $cross_compiling:$ac_tool_warned in
5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5697 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5698 ac_tool_warned=yes ;;
5706 # Provide some information about the compiler.
5707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5710 for ac_option in --version -v -V -qversion; do
5711 { { ac_try="$ac_compiler $ac_option >&5"
5713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5714 *) ac_try_echo
=$ac_try;;
5716 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5717 printf "%s\n" "$ac_try_echo"; } >&5
5718 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5720 if test -s conftest.err
; then
5722 ... rest of stderr output deleted ...
5723 10q' conftest.err
>conftest.er1
5724 cat conftest.er1
>&5
5726 rm -f conftest.er1 conftest.err
5727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5728 test $ac_status = 0; }
5731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5732 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5733 if test ${ac_cv_cxx_compiler_gnu+y}
5735 printf %s
"(cached) " >&6
5737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5751 if ac_fn_cxx_try_compile
"$LINENO"
5757 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5758 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5762 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5765 if test $ac_compiler_gnu = yes; then
5770 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5771 ac_save_CXXFLAGS
=$CXXFLAGS
5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5773 printf %s
"checking whether $CXX accepts -g... " >&6; }
5774 if test ${ac_cv_prog_cxx_g+y}
5776 printf %s
"(cached) " >&6
5778 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5779 ac_cxx_werror_flag
=yes
5782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5793 if ac_fn_cxx_try_compile
"$LINENO"
5795 ac_cv_prog_cxx_g
=yes
5798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5809 if ac_fn_cxx_try_compile
"$LINENO"
5813 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5816 /* end confdefs.h. */
5826 if ac_fn_cxx_try_compile
"$LINENO"
5828 ac_cv_prog_cxx_g
=yes
5830 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5832 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5834 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5835 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5838 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5839 if test $ac_test_CXXFLAGS; then
5840 CXXFLAGS
=$ac_save_CXXFLAGS
5841 elif test $ac_cv_prog_cxx_g = yes; then
5842 if test "$GXX" = yes; then
5848 if test "$GXX" = yes; then
5854 ac_prog_cxx_stdcxx
=no
5855 if test x
$ac_prog_cxx_stdcxx = xno
5857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5858 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5859 if test ${ac_cv_prog_cxx_11+y}
5861 printf %s
"(cached) " >&6
5863 ac_cv_prog_cxx_11
=no
5865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5867 $ac_cxx_conftest_cxx11_program
5869 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5871 CXX
="$ac_save_CXX $ac_arg"
5872 if ac_fn_cxx_try_compile
"$LINENO"
5874 ac_cv_prog_cxx_cxx11
=$ac_arg
5876 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5877 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5879 rm -f conftest.
$ac_ext
5883 if test "x$ac_cv_prog_cxx_cxx11" = xno
5885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5886 printf "%s\n" "unsupported" >&6; }
5888 if test "x$ac_cv_prog_cxx_cxx11" = x
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5891 printf "%s\n" "none needed" >&6; }
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5894 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5895 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5897 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5898 ac_prog_cxx_stdcxx
=cxx11
5901 if test x
$ac_prog_cxx_stdcxx = xno
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5904 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5905 if test ${ac_cv_prog_cxx_98+y}
5907 printf %s
"(cached) " >&6
5909 ac_cv_prog_cxx_98
=no
5911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5913 $ac_cxx_conftest_cxx98_program
5915 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5917 CXX
="$ac_save_CXX $ac_arg"
5918 if ac_fn_cxx_try_compile
"$LINENO"
5920 ac_cv_prog_cxx_cxx98
=$ac_arg
5922 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5923 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5925 rm -f conftest.
$ac_ext
5929 if test "x$ac_cv_prog_cxx_cxx98" = xno
5931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5932 printf "%s\n" "unsupported" >&6; }
5934 if test "x$ac_cv_prog_cxx_cxx98" = x
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5937 printf "%s\n" "none needed" >&6; }
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5940 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5941 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5943 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5944 ac_prog_cxx_stdcxx
=cxx98
5949 ac_cpp
='$CPP $CPPFLAGS'
5950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5954 if test -n "$ac_tool_prefix"; then
5955 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5956 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 printf %s
"checking for $ac_word... " >&6; }
5959 if test ${ac_cv_prog_CPPBIN+y}
5961 printf %s
"(cached) " >&6
5963 if test -n "$CPPBIN"; then
5964 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
5966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5970 case $as_dir in #(((
5973 *) as_dir
=$as_dir/ ;;
5975 for ac_exec_ext
in '' $ac_executable_extensions; do
5976 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
5978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5987 CPPBIN
=$ac_cv_prog_CPPBIN
5988 if test -n "$CPPBIN"; then
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5990 printf "%s\n" "$CPPBIN" >&6; }
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 printf "%s\n" "no" >&6; }
5998 if test -z "$ac_cv_prog_CPPBIN"; then
5999 ac_ct_CPPBIN
=$CPPBIN
6000 # Extract the first word of "cpp", so it can be a program name with args.
6001 set dummy cpp
; ac_word
=$2
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 printf %s
"checking for $ac_word... " >&6; }
6004 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6006 printf %s
"(cached) " >&6
6008 if test -n "$ac_ct_CPPBIN"; then
6009 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6015 case $as_dir in #(((
6018 *) as_dir
=$as_dir/ ;;
6020 for ac_exec_ext
in '' $ac_executable_extensions; do
6021 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6032 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6033 if test -n "$ac_ct_CPPBIN"; then
6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6035 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 printf "%s\n" "no" >&6; }
6041 if test "x$ac_ct_CPPBIN" = x
; then
6044 case $cross_compiling:$ac_tool_warned in
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6047 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6048 ac_tool_warned
=yes ;;
6050 CPPBIN
=$ac_ct_CPPBIN
6053 CPPBIN
="$ac_cv_prog_CPPBIN"
6057 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6059 if test -n "$ac_tool_prefix"; then
6060 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6061 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 printf %s
"checking for $ac_word... " >&6; }
6064 if test ${ac_cv_prog_LD+y}
6066 printf %s
"(cached) " >&6
6068 if test -n "$LD"; then
6069 ac_cv_prog_LD
="$LD" # Let the user override the test.
6071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6075 case $as_dir in #(((
6078 *) as_dir
=$as_dir/ ;;
6080 for ac_exec_ext
in '' $ac_executable_extensions; do
6081 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6093 if test -n "$LD"; then
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6095 printf "%s\n" "$LD" >&6; }
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 printf "%s\n" "no" >&6; }
6103 if test -z "$ac_cv_prog_LD"; then
6105 # Extract the first word of "ld", so it can be a program name with args.
6106 set dummy ld
; ac_word
=$2
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 printf %s
"checking for $ac_word... " >&6; }
6109 if test ${ac_cv_prog_ac_ct_LD+y}
6111 printf %s
"(cached) " >&6
6113 if test -n "$ac_ct_LD"; then
6114 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6120 case $as_dir in #(((
6123 *) as_dir
=$as_dir/ ;;
6125 for ac_exec_ext
in '' $ac_executable_extensions; do
6126 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_ac_ct_LD
="ld"
6128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6137 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6138 if test -n "$ac_ct_LD"; then
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6140 printf "%s\n" "$ac_ct_LD" >&6; }
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 printf "%s\n" "no" >&6; }
6146 if test "x$ac_ct_LD" = x
; then
6149 case $cross_compiling:$ac_tool_warned in
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6152 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6153 ac_tool_warned
=yes ;;
6164 with_fontconfig
=${with_fontconfig:-no}
6166 *-mingw32*|
*-cygwin*)
6167 enable_win16
=${enable_win16:-no}
6168 with_mingw
=${with_mingw:-no}
6175 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6181 printf %s
"checking whether $CC works... " >&6; }
6182 if test ${wine_cv_cc_m32+y}
6184 printf %s
"(cached) " >&6
6186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6197 if ac_fn_c_try_link
"$LINENO"
6203 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6204 conftest
$ac_exeext conftest.
$ac_ext
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6207 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6208 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
6210 notice_platform
="32-bit "
6211 TARGETFLAGS
="$TARGETFLAGS -m32"
6212 PKG_CONFIG_LIBDIR
=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6213 export PKG_CONFIG_LIBDIR
6214 with_unwind
=${with_unwind:-no}
6216 if test "x${GCC}" = "xyes"
6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6219 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6220 if test ${wine_cv_builtin_ms_va_list+y}
6222 printf %s
"(cached) " >&6
6224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6230 void func(__builtin_ms_va_list *args);
6235 if ac_fn_c_try_compile
"$LINENO"
6237 wine_cv_builtin_ms_va_list
=yes
6239 wine_cv_builtin_ms_va_list
=no
6241 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6244 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6245 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
6250 notice_platform
="64-bit "
6251 TARGETFLAGS
="$TARGETFLAGS -m64"
6255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6256 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6257 if test ${wine_cv_thumb2+y}
6259 printf %s
"(cached) " >&6
6261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6267 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6272 if ac_fn_c_try_link
"$LINENO"
6278 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6279 conftest
$ac_exeext conftest.
$ac_ext
6281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6282 printf "%s\n" "$wine_cv_thumb2" >&6; }
6283 if test x
"$wine_cv_thumb2" = xyes
6285 CFLAGS
="$CFLAGS -mthumb"
6286 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6288 CFLAGS
="$CFLAGS -marm"
6289 TARGETFLAGS
="$TARGETFLAGS -marm"
6291 case $with_float_abi in
6293 float_abi
=$with_float_abi ;;
6300 saved_CFLAGS
=$CFLAGS
6301 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6303 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6304 if test ${wine_cv_float_abi+y}
6306 printf %s
"(cached) " >&6
6308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6309 /* end confdefs.h. */
6314 asm("vmrs r2,fpscr");
6319 if ac_fn_c_try_link
"$LINENO"
6321 wine_cv_float_abi
=yes
6323 wine_cv_float_abi
=no
6325 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6326 conftest
$ac_exeext conftest.
$ac_ext
6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6329 printf "%s\n" "$wine_cv_float_abi" >&6; }
6330 if test $wine_cv_float_abi = no
6333 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6335 CFLAGS
=$saved_CFLAGS
6339 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6340 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6343 with_unwind
=${with_unwind:-no}
6347 enable_win16
=${enable_win16:-i386}
6348 enable_win64
=${enable_win64:-no}
6349 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6350 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6351 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6353 enable_winetest
=${enable_winetest:-$enable_tests}
6355 if test "x$enable_win64" = "xyes"
6357 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6358 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6362 cygwin
*|mingw32
*) toolsext
=".exe"
6370 aarch64
*) HOST_ARCH
=aarch64
;;
6371 arm
*) HOST_ARCH
=arm
;;
6372 i
[3456789]86*) HOST_ARCH
=i386
;;
6373 x86_64
) HOST_ARCH
=x86_64
;;
6377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6378 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6379 if test ${wine_cv_toolsdir+y}
6381 printf %s
"(cached) " >&6
6383 wine_cv_toolsdir
="$with_wine_tools"
6384 if test -z "$with_wine_tools"; then
6385 if test "$cross_compiling" = "yes"; then
6386 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6387 elif test -n "$with_wine64"; then
6388 wine_cv_toolsdir
="$with_wine64"
6392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6393 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6394 if test -z "$wine_cv_toolsdir"; then
6395 wine_makedep
=tools
/makedep
$toolsext
6396 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6397 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6398 enable_tools
=${enable_tools:-no}
6399 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6401 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6403 toolsdir
=$wine_cv_toolsdir
6405 MAKEDEP
=$wine_makedep
6407 RUNTESTFLAGS
="-q -P wine"
6409 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'"
6412 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6414 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6419 # Extract the first word of "$ac_prog", so it can be a program name with args.
6420 set dummy
$ac_prog; ac_word
=$2
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 printf %s
"checking for $ac_word... " >&6; }
6423 if test ${ac_cv_prog_FLEX+y}
6425 printf %s
"(cached) " >&6
6427 if test -n "$FLEX"; then
6428 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6434 case $as_dir in #(((
6437 *) as_dir
=$as_dir/ ;;
6439 for ac_exec_ext
in '' $ac_executable_extensions; do
6440 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_FLEX
="$ac_prog"
6442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6451 FLEX
=$ac_cv_prog_FLEX
6452 if test -n "$FLEX"; then
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6454 printf "%s\n" "$FLEX" >&6; }
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 printf "%s\n" "no" >&6; }
6461 test -n "$FLEX" && break
6463 test -n "$FLEX" || FLEX
="none"
6465 if test "$FLEX" = "none"
6467 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6470 printf %s
"checking whether flex is recent enough... " >&6; }
6471 if test ${wine_cv_recent_flex+y}
6473 printf %s
"(cached) " >&6
6475 cat >conftest.l
<<EOF
6477 #include "prediluvian.h"
6481 if $FLEX -t conftest.l
>/dev
/null
2>&5
6483 wine_cv_recent_flex
=yes
6485 wine_cv_recent_flex
=no
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6489 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6490 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
6492 for ac_prog
in bison
6494 # Extract the first word of "$ac_prog", so it can be a program name with args.
6495 set dummy
$ac_prog; ac_word
=$2
6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 printf %s
"checking for $ac_word... " >&6; }
6498 if test ${ac_cv_prog_BISON+y}
6500 printf %s
"(cached) " >&6
6502 if test -n "$BISON"; then
6503 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6509 case $as_dir in #(((
6512 *) as_dir
=$as_dir/ ;;
6514 for ac_exec_ext
in '' $ac_executable_extensions; do
6515 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6516 ac_cv_prog_BISON
="$ac_prog"
6517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6526 BISON
=$ac_cv_prog_BISON
6527 if test -n "$BISON"; then
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6529 printf "%s\n" "$BISON" >&6; }
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 printf "%s\n" "no" >&6; }
6536 test -n "$BISON" && break
6538 test -n "$BISON" || BISON
="none"
6540 if test "$BISON" = "none"
6542 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6545 printf %s
"checking whether bison is recent enough... " >&6; }
6546 if test ${wine_cv_recent_bison+y}
6548 printf %s
"(cached) " >&6
6550 cat >conftest.y
<<EOF
6551 %define parse.error verbose
6555 if $BISON conftest.y
>/dev
/null
2>&5
6557 wine_cv_recent_bison
=yes
6559 wine_cv_recent_bison
=no
6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6563 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6564 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
6566 if test -n "$ac_tool_prefix"; then
6567 for ac_prog
in ar gar
6569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6570 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 printf %s
"checking for $ac_word... " >&6; }
6573 if test ${ac_cv_prog_AR+y}
6575 printf %s
"(cached) " >&6
6577 if test -n "$AR"; then
6578 ac_cv_prog_AR
="$AR" # Let the user override the test.
6580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6584 case $as_dir in #(((
6587 *) as_dir
=$as_dir/ ;;
6589 for ac_exec_ext
in '' $ac_executable_extensions; do
6590 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6602 if test -n "$AR"; then
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6604 printf "%s\n" "$AR" >&6; }
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 printf "%s\n" "no" >&6; }
6611 test -n "$AR" && break
6614 if test -z "$AR"; then
6616 for ac_prog
in ar gar
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy
$ac_prog; ac_word
=$2
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 printf %s
"checking for $ac_word... " >&6; }
6622 if test ${ac_cv_prog_ac_ct_AR+y}
6624 printf %s
"(cached) " >&6
6626 if test -n "$ac_ct_AR"; then
6627 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6633 case $as_dir in #(((
6636 *) as_dir
=$as_dir/ ;;
6638 for ac_exec_ext
in '' $ac_executable_extensions; do
6639 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6640 ac_cv_prog_ac_ct_AR
="$ac_prog"
6641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6650 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6651 if test -n "$ac_ct_AR"; then
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6653 printf "%s\n" "$ac_ct_AR" >&6; }
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 printf "%s\n" "no" >&6; }
6660 test -n "$ac_ct_AR" && break
6663 if test "x$ac_ct_AR" = x
; then
6666 case $cross_compiling:$ac_tool_warned in
6668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6669 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6670 ac_tool_warned
=yes ;;
6676 if test -n "$ac_tool_prefix"; then
6677 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6678 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 printf %s
"checking for $ac_word... " >&6; }
6681 if test ${ac_cv_prog_STRIP+y}
6683 printf %s
"(cached) " >&6
6685 if test -n "$STRIP"; then
6686 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6692 case $as_dir in #(((
6695 *) as_dir
=$as_dir/ ;;
6697 for ac_exec_ext
in '' $ac_executable_extensions; do
6698 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6699 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6709 STRIP
=$ac_cv_prog_STRIP
6710 if test -n "$STRIP"; then
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6712 printf "%s\n" "$STRIP" >&6; }
6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 printf "%s\n" "no" >&6; }
6720 if test -z "$ac_cv_prog_STRIP"; then
6722 # Extract the first word of "strip", so it can be a program name with args.
6723 set dummy strip
; ac_word
=$2
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 printf %s
"checking for $ac_word... " >&6; }
6726 if test ${ac_cv_prog_ac_ct_STRIP+y}
6728 printf %s
"(cached) " >&6
6730 if test -n "$ac_ct_STRIP"; then
6731 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6737 case $as_dir in #(((
6740 *) as_dir
=$as_dir/ ;;
6742 for ac_exec_ext
in '' $ac_executable_extensions; do
6743 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_ac_ct_STRIP
="strip"
6745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6754 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6755 if test -n "$ac_ct_STRIP"; then
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6757 printf "%s\n" "$ac_ct_STRIP" >&6; }
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 printf "%s\n" "no" >&6; }
6763 if test "x$ac_ct_STRIP" = x
; then
6766 case $cross_compiling:$ac_tool_warned in
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6769 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6770 ac_tool_warned
=yes ;;
6775 STRIP
="$ac_cv_prog_STRIP"
6778 if test -n "$ac_tool_prefix"; then
6779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6780 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 printf %s
"checking for $ac_word... " >&6; }
6783 if test ${ac_cv_prog_RANLIB+y}
6785 printf %s
"(cached) " >&6
6787 if test -n "$RANLIB"; then
6788 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6794 case $as_dir in #(((
6797 *) as_dir
=$as_dir/ ;;
6799 for ac_exec_ext
in '' $ac_executable_extensions; do
6800 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6811 RANLIB
=$ac_cv_prog_RANLIB
6812 if test -n "$RANLIB"; then
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6814 printf "%s\n" "$RANLIB" >&6; }
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 printf "%s\n" "no" >&6; }
6822 if test -z "$ac_cv_prog_RANLIB"; then
6823 ac_ct_RANLIB
=$RANLIB
6824 # Extract the first word of "ranlib", so it can be a program name with args.
6825 set dummy ranlib
; ac_word
=$2
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 printf %s
"checking for $ac_word... " >&6; }
6828 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6830 printf %s
"(cached) " >&6
6832 if test -n "$ac_ct_RANLIB"; then
6833 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6839 case $as_dir in #(((
6842 *) as_dir
=$as_dir/ ;;
6844 for ac_exec_ext
in '' $ac_executable_extensions; do
6845 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6846 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6856 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6857 if test -n "$ac_ct_RANLIB"; then
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6859 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 printf "%s\n" "no" >&6; }
6865 if test "x$ac_ct_RANLIB" = x
; then
6868 case $cross_compiling:$ac_tool_warned in
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned
=yes ;;
6874 RANLIB
=$ac_ct_RANLIB
6877 RANLIB
="$ac_cv_prog_RANLIB"
6880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6881 printf %s
"checking whether ln -s works... " >&6; }
6883 if test "$LN_S" = "ln -s"; then
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6885 printf "%s\n" "yes" >&6; }
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6888 printf "%s\n" "no, using $LN_S" >&6; }
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6892 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6893 if test ${ac_cv_path_GREP+y}
6895 printf %s
"(cached) " >&6
6897 if test -z "$GREP"; then
6898 ac_path_GREP_found
=false
6899 # Loop through the user's path and test for each of PROGNAME-LIST
6900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6901 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6904 case $as_dir in #(((
6907 *) as_dir
=$as_dir/ ;;
6909 for ac_prog
in grep ggrep
6911 for ac_exec_ext
in '' $ac_executable_extensions; do
6912 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6913 as_fn_executable_p
"$ac_path_GREP" ||
continue
6914 # Check for GNU ac_path_GREP and select it if it is found.
6915 # Check for GNU $ac_path_GREP
6916 case `"$ac_path_GREP" --version 2>&1` in
6918 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6921 printf %s
0123456789 >"conftest.in"
6924 cat "conftest.in" "conftest.in" >"conftest.tmp"
6925 mv "conftest.tmp" "conftest.in"
6926 cp "conftest.in" "conftest.nl"
6927 printf "%s\n" 'GREP' >> "conftest.nl"
6928 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6929 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6930 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6931 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6932 # Best one so far, save it but keep looking for a better one
6933 ac_cv_path_GREP
="$ac_path_GREP"
6934 ac_path_GREP_max
=$ac_count
6936 # 10*(2^10) chars as input seems more than enough
6937 test $ac_count -gt 10 && break
6939 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6942 $ac_path_GREP_found && break 3
6947 if test -z "$ac_cv_path_GREP"; then
6948 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6951 ac_cv_path_GREP
=$GREP
6955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6956 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6957 GREP
="$ac_cv_path_GREP"
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6961 printf %s
"checking for egrep... " >&6; }
6962 if test ${ac_cv_path_EGREP+y}
6964 printf %s
"(cached) " >&6
6966 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6967 then ac_cv_path_EGREP
="$GREP -E"
6969 if test -z "$EGREP"; then
6970 ac_path_EGREP_found
=false
6971 # Loop through the user's path and test for each of PROGNAME-LIST
6972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6973 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6976 case $as_dir in #(((
6979 *) as_dir
=$as_dir/ ;;
6981 for ac_prog
in egrep
6983 for ac_exec_ext
in '' $ac_executable_extensions; do
6984 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
6985 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6986 # Check for GNU ac_path_EGREP and select it if it is found.
6987 # Check for GNU $ac_path_EGREP
6988 case `"$ac_path_EGREP" --version 2>&1` in
6990 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6993 printf %s
0123456789 >"conftest.in"
6996 cat "conftest.in" "conftest.in" >"conftest.tmp"
6997 mv "conftest.tmp" "conftest.in"
6998 cp "conftest.in" "conftest.nl"
6999 printf "%s\n" 'EGREP' >> "conftest.nl"
7000 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7001 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7002 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7003 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7004 # Best one so far, save it but keep looking for a better one
7005 ac_cv_path_EGREP
="$ac_path_EGREP"
7006 ac_path_EGREP_max
=$ac_count
7008 # 10*(2^10) chars as input seems more than enough
7009 test $ac_count -gt 10 && break
7011 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7014 $ac_path_EGREP_found && break 3
7019 if test -z "$ac_cv_path_EGREP"; then
7020 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7023 ac_cv_path_EGREP
=$EGREP
7028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7029 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7030 EGREP
="$ac_cv_path_EGREP"
7033 # Extract the first word of "ldconfig", so it can be a program name with args.
7034 set dummy ldconfig
; ac_word
=$2
7035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 printf %s
"checking for $ac_word... " >&6; }
7037 if test ${ac_cv_path_LDCONFIG+y}
7039 printf %s
"(cached) " >&6
7043 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7047 for as_dir
in /sbin
/usr
/sbin
$PATH
7050 case $as_dir in #(((
7053 *) as_dir
=$as_dir/ ;;
7055 for ac_exec_ext
in '' $ac_executable_extensions; do
7056 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7057 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7065 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7069 LDCONFIG
=$ac_cv_path_LDCONFIG
7070 if test -n "$LDCONFIG"; then
7071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7072 printf "%s\n" "$LDCONFIG" >&6; }
7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075 printf "%s\n" "no" >&6; }
7079 for ac_prog
in msgfmt
7081 # Extract the first word of "$ac_prog", so it can be a program name with args.
7082 set dummy
$ac_prog; ac_word
=$2
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 printf %s
"checking for $ac_word... " >&6; }
7085 if test ${ac_cv_prog_MSGFMT+y}
7087 printf %s
"(cached) " >&6
7089 if test -n "$MSGFMT"; then
7090 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7096 case $as_dir in #(((
7099 *) as_dir
=$as_dir/ ;;
7101 for ac_exec_ext
in '' $ac_executable_extensions; do
7102 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_MSGFMT
="$ac_prog"
7104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7113 MSGFMT
=$ac_cv_prog_MSGFMT
7114 if test -n "$MSGFMT"; then
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7116 printf "%s\n" "$MSGFMT" >&6; }
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 printf "%s\n" "no" >&6; }
7123 test -n "$MSGFMT" && break
7125 test -n "$MSGFMT" || MSGFMT
="false"
7127 if test ${ac_tool_prefix+y}
7129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7130 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 printf %s
"checking for $ac_word... " >&6; }
7133 if test ${ac_cv_prog_PKG_CONFIG+y}
7135 printf %s
"(cached) " >&6
7137 if test -n "$PKG_CONFIG"; then
7138 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7144 case $as_dir in #(((
7147 *) as_dir
=$as_dir/ ;;
7149 for ac_exec_ext
in '' $ac_executable_extensions; do
7150 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7151 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7161 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7162 if test -n "$PKG_CONFIG"; then
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7164 printf "%s\n" "$PKG_CONFIG" >&6; }
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 printf "%s\n" "no" >&6; }
7172 if ${ac_cv_prog_PKG_CONFIG:+false} :
7174 if test "x$cross_compiling" = xyes
7178 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7179 # Extract the first word of "pkg-config", so it can be a program name with args.
7180 set dummy pkg-config
; ac_word
=$2
7181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7182 printf %s
"checking for $ac_word... " >&6; }
7183 if test ${ac_cv_prog_PKG_CONFIG+y}
7185 printf %s
"(cached) " >&6
7187 if test -n "$PKG_CONFIG"; then
7188 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7194 case $as_dir in #(((
7197 *) as_dir
=$as_dir/ ;;
7199 for ac_exec_ext
in '' $ac_executable_extensions; do
7200 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7201 ac_cv_prog_PKG_CONFIG
="pkg-config"
7202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7211 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7212 if test -n "$PKG_CONFIG"; then
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7214 printf "%s\n" "$PKG_CONFIG" >&6; }
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7217 printf "%s\n" "no" >&6; }
7223 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7226 if test "x$enable_maintainer_mode" != "xyes"
7233 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7234 for ac_prog
in fontforge
7236 # Extract the first word of "$ac_prog", so it can be a program name with args.
7237 set dummy
$ac_prog; ac_word
=$2
7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 printf %s
"checking for $ac_word... " >&6; }
7240 if test ${ac_cv_prog_FONTFORGE+y}
7242 printf %s
"(cached) " >&6
7244 if test -n "$FONTFORGE"; then
7245 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7251 case $as_dir in #(((
7254 *) as_dir
=$as_dir/ ;;
7256 for ac_exec_ext
in '' $ac_executable_extensions; do
7257 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7258 ac_cv_prog_FONTFORGE
="$ac_prog"
7259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7268 FONTFORGE
=$ac_cv_prog_FONTFORGE
7269 if test -n "$FONTFORGE"; then
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7271 printf "%s\n" "$FONTFORGE" >&6; }
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 printf "%s\n" "no" >&6; }
7278 test -n "$FONTFORGE" && break
7280 test -n "$FONTFORGE" || FONTFORGE
="false"
7282 for ac_prog
in rsvg-convert rsvg
7284 # Extract the first word of "$ac_prog", so it can be a program name with args.
7285 set dummy
$ac_prog; ac_word
=$2
7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 printf %s
"checking for $ac_word... " >&6; }
7288 if test ${ac_cv_prog_RSVG+y}
7290 printf %s
"(cached) " >&6
7292 if test -n "$RSVG"; then
7293 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7299 case $as_dir in #(((
7302 *) as_dir
=$as_dir/ ;;
7304 for ac_exec_ext
in '' $ac_executable_extensions; do
7305 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7306 ac_cv_prog_RSVG
="$ac_prog"
7307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7316 RSVG
=$ac_cv_prog_RSVG
7317 if test -n "$RSVG"; then
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7319 printf "%s\n" "$RSVG" >&6; }
7321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322 printf "%s\n" "no" >&6; }
7326 test -n "$RSVG" && break
7328 test -n "$RSVG" || RSVG
="false"
7330 for ac_prog
in convert
7332 # Extract the first word of "$ac_prog", so it can be a program name with args.
7333 set dummy
$ac_prog; ac_word
=$2
7334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 printf %s
"checking for $ac_word... " >&6; }
7336 if test ${ac_cv_prog_CONVERT+y}
7338 printf %s
"(cached) " >&6
7340 if test -n "$CONVERT"; then
7341 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7347 case $as_dir in #(((
7350 *) as_dir
=$as_dir/ ;;
7352 for ac_exec_ext
in '' $ac_executable_extensions; do
7353 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7354 ac_cv_prog_CONVERT
="$ac_prog"
7355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7364 CONVERT
=$ac_cv_prog_CONVERT
7365 if test -n "$CONVERT"; then
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7367 printf "%s\n" "$CONVERT" >&6; }
7369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 printf "%s\n" "no" >&6; }
7374 test -n "$CONVERT" && break
7376 test -n "$CONVERT" || CONVERT
="false"
7378 for ac_prog
in icotool
7380 # Extract the first word of "$ac_prog", so it can be a program name with args.
7381 set dummy
$ac_prog; ac_word
=$2
7382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 printf %s
"checking for $ac_word... " >&6; }
7384 if test ${ac_cv_prog_ICOTOOL+y}
7386 printf %s
"(cached) " >&6
7388 if test -n "$ICOTOOL"; then
7389 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7395 case $as_dir in #(((
7398 *) as_dir
=$as_dir/ ;;
7400 for ac_exec_ext
in '' $ac_executable_extensions; do
7401 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7402 ac_cv_prog_ICOTOOL
="$ac_prog"
7403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7412 ICOTOOL
=$ac_cv_prog_ICOTOOL
7413 if test -n "$ICOTOOL"; then
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7415 printf "%s\n" "$ICOTOOL" >&6; }
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418 printf "%s\n" "no" >&6; }
7422 test -n "$ICOTOOL" && break
7424 test -n "$ICOTOOL" || ICOTOOL
="false"
7426 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7427 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7429 if test "$CONVERT" = false
7431 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7434 printf %s
"checking for recent enough imagemagick... " >&6; }
7435 convert_version
=`convert --version | head -n1`
7436 if test "x$convert_version" != "x"
7438 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7439 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7440 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7445 if test "$CONVERT" = false
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7448 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7449 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7452 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7456 if test "$ICOTOOL" = false
7458 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7461 printf %s
"checking for recent enough icotool... " >&6; }
7462 icotool_version
=`icotool --version | head -n1`
7463 if test "x$icotool_version" != "x"
7465 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7466 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7467 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7470 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7473 if test "$ICOTOOL" = false
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7476 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7477 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7480 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7490 test "x$with_gettext" != xno || MSGFMT
=false
7491 if test "$MSGFMT" != "false"
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7494 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7495 if test ${wine_cv_msgfmt_contexts+y}
7497 printf %s
"(cached) " >&6
7499 cat >conftest.po
<<EOF
7505 if $MSGFMT -o /dev
/null conftest.po
2>&5
7507 wine_cv_msgfmt_contexts
=yes
7509 wine_cv_msgfmt_contexts
=no
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7513 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7514 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7516 if test "$MSGFMT" = false
7518 case "x$with_gettext" in
7519 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7521 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7522 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7524 enable_po
=${enable_po:-no}
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7529 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7530 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7532 printf %s
"(cached) " >&6
7534 ac_check_lib_save_LIBS
=$LIBS
7536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7539 /* Override any GCC internal prototype to avoid an error.
7540 Use char because int might match the return type of a GCC
7541 builtin and then its argument prototype would still apply. */
7542 char i386_set_ldt ();
7546 return i386_set_ldt ();
7551 if ac_fn_c_try_link
"$LINENO"
7553 ac_cv_lib_i386_i386_set_ldt
=yes
7555 ac_cv_lib_i386_i386_set_ldt
=no
7557 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7558 conftest
$ac_exeext conftest.
$ac_ext
7559 LIBS
=$ac_check_lib_save_LIBS
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7562 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7563 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7574 # Check whether --enable-largefile was given.
7575 if test ${enable_largefile+y}
7577 enableval
=$enable_largefile;
7580 if test "$enable_largefile" != no
; then
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7583 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7584 if test ${ac_cv_sys_largefile_CC+y}
7586 printf %s
"(cached) " >&6
7588 ac_cv_sys_largefile_CC
=no
7589 if test "$GCC" != yes; then
7592 # IRIX 6.2 and later do not support large files by default,
7593 # so use the C compiler's -n32 option if that helps.
7594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7596 #include <sys/types.h>
7597 /* Check that off_t can represent 2**63 - 1 correctly.
7598 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7599 since some C++ compilers masquerading as C compilers
7600 incorrectly reject 9223372036854775807. */
7601 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7602 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7603 && LARGE_OFF_T % 2147483647 == 1)
7613 if ac_fn_c_try_compile
"$LINENO"
7617 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7619 if ac_fn_c_try_compile
"$LINENO"
7621 ac_cv_sys_largefile_CC
=' -n32'; break
7623 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7627 rm -f conftest.
$ac_ext
7630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7631 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7632 if test "$ac_cv_sys_largefile_CC" != no
; then
7633 CC
=$CC$ac_cv_sys_largefile_CC
7636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7637 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7638 if test ${ac_cv_sys_file_offset_bits+y}
7640 printf %s
"(cached) " >&6
7643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7645 #include <sys/types.h>
7646 /* Check that off_t can represent 2**63 - 1 correctly.
7647 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7648 since some C++ compilers masquerading as C compilers
7649 incorrectly reject 9223372036854775807. */
7650 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7651 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7652 && LARGE_OFF_T % 2147483647 == 1)
7662 if ac_fn_c_try_compile
"$LINENO"
7664 ac_cv_sys_file_offset_bits
=no
; break
7666 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h. */
7669 #define _FILE_OFFSET_BITS 64
7670 #include <sys/types.h>
7671 /* Check that off_t can represent 2**63 - 1 correctly.
7672 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7673 since some C++ compilers masquerading as C compilers
7674 incorrectly reject 9223372036854775807. */
7675 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7676 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7677 && LARGE_OFF_T % 2147483647 == 1)
7687 if ac_fn_c_try_compile
"$LINENO"
7689 ac_cv_sys_file_offset_bits
=64; break
7691 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7692 ac_cv_sys_file_offset_bits
=unknown
7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7697 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7698 case $ac_cv_sys_file_offset_bits in #(
7701 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7705 if test $ac_cv_sys_file_offset_bits = unknown
; then
7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7707 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7708 if test ${ac_cv_sys_large_files+y}
7710 printf %s
"(cached) " >&6
7713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 #include <sys/types.h>
7716 /* Check that off_t can represent 2**63 - 1 correctly.
7717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7718 since some C++ compilers masquerading as C compilers
7719 incorrectly reject 9223372036854775807. */
7720 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7722 && LARGE_OFF_T % 2147483647 == 1)
7732 if ac_fn_c_try_compile
"$LINENO"
7734 ac_cv_sys_large_files
=no
; break
7736 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7739 #define _LARGE_FILES 1
7740 #include <sys/types.h>
7741 /* Check that off_t can represent 2**63 - 1 correctly.
7742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7743 since some C++ compilers masquerading as C compilers
7744 incorrectly reject 9223372036854775807. */
7745 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7747 && LARGE_OFF_T % 2147483647 == 1)
7757 if ac_fn_c_try_compile
"$LINENO"
7759 ac_cv_sys_large_files
=1; break
7761 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7762 ac_cv_sys_large_files
=unknown
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7767 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7768 case $ac_cv_sys_large_files in #(
7771 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7779 ac_header
= ac_cache
=
7780 for ac_item
in $ac_header_c_list
7782 if test $ac_cache; then
7783 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7784 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7785 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7787 ac_header
= ac_cache
=
7788 elif test $ac_header; then
7802 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7805 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7808 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7809 if test "x$ac_cv_header_CL_cl_h" = xyes
7811 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7814 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7815 if test "x$ac_cv_header_EGL_egl_h" = xyes
7817 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7820 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7821 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7823 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7826 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7827 if test "x$ac_cv_header_arpa_inet_h" = xyes
7829 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7832 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7833 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7835 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7838 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_asm_types_h" = xyes
7841 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_asm_user_h" = xyes
7847 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_elf_h" = xyes
7853 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_float_h" = xyes
7859 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_gettext_po_h" = xyes
7865 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_libproc_h" = xyes
7871 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_link_h" = xyes
7877 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7883 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_linux_filter_h" = xyes
7889 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7895 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7901 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_linux_input_h" = xyes
7907 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7913 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_linux_major_h" = xyes
7919 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_param_h" = xyes
7925 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_serial_h" = xyes
7931 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_types_h" = xyes
7937 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7943 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_lwp_h" = xyes
7949 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7955 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_mach_mach_h" = xyes
7961 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_machine_cpu_h" = xyes
7967 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7973 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_mntent_h" = xyes
7979 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_netdb_h" = xyes
7985 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_netinet_in_h" = xyes
7991 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
7997 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8003 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8009 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8015 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_port_h" = xyes
8021 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_pthread_h" = xyes
8027 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_pwd_h" = xyes
8033 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_sched_h" = xyes
8039 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8045 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8051 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_scsi_sg_h" = xyes
8057 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_stdint_h" = xyes
8063 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_sys_attr_h" = xyes
8069 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_sys_auxv_h" = xyes
8075 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_sys_cdio_h" = xyes
8081 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_sys_epoll_h" = xyes
8087 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_sys_event_h" = xyes
8093 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile
"$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sys_extattr_h" = xyes
8099 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_sys_filio_h" = xyes
8105 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_ipc_h" = xyes
8111 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_link_h" = xyes
8117 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_modem_h" = xyes
8123 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_mtio_h" = xyes
8129 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_param_h" = xyes
8135 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_prctl_h" = xyes
8141 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8147 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_queue_h" = xyes
8153 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_random_h" = xyes
8159 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_resource_h" = xyes
8165 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8171 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_shm_h" = xyes
8177 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_signal_h" = xyes
8183 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8189 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_sockio_h" = xyes
8195 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8201 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_strtio_h" = xyes
8207 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_syscall_h" = xyes
8213 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8219 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_times_h" = xyes
8225 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_uio_h" = xyes
8231 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_user_h" = xyes
8237 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_utsname_h" = xyes
8243 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_vnode_h" = xyes
8249 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_xattr_h" = xyes
8255 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_syscall_h" = xyes
8261 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_utime_h" = xyes
8267 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8273 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8279 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8287 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8291 if test $ac_cv_header_sys_mkdev_h = no
; then
8292 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8296 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8302 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8303 if test ${ac_cv_header_stat_broken+y}
8305 printf %s
"(cached) " >&6
8307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 #include <sys/types.h>
8310 #include <sys/stat.h>
8312 #if defined S_ISBLK && defined S_IFDIR
8313 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8316 #if defined S_ISBLK && defined S_IFCHR
8317 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8320 #if defined S_ISLNK && defined S_IFREG
8321 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8324 #if defined S_ISSOCK && defined S_IFREG
8325 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8329 if ac_fn_c_try_compile
"$LINENO"
8331 ac_cv_header_stat_broken
=no
8333 ac_cv_header_stat_broken
=yes
8335 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8338 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8339 if test $ac_cv_header_stat_broken = yes; then
8341 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8347 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8348 #ifdef HAVE_SYS_PARAM_H
8349 # include <sys/param.h>
8352 if test "x$ac_cv_header_sys_conf_h" = xyes
8354 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8358 #ifdef HAVE_SYS_PARAM_H
8359 # include <sys/param.h>
8362 if test "x$ac_cv_header_sys_mount_h" = xyes
8364 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8367 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8368 #ifdef HAVE_SYS_PARAM_H
8369 # include <sys/param.h>
8372 if test "x$ac_cv_header_sys_statfs_h" = xyes
8374 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8377 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8378 #ifdef HAVE_SYS_PARAM_H
8379 # include <sys/param.h>
8382 if test "x$ac_cv_header_sys_user_h" = xyes
8384 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8388 #ifdef HAVE_SYS_PARAM_H
8389 # include <sys/param.h>
8392 if test "x$ac_cv_header_sys_vfs_h" = xyes
8394 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8399 saved_sysctl_h_CFLAGS
=$CFLAGS
8400 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8401 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8406 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8408 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8412 CFLAGS
=$saved_sysctl_h_CFLAGS
8414 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8415 #include <sys/socket.h>
8416 #ifdef HAVE_SYS_SOCKETVAR_H
8417 # include <sys/socketvar.h>
8419 #ifdef HAVE_NET_ROUTE_H
8420 # include <net/route.h>
8422 #ifdef HAVE_NETINET_IN_H
8423 # include <netinet/in.h>
8425 #ifdef HAVE_NETINET_IN_SYSTM_H
8426 # include <netinet/in_systm.h>
8428 #ifdef HAVE_NET_IF_H
8429 # include <net/if.h>
8431 #ifdef HAVE_NETINET_IP_H
8432 # include <netinet/ip.h>
8435 if test "x$ac_cv_header_netinet_ip_h" = xyes
8437 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8441 #include <sys/socket.h>
8442 #ifdef HAVE_SYS_SOCKETVAR_H
8443 # include <sys/socketvar.h>
8445 #ifdef HAVE_NET_ROUTE_H
8446 # include <net/route.h>
8448 #ifdef HAVE_NETINET_IN_H
8449 # include <netinet/in.h>
8451 #ifdef HAVE_NETINET_IN_SYSTM_H
8452 # include <netinet/in_systm.h>
8454 #ifdef HAVE_NET_IF_H
8455 # include <net/if.h>
8457 #ifdef HAVE_NETINET_IP_H
8458 # include <netinet/ip.h>
8461 if test "x$ac_cv_header_net_if_h" = xyes
8463 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8466 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8467 #include <sys/socket.h>
8468 #ifdef HAVE_SYS_SOCKETVAR_H
8469 # include <sys/socketvar.h>
8471 #ifdef HAVE_NET_ROUTE_H
8472 # include <net/route.h>
8474 #ifdef HAVE_NETINET_IN_H
8475 # include <netinet/in.h>
8477 #ifdef HAVE_NETINET_IN_SYSTM_H
8478 # include <netinet/in_systm.h>
8480 #ifdef HAVE_NET_IF_H
8481 # include <net/if.h>
8483 #ifdef HAVE_NETINET_IP_H
8484 # include <netinet/ip.h>
8487 if test "x$ac_cv_header_net_if_arp_h" = xyes
8489 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8492 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8493 #include <sys/socket.h>
8494 #ifdef HAVE_SYS_SOCKETVAR_H
8495 # include <sys/socketvar.h>
8497 #ifdef HAVE_NET_ROUTE_H
8498 # include <net/route.h>
8500 #ifdef HAVE_NETINET_IN_H
8501 # include <netinet/in.h>
8503 #ifdef HAVE_NETINET_IN_SYSTM_H
8504 # include <netinet/in_systm.h>
8506 #ifdef HAVE_NET_IF_H
8507 # include <net/if.h>
8509 #ifdef HAVE_NETINET_IP_H
8510 # include <netinet/ip.h>
8513 if test "x$ac_cv_header_net_if_dl_h" = xyes
8515 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8518 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8519 #include <sys/socket.h>
8520 #ifdef HAVE_SYS_SOCKETVAR_H
8521 # include <sys/socketvar.h>
8523 #ifdef HAVE_NET_ROUTE_H
8524 # include <net/route.h>
8526 #ifdef HAVE_NETINET_IN_H
8527 # include <netinet/in.h>
8529 #ifdef HAVE_NETINET_IN_SYSTM_H
8530 # include <netinet/in_systm.h>
8532 #ifdef HAVE_NET_IF_H
8533 # include <net/if.h>
8535 #ifdef HAVE_NETINET_IP_H
8536 # include <netinet/ip.h>
8539 if test "x$ac_cv_header_net_if_types_h" = xyes
8541 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8544 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8545 #include <sys/socket.h>
8546 #ifdef HAVE_SYS_SOCKETVAR_H
8547 # include <sys/socketvar.h>
8549 #ifdef HAVE_NET_ROUTE_H
8550 # include <net/route.h>
8552 #ifdef HAVE_NETINET_IN_H
8553 # include <netinet/in.h>
8555 #ifdef HAVE_NETINET_IN_SYSTM_H
8556 # include <netinet/in_systm.h>
8558 #ifdef HAVE_NET_IF_H
8559 # include <net/if.h>
8561 #ifdef HAVE_NETINET_IP_H
8562 # include <netinet/ip.h>
8565 if test "x$ac_cv_header_net_route_h" = xyes
8567 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8570 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8571 #include <sys/socket.h>
8572 #ifdef HAVE_SYS_SOCKETVAR_H
8573 # include <sys/socketvar.h>
8575 #ifdef HAVE_NET_ROUTE_H
8576 # include <net/route.h>
8578 #ifdef HAVE_NETINET_IN_H
8579 # include <netinet/in.h>
8581 #ifdef HAVE_NETINET_IN_SYSTM_H
8582 # include <netinet/in_systm.h>
8584 #ifdef HAVE_NET_IF_H
8585 # include <net/if.h>
8587 #ifdef HAVE_NETINET_IP_H
8588 # include <netinet/ip.h>
8591 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8593 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8596 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8597 #include <sys/socket.h>
8598 #ifdef HAVE_SYS_SOCKETVAR_H
8599 # include <sys/socketvar.h>
8601 #ifdef HAVE_NET_ROUTE_H
8602 # include <net/route.h>
8604 #ifdef HAVE_NETINET_IN_H
8605 # include <netinet/in.h>
8607 #ifdef HAVE_NETINET_IN_SYSTM_H
8608 # include <netinet/in_systm.h>
8610 #ifdef HAVE_NET_IF_H
8611 # include <net/if.h>
8613 #ifdef HAVE_NETINET_IP_H
8614 # include <netinet/ip.h>
8617 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8619 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8622 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8623 #include <sys/socket.h>
8624 #ifdef HAVE_SYS_SOCKETVAR_H
8625 # include <sys/socketvar.h>
8627 #ifdef HAVE_NET_ROUTE_H
8628 # include <net/route.h>
8630 #ifdef HAVE_NETINET_IN_H
8631 # include <netinet/in.h>
8633 #ifdef HAVE_NETINET_IN_SYSTM_H
8634 # include <netinet/in_systm.h>
8636 #ifdef HAVE_NET_IF_H
8637 # include <net/if.h>
8639 #ifdef HAVE_NETINET_IP_H
8640 # include <netinet/ip.h>
8643 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8645 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8648 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8649 #include <sys/socket.h>
8650 #ifdef HAVE_SYS_SOCKETVAR_H
8651 # include <sys/socketvar.h>
8653 #ifdef HAVE_NET_ROUTE_H
8654 # include <net/route.h>
8656 #ifdef HAVE_NETINET_IN_H
8657 # include <netinet/in.h>
8659 #ifdef HAVE_NETINET_IN_SYSTM_H
8660 # include <netinet/in_systm.h>
8662 #ifdef HAVE_NET_IF_H
8663 # include <net/if.h>
8665 #ifdef HAVE_NETINET_IP_H
8666 # include <netinet/ip.h>
8669 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8671 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8674 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8675 #include <sys/socket.h>
8676 #ifdef HAVE_SYS_SOCKETVAR_H
8677 # include <sys/socketvar.h>
8679 #ifdef HAVE_NET_ROUTE_H
8680 # include <net/route.h>
8682 #ifdef HAVE_NETINET_IN_H
8683 # include <netinet/in.h>
8685 #ifdef HAVE_NETINET_IN_SYSTM_H
8686 # include <netinet/in_systm.h>
8688 #ifdef HAVE_NET_IF_H
8689 # include <net/if.h>
8691 #ifdef HAVE_NETINET_IP_H
8692 # include <netinet/ip.h>
8695 if test "x$ac_cv_header_netinet_udp_h" = xyes
8697 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8700 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8701 #include <sys/socket.h>
8702 #ifdef HAVE_SYS_SOCKETVAR_H
8703 # include <sys/socketvar.h>
8705 #ifdef HAVE_NET_ROUTE_H
8706 # include <net/route.h>
8708 #ifdef HAVE_NETINET_IN_H
8709 # include <netinet/in.h>
8711 #ifdef HAVE_NETINET_IN_SYSTM_H
8712 # include <netinet/in_systm.h>
8714 #ifdef HAVE_NET_IF_H
8715 # include <net/if.h>
8717 #ifdef HAVE_NETINET_IP_H
8718 # include <netinet/ip.h>
8721 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8723 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8726 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8727 #include <sys/socket.h>
8728 #ifdef HAVE_SYS_SOCKETVAR_H
8729 # include <sys/socketvar.h>
8731 #ifdef HAVE_NET_ROUTE_H
8732 # include <net/route.h>
8734 #ifdef HAVE_NETINET_IN_H
8735 # include <netinet/in.h>
8737 #ifdef HAVE_NETINET_IN_SYSTM_H
8738 # include <netinet/in_systm.h>
8740 #ifdef HAVE_NET_IF_H
8741 # include <net/if.h>
8743 #ifdef HAVE_NETINET_IP_H
8744 # include <netinet/ip.h>
8747 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8749 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8752 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8753 #include <sys/socket.h>
8754 #ifdef HAVE_SYS_SOCKETVAR_H
8755 # include <sys/socketvar.h>
8757 #ifdef HAVE_NET_ROUTE_H
8758 # include <net/route.h>
8760 #ifdef HAVE_NETINET_IN_H
8761 # include <netinet/in.h>
8763 #ifdef HAVE_NETINET_IN_SYSTM_H
8764 # include <netinet/in_systm.h>
8766 #ifdef HAVE_NET_IF_H
8767 # include <net/if.h>
8769 #ifdef HAVE_NETINET_IP_H
8770 # include <netinet/ip.h>
8773 if test "x$ac_cv_header_sys_un_h" = xyes
8775 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8780 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8781 #include <sys/socket.h>
8782 #ifdef HAVE_SYS_SOCKETVAR_H
8783 # include <sys/socketvar.h>
8785 #ifdef HAVE_NETINET_IN_H
8786 # include <netinet/in.h>
8788 #ifdef HAVE_NETINET_IN_SYSTM_H
8789 # include <netinet/in_systm.h>
8791 #ifdef HAVE_NETINET_IP_H
8792 # include <netinet/ip.h>
8794 #ifdef HAVE_NETINET_IP_VAR_H
8795 # include <netinet/ip_var.h>
8797 #ifdef HAVE_NETINET_IP_ICMP_H
8798 # include <netinet/ip_icmp.h>
8800 #ifdef HAVE_NETINET_UDP_H
8801 # include <netinet/udp.h>
8803 #ifdef HAVE_NETINET_TCP_H
8804 # include <netinet/tcp.h>
8807 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8809 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8812 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8813 #include <sys/socket.h>
8814 #ifdef HAVE_SYS_SOCKETVAR_H
8815 # include <sys/socketvar.h>
8817 #ifdef HAVE_NETINET_IN_H
8818 # include <netinet/in.h>
8820 #ifdef HAVE_NETINET_IN_SYSTM_H
8821 # include <netinet/in_systm.h>
8823 #ifdef HAVE_NETINET_IP_H
8824 # include <netinet/ip.h>
8826 #ifdef HAVE_NETINET_IP_VAR_H
8827 # include <netinet/ip_var.h>
8829 #ifdef HAVE_NETINET_IP_ICMP_H
8830 # include <netinet/ip_icmp.h>
8832 #ifdef HAVE_NETINET_UDP_H
8833 # include <netinet/udp.h>
8835 #ifdef HAVE_NETINET_TCP_H
8836 # include <netinet/tcp.h>
8839 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8841 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8844 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8845 #include <sys/socket.h>
8846 #ifdef HAVE_SYS_SOCKETVAR_H
8847 # include <sys/socketvar.h>
8849 #ifdef HAVE_NETINET_IN_H
8850 # include <netinet/in.h>
8852 #ifdef HAVE_NETINET_IN_SYSTM_H
8853 # include <netinet/in_systm.h>
8855 #ifdef HAVE_NETINET_IP_H
8856 # include <netinet/ip.h>
8858 #ifdef HAVE_NETINET_IP_VAR_H
8859 # include <netinet/ip_var.h>
8861 #ifdef HAVE_NETINET_IP_ICMP_H
8862 # include <netinet/ip_icmp.h>
8864 #ifdef HAVE_NETINET_UDP_H
8865 # include <netinet/udp.h>
8867 #ifdef HAVE_NETINET_TCP_H
8868 # include <netinet/tcp.h>
8871 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8873 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8876 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8877 #include <sys/socket.h>
8878 #ifdef HAVE_SYS_SOCKETVAR_H
8879 # include <sys/socketvar.h>
8881 #ifdef HAVE_NETINET_IN_H
8882 # include <netinet/in.h>
8884 #ifdef HAVE_NETINET_IN_SYSTM_H
8885 # include <netinet/in_systm.h>
8887 #ifdef HAVE_NETINET_IP_H
8888 # include <netinet/ip.h>
8890 #ifdef HAVE_NETINET_IP_VAR_H
8891 # include <netinet/ip_var.h>
8893 #ifdef HAVE_NETINET_IP_ICMP_H
8894 # include <netinet/ip_icmp.h>
8896 #ifdef HAVE_NETINET_UDP_H
8897 # include <netinet/udp.h>
8899 #ifdef HAVE_NETINET_TCP_H
8900 # include <netinet/tcp.h>
8903 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8905 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8910 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8911 #include <sys/socket.h>
8912 #ifdef HAVE_ASM_TYPES_H
8913 # include <asm/types.h>
8915 #ifdef HAVE_LINUX_TYPES_H
8916 # include <linux/types.h>
8919 if test "x$ac_cv_header_linux_ipx_h" = xyes
8921 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8924 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8925 #include <sys/socket.h>
8926 #ifdef HAVE_ASM_TYPES_H
8927 # include <asm/types.h>
8929 #ifdef HAVE_LINUX_TYPES_H
8930 # include <linux/types.h>
8933 if test "x$ac_cv_header_linux_irda_h" = xyes
8935 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8938 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8939 #include <sys/socket.h>
8940 #ifdef HAVE_ASM_TYPES_H
8941 # include <asm/types.h>
8943 #ifdef HAVE_LINUX_TYPES_H
8944 # include <linux/types.h>
8947 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8949 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_NETINET_IN_H
8957 # include <netinet/in.h>
8959 #ifdef HAVE_ARPA_NAMESER_H
8960 # include <arpa/nameser.h>
8963 if test "x$ac_cv_header_resolv_h" = xyes
8965 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8970 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8972 if test "x$ac_cv_header_ifaddrs_h" = xyes
8974 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8979 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8981 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8983 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8988 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8989 #ifdef HAVE_SYS_UCONTEXT_H
8990 #include <sys/ucontext.h>
8993 if test "x$ac_cv_header_sys_thr_h" = xyes
8995 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9001 #include <pthread.h>
9004 if test "x$ac_cv_header_pthread_np_h" = xyes
9006 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9012 #include <sys/types.h>
9013 #ifdef HAVE_ASM_TYPES_H
9014 #include <asm/types.h>
9017 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9019 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9025 #include <sys/param.h>
9027 #include <sys/socket.h>
9028 #ifdef HAVE_SYS_QUEUE_H
9029 #include <sys/queue.h>
9032 if test "x$ac_cv_header_libprocstat_h" = xyes
9034 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9039 if test "x$ac_cv_header_sys_xattr_h" = xyes
9041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9042 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9043 if test ${wine_cv_xattr_extra_args+y}
9045 printf %s
"(cached) " >&6
9047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <sys/xattr.h>
9053 getxattr("", "", "", 0, 0, 0);
9058 if ac_fn_c_try_compile
"$LINENO"
9060 wine_cv_xattr_extra_args
=yes
9062 wine_cv_xattr_extra_args
=no
9064 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9067 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9068 test $wine_cv_xattr_extra_args != yes ||
9069 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9082 UNIXDLLFLAGS
="-fPIC"
9084 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9090 WINELOADER_LDFLAGS
=""
9092 WINEPRELOADER_LDFLAGS
=""
9095 # Extract the first word of "ldd", so it can be a program name with args.
9096 set dummy ldd
; ac_word
=$2
9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9098 printf %s
"checking for $ac_word... " >&6; }
9099 if test ${ac_cv_path_LDD+y}
9101 printf %s
"(cached) " >&6
9105 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9109 as_dummy
="/sbin:/usr/sbin:$PATH"
9110 for as_dir
in $as_dummy
9113 case $as_dir in #(((
9116 *) as_dir
=$as_dir/ ;;
9118 for ac_exec_ext
in '' $ac_executable_extensions; do
9119 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9120 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9128 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9133 if test -n "$LDD"; then
9134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9135 printf "%s\n" "$LDD" >&6; }
9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9138 printf "%s\n" "no" >&6; }
9142 if test -n "$ac_tool_prefix"; then
9143 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9144 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9146 printf %s
"checking for $ac_word... " >&6; }
9147 if test ${ac_cv_prog_OTOOL+y}
9149 printf %s
"(cached) " >&6
9151 if test -n "$OTOOL"; then
9152 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9158 case $as_dir in #(((
9161 *) as_dir
=$as_dir/ ;;
9163 for ac_exec_ext
in '' $ac_executable_extensions; do
9164 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9165 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9175 OTOOL
=$ac_cv_prog_OTOOL
9176 if test -n "$OTOOL"; then
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9178 printf "%s\n" "$OTOOL" >&6; }
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 printf "%s\n" "no" >&6; }
9186 if test -z "$ac_cv_prog_OTOOL"; then
9188 # Extract the first word of "otool", so it can be a program name with args.
9189 set dummy otool
; ac_word
=$2
9190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 printf %s
"checking for $ac_word... " >&6; }
9192 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9194 printf %s
"(cached) " >&6
9196 if test -n "$ac_ct_OTOOL"; then
9197 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9203 case $as_dir in #(((
9206 *) as_dir
=$as_dir/ ;;
9208 for ac_exec_ext
in '' $ac_executable_extensions; do
9209 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9210 ac_cv_prog_ac_ct_OTOOL
="otool"
9211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9220 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9221 if test -n "$ac_ct_OTOOL"; then
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9223 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9226 printf "%s\n" "no" >&6; }
9229 if test "x$ac_ct_OTOOL" = x
; then
9232 case $cross_compiling:$ac_tool_warned in
9234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9235 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9236 ac_tool_warned
=yes ;;
9241 OTOOL
="$ac_cv_prog_OTOOL"
9244 if test -n "$ac_tool_prefix"; then
9245 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9246 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9248 printf %s
"checking for $ac_word... " >&6; }
9249 if test ${ac_cv_prog_READELF+y}
9251 printf %s
"(cached) " >&6
9253 if test -n "$READELF"; then
9254 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9260 case $as_dir in #(((
9263 *) as_dir
=$as_dir/ ;;
9265 for ac_exec_ext
in '' $ac_executable_extensions; do
9266 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9267 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9277 READELF
=$ac_cv_prog_READELF
9278 if test -n "$READELF"; then
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9280 printf "%s\n" "$READELF" >&6; }
9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9283 printf "%s\n" "no" >&6; }
9288 if test -z "$ac_cv_prog_READELF"; then
9289 ac_ct_READELF
=$READELF
9290 # Extract the first word of "readelf", so it can be a program name with args.
9291 set dummy readelf
; ac_word
=$2
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 printf %s
"checking for $ac_word... " >&6; }
9294 if test ${ac_cv_prog_ac_ct_READELF+y}
9296 printf %s
"(cached) " >&6
9298 if test -n "$ac_ct_READELF"; then
9299 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9305 case $as_dir in #(((
9308 *) as_dir
=$as_dir/ ;;
9310 for ac_exec_ext
in '' $ac_executable_extensions; do
9311 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9312 ac_cv_prog_ac_ct_READELF
="readelf"
9313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9322 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9323 if test -n "$ac_ct_READELF"; then
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9325 printf "%s\n" "$ac_ct_READELF" >&6; }
9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9328 printf "%s\n" "no" >&6; }
9331 if test "x$ac_ct_READELF" = x
; then
9334 case $cross_compiling:$ac_tool_warned in
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9337 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9338 ac_tool_warned
=yes ;;
9340 READELF
=$ac_ct_READELF
9343 READELF
="$ac_cv_prog_READELF"
9351 CONFIGURE_TARGETS
=""
9354 wine_fn_config_makefile
()
9356 as_fn_append SUBDIRS
" \\$as_nl $1"
9359 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9360 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9361 if test -n "$PE_ARCHS"
9365 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9368 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9373 wine_fn_config_symlink
()
9376 as_fn_append wine_rules
"
9378 @./config.status \$@"
9379 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9382 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9387 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9389 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9390 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9391 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9393 printf %s
"(cached) " >&6
9395 ac_wine_try_cflags_saved
=$CFLAGS
9396 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9399 int main(int argc, char **argv) { return 0; }
9401 if ac_fn_c_try_link
"$LINENO"
9403 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9405 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9407 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9408 conftest
$ac_exeext conftest.
$ac_ext
9409 CFLAGS
=$ac_wine_try_cflags_saved
9411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9412 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9413 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9415 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9418 enable_loader
=${enable_loader:-no}
9419 enable_server
=${enable_server:-no}
9420 with_x
=${with_x:-no}
9421 with_pthread
=${with_pthread:-no}
9426 DLLFLAGS
="$DLLFLAGS -fPIC"
9428 enable_winemac_drv
=${enable_winemac_drv:-yes}
9429 CARBON_LIBS
="-framework Carbon"
9431 COREFOUNDATION_LIBS
="-framework CoreFoundation"
9433 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
9435 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
9437 METAL_LIBS
="-framework Metal"
9439 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
9441 CORESERVICES_LIBS
="-framework CoreServices"
9443 APPKIT_LIBS
="-framework AppKit"
9445 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
9447 SYSTEMCONFIGURATION_LIBS
="-framework SystemConfiguration"
9450 WINELOADER_LDFLAGS
="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9452 wine_can_build_preloader
=yes
9453 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"
9454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9455 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9456 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9458 printf %s
"(cached) " >&6
9460 ac_wine_try_cflags_saved
=$CFLAGS
9461 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main"
9462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9464 int main(int argc, char **argv) { return 0; }
9466 if ac_fn_c_try_link
"$LINENO"
9468 ac_cv_cflags__Wl__no_new_main__e__main
=yes
9470 ac_cv_cflags__Wl__no_new_main__e__main
=no
9472 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9473 conftest
$ac_exeext conftest.
$ac_ext
9474 CFLAGS
=$ac_wine_try_cflags_saved
9476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9477 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9478 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9480 WINEPRELOADER_LDFLAGS
="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9481 { 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
9482 printf %s
"checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9483 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9485 printf %s
"(cached) " >&6
9487 ac_wine_try_cflags_saved
=$CFLAGS
9488 CFLAGS
="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9491 int main(int argc, char **argv) { return 0; }
9493 if ac_fn_c_try_link
"$LINENO"
9495 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9497 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9499 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9500 conftest
$ac_exeext conftest.
$ac_ext
9501 CFLAGS
=$ac_wine_try_cflags_saved
9503 { 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
9504 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9505 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9507 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9509 wine_can_build_preloader
=no
9512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9513 printf %s
"checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9514 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9516 printf %s
"(cached) " >&6
9518 ac_wine_try_cflags_saved
=$CFLAGS
9519 CFLAGS
="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9522 int main(int argc, char **argv) { return 0; }
9524 if ac_fn_c_try_link
"$LINENO"
9526 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=yes
9528 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs
=no
9530 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9531 conftest
$ac_exeext conftest.
$ac_ext
9532 CFLAGS
=$ac_wine_try_cflags_saved
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9535 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9536 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9538 WINEPRELOADER_LDFLAGS
="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9540 wine_can_build_preloader
=no
9543 if test "$wine_can_build_preloader" = "yes"
9545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9546 printf %s
"checking whether the compiler supports -Wl,-no_pie... " >&6; }
9547 if test ${ac_cv_cflags__Wl__no_pie+y}
9549 printf %s
"(cached) " >&6
9551 ac_wine_try_cflags_saved
=$CFLAGS
9552 CFLAGS
="$CFLAGS -Wl,-no_pie"
9553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9555 int main(int argc, char **argv) { return 0; }
9557 if ac_fn_c_try_link
"$LINENO"
9559 ac_cv_cflags__Wl__no_pie
=yes
9561 ac_cv_cflags__Wl__no_pie
=no
9563 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9564 conftest
$ac_exeext conftest.
$ac_ext
9565 CFLAGS
=$ac_wine_try_cflags_saved
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9568 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9569 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9571 WINEPRELOADER_LDFLAGS
="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9573 WINELOADER_LDFLAGS
="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9575 as_fn_append wine_warnings
"|can't build Wine preloader; many programs won't work"
9578 if test "x$with_coreaudio" != "xno";
9580 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9582 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
9584 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9586 OPENCL_LIBS
="-framework OpenCL"
9588 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9592 printf %s
"checking whether MTLDevice protocol supports registryID property... " >&6; }
9594 ac_cpp
='$OBJCPP $CPPFLAGS'
9595 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9596 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9597 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9600 ac_cpp
='$OBJCPP $CPPFLAGS'
9601 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9602 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9603 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9604 if test -n "$ac_tool_prefix"; then
9605 for ac_prog
in gcc objcc objc cc CC clang
9607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9608 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9610 printf %s
"checking for $ac_word... " >&6; }
9611 if test ${ac_cv_prog_OBJC+y}
9613 printf %s
"(cached) " >&6
9615 if test -n "$OBJC"; then
9616 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9622 case $as_dir in #(((
9625 *) as_dir
=$as_dir/ ;;
9627 for ac_exec_ext
in '' $ac_executable_extensions; do
9628 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9629 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9639 OBJC
=$ac_cv_prog_OBJC
9640 if test -n "$OBJC"; then
9641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9642 printf "%s\n" "$OBJC" >&6; }
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9645 printf "%s\n" "no" >&6; }
9649 test -n "$OBJC" && break
9652 if test -z "$OBJC"; then
9654 for ac_prog
in gcc objcc objc cc CC clang
9656 # Extract the first word of "$ac_prog", so it can be a program name with args.
9657 set dummy
$ac_prog; ac_word
=$2
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9659 printf %s
"checking for $ac_word... " >&6; }
9660 if test ${ac_cv_prog_ac_ct_OBJC+y}
9662 printf %s
"(cached) " >&6
9664 if test -n "$ac_ct_OBJC"; then
9665 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9671 case $as_dir in #(((
9674 *) as_dir
=$as_dir/ ;;
9676 for ac_exec_ext
in '' $ac_executable_extensions; do
9677 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9678 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9688 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9689 if test -n "$ac_ct_OBJC"; then
9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9691 printf "%s\n" "$ac_ct_OBJC" >&6; }
9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9694 printf "%s\n" "no" >&6; }
9698 test -n "$ac_ct_OBJC" && break
9701 if test "x$ac_ct_OBJC" = x
; then
9704 case $cross_compiling:$ac_tool_warned in
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9707 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9708 ac_tool_warned
=yes ;;
9714 # Provide some information about the compiler.
9715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9718 for ac_option
in --version -v -V -qversion; do
9719 { { ac_try
="$ac_compiler $ac_option >&5"
9721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9722 *) ac_try_echo=$ac_try;;
9724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9725 printf "%s\n" "$ac_try_echo"; } >&5
9726 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9728 if test -s conftest.err; then
9730 ... rest of stderr output deleted ...
9731 10q' conftest.err >conftest.er1
9732 cat conftest.er1 >&5
9734 rm -f conftest.er1 conftest.err
9735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9736 test $ac_status = 0; }
9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9740 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9741 if test ${ac_cv_objc_compiler_gnu+y}
9743 printf %s "(cached) " >&6
9745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9759 if ac_fn_objc_try_compile "$LINENO"
9765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9766 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9770 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9771 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9773 if test $ac_compiler_gnu = yes; then
9778 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9779 ac_save_OBJCFLAGS=$OBJCFLAGS
9780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9781 printf %s "checking whether $OBJC accepts -g... " >&6; }
9782 if test ${ac_cv_prog_objc_g+y}
9784 printf %s "(cached) " >&6
9786 ac_save_objc_werror_flag=$ac_objc_werror_flag
9787 ac_objc_werror_flag=yes
9788 ac_cv_prog_objc_g=no
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9801 if ac_fn_objc_try_compile "$LINENO"
9803 ac_cv_prog_objc_g=yes
9806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9807 /* end confdefs.h. */
9817 if ac_fn_objc_try_compile "$LINENO"
9821 ac_objc_werror_flag=$ac_save_objc_werror_flag
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9834 if ac_fn_objc_try_compile "$LINENO"
9836 ac_cv_prog_objc_g=yes
9838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9843 ac_objc_werror_flag=$ac_save_objc_werror_flag
9845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9846 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9847 if test $ac_test_OBJCFLAGS; then
9848 OBJCFLAGS=$ac_save_OBJCFLAGS
9849 elif test $ac_cv_prog_objc_g = yes; then
9850 if test "$GOBJC" = yes; then
9856 if test "$GOBJC" = yes; then
9863 ac_cpp='$OBJCPP $CPPFLAGS'
9864 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9865 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9866 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 #include <Metal/Metal.h>
9875 id<MTLDevice> device; device.registryID;
9880 if ac_fn_objc_try_compile "$LINENO"
9882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9883 printf "%s\n" "yes" >&6; }
9885 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9889 printf "%s\n" "no" >&6; }
9891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9893 ac_cpp='$CPP $CPPFLAGS'
9894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9899 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9900 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9902 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9904 WINELOADER_DEPENDS="wine_info.plist"
9906 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9911 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9913 DLLFLAGS="$DLLFLAGS -fPIC"
9915 LDEXECFLAGS="-Wl,-pie"
9916 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9918 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9919 if test ${ac_cv_cflags__Wl__z_defs+y}
9921 printf %s "(cached) " >&6
9923 ac_wine_try_cflags_saved=$CFLAGS
9924 CFLAGS="$CFLAGS -Wl,-z,defs"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9927 int main(int argc, char **argv) { return 0; }
9929 if ac_fn_c_try_link "$LINENO"
9931 ac_cv_cflags__Wl__z_defs=yes
9933 ac_cv_cflags__Wl__z_defs=no
9935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9936 conftest$ac_exeext conftest.$ac_ext
9937 CFLAGS=$ac_wine_try_cflags_saved
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9940 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9941 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9943 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9946 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9947 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9949 printf %s "(cached) " >&6
9951 ac_wine_try_cflags_saved=$CFLAGS
9952 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9955 int main(int argc, char **argv) { return 0; }
9957 if ac_fn_c_try_link "$LINENO"
9959 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9961 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9964 conftest$ac_exeext conftest.$ac_ext
9965 CFLAGS=$ac_wine_try_cflags_saved
9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9968 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9969 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9971 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9973 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9976 printf %s "checking for -lEGL... " >&6; }
9977 if test ${ac_cv_lib_soname_EGL+y}
9979 printf %s "(cached) " >&6
9981 ac_check_soname_save_LIBS=$LIBS
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9986 /* Override any GCC internal prototype to avoid an error.
9987 Use char because int might match the return type of a GCC
9988 builtin and then its argument prototype would still apply. */
9989 char eglGetProcAddress ();
9993 return eglGetProcAddress ();
9998 if ac_fn_c_try_link "$LINENO"
10001 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10002 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'` ;;
10003 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10004 if ${ac_cv_lib_soname_EGL:+false} :
10006 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10010 ac_cv_lib_soname_EGL=
10012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_soname_save_LIBS
10016 if ${ac_cv_lib_soname_EGL:+false} :
10018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10019 printf "%s\n" "not found" >&6; }
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10023 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10025 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10030 printf %s "checking for -lGLESv2... " >&6; }
10031 if test ${ac_cv_lib_soname_GLESv2+y}
10033 printf %s "(cached) " >&6
10035 ac_check_soname_save_LIBS=$LIBS
10036 LIBS="-lGLESv2 $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10052 if ac_fn_c_try_link "$LINENO"
10055 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10056 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'` ;;
10057 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10058 if ${ac_cv_lib_soname_GLESv2:+false} :
10060 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10064 ac_cv_lib_soname_GLESv2=
10066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10067 conftest$ac_exeext conftest.$ac_ext
10068 LIBS=$ac_check_soname_save_LIBS
10070 if ${ac_cv_lib_soname_GLESv2:+false} :
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10073 printf "%s\n" "not found" >&6; }
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10077 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10079 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10084 if test "x$exec_prefix" = xNONE
10087 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10088 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10089 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10090 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10097 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10099 test "$ac_cv_sys_file_offset_bits" = 64 &&
10100 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10104 DLLFLAGS="$DLLFLAGS -fno-PIC"
10105 LDDLLFLAGS="-fno-PIC"
10106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10107 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10108 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10110 printf %s "(cached) " >&6
10112 ac_wine_try_cflags_saved=$CFLAGS
10113 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 int main(int argc, char **argv) { return 0; }
10118 if ac_fn_c_try_link "$LINENO"
10120 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10122 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10125 conftest$ac_exeext conftest.$ac_ext
10126 CFLAGS=$ac_wine_try_cflags_saved
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10129 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10130 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10132 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10136 DLLFLAGS="$DLLFLAGS -fPIC"
10137 LDDLLFLAGS="-fPIC" ;;
10139 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10141 echo '{ global: *; };' >conftest.map
10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10143 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10144 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10146 printf %s "(cached) " >&6
10148 ac_wine_try_cflags_saved=$CFLAGS
10149 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 int main(int argc, char **argv) { return 0; }
10154 if ac_fn_c_try_link "$LINENO"
10156 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10158 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10161 conftest$ac_exeext conftest.$ac_ext
10162 CFLAGS=$ac_wine_try_cflags_saved
10164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10165 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10166 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10168 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10173 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10174 if test ${ac_cv_cflags__Wl__z_defs+y}
10176 printf %s "(cached) " >&6
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 CFLAGS="$CFLAGS -Wl,-z,defs"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10182 int main(int argc, char **argv) { return 0; }
10184 if ac_fn_c_try_link "$LINENO"
10186 ac_cv_cflags__Wl__z_defs=yes
10188 ac_cv_cflags__Wl__z_defs=no
10190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10191 conftest$ac_exeext conftest.$ac_ext
10192 CFLAGS=$ac_wine_try_cflags_saved
10194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10195 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10196 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10198 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10201 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10202 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10204 printf %s "(cached) " >&6
10206 ac_wine_try_cflags_saved=$CFLAGS
10207 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10210 int main(int argc, char **argv) { return 0; }
10212 if ac_fn_c_try_link "$LINENO"
10214 ac_cv_cflags__Wl___export_dynamic=yes
10216 ac_cv_cflags__Wl___export_dynamic=no
10218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10219 conftest$ac_exeext conftest.$ac_ext
10220 CFLAGS=$ac_wine_try_cflags_saved
10222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10223 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10224 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10226 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10228 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10231 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10233 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10234 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10236 printf %s "(cached) " >&6
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 int main(int argc, char **argv) { return 0; }
10244 if ac_fn_c_try_link "$LINENO"
10246 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10248 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 CFLAGS=$ac_wine_try_cflags_saved
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10255 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10256 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10259 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10260 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10264 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10265 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10267 printf %s "(cached) " >&6
10269 ac_wine_try_cflags_saved=$CFLAGS
10270 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10273 int main(int argc, char **argv) { return 0; }
10275 if ac_fn_c_try_link "$LINENO"
10277 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10279 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10282 conftest$ac_exeext conftest.$ac_ext
10283 CFLAGS=$ac_wine_try_cflags_saved
10285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10286 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10287 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10290 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10291 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10294 # Extract the first word of "prelink", so it can be a program name with args.
10295 set dummy prelink; ac_word=$2
10296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10297 printf %s "checking for $ac_word... " >&6; }
10298 if test ${ac_cv_path_PRELINK+y}
10300 printf %s "(cached) " >&6
10304 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10308 for as_dir in /sbin /usr/sbin $PATH
10311 case $as_dir in #(((
10314 *) as_dir=$as_dir/ ;;
10316 for ac_exec_ext in '' $ac_executable_extensions; do
10317 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10318 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10326 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10330 PRELINK=$ac_cv_path_PRELINK
10331 if test -n "$PRELINK"; then
10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10333 printf "%s\n" "$PRELINK" >&6; }
10335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10336 printf "%s\n" "no" >&6; }
10340 if test "x$PRELINK" = xfalse
10342 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10346 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10347 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10349 printf %s "(cached) " >&6
10351 ac_wine_try_cflags_saved=$CFLAGS
10352 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 int main(int argc, char **argv) { return 0; }
10357 if ac_fn_c_try_link "$LINENO"
10359 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10361 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10364 conftest$ac_exeext conftest.$ac_ext
10365 CFLAGS=$ac_wine_try_cflags_saved
10367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10368 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10369 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10371 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10375 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10377 LIBWINE_DEPENDS="wine.map"
10379 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10383 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10384 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10385 enable_winemac_drv=${enable_winemac_drv:-no}
10390 if test ${enable_archs+y}
10392 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10395 set x $enable_archs
10401 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10402 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10406 if test "x$with_mingw" != xno
10408 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10409 case "x$with_mingw" in
10411 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10416 for wine_arch in $cross_archs
10418 if eval \${${wine_arch}_CC:+false} :
10422 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10424 # Extract the first word of "$ac_prog", so it can be a program name with args.
10425 set dummy $ac_prog; ac_word=$2
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10427 printf %s "checking for $ac_word... " >&6; }
10428 if test ${ac_cv_prog_aarch64_CC+y}
10430 printf %s "(cached) " >&6
10432 if test -n "$aarch64_CC"; then
10433 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 case $as_dir in #(((
10442 *) as_dir=$as_dir/ ;;
10444 for ac_exec_ext in '' $ac_executable_extensions; do
10445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10446 ac_cv_prog_aarch64_CC="$ac_prog"
10447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10456 aarch64_CC=$ac_cv_prog_aarch64_CC
10457 if test -n "$aarch64_CC"; then
10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10459 printf "%s\n" "$aarch64_CC" >&6; }
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10462 printf "%s\n" "no" >&6; }
10466 test -n "$aarch64_CC" && break
10468 test -n "$aarch64_CC" || aarch64_CC="false"
10472 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10474 # Extract the first word of "$ac_prog", so it can be a program name with args.
10475 set dummy $ac_prog; ac_word=$2
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10477 printf %s "checking for $ac_word... " >&6; }
10478 if test ${ac_cv_prog_arm_CC+y}
10480 printf %s "(cached) " >&6
10482 if test -n "$arm_CC"; then
10483 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10486 for as_dir in $PATH
10489 case $as_dir in #(((
10492 *) as_dir=$as_dir/ ;;
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_arm_CC="$ac_prog"
10497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10506 arm_CC=$ac_cv_prog_arm_CC
10507 if test -n "$arm_CC"; then
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10509 printf "%s\n" "$arm_CC" >&6; }
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 printf "%s\n" "no" >&6; }
10516 test -n "$arm_CC" && break
10518 test -n "$arm_CC" || arm_CC="false"
10522 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 "
10523 for ac_prog in $ac_prefix_list clang
10525 # Extract the first word of "$ac_prog", so it can be a program name with args.
10526 set dummy $ac_prog; ac_word=$2
10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10528 printf %s "checking for $ac_word... " >&6; }
10529 if test ${ac_cv_prog_i386_CC+y}
10531 printf %s "(cached) " >&6
10533 if test -n "$i386_CC"; then
10534 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10537 for as_dir in $PATH
10540 case $as_dir in #(((
10543 *) as_dir=$as_dir/ ;;
10545 for ac_exec_ext in '' $ac_executable_extensions; do
10546 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10547 ac_cv_prog_i386_CC="$ac_prog"
10548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10557 i386_CC=$ac_cv_prog_i386_CC
10558 if test -n "$i386_CC"; then
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10560 printf "%s\n" "$i386_CC" >&6; }
10562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10563 printf "%s\n" "no" >&6; }
10567 test -n "$i386_CC" && break
10569 test -n "$i386_CC" || i386_CC="false"
10573 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10574 for ac_prog in $ac_prefix_list clang
10576 # Extract the first word of "$ac_prog", so it can be a program name with args.
10577 set dummy $ac_prog; ac_word=$2
10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10579 printf %s "checking for $ac_word... " >&6; }
10580 if test ${ac_cv_prog_x86_64_CC+y}
10582 printf %s "(cached) " >&6
10584 if test -n "$x86_64_CC"; then
10585 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10588 for as_dir in $PATH
10591 case $as_dir in #(((
10594 *) as_dir=$as_dir/ ;;
10596 for ac_exec_ext in '' $ac_executable_extensions; do
10597 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10598 ac_cv_prog_x86_64_CC="$ac_prog"
10599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10608 x86_64_CC=$ac_cv_prog_x86_64_CC
10609 if test -n "$x86_64_CC"; then
10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10611 printf "%s\n" "$x86_64_CC" >&6; }
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10614 printf "%s\n" "no" >&6; }
10618 test -n "$x86_64_CC" && break
10620 test -n "$x86_64_CC" || x86_64_CC="false"
10626 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10632 saved_CFLAGS=$CFLAGS
10634 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10635 eval CC=\$${wine_arch}_CC
10636 eval ${wine_arch}_CFLAGS=\$CFLAGS
10637 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10638 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10641 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10644 printf %s "checking whether $CC works... " >&6; }
10645 if eval test \${$as_wine_cv_crosscc+y}
10647 printf %s "(cached) " >&6
10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10660 if ac_fn_c_try_compile "$LINENO"
10662 eval "$as_wine_cv_crosscc=yes"
10664 eval "$as_wine_cv_crosscc=no"
10666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10668 eval ac_res=\$$as_wine_cv_crosscc
10669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10670 printf "%s\n" "$ac_res" >&6; }
10671 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10675 while test $# -ge 1
10678 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10679 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10684 llvm_target=$target
10685 if test -z "$llvm_target"
10688 i386) llvm_target=i686-windows ;;
10689 arm) llvm_target=armv7-windows ;;
10690 *) llvm_target=$wine_arch-windows ;;
10693 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10694 case $llvm_target in
10695 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10697 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" |
$as_tr_sh`
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10699 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10700 if eval test \${$as_ac_var+y}
10702 printf %s "(cached) " >&6
10704 ac_wine_try_cflags_saved=$CFLAGS
10705 ac_wine_try_cflags_saved_exeext=$ac_exeext
10706 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 int __cdecl mainCRTStartup(void) { return 0; }
10712 if ac_fn_c_try_link "$LINENO"
10714 eval "$as_ac_var=yes"
10716 eval "$as_ac_var=no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10719 conftest$ac_exeext conftest.$ac_ext
10720 CFLAGS=$ac_wine_try_cflags_saved
10721 ac_exeext=$ac_wine_try_cflags_saved_exeext
10723 eval ac_res=\$$as_ac_var
10724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10725 printf "%s\n" "$ac_res" >&6; }
10726 if eval test \"x\$"$as_ac_var"\" = x"yes"
10728 target=$llvm_target
10729 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10730 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10731 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10733 eval "${wine_arch}_TARGET=\$target"
10737 if test -z "$target"
10740 CFLAGS=$saved_CFLAGS
10743 as_fn_append PE_ARCHS " $wine_arch"
10745 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10748 printf %s "checking for $CC option to enable C99 features... " >&6; }
10749 if eval test \${$as_wine_cv_crosscc_c99+y}
10751 printf %s "(cached) " >&6
10753 eval "$as_wine_cv_crosscc_c99=no"
10754 for arg in '' '-std=gnu99'
10756 test -z "$arg" || CC="$CC $arg"
10757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10759 $ac_c_conftest_c99_program
10761 if ac_fn_c_try_compile "$LINENO"
10763 eval "$as_wine_cv_crosscc_c99=\$arg"
10765 eval "$as_wine_cv_crosscc_c99=no"
10767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10768 eval CC=\$${wine_arch}_CC
10769 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10778 eval res=\$$as_wine_cv_crosscc_c99
10780 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10781 printf "%s\n" "none needed" >&6; } ;;
10782 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10783 printf "%s\n" "unsupported" >&6; } ;;
10784 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10785 printf "%s\n" "$res" >&6; }
10786 as_fn_append ${wine_arch}_CC " $res" ;;
10790 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10792 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10793 if eval test \${$as_ac_var+y}
10795 printf %s "(cached) " >&6
10797 ac_wine_try_cflags_saved=$CFLAGS
10798 ac_wine_try_cflags_saved_exeext=$ac_exeext
10799 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10803 int __cdecl mainCRTStartup(void) { return 0; }
10805 if ac_fn_c_try_link "$LINENO"
10807 eval "$as_ac_var=yes"
10809 eval "$as_ac_var=no"
10811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10812 conftest$ac_exeext conftest.$ac_ext
10813 CFLAGS=$ac_wine_try_cflags_saved
10814 ac_exeext=$ac_wine_try_cflags_saved_exeext
10816 eval ac_res=\$$as_ac_var
10817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10818 printf "%s\n" "$ac_res" >&6; }
10819 if eval test \"x\$"$as_ac_var"\" = x"yes"
10821 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10823 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10825 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10826 if eval test \${$as_ac_var+y}
10828 printf %s "(cached) " >&6
10830 ac_wine_try_cflags_saved=$CFLAGS
10831 ac_wine_try_cflags_saved_exeext=$ac_exeext
10832 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 int __cdecl mainCRTStartup(void) { return 0; }
10838 if ac_fn_c_try_link "$LINENO"
10840 eval "$as_ac_var=yes"
10842 eval "$as_ac_var=no"
10844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10845 conftest$ac_exeext conftest.$ac_ext
10846 CFLAGS=$ac_wine_try_cflags_saved
10847 ac_exeext=$ac_wine_try_cflags_saved_exeext
10849 eval ac_res=\$$as_ac_var
10850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10851 printf "%s\n" "$ac_res" >&6; }
10852 if eval test \"x\$"$as_ac_var"\" = x"yes"
10854 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10856 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
10857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10858 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10859 if eval test \${$as_ac_var+y}
10861 printf %s "(cached) " >&6
10863 ac_wine_try_cflags_saved=$CFLAGS
10864 ac_wine_try_cflags_saved_exeext=$ac_exeext
10865 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10869 int __cdecl mainCRTStartup(void) { return 0; }
10871 if ac_fn_c_try_link "$LINENO"
10873 eval "$as_ac_var=yes"
10875 eval "$as_ac_var=no"
10877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10878 conftest$ac_exeext conftest.$ac_ext
10879 CFLAGS=$ac_wine_try_cflags_saved
10880 ac_exeext=$ac_wine_try_cflags_saved_exeext
10882 eval ac_res=\$$as_ac_var
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10884 printf "%s\n" "$ac_res" >&6; }
10885 if eval test \"x\$"$as_ac_var"\" = x"yes"
10887 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10889 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10891 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10892 if eval test \${$as_ac_var+y}
10894 printf %s "(cached) " >&6
10896 ac_wine_try_cflags_saved=$CFLAGS
10897 ac_wine_try_cflags_saved_exeext=$ac_exeext
10898 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10902 int __cdecl mainCRTStartup(void) { return 0; }
10904 if ac_fn_c_try_link "$LINENO"
10906 eval "$as_ac_var=yes"
10908 eval "$as_ac_var=no"
10910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10911 conftest$ac_exeext conftest.$ac_ext
10912 CFLAGS=$ac_wine_try_cflags_saved
10913 ac_exeext=$ac_wine_try_cflags_saved_exeext
10915 eval ac_res=\$$as_ac_var
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10917 printf "%s\n" "$ac_res" >&6; }
10918 if eval test \"x\$"$as_ac_var"\" = x"yes"
10920 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10922 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
10923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10924 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10925 if eval test \${$as_ac_var+y}
10927 printf %s "(cached) " >&6
10929 ac_wine_try_cflags_saved=$CFLAGS
10930 ac_wine_try_cflags_saved_exeext=$ac_exeext
10931 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10935 int __cdecl mainCRTStartup(void) { return 0; }
10937 if ac_fn_c_try_link "$LINENO"
10939 eval "$as_ac_var=yes"
10941 eval "$as_ac_var=no"
10943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10944 conftest$ac_exeext conftest.$ac_ext
10945 CFLAGS=$ac_wine_try_cflags_saved
10946 ac_exeext=$ac_wine_try_cflags_saved_exeext
10948 eval ac_res=\$$as_ac_var
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10950 printf "%s\n" "$ac_res" >&6; }
10951 if eval test \"x\$"$as_ac_var"\" = x"yes"
10953 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10955 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
10956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10957 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10958 if eval test \${$as_ac_var+y}
10960 printf %s "(cached) " >&6
10962 ac_wine_try_cflags_saved=$CFLAGS
10963 ac_wine_try_cflags_saved_exeext=$ac_exeext
10964 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10968 int __cdecl mainCRTStartup(void) { return 0; }
10970 if ac_fn_c_try_link "$LINENO"
10972 eval "$as_ac_var=yes"
10974 eval "$as_ac_var=no"
10976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10977 conftest$ac_exeext conftest.$ac_ext
10978 CFLAGS=$ac_wine_try_cflags_saved
10979 ac_exeext=$ac_wine_try_cflags_saved_exeext
10981 eval ac_res=\$$as_ac_var
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10983 printf "%s\n" "$ac_res" >&6; }
10984 if eval test \"x\$"$as_ac_var"\" = x"yes"
10986 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10988 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10990 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10991 if eval test \${$as_ac_var+y}
10993 printf %s "(cached) " >&6
10995 ac_wine_try_cflags_saved=$CFLAGS
10996 ac_wine_try_cflags_saved_exeext=$ac_exeext
10997 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11001 int __cdecl mainCRTStartup(void) { return 0; }
11003 if ac_fn_c_try_link "$LINENO"
11005 eval "$as_ac_var=yes"
11007 eval "$as_ac_var=no"
11009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11010 conftest$ac_exeext conftest.$ac_ext
11011 CFLAGS=$ac_wine_try_cflags_saved
11012 ac_exeext=$ac_wine_try_cflags_saved_exeext
11014 eval ac_res=\$$as_ac_var
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11016 printf "%s\n" "$ac_res" >&6; }
11017 if eval test \"x\$"$as_ac_var"\" = x"yes"
11019 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11021 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11023 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11024 if eval test \${$as_ac_var+y}
11026 printf %s "(cached) " >&6
11028 ac_wine_try_cflags_saved=$CFLAGS
11029 ac_wine_try_cflags_saved_exeext=$ac_exeext
11030 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11034 int __cdecl mainCRTStartup(void) { return 0; }
11036 if ac_fn_c_try_link "$LINENO"
11038 eval "$as_ac_var=yes"
11040 eval "$as_ac_var=no"
11042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11043 conftest$ac_exeext conftest.$ac_ext
11044 CFLAGS=$ac_wine_try_cflags_saved
11045 ac_exeext=$ac_wine_try_cflags_saved_exeext
11047 eval ac_res=\$$as_ac_var
11048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11049 printf "%s\n" "$ac_res" >&6; }
11050 if eval test \"x\$"$as_ac_var"\" = x"yes"
11052 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11054 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11056 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11057 if eval test \${$as_ac_var+y}
11059 printf %s "(cached) " >&6
11061 ac_wine_try_cflags_saved=$CFLAGS
11062 ac_wine_try_cflags_saved_exeext=$ac_exeext
11063 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 int __cdecl mainCRTStartup(void) { return 0; }
11069 if ac_fn_c_try_link "$LINENO"
11071 eval "$as_ac_var=yes"
11073 eval "$as_ac_var=no"
11075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11076 conftest$ac_exeext conftest.$ac_ext
11077 CFLAGS=$ac_wine_try_cflags_saved
11078 ac_exeext=$ac_wine_try_cflags_saved_exeext
11080 eval ac_res=\$$as_ac_var
11081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11082 printf "%s\n" "$ac_res" >&6; }
11083 if eval test \"x\$"$as_ac_var"\" = x"yes"
11085 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11087 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11089 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11090 if eval test \${$as_ac_var+y}
11092 printf %s "(cached) " >&6
11094 ac_wine_try_cflags_saved=$CFLAGS
11095 ac_wine_try_cflags_saved_exeext=$ac_exeext
11096 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11100 int __cdecl mainCRTStartup(void) { return 0; }
11102 if ac_fn_c_try_link "$LINENO"
11104 eval "$as_ac_var=yes"
11106 eval "$as_ac_var=no"
11108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11109 conftest$ac_exeext conftest.$ac_ext
11110 CFLAGS=$ac_wine_try_cflags_saved
11111 ac_exeext=$ac_wine_try_cflags_saved_exeext
11113 eval ac_res=\$$as_ac_var
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11115 printf "%s\n" "$ac_res" >&6; }
11116 if eval test \"x\$"$as_ac_var"\" = x"yes"
11118 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11120 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11122 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11123 if eval test \${$as_ac_var+y}
11125 printf %s "(cached) " >&6
11127 ac_wine_try_cflags_saved=$CFLAGS
11128 ac_wine_try_cflags_saved_exeext=$ac_exeext
11129 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11133 int __cdecl mainCRTStartup(void) { return 0; }
11135 if ac_fn_c_try_link "$LINENO"
11137 eval "$as_ac_var=yes"
11139 eval "$as_ac_var=no"
11141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11142 conftest$ac_exeext conftest.$ac_ext
11143 CFLAGS=$ac_wine_try_cflags_saved
11144 ac_exeext=$ac_wine_try_cflags_saved_exeext
11146 eval ac_res=\$$as_ac_var
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11148 printf "%s\n" "$ac_res" >&6; }
11149 if eval test \"x\$"$as_ac_var"\" = x"yes"
11151 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11153 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11155 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11156 if eval test \${$as_ac_var+y}
11158 printf %s "(cached) " >&6
11160 ac_wine_try_cflags_saved=$CFLAGS
11161 ac_wine_try_cflags_saved_exeext=$ac_exeext
11162 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11166 int __cdecl mainCRTStartup(void) { return 0; }
11168 if ac_fn_c_try_link "$LINENO"
11170 eval "$as_ac_var=yes"
11172 eval "$as_ac_var=no"
11174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11175 conftest$ac_exeext conftest.$ac_ext
11176 CFLAGS=$ac_wine_try_cflags_saved
11177 ac_exeext=$ac_wine_try_cflags_saved_exeext
11179 eval ac_res=\$$as_ac_var
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11181 printf "%s\n" "$ac_res" >&6; }
11182 if eval test \"x\$"$as_ac_var"\" = x"yes"
11184 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11186 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11188 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11189 if eval test \${$as_ac_var+y}
11191 printf %s "(cached) " >&6
11193 ac_wine_try_cflags_saved=$CFLAGS
11194 ac_wine_try_cflags_saved_exeext=$ac_exeext
11195 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11199 int __cdecl mainCRTStartup(void) { return 0; }
11201 if ac_fn_c_try_link "$LINENO"
11203 eval "$as_ac_var=yes"
11205 eval "$as_ac_var=no"
11207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11208 conftest$ac_exeext conftest.$ac_ext
11209 CFLAGS=$ac_wine_try_cflags_saved
11210 ac_exeext=$ac_wine_try_cflags_saved_exeext
11212 eval ac_res=\$$as_ac_var
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11214 printf "%s\n" "$ac_res" >&6; }
11215 if eval test \"x\$"$as_ac_var"\" = x"yes"
11217 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11219 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11221 printf %s "checking whether $CC supports -Wvla... " >&6; }
11222 if eval test \${$as_ac_var+y}
11224 printf %s "(cached) " >&6
11226 ac_wine_try_cflags_saved=$CFLAGS
11227 ac_wine_try_cflags_saved_exeext=$ac_exeext
11228 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11232 int __cdecl mainCRTStartup(void) { return 0; }
11234 if ac_fn_c_try_link "$LINENO"
11236 eval "$as_ac_var=yes"
11238 eval "$as_ac_var=no"
11240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11241 conftest$ac_exeext conftest.$ac_ext
11242 CFLAGS=$ac_wine_try_cflags_saved
11243 ac_exeext=$ac_wine_try_cflags_saved_exeext
11245 eval ac_res=\$$as_ac_var
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11247 printf "%s\n" "$ac_res" >&6; }
11248 if eval test \"x\$"$as_ac_var"\" = x"yes"
11250 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11252 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11254 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11255 if eval test \${$as_ac_var+y}
11257 printf %s "(cached) " >&6
11259 ac_wine_try_cflags_saved=$CFLAGS
11260 ac_wine_try_cflags_saved_exeext=$ac_exeext
11261 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11265 int __cdecl mainCRTStartup(void) { return 0; }
11267 if ac_fn_c_try_link "$LINENO"
11269 eval "$as_ac_var=yes"
11271 eval "$as_ac_var=no"
11273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11274 conftest$ac_exeext conftest.$ac_ext
11275 CFLAGS=$ac_wine_try_cflags_saved
11276 ac_exeext=$ac_wine_try_cflags_saved_exeext
11278 eval ac_res=\$$as_ac_var
11279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11280 printf "%s\n" "$ac_res" >&6; }
11281 if eval test \"x\$"$as_ac_var"\" = x"yes"
11283 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11285 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11287 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11288 if eval test \${$as_ac_var+y}
11290 printf %s "(cached) " >&6
11292 ac_wine_try_cflags_saved=$CFLAGS
11293 ac_wine_try_cflags_saved_exeext=$ac_exeext
11294 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11298 int __cdecl mainCRTStartup(void) { return 0; }
11300 if ac_fn_c_try_link "$LINENO"
11302 eval "$as_ac_var=yes"
11304 eval "$as_ac_var=no"
11306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11307 conftest$ac_exeext conftest.$ac_ext
11308 CFLAGS=$ac_wine_try_cflags_saved
11309 ac_exeext=$ac_wine_try_cflags_saved_exeext
11311 eval ac_res=\$$as_ac_var
11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11313 printf "%s\n" "$ac_res" >&6; }
11314 if eval test \"x\$"$as_ac_var"\" = x"yes"
11316 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11318 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11320 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11321 if eval test \${$as_ac_var+y}
11323 printf %s "(cached) " >&6
11325 ac_wine_try_cflags_saved=$CFLAGS
11326 ac_wine_try_cflags_saved_exeext=$ac_exeext
11327 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11331 int __cdecl mainCRTStartup(void) { return 0; }
11333 if ac_fn_c_try_link "$LINENO"
11335 eval "$as_ac_var=yes"
11337 eval "$as_ac_var=no"
11339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11340 conftest$ac_exeext conftest.$ac_ext
11341 CFLAGS=$ac_wine_try_cflags_saved
11342 ac_exeext=$ac_wine_try_cflags_saved_exeext
11344 eval ac_res=\$$as_ac_var
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11346 printf "%s\n" "$ac_res" >&6; }
11347 if eval test \"x\$"$as_ac_var"\" = x"yes"
11349 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11351 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11353 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11354 if eval test \${$as_ac_var+y}
11356 printf %s "(cached) " >&6
11358 ac_wine_try_cflags_saved=$CFLAGS
11359 ac_wine_try_cflags_saved_exeext=$ac_exeext
11360 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11364 int __cdecl mainCRTStartup(void) { return 0; }
11366 if ac_fn_c_try_link "$LINENO"
11368 eval "$as_ac_var=yes"
11370 eval "$as_ac_var=no"
11372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11373 conftest$ac_exeext conftest.$ac_ext
11374 CFLAGS=$ac_wine_try_cflags_saved
11375 ac_exeext=$ac_wine_try_cflags_saved_exeext
11377 eval ac_res=\$$as_ac_var
11378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11379 printf "%s\n" "$ac_res" >&6; }
11380 if eval test \"x\$"$as_ac_var"\" = x"yes"
11382 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11386 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11388 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11389 if eval test \${$as_ac_var+y}
11391 printf %s "(cached) " >&6
11393 ac_wine_try_cflags_saved=$CFLAGS
11394 ac_wine_try_cflags_saved_exeext=$ac_exeext
11395 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11399 int __cdecl mainCRTStartup(void) { return 0; }
11401 if ac_fn_c_try_link "$LINENO"
11403 eval "$as_ac_var=yes"
11405 eval "$as_ac_var=no"
11407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11408 conftest$ac_exeext conftest.$ac_ext
11409 CFLAGS=$ac_wine_try_cflags_saved
11410 ac_exeext=$ac_wine_try_cflags_saved_exeext
11412 eval ac_res=\$$as_ac_var
11413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11414 printf "%s\n" "$ac_res" >&6; }
11415 if eval test \"x\$"$as_ac_var"\" = x"yes"
11417 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11419 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11421 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11422 if eval test \${$as_ac_var+y}
11424 printf %s "(cached) " >&6
11426 ac_wine_try_cflags_saved=$CFLAGS
11427 ac_wine_try_cflags_saved_exeext=$ac_exeext
11428 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11432 int __cdecl mainCRTStartup(void) { return 0; }
11434 if ac_fn_c_try_link "$LINENO"
11436 eval "$as_ac_var=yes"
11438 eval "$as_ac_var=no"
11440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11441 conftest$ac_exeext conftest.$ac_ext
11442 CFLAGS=$ac_wine_try_cflags_saved
11443 ac_exeext=$ac_wine_try_cflags_saved_exeext
11445 eval ac_res=\$$as_ac_var
11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11447 printf "%s\n" "$ac_res" >&6; }
11448 if eval test \"x\$"$as_ac_var"\" = x"yes"
11450 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11452 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11454 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11455 if eval test \${$as_ac_var+y}
11457 printf %s "(cached) " >&6
11459 ac_wine_try_cflags_saved=$CFLAGS
11460 ac_wine_try_cflags_saved_exeext=$ac_exeext
11461 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wno-format"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11465 int __cdecl mainCRTStartup(void) { return 0; }
11467 if ac_fn_c_try_link "$LINENO"
11469 eval "$as_ac_var=yes"
11471 eval "$as_ac_var=no"
11473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11474 conftest$ac_exeext conftest.$ac_ext
11475 CFLAGS=$ac_wine_try_cflags_saved
11476 ac_exeext=$ac_wine_try_cflags_saved_exeext
11478 eval ac_res=\$$as_ac_var
11479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11480 printf "%s\n" "$ac_res" >&6; }
11481 if eval test \"x\$"$as_ac_var"\" = x"yes"
11483 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11485 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11487 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11488 if eval test \${$as_ac_var+y}
11490 printf %s "(cached) " >&6
11492 ac_wine_try_cflags_saved=$CFLAGS
11493 ac_wine_try_cflags_saved_exeext=$ac_exeext
11494 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497 /* end confdefs.h. */
11498 int __cdecl mainCRTStartup(void) { return 0; }
11500 if ac_fn_c_try_link "$LINENO"
11502 eval "$as_ac_var=yes"
11504 eval "$as_ac_var=no"
11506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11507 conftest$ac_exeext conftest.$ac_ext
11508 CFLAGS=$ac_wine_try_cflags_saved
11509 ac_exeext=$ac_wine_try_cflags_saved_exeext
11511 eval ac_res=\$$as_ac_var
11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11513 printf "%s\n" "$ac_res" >&6; }
11514 if eval test \"x\$"$as_ac_var"\" = x"yes"
11516 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11518 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11520 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11521 if eval test \${$as_ac_var+y}
11523 printf %s "(cached) " >&6
11525 ac_wine_try_cflags_saved=$CFLAGS
11526 ac_wine_try_cflags_saved_exeext=$ac_exeext
11527 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11531 int __cdecl mainCRTStartup(void) { return 0; }
11533 if ac_fn_c_try_link "$LINENO"
11535 eval "$as_ac_var=yes"
11537 eval "$as_ac_var=no"
11539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11540 conftest$ac_exeext conftest.$ac_ext
11541 CFLAGS=$ac_wine_try_cflags_saved
11542 ac_exeext=$ac_wine_try_cflags_saved_exeext
11544 eval ac_res=\$$as_ac_var
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11546 printf "%s\n" "$ac_res" >&6; }
11547 if eval test \"x\$"$as_ac_var"\" = x"yes"
11549 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11551 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11553 printf %s "checking whether $CC supports -mcx16... " >&6; }
11554 if eval test \${$as_ac_var+y}
11556 printf %s "(cached) " >&6
11558 ac_wine_try_cflags_saved=$CFLAGS
11559 ac_wine_try_cflags_saved_exeext=$ac_exeext
11560 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 int __cdecl mainCRTStartup(void) { return 0; }
11566 if ac_fn_c_try_link "$LINENO"
11568 eval "$as_ac_var=yes"
11570 eval "$as_ac_var=no"
11572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11573 conftest$ac_exeext conftest.$ac_ext
11574 CFLAGS=$ac_wine_try_cflags_saved
11575 ac_exeext=$ac_wine_try_cflags_saved_exeext
11577 eval ac_res=\$$as_ac_var
11578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11579 printf "%s\n" "$ac_res" >&6; }
11580 if eval test \"x\$"$as_ac_var"\" = x"yes"
11582 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11584 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11586 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11587 if eval test \${$as_ac_var+y}
11589 printf %s "(cached) " >&6
11591 ac_wine_try_cflags_saved=$CFLAGS
11592 ac_wine_try_cflags_saved_exeext=$ac_exeext
11593 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wno-format"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11597 int __cdecl mainCRTStartup(void) { return 0; }
11599 if ac_fn_c_try_link "$LINENO"
11601 eval "$as_ac_var=yes"
11603 eval "$as_ac_var=no"
11605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11606 conftest$ac_exeext conftest.$ac_ext
11607 CFLAGS=$ac_wine_try_cflags_saved
11608 ac_exeext=$ac_wine_try_cflags_saved_exeext
11610 eval ac_res=\$$as_ac_var
11611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11612 printf "%s\n" "$ac_res" >&6; }
11613 if eval test \"x\$"$as_ac_var"\" = x"yes"
11615 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11619 wine_crossdebug=$CROSSDEBUG
11620 if test -z "$wine_crossdebug"
11622 for ac_flag in $CFLAGS; do
11624 -gdwarf*) wine_crossdebug=dwarf ;;
11625 -gcodeview) wine_crossdebug=pdb ;;
11626 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11631 ac_debug_format_seen=""
11632 for ac_flag in $CFLAGS; do
11634 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11637 if test "x$ac_debug_format_seen" = x
11639 case $wine_crossdebug in
11640 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11642 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11643 if eval test \${$as_ac_var+y}
11645 printf %s "(cached) " >&6
11647 ac_wine_try_cflags_saved=$CFLAGS
11648 ac_wine_try_cflags_saved_exeext=$ac_exeext
11649 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 int __cdecl mainCRTStartup(void) { return 0; }
11655 if ac_fn_c_try_link "$LINENO"
11657 eval "$as_ac_var=yes"
11659 eval "$as_ac_var=no"
11661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11662 conftest$ac_exeext conftest.$ac_ext
11663 CFLAGS=$ac_wine_try_cflags_saved
11664 ac_exeext=$ac_wine_try_cflags_saved_exeext
11666 eval ac_res=\$$as_ac_var
11667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11668 printf "%s\n" "$ac_res" >&6; }
11669 if eval test \"x\$"$as_ac_var"\" = x"yes"
11671 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11673 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11675 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11676 if eval test \${$as_ac_var+y}
11678 printf %s "(cached) " >&6
11680 ac_wine_try_cflags_saved=$CFLAGS
11681 ac_wine_try_cflags_saved_exeext=$ac_exeext
11682 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11686 int __cdecl mainCRTStartup(void) { return 0; }
11688 if ac_fn_c_try_link "$LINENO"
11690 eval "$as_ac_var=yes"
11692 eval "$as_ac_var=no"
11694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11695 conftest$ac_exeext conftest.$ac_ext
11696 CFLAGS=$ac_wine_try_cflags_saved
11697 ac_exeext=$ac_wine_try_cflags_saved_exeext
11699 eval ac_res=\$$as_ac_var
11700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11701 printf "%s\n" "$ac_res" >&6; }
11702 if eval test \"x\$"$as_ac_var"\" = x"yes"
11704 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11708 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11710 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11712 printf %s "checking whether $CC supports -Werror... " >&6; }
11713 if eval test \${$as_ac_var+y}
11715 printf %s "(cached) " >&6
11717 ac_wine_try_cflags_saved=$CFLAGS
11718 ac_wine_try_cflags_saved_exeext=$ac_exeext
11719 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11723 int __cdecl mainCRTStartup(void) { return 0; }
11725 if ac_fn_c_try_link "$LINENO"
11727 eval "$as_ac_var=yes"
11729 eval "$as_ac_var=no"
11731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11732 conftest$ac_exeext conftest.$ac_ext
11733 CFLAGS=$ac_wine_try_cflags_saved
11734 ac_exeext=$ac_wine_try_cflags_saved_exeext
11736 eval ac_res=\$$as_ac_var
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11738 printf "%s\n" "$ac_res" >&6; }
11739 if eval test \"x\$"$as_ac_var"\" = x"yes"
11741 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11743 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11745 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11746 if eval test \${$as_ac_var+y}
11748 printf %s "(cached) " >&6
11750 ac_wine_try_cflags_saved=$CFLAGS
11751 ac_wine_try_cflags_saved_exeext=$ac_exeext
11752 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11755 /* end confdefs.h. */
11756 int __cdecl mainCRTStartup(void) { return 0; }
11758 if ac_fn_c_try_link "$LINENO"
11760 eval "$as_ac_var=yes"
11762 eval "$as_ac_var=no"
11764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11765 conftest$ac_exeext conftest.$ac_ext
11766 CFLAGS=$ac_wine_try_cflags_saved
11767 ac_exeext=$ac_wine_try_cflags_saved_exeext
11769 eval ac_res=\$$as_ac_var
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11771 printf "%s\n" "$ac_res" >&6; }
11772 if eval test \"x\$"$as_ac_var"\" = x"yes"
11774 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11775 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11779 CFLAGS=$saved_CFLAGS
11782 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11784 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11787 if test "x$PE_ARCHS" = "x"
11789 case "x$with_mingw" in
11790 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11792 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11793 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11799 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11801 case "$host_cpu" in
11803 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11805 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11807 for ac_prog in $ac_prefix_list
11809 # Extract the first word of "$ac_prog", so it can be a program name with args.
11810 set dummy $ac_prog; ac_word=$2
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11812 printf %s "checking for $ac_word... " >&6; }
11813 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11815 printf %s "(cached) " >&6
11817 if test -n "$MINGW_PKG_CONFIG"; then
11818 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11821 for as_dir in $PATH
11824 case $as_dir in #(((
11827 *) as_dir=$as_dir/ ;;
11829 for ac_exec_ext in '' $ac_executable_extensions; do
11830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11831 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11841 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11842 if test -n "$MINGW_PKG_CONFIG"; then
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11844 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11847 printf "%s\n" "no" >&6; }
11851 test -n "$MINGW_PKG_CONFIG" && break
11853 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11855 if ${FAUDIO_PE_CFLAGS:+false} :
11857 if test ${MINGW_PKG_CONFIG+y}
11859 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
11862 if ${FAUDIO_PE_LIBS:+false} :
11864 if test ${MINGW_PKG_CONFIG+y}
11866 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
11869 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11870 ac_save_CPPFLAGS=$CPPFLAGS
11871 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11873 printf %s "checking for MinGW FAudio.h... " >&6; }
11874 if test ${ac_cv_mingw_header_FAudio_h+y}
11876 printf %s "(cached) " >&6
11878 ac_wine_check_headers_saved_cc=$CC
11879 ac_wine_check_headers_saved_exeext=$ac_exeext
11880 eval CC=\$${wine_arch}_CC
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 #include <FAudio.h>
11894 if ac_fn_c_try_compile "$LINENO"
11896 ac_cv_mingw_header_FAudio_h=yes
11898 ac_cv_mingw_header_FAudio_h=no
11900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11901 CC=$ac_wine_check_headers_saved_cc
11902 ac_exeext=$ac_wine_check_headers_saved_exeext
11904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11905 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11906 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11909 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11910 if test ${ac_cv_mingw_lib_FAudio+y}
11912 printf %s "(cached) " >&6
11914 ac_wine_check_headers_saved_cc=$CC
11915 ac_wine_check_headers_saved_exeext=$ac_exeext
11916 ac_wine_check_headers_saved_libs=$LIBS
11917 eval CC=\$${wine_arch}_CC
11919 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11923 /* Override any GCC internal prototype to avoid an error.
11924 Use char because int might match the return type of a GCC
11925 builtin and then its argument prototype would still apply. */
11926 char FAudio_CommitOperationSet ();
11930 return FAudio_CommitOperationSet ();
11935 if ac_fn_c_try_link "$LINENO"
11937 ac_cv_mingw_lib_FAudio=yes
11939 ac_cv_mingw_lib_FAudio=no
11941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11942 conftest$ac_exeext conftest.$ac_ext
11943 CC=$ac_wine_check_headers_saved_cc
11944 ac_exeext=$ac_wine_check_headers_saved_exeext
11945 LIBS=$ac_wine_check_headers_saved_libs
11947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11948 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11949 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11953 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11956 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11958 CPPFLAGS=$ac_save_CPPFLAGS
11960 if test "x$FAUDIO_PE_LIBS" = "x"
11962 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11965 if ${JPEG_PE_CFLAGS:+false} :
11967 if test ${MINGW_PKG_CONFIG+y}
11969 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
11972 if ${JPEG_PE_LIBS:+false} :
11974 if test ${MINGW_PKG_CONFIG+y}
11976 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
11980 ac_save_CPPFLAGS=$CPPFLAGS
11981 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11983 printf %s "checking for MinGW jpeglib.h... " >&6; }
11984 if test ${ac_cv_mingw_header_jpeglib_h+y}
11986 printf %s "(cached) " >&6
11988 ac_wine_check_headers_saved_cc=$CC
11989 ac_wine_check_headers_saved_exeext=$ac_exeext
11990 eval CC=\$${wine_arch}_CC
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11994 #include <stddef.h>
11996 #include <jpeglib.h>
12005 if ac_fn_c_try_compile "$LINENO"
12007 ac_cv_mingw_header_jpeglib_h=yes
12009 ac_cv_mingw_header_jpeglib_h=no
12011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12012 CC=$ac_wine_check_headers_saved_cc
12013 ac_exeext=$ac_wine_check_headers_saved_exeext
12015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12016 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12017 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12020 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12021 if test ${ac_cv_mingw_lib_jpeg+y}
12023 printf %s "(cached) " >&6
12025 ac_wine_check_headers_saved_cc=$CC
12026 ac_wine_check_headers_saved_exeext=$ac_exeext
12027 ac_wine_check_headers_saved_libs=$LIBS
12028 eval CC=\$${wine_arch}_CC
12030 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 char jpeg_start_decompress ();
12041 return jpeg_start_decompress ();
12046 if ac_fn_c_try_link "$LINENO"
12048 ac_cv_mingw_lib_jpeg=yes
12050 ac_cv_mingw_lib_jpeg=no
12052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12053 conftest$ac_exeext conftest.$ac_ext
12054 CC=$ac_wine_check_headers_saved_cc
12055 ac_exeext=$ac_wine_check_headers_saved_exeext
12056 LIBS=$ac_wine_check_headers_saved_libs
12058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12059 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12060 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12064 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12067 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12069 CPPFLAGS=$ac_save_CPPFLAGS
12071 if test "x$JPEG_PE_LIBS" = "x"
12073 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12076 if ${LCMS2_PE_CFLAGS:+false} :
12078 if test ${MINGW_PKG_CONFIG+y}
12080 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12083 if ${LCMS2_PE_LIBS:+false} :
12085 if test ${MINGW_PKG_CONFIG+y}
12087 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12090 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12091 ac_save_CPPFLAGS=$CPPFLAGS
12092 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12094 printf %s "checking for MinGW lcms2.h... " >&6; }
12095 if test ${ac_cv_mingw_header_lcms2_h+y}
12097 printf %s "(cached) " >&6
12099 ac_wine_check_headers_saved_cc=$CC
12100 ac_wine_check_headers_saved_exeext=$ac_exeext
12101 eval CC=\$${wine_arch}_CC
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12115 if ac_fn_c_try_compile "$LINENO"
12117 ac_cv_mingw_header_lcms2_h=yes
12119 ac_cv_mingw_header_lcms2_h=no
12121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12122 CC=$ac_wine_check_headers_saved_cc
12123 ac_exeext=$ac_wine_check_headers_saved_exeext
12125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12126 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12127 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12130 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12131 if test ${ac_cv_mingw_lib_lcms2+y}
12133 printf %s "(cached) " >&6
12135 ac_wine_check_headers_saved_cc=$CC
12136 ac_wine_check_headers_saved_exeext=$ac_exeext
12137 ac_wine_check_headers_saved_libs=$LIBS
12138 eval CC=\$${wine_arch}_CC
12140 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12144 /* Override any GCC internal prototype to avoid an error.
12145 Use char because int might match the return type of a GCC
12146 builtin and then its argument prototype would still apply. */
12147 char cmsOpenProfileFromFile ();
12151 return cmsOpenProfileFromFile ();
12156 if ac_fn_c_try_link "$LINENO"
12158 ac_cv_mingw_lib_lcms2=yes
12160 ac_cv_mingw_lib_lcms2=no
12162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12163 conftest$ac_exeext conftest.$ac_ext
12164 CC=$ac_wine_check_headers_saved_cc
12165 ac_exeext=$ac_wine_check_headers_saved_exeext
12166 LIBS=$ac_wine_check_headers_saved_libs
12168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12169 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12170 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12174 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12177 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12179 CPPFLAGS=$ac_save_CPPFLAGS
12181 if test "x$LCMS2_PE_LIBS" = "x"
12183 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12186 if ${MPG123_PE_CFLAGS:+false} :
12188 if test ${MINGW_PKG_CONFIG+y}
12190 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12193 if ${MPG123_PE_LIBS:+false} :
12195 if test ${MINGW_PKG_CONFIG+y}
12197 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12200 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12201 ac_save_CPPFLAGS=$CPPFLAGS
12202 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12204 printf %s "checking for MinGW mpg123.h... " >&6; }
12205 if test ${ac_cv_mingw_header_mpg123_h+y}
12207 printf %s "(cached) " >&6
12209 ac_wine_check_headers_saved_cc=$CC
12210 ac_wine_check_headers_saved_exeext=$ac_exeext
12211 eval CC=\$${wine_arch}_CC
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12216 #include <mpg123.h>
12225 if ac_fn_c_try_compile "$LINENO"
12227 ac_cv_mingw_header_mpg123_h=yes
12229 ac_cv_mingw_header_mpg123_h=no
12231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12232 CC=$ac_wine_check_headers_saved_cc
12233 ac_exeext=$ac_wine_check_headers_saved_exeext
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12236 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12237 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12240 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12241 if test ${ac_cv_mingw_lib_mpg123+y}
12243 printf %s "(cached) " >&6
12245 ac_wine_check_headers_saved_cc=$CC
12246 ac_wine_check_headers_saved_exeext=$ac_exeext
12247 ac_wine_check_headers_saved_libs=$LIBS
12248 eval CC=\$${wine_arch}_CC
12250 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12254 /* Override any GCC internal prototype to avoid an error.
12255 Use char because int might match the return type of a GCC
12256 builtin and then its argument prototype would still apply. */
12257 char mpg123_feed ();
12261 return mpg123_feed ();
12266 if ac_fn_c_try_link "$LINENO"
12268 ac_cv_mingw_lib_mpg123=yes
12270 ac_cv_mingw_lib_mpg123=no
12272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12273 conftest$ac_exeext conftest.$ac_ext
12274 CC=$ac_wine_check_headers_saved_cc
12275 ac_exeext=$ac_wine_check_headers_saved_exeext
12276 LIBS=$ac_wine_check_headers_saved_libs
12278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12279 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12280 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12284 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12287 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12289 CPPFLAGS=$ac_save_CPPFLAGS
12291 if test "x$MPG123_PE_LIBS" = "x"
12293 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12296 if ${PNG_PE_CFLAGS:+false} :
12298 if test ${MINGW_PKG_CONFIG+y}
12300 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12303 if ${PNG_PE_LIBS:+false} :
12305 if test ${MINGW_PKG_CONFIG+y}
12307 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12311 ac_save_CPPFLAGS=$CPPFLAGS
12312 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12314 printf %s "checking for MinGW png.h... " >&6; }
12315 if test ${ac_cv_mingw_header_png_h+y}
12317 printf %s "(cached) " >&6
12319 ac_wine_check_headers_saved_cc=$CC
12320 ac_wine_check_headers_saved_exeext=$ac_exeext
12321 eval CC=\$${wine_arch}_CC
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12335 if ac_fn_c_try_compile "$LINENO"
12337 ac_cv_mingw_header_png_h=yes
12339 ac_cv_mingw_header_png_h=no
12341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12342 CC=$ac_wine_check_headers_saved_cc
12343 ac_exeext=$ac_wine_check_headers_saved_exeext
12345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12346 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12347 if test "x$ac_cv_mingw_header_png_h" = xyes
12349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12350 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12351 if test ${ac_cv_mingw_lib_png+y}
12353 printf %s "(cached) " >&6
12355 ac_wine_check_headers_saved_cc=$CC
12356 ac_wine_check_headers_saved_exeext=$ac_exeext
12357 ac_wine_check_headers_saved_libs=$LIBS
12358 eval CC=\$${wine_arch}_CC
12360 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12367 char png_create_read_struct ();
12371 return png_create_read_struct ();
12376 if ac_fn_c_try_link "$LINENO"
12378 ac_cv_mingw_lib_png=yes
12380 ac_cv_mingw_lib_png=no
12382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12383 conftest$ac_exeext conftest.$ac_ext
12384 CC=$ac_wine_check_headers_saved_cc
12385 ac_exeext=$ac_wine_check_headers_saved_exeext
12386 LIBS=$ac_wine_check_headers_saved_libs
12388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12389 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12390 if test "x$ac_cv_mingw_lib_png" = xyes
12394 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12397 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12399 CPPFLAGS=$ac_save_CPPFLAGS
12401 if test "x$PNG_PE_LIBS" = "x"
12403 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12406 if ${TIFF_PE_CFLAGS:+false} :
12408 if test ${MINGW_PKG_CONFIG+y}
12410 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12413 if ${TIFF_PE_LIBS:+false} :
12415 if test ${MINGW_PKG_CONFIG+y}
12417 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12421 ac_save_CPPFLAGS=$CPPFLAGS
12422 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12424 printf %s "checking for MinGW tiffio.h... " >&6; }
12425 if test ${ac_cv_mingw_header_tiffio_h+y}
12427 printf %s "(cached) " >&6
12429 ac_wine_check_headers_saved_cc=$CC
12430 ac_wine_check_headers_saved_exeext=$ac_exeext
12431 eval CC=\$${wine_arch}_CC
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12436 #include <tiffio.h>
12445 if ac_fn_c_try_compile "$LINENO"
12447 ac_cv_mingw_header_tiffio_h=yes
12449 ac_cv_mingw_header_tiffio_h=no
12451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12452 CC=$ac_wine_check_headers_saved_cc
12453 ac_exeext=$ac_wine_check_headers_saved_exeext
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12456 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12457 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12460 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12461 if test ${ac_cv_mingw_lib_tiff+y}
12463 printf %s "(cached) " >&6
12465 ac_wine_check_headers_saved_cc=$CC
12466 ac_wine_check_headers_saved_exeext=$ac_exeext
12467 ac_wine_check_headers_saved_libs=$LIBS
12468 eval CC=\$${wine_arch}_CC
12470 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 char TIFFClientOpen ();
12481 return TIFFClientOpen ();
12486 if ac_fn_c_try_link "$LINENO"
12488 ac_cv_mingw_lib_tiff=yes
12490 ac_cv_mingw_lib_tiff=no
12492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12493 conftest$ac_exeext conftest.$ac_ext
12494 CC=$ac_wine_check_headers_saved_cc
12495 ac_exeext=$ac_wine_check_headers_saved_exeext
12496 LIBS=$ac_wine_check_headers_saved_libs
12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12499 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12500 if test "x$ac_cv_mingw_lib_tiff" = xyes
12504 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12507 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12509 CPPFLAGS=$ac_save_CPPFLAGS
12511 if test "x$TIFF_PE_LIBS" = "x"
12513 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12516 if ${XML2_PE_CFLAGS:+false} :
12518 if test ${MINGW_PKG_CONFIG+y}
12520 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12523 if ${XML2_PE_LIBS:+false} :
12525 if test ${MINGW_PKG_CONFIG+y}
12527 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12530 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12531 ac_save_CPPFLAGS=$CPPFLAGS
12532 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12534 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12535 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12537 printf %s "(cached) " >&6
12539 ac_wine_check_headers_saved_cc=$CC
12540 ac_wine_check_headers_saved_exeext=$ac_exeext
12541 eval CC=\$${wine_arch}_CC
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12546 #include <libxml/parser.h>
12555 if ac_fn_c_try_compile "$LINENO"
12557 ac_cv_mingw_header_libxml_parser_h=yes
12559 ac_cv_mingw_header_libxml_parser_h=no
12561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12562 CC=$ac_wine_check_headers_saved_cc
12563 ac_exeext=$ac_wine_check_headers_saved_exeext
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12566 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12567 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12572 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12573 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12575 printf %s "(cached) " >&6
12577 ac_wine_check_headers_saved_cc=$CC
12578 ac_wine_check_headers_saved_exeext=$ac_exeext
12579 eval CC=\$${wine_arch}_CC
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 #include <libxml/xmlsave.h>
12593 if ac_fn_c_try_compile "$LINENO"
12595 ac_cv_mingw_header_libxml_xmlsave_h=yes
12597 ac_cv_mingw_header_libxml_xmlsave_h=no
12599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12600 CC=$ac_wine_check_headers_saved_cc
12601 ac_exeext=$ac_wine_check_headers_saved_exeext
12603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12604 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12605 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12610 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12611 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12613 printf %s "(cached) " >&6
12615 ac_wine_check_headers_saved_cc=$CC
12616 ac_wine_check_headers_saved_exeext=$ac_exeext
12617 eval CC=\$${wine_arch}_CC
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12622 #include <libxml/SAX2.h>
12631 if ac_fn_c_try_compile "$LINENO"
12633 ac_cv_mingw_header_libxml_SAX2_h=yes
12635 ac_cv_mingw_header_libxml_SAX2_h=no
12637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12638 CC=$ac_wine_check_headers_saved_cc
12639 ac_exeext=$ac_wine_check_headers_saved_exeext
12641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12642 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12643 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12647 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"
12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12650 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12651 if test ${ac_cv_mingw_lib_xml2+y}
12653 printf %s "(cached) " >&6
12655 ac_wine_check_headers_saved_cc=$CC
12656 ac_wine_check_headers_saved_exeext=$ac_exeext
12657 ac_wine_check_headers_saved_libs=$LIBS
12658 eval CC=\$${wine_arch}_CC
12660 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12667 char xmlFirstElementChild ();
12671 return xmlFirstElementChild ();
12676 if ac_fn_c_try_link "$LINENO"
12678 ac_cv_mingw_lib_xml2=yes
12680 ac_cv_mingw_lib_xml2=no
12682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12683 conftest$ac_exeext conftest.$ac_ext
12684 CC=$ac_wine_check_headers_saved_cc
12685 ac_exeext=$ac_wine_check_headers_saved_exeext
12686 LIBS=$ac_wine_check_headers_saved_libs
12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12689 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12690 if test "x$ac_cv_mingw_lib_xml2" = xyes
12694 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12700 CPPFLAGS=$ac_save_CPPFLAGS
12702 if test "x$XML2_PE_LIBS" = "x"
12704 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12707 if ${XSLT_PE_CFLAGS:+false} :
12709 if test ${MINGW_PKG_CONFIG+y}
12711 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12714 if ${XSLT_PE_LIBS:+false} :
12716 if test ${MINGW_PKG_CONFIG+y}
12718 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12721 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12722 ac_save_CPPFLAGS=$CPPFLAGS
12723 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12725 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12726 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12728 printf %s "(cached) " >&6
12730 ac_wine_check_headers_saved_cc=$CC
12731 ac_wine_check_headers_saved_exeext=$ac_exeext
12732 eval CC=\$${wine_arch}_CC
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 #include <libxslt/pattern.h>
12746 if ac_fn_c_try_compile "$LINENO"
12748 ac_cv_mingw_header_libxslt_pattern_h=yes
12750 ac_cv_mingw_header_libxslt_pattern_h=no
12752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12753 CC=$ac_wine_check_headers_saved_cc
12754 ac_exeext=$ac_wine_check_headers_saved_exeext
12756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12757 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12758 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12763 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12764 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12766 printf %s "(cached) " >&6
12768 ac_wine_check_headers_saved_cc=$CC
12769 ac_wine_check_headers_saved_exeext=$ac_exeext
12770 eval CC=\$${wine_arch}_CC
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 #include <libxslt/transform.h>
12784 if ac_fn_c_try_compile "$LINENO"
12786 ac_cv_mingw_header_libxslt_transform_h=yes
12788 ac_cv_mingw_header_libxslt_transform_h=no
12790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12791 CC=$ac_wine_check_headers_saved_cc
12792 ac_exeext=$ac_wine_check_headers_saved_exeext
12794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12795 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12796 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12800 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12803 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12804 if test ${ac_cv_mingw_lib_xslt+y}
12806 printf %s "(cached) " >&6
12808 ac_wine_check_headers_saved_cc=$CC
12809 ac_wine_check_headers_saved_exeext=$ac_exeext
12810 ac_wine_check_headers_saved_libs=$LIBS
12811 eval CC=\$${wine_arch}_CC
12813 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12820 char xsltCompilePattern ();
12824 return xsltCompilePattern ();
12829 if ac_fn_c_try_link "$LINENO"
12831 ac_cv_mingw_lib_xslt=yes
12833 ac_cv_mingw_lib_xslt=no
12835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12836 conftest$ac_exeext conftest.$ac_ext
12837 CC=$ac_wine_check_headers_saved_cc
12838 ac_exeext=$ac_wine_check_headers_saved_exeext
12839 LIBS=$ac_wine_check_headers_saved_libs
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12842 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12843 if test "x$ac_cv_mingw_lib_xslt" = xyes
12847 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12853 CPPFLAGS=$ac_save_CPPFLAGS
12855 if test "x$XSLT_PE_LIBS" = "x"
12857 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12860 if ${VKD3D_PE_CFLAGS:+false} :
12862 if test ${MINGW_PKG_CONFIG+y}
12864 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
12867 if ${VKD3D_PE_LIBS:+false} :
12869 if test ${MINGW_PKG_CONFIG+y}
12871 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
12874 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12875 ac_save_CPPFLAGS=$CPPFLAGS
12876 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12878 printf %s "checking for MinGW vkd3d.h... " >&6; }
12879 if test ${ac_cv_mingw_header_vkd3d_h+y}
12881 printf %s "(cached) " >&6
12883 ac_wine_check_headers_saved_cc=$CC
12884 ac_wine_check_headers_saved_exeext=$ac_exeext
12885 eval CC=\$${wine_arch}_CC
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12899 if ac_fn_c_try_compile "$LINENO"
12901 ac_cv_mingw_header_vkd3d_h=yes
12903 ac_cv_mingw_header_vkd3d_h=no
12905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12906 CC=$ac_wine_check_headers_saved_cc
12907 ac_exeext=$ac_wine_check_headers_saved_exeext
12909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12910 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12911 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12916 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12917 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12919 printf %s "(cached) " >&6
12921 ac_wine_check_headers_saved_cc=$CC
12922 ac_wine_check_headers_saved_exeext=$ac_exeext
12923 eval CC=\$${wine_arch}_CC
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 #include <vkd3d_shader.h>
12937 if ac_fn_c_try_compile "$LINENO"
12939 ac_cv_mingw_header_vkd3d_shader_h=yes
12941 ac_cv_mingw_header_vkd3d_shader_h=no
12943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12944 CC=$ac_wine_check_headers_saved_cc
12945 ac_exeext=$ac_wine_check_headers_saved_exeext
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12948 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12949 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12953 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12956 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12957 if test ${ac_cv_mingw_lib_vkd3d+y}
12959 printf %s "(cached) " >&6
12961 ac_wine_check_headers_saved_cc=$CC
12962 ac_wine_check_headers_saved_exeext=$ac_exeext
12963 ac_wine_check_headers_saved_libs=$LIBS
12964 eval CC=\$${wine_arch}_CC
12966 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 char vkd3d_set_log_callback ();
12977 return vkd3d_set_log_callback ();
12982 if ac_fn_c_try_link "$LINENO"
12984 ac_cv_mingw_lib_vkd3d=yes
12986 ac_cv_mingw_lib_vkd3d=no
12988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12989 conftest$ac_exeext conftest.$ac_ext
12990 CC=$ac_wine_check_headers_saved_cc
12991 ac_exeext=$ac_wine_check_headers_saved_exeext
12992 LIBS=$ac_wine_check_headers_saved_libs
12994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12995 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12996 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13003 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13004 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13006 printf %s "(cached) " >&6
13008 ac_wine_check_headers_saved_cc=$CC
13009 ac_wine_check_headers_saved_exeext=$ac_exeext
13010 ac_wine_check_headers_saved_libs=$LIBS
13011 eval CC=\$${wine_arch}_CC
13013 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13020 char vkd3d_shader_compile ();
13024 return vkd3d_shader_compile ();
13029 if ac_fn_c_try_link "$LINENO"
13031 ac_cv_mingw_lib_vkd3d_shader=yes
13033 ac_cv_mingw_lib_vkd3d_shader=no
13035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13036 conftest$ac_exeext conftest.$ac_ext
13037 CC=$ac_wine_check_headers_saved_cc
13038 ac_exeext=$ac_wine_check_headers_saved_exeext
13039 LIBS=$ac_wine_check_headers_saved_libs
13041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13042 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13043 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13049 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13058 CPPFLAGS=$ac_save_CPPFLAGS
13060 if test "x$VKD3D_PE_LIBS" = "x"
13062 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13065 if ${ZLIB_PE_CFLAGS:+false} :
13067 if test ${MINGW_PKG_CONFIG+y}
13069 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13072 if ${ZLIB_PE_LIBS:+false} :
13074 if test ${MINGW_PKG_CONFIG+y}
13076 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13079 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13080 ac_save_CPPFLAGS=$CPPFLAGS
13081 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13083 printf %s "checking for MinGW zlib.h... " >&6; }
13084 if test ${ac_cv_mingw_header_zlib_h+y}
13086 printf %s "(cached) " >&6
13088 ac_wine_check_headers_saved_cc=$CC
13089 ac_wine_check_headers_saved_exeext=$ac_exeext
13090 eval CC=\$${wine_arch}_CC
13092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13104 if ac_fn_c_try_compile "$LINENO"
13106 ac_cv_mingw_header_zlib_h=yes
13108 ac_cv_mingw_header_zlib_h=no
13110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13111 CC=$ac_wine_check_headers_saved_cc
13112 ac_exeext=$ac_wine_check_headers_saved_exeext
13114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13115 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13116 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13119 printf %s "checking for inflate in MinGW -lz... " >&6; }
13120 if test ${ac_cv_mingw_lib_z+y}
13122 printf %s "(cached) " >&6
13124 ac_wine_check_headers_saved_cc=$CC
13125 ac_wine_check_headers_saved_exeext=$ac_exeext
13126 ac_wine_check_headers_saved_libs=$LIBS
13127 eval CC=\$${wine_arch}_CC
13129 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13145 if ac_fn_c_try_link "$LINENO"
13147 ac_cv_mingw_lib_z=yes
13149 ac_cv_mingw_lib_z=no
13151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13152 conftest$ac_exeext conftest.$ac_ext
13153 CC=$ac_wine_check_headers_saved_cc
13154 ac_exeext=$ac_wine_check_headers_saved_exeext
13155 LIBS=$ac_wine_check_headers_saved_libs
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13158 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13159 if test "x$ac_cv_mingw_lib_z" = xyes
13163 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13166 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13168 CPPFLAGS=$ac_save_CPPFLAGS
13170 if test "x$ZLIB_PE_LIBS" = "x"
13172 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13176 if ${FAUDIO_PE_LIBS:+false} :
13178 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13179 if ${FAUDIO_PE_CFLAGS:+false} :
13181 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13191 if ${GSM_PE_LIBS:+false} :
13194 if ${GSM_PE_CFLAGS:+false} :
13196 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13206 if ${JPEG_PE_LIBS:+false} :
13209 if ${JPEG_PE_CFLAGS:+false} :
13211 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13221 if ${JXR_PE_LIBS:+false} :
13224 if ${JXR_PE_CFLAGS:+false} :
13226 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13236 if ${LCMS2_PE_LIBS:+false} :
13238 LCMS2_PE_LIBS=lcms2
13239 if ${LCMS2_PE_CFLAGS:+false} :
13241 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13251 if ${LDAP_PE_LIBS:+false} :
13254 if ${LDAP_PE_CFLAGS:+false} :
13256 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13266 if ${MPG123_PE_LIBS:+false} :
13268 MPG123_PE_LIBS=mpg123
13269 if ${MPG123_PE_CFLAGS:+false} :
13271 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13281 if ${PNG_PE_LIBS:+false} :
13283 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13284 if ${PNG_PE_CFLAGS:+false} :
13286 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13296 if ${TIFF_PE_LIBS:+false} :
13298 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13299 if ${TIFF_PE_CFLAGS:+false} :
13301 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13311 if ${VKD3D_PE_LIBS:+false} :
13313 VKD3D_PE_LIBS=vkd3d
13314 if ${VKD3D_PE_CFLAGS:+false} :
13316 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13326 if ${XML2_PE_LIBS:+false} :
13329 if ${XML2_PE_CFLAGS:+false} :
13331 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13341 if ${XSLT_PE_LIBS:+false} :
13344 if ${XSLT_PE_CFLAGS:+false} :
13346 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13356 if ${ZLIB_PE_LIBS:+false} :
13359 if ${ZLIB_PE_CFLAGS:+false} :
13361 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13373 if test "$ac_cv_header_pthread_h" = "yes"
13375 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13376 if test "x$ac_cv_func_pthread_create" = xyes
13380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13381 printf %s "checking for pthread_create in -lpthread... " >&6; }
13382 if test ${ac_cv_lib_pthread_pthread_create+y}
13384 printf %s "(cached) " >&6
13386 ac_check_lib_save_LIBS=$LIBS
13387 LIBS="-lpthread $LIBS"
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13394 char pthread_create ();
13398 return pthread_create ();
13403 if ac_fn_c_try_link "$LINENO"
13405 ac_cv_lib_pthread_pthread_create=yes
13407 ac_cv_lib_pthread_pthread_create=no
13409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13410 conftest$ac_exeext conftest.$ac_ext
13411 LIBS=$ac_check_lib_save_LIBS
13413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13414 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13415 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13417 PTHREAD_LIBS="-lpthread"
13424 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13426 case "x$with_pthread" in
13428 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13429 Wine cannot support threads without libpthread.
13430 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13437 ac_cpp='$CPP $CPPFLAGS'
13438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13442 printf %s "checking how to run the C preprocessor... " >&6; }
13443 # On Suns, sometimes $CPP names a directory.
13444 if test -n "$CPP" && test -d "$CPP"; then
13447 if test -z "$CPP"; then
13448 if test ${ac_cv_prog_CPP+y}
13450 printf %s "(cached) " >&6
13452 # Double quotes because $CC needs to be expanded
13453 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13455 ac_preproc_ok=false
13456 for ac_c_preproc_warn_flag in '' yes
13458 # Use a header file that comes with gcc, so configuring glibc
13459 # with a fresh cross-compiler works.
13460 # On the NeXT, cc -E runs the code through the compiler's parser,
13461 # not just through cpp. "Syntax error" is here to catch this case.
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13464 #include <limits.h>
13467 if ac_fn_c_try_cpp "$LINENO"
13471 # Broken: fails on valid input.
13474 rm -f conftest.err conftest.i conftest.$ac_ext
13476 # OK, works on sane cases. Now check whether nonexistent headers
13477 # can be detected and how.
13478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480 #include <ac_nonexistent.h>
13482 if ac_fn_c_try_cpp "$LINENO"
13484 # Broken: success on invalid input.
13487 # Passes both tests.
13491 rm -f conftest.err conftest.i conftest.$ac_ext
13494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13495 rm -f conftest.i conftest.err conftest.
$ac_ext
13502 ac_cv_prog_CPP
=$CPP
13505 CPP
=$ac_cv_prog_CPP
13507 ac_cv_prog_CPP
=$CPP
13509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13510 printf "%s\n" "$CPP" >&6; }
13511 ac_preproc_ok
=false
13512 for ac_c_preproc_warn_flag
in '' yes
13514 # Use a header file that comes with gcc, so configuring glibc
13515 # with a fresh cross-compiler works.
13516 # On the NeXT, cc -E runs the code through the compiler's parser,
13517 # not just through cpp. "Syntax error" is here to catch this case.
13518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13520 #include <limits.h>
13523 if ac_fn_c_try_cpp
"$LINENO"
13527 # Broken: fails on valid input.
13530 rm -f conftest.err conftest.i conftest.
$ac_ext
13532 # OK, works on sane cases. Now check whether nonexistent headers
13533 # can be detected and how.
13534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #include <ac_nonexistent.h>
13538 if ac_fn_c_try_cpp
"$LINENO"
13540 # Broken: success on invalid input.
13543 # Passes both tests.
13547 rm -f conftest.err conftest.i conftest.
$ac_ext
13550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13551 rm -f conftest.i conftest.err conftest.
$ac_ext
13556 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13557 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13558 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13559 See \`config.log' for more details" "$LINENO" 5; }
13563 ac_cpp
='$CPP $CPPFLAGS'
13564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13570 printf %s
"checking for X... " >&6; }
13573 # Check whether --with-x was given.
13574 if test ${with_x+y}
13579 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13580 if test "x$with_x" = xno
; then
13581 # The user explicitly disabled X.
13584 case $x_includes,$x_libraries in #(
13585 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13586 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13588 printf %s
"(cached) " >&6
13590 # One or both of the vars are not set, and there is no cached value.
13593 # Do we need to do anything special at all?
13596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 #include <X11/Xlib.h>
13607 if ac_fn_c_try_link
"$LINENO"
13609 # We can compile and link X programs with no special options.
13613 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13614 conftest
$ac_exeext conftest.
$ac_ext
13615 LIBS
="$ac_save_LIBS"
13616 # If that didn't work, only try xmkmf and file system searches
13617 # for native compilation.
13618 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13620 rm -f -r conftest.dir
13621 if mkdir conftest.dir
; then
13623 cat >Imakefile
<<'_ACEOF'
13625 @echo incroot='${INCROOT}'
13627 @echo usrlibdir='${USRLIBDIR}'
13629 @echo libdir='${LIBDIR}'
13631 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13632 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13633 for ac_var
in incroot usrlibdir libdir
; do
13634 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13636 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13637 for ac_extension
in a so sl dylib la dll
; do
13638 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13639 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13640 ac_im_usrlibdir
=$ac_im_libdir; break
13643 # Screen out bogus values from the imake configuration. They are
13644 # bogus both because they are the default anyway, and because
13645 # using them would break gcc on systems where it needs fixed includes.
13646 case $ac_im_incroot in
13647 /usr
/include
) ac_x_includes
= ;;
13648 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13650 case $ac_im_usrlibdir in
13651 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13652 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13656 rm -f -r conftest.dir
13659 # Standard set of common directories for X headers.
13660 # Check X11 before X11Rn because it is often a symlink to the current release.
13674 /usr/local/X11/include
13675 /usr/local/X11R7/include
13676 /usr/local/X11R6/include
13677 /usr/local/X11R5/include
13678 /usr/local/X11R4/include
13680 /usr/local/include/X11
13681 /usr/local/include/X11R7
13682 /usr/local/include/X11R6
13683 /usr/local/include/X11R5
13684 /usr/local/include/X11R4
13690 /usr/XFree86/include/X11
13694 /usr/unsupported/include
13695 /usr/athena/include
13696 /usr/local/x11r5/include
13697 /usr/lpp/Xamples/include
13699 /usr/openwin/include
13700 /usr/openwin/share/include'
13702 if test "$ac_x_includes" = no
; then
13703 # Guess where to find include files, by looking for Xlib.h.
13704 # First, try using that file with no special directory specified.
13705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 #include <X11/Xlib.h>
13709 if ac_fn_c_try_cpp
"$LINENO"
13711 # We can compile using X headers with no special include directory.
13714 for ac_dir
in $ac_x_header_dirs; do
13715 if test -r "$ac_dir/X11/Xlib.h"; then
13716 ac_x_includes
=$ac_dir
13721 rm -f conftest.err conftest.i conftest.
$ac_ext
13722 fi # $ac_x_includes = no
13724 if test "$ac_x_libraries" = no
; then
13725 # Check for the libraries.
13726 # See if we find them without any special options.
13727 # Don't add to $LIBS permanently.
13730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 #include <X11/Xlib.h>
13741 if ac_fn_c_try_link
"$LINENO"
13744 # We can link X programs with no special library path.
13748 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13750 # Don't even attempt the hair of trying to link an X program!
13751 for ac_extension
in a so sl dylib la dll
; do
13752 if test -r "$ac_dir/libX11.$ac_extension"; then
13753 ac_x_libraries
=$ac_dir
13759 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13760 conftest
$ac_exeext conftest.
$ac_ext
13761 fi # $ac_x_libraries = no
13764 # Record the results.
13765 case $ac_x_includes,$ac_x_libraries in #(
13766 no
,* |
*,no |
*\'*) :
13767 # Didn't find X, or a directory has "'" in its name.
13768 ac_cv_have_x
="have_x=no" ;; #(
13770 # Record where we found X for the cache.
13771 ac_cv_have_x
="have_x=yes\
13772 ac_x_includes='$ac_x_includes'\
13773 ac_x_libraries='$ac_x_libraries'" ;;
13779 eval "$ac_cv_have_x"
13782 if test "$have_x" != yes; then
13783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13784 printf "%s\n" "$have_x" >&6; }
13787 # If each of the values was on the command line, it overrides each guess.
13788 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13789 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13790 # Update the cache value to reflect the command line values.
13791 ac_cv_have_x
="have_x=yes\
13792 ac_x_includes='$x_includes'\
13793 ac_x_libraries='$x_libraries'"
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13795 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13798 if test "$no_x" = yes; then
13799 # Not all programs may use this symbol, but it does not hurt to define it.
13801 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13803 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13805 if test -n "$x_includes"; then
13806 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13809 # It would also be nice to do this for all -L options, not just this one.
13810 if test -n "$x_libraries"; then
13811 X_LIBS
="$X_LIBS -L$x_libraries"
13812 # For Solaris; some versions of Sun CC require a space after -R and
13813 # others require no space. Words are not sufficient . . . .
13814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13815 printf %s
"checking whether -R must be followed by a space... " >&6; }
13816 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13817 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13818 ac_c_werror_flag
=yes
13819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13830 if ac_fn_c_try_link
"$LINENO"
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13833 printf "%s\n" "no" >&6; }
13834 X_LIBS
="$X_LIBS -R$x_libraries"
13836 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13848 if ac_fn_c_try_link
"$LINENO"
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13851 printf "%s\n" "yes" >&6; }
13852 X_LIBS
="$X_LIBS -R $x_libraries"
13854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13855 printf "%s\n" "neither works" >&6; }
13857 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13858 conftest
$ac_exeext conftest.
$ac_ext
13860 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13861 conftest
$ac_exeext conftest.
$ac_ext
13862 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13863 LIBS
=$ac_xsave_LIBS
13866 # Check for system-dependent libraries X programs must link with.
13867 # Do this before checking for the system-independent R6 libraries
13868 # (-lICE), since we may need -lsocket or whatever for X linking.
13870 if test "$ISC" = yes; then
13871 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13873 # Martyn Johnson says this is needed for Ultrix, if the X
13874 # libraries were built with DECnet support. And Karl Berry says
13875 # the Alpha needs dnet_stub (dnet does not exist).
13876 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13883 char XOpenDisplay ();
13887 return XOpenDisplay ();
13892 if ac_fn_c_try_link
"$LINENO"
13896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13897 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
13898 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13900 printf %s
"(cached) " >&6
13902 ac_check_lib_save_LIBS
=$LIBS
13903 LIBS
="-ldnet $LIBS"
13904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13914 return dnet_ntoa ();
13919 if ac_fn_c_try_link
"$LINENO"
13921 ac_cv_lib_dnet_dnet_ntoa
=yes
13923 ac_cv_lib_dnet_dnet_ntoa
=no
13925 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13926 conftest
$ac_exeext conftest.
$ac_ext
13927 LIBS
=$ac_check_lib_save_LIBS
13929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13930 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13931 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13933 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13936 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13938 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
13939 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13941 printf %s
"(cached) " >&6
13943 ac_check_lib_save_LIBS
=$LIBS
13944 LIBS
="-ldnet_stub $LIBS"
13945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13955 return dnet_ntoa ();
13960 if ac_fn_c_try_link
"$LINENO"
13962 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13964 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13966 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13967 conftest
$ac_exeext conftest.
$ac_ext
13968 LIBS
=$ac_check_lib_save_LIBS
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13971 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13972 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13974 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13979 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 LIBS
="$ac_xsave_LIBS"
13983 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13984 # to get the SysV transport functions.
13985 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13987 # The nsl library prevents programs from opening the X display
13988 # on Irix 5.2, according to T.E. Dickey.
13989 # The functions gethostbyname, getservbyname, and inet_addr are
13990 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13991 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13992 if test "x$ac_cv_func_gethostbyname" = xyes
13997 if test $ac_cv_func_gethostbyname = no
; then
13998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13999 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14000 if test ${ac_cv_lib_nsl_gethostbyname+y}
14002 printf %s
"(cached) " >&6
14004 ac_check_lib_save_LIBS
=$LIBS
14006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 char gethostbyname ();
14016 return gethostbyname ();
14021 if ac_fn_c_try_link
"$LINENO"
14023 ac_cv_lib_nsl_gethostbyname
=yes
14025 ac_cv_lib_nsl_gethostbyname
=no
14027 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14028 conftest
$ac_exeext conftest.
$ac_ext
14029 LIBS
=$ac_check_lib_save_LIBS
14031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14032 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14033 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14035 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14038 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14040 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14041 if test ${ac_cv_lib_bsd_gethostbyname+y}
14043 printf %s
"(cached) " >&6
14045 ac_check_lib_save_LIBS
=$LIBS
14047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 char gethostbyname ();
14057 return gethostbyname ();
14062 if ac_fn_c_try_link
"$LINENO"
14064 ac_cv_lib_bsd_gethostbyname
=yes
14066 ac_cv_lib_bsd_gethostbyname
=no
14068 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14069 conftest
$ac_exeext conftest.
$ac_ext
14070 LIBS
=$ac_check_lib_save_LIBS
14072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14073 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14074 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14076 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14082 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14083 # socket/setsockopt and other routines are undefined under SCO ODT
14084 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14085 # on later versions), says Simon Leinen: it contains gethostby*
14086 # variants that don't use the name server (or something). -lsocket
14087 # must be given before -lnsl if both are needed. We assume that
14088 # if connect needs -lnsl, so does gethostbyname.
14089 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14090 if test "x$ac_cv_func_connect" = xyes
14095 if test $ac_cv_func_connect = no
; then
14096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14097 printf %s
"checking for connect in -lsocket... " >&6; }
14098 if test ${ac_cv_lib_socket_connect+y}
14100 printf %s
"(cached) " >&6
14102 ac_check_lib_save_LIBS
=$LIBS
14103 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14107 /* Override any GCC internal prototype to avoid an error.
14108 Use char because int might match the return type of a GCC
14109 builtin and then its argument prototype would still apply. */
14119 if ac_fn_c_try_link
"$LINENO"
14121 ac_cv_lib_socket_connect
=yes
14123 ac_cv_lib_socket_connect
=no
14125 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14126 conftest
$ac_exeext conftest.
$ac_ext
14127 LIBS
=$ac_check_lib_save_LIBS
14129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14130 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14131 if test "x$ac_cv_lib_socket_connect" = xyes
14133 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14138 # Guillermo Gomez says -lposix is necessary on A/UX.
14139 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14140 if test "x$ac_cv_func_remove" = xyes
14145 if test $ac_cv_func_remove = no
; then
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14147 printf %s
"checking for remove in -lposix... " >&6; }
14148 if test ${ac_cv_lib_posix_remove+y}
14150 printf %s
"(cached) " >&6
14152 ac_check_lib_save_LIBS
=$LIBS
14153 LIBS
="-lposix $LIBS"
14154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14169 if ac_fn_c_try_link
"$LINENO"
14171 ac_cv_lib_posix_remove
=yes
14173 ac_cv_lib_posix_remove
=no
14175 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14176 conftest
$ac_exeext conftest.
$ac_ext
14177 LIBS
=$ac_check_lib_save_LIBS
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14180 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14181 if test "x$ac_cv_lib_posix_remove" = xyes
14183 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14188 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14189 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14190 if test "x$ac_cv_func_shmat" = xyes
14195 if test $ac_cv_func_shmat = no
; then
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14197 printf %s
"checking for shmat in -lipc... " >&6; }
14198 if test ${ac_cv_lib_ipc_shmat+y}
14200 printf %s
"(cached) " >&6
14202 ac_check_lib_save_LIBS
=$LIBS
14204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14207 /* Override any GCC internal prototype to avoid an error.
14208 Use char because int might match the return type of a GCC
14209 builtin and then its argument prototype would still apply. */
14219 if ac_fn_c_try_link
"$LINENO"
14221 ac_cv_lib_ipc_shmat
=yes
14223 ac_cv_lib_ipc_shmat
=no
14225 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14226 conftest
$ac_exeext conftest.
$ac_ext
14227 LIBS
=$ac_check_lib_save_LIBS
14229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14230 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14231 if test "x$ac_cv_lib_ipc_shmat" = xyes
14233 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14239 # Check for libraries that X11R6 Xt/Xaw programs need.
14240 ac_save_LDFLAGS
=$LDFLAGS
14241 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14242 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14243 # check for ICE first), but we must link in the order -lSM -lICE or
14244 # we get undefined symbols. So assume we have SM if we have ICE.
14245 # These have to be linked with before -lX11, unlike the other
14246 # libraries we check for below, so use a different variable.
14247 # John Interrante, Karl Berry
14248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14249 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14250 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14252 printf %s
"(cached) " >&6
14254 ac_check_lib_save_LIBS
=$LIBS
14255 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 char IceConnectionNumber ();
14266 return IceConnectionNumber ();
14271 if ac_fn_c_try_link
"$LINENO"
14273 ac_cv_lib_ICE_IceConnectionNumber
=yes
14275 ac_cv_lib_ICE_IceConnectionNumber
=no
14277 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14278 conftest
$ac_exeext conftest.
$ac_ext
14279 LIBS
=$ac_check_lib_save_LIBS
14281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14282 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14283 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14285 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14288 LDFLAGS
=$ac_save_LDFLAGS
14293 if test "$have_x" = "yes"
14295 ac_save_CPPFLAGS
="$CPPFLAGS"
14296 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14299 printf %s
"checking for -lX11... " >&6; }
14300 if test ${ac_cv_lib_soname_X11+y}
14302 printf %s
"(cached) " >&6
14304 ac_check_soname_save_LIBS
=$LIBS
14305 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14312 char XCreateWindow ();
14316 return XCreateWindow ();
14321 if ac_fn_c_try_link
"$LINENO"
14324 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14325 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'` ;;
14326 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14327 if ${ac_cv_lib_soname_X11:+false} :
14329 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14333 ac_cv_lib_soname_X11
=
14335 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14336 conftest
$ac_exeext conftest.
$ac_ext
14337 LIBS
=$ac_check_soname_save_LIBS
14339 if ${ac_cv_lib_soname_X11:+false} :
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14342 printf "%s\n" "not found" >&6; }
14345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14346 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14348 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14353 printf %s
"checking for -lXext... " >&6; }
14354 if test ${ac_cv_lib_soname_Xext+y}
14356 printf %s
"(cached) " >&6
14358 ac_check_soname_save_LIBS
=$LIBS
14359 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14366 char XextCreateExtension ();
14370 return XextCreateExtension ();
14375 if ac_fn_c_try_link
"$LINENO"
14378 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14379 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'` ;;
14380 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14381 if ${ac_cv_lib_soname_Xext:+false} :
14383 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14387 ac_cv_lib_soname_Xext
=
14389 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14390 conftest
$ac_exeext conftest.
$ac_ext
14391 LIBS
=$ac_check_soname_save_LIBS
14393 if ${ac_cv_lib_soname_Xext:+false} :
14395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14396 printf "%s\n" "not found" >&6; }
14399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14400 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14402 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14404 X_LIBS
="$X_LIBS -lXext"
14406 X_LIBS
="$X_LIBS -lX11"
14408 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14415 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14417 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14427 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14429 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14439 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14441 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14451 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14453 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14463 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14475 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14487 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14499 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14511 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14523 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14529 # include <X11/Xlib.h>
14531 #ifdef HAVE_X11_XUTIL_H
14532 # include <X11/Xutil.h>
14535 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14540 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14541 # include <X11/Xlib.h>
14543 #ifdef HAVE_X11_XUTIL_H
14544 # include <X11/Xutil.h>
14547 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14549 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14552 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14553 # include <X11/Xlib.h>
14555 #ifdef HAVE_X11_XUTIL_H
14556 # include <X11/Xutil.h>
14559 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14561 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14564 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14571 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14573 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14583 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14585 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14590 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14593 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14594 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14596 printf %s
"(cached) " >&6
14598 ac_check_lib_save_LIBS
=$LIBS
14599 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14603 /* Override any GCC internal prototype to avoid an error.
14604 Use char because int might match the return type of a GCC
14605 builtin and then its argument prototype would still apply. */
14606 char XkbQueryExtension ();
14610 return XkbQueryExtension ();
14615 if ac_fn_c_try_link
"$LINENO"
14617 ac_cv_lib_X11_XkbQueryExtension
=yes
14619 ac_cv_lib_X11_XkbQueryExtension
=no
14621 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14622 conftest
$ac_exeext conftest.
$ac_ext
14623 LIBS
=$ac_check_lib_save_LIBS
14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14626 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14627 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14630 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14636 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14639 printf %s
"checking for -lXcursor... " >&6; }
14640 if test ${ac_cv_lib_soname_Xcursor+y}
14642 printf %s
"(cached) " >&6
14644 ac_check_soname_save_LIBS
=$LIBS
14645 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 char XcursorImageLoadCursor ();
14656 return XcursorImageLoadCursor ();
14661 if ac_fn_c_try_link
"$LINENO"
14664 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14665 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'` ;;
14666 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14667 if ${ac_cv_lib_soname_Xcursor:+false} :
14669 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14673 ac_cv_lib_soname_Xcursor
=
14675 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14676 conftest
$ac_exeext conftest.
$ac_ext
14677 LIBS
=$ac_check_soname_save_LIBS
14679 if ${ac_cv_lib_soname_Xcursor:+false} :
14681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14682 printf "%s\n" "not found" >&6; }
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14686 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14688 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14693 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14695 case "x$with_xcursor" in
14696 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14698 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14699 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14704 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14707 printf %s
"checking for -lXi... " >&6; }
14708 if test ${ac_cv_lib_soname_Xi+y}
14710 printf %s
"(cached) " >&6
14712 ac_check_soname_save_LIBS
=$LIBS
14713 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14720 char XOpenDevice ();
14724 return XOpenDevice ();
14729 if ac_fn_c_try_link
"$LINENO"
14732 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14733 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'` ;;
14734 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14735 if ${ac_cv_lib_soname_Xi:+false} :
14737 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14741 ac_cv_lib_soname_Xi
=
14743 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14744 conftest
$ac_exeext conftest.
$ac_ext
14745 LIBS
=$ac_check_soname_save_LIBS
14747 if ${ac_cv_lib_soname_Xi:+false} :
14749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14750 printf "%s\n" "not found" >&6; }
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14754 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14756 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14761 if test "x$ac_cv_lib_soname_Xi" = "x"
14763 case "x$with_xinput" in
14764 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14766 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14767 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14772 if test "x$ac_cv_lib_soname_Xi" != x
14774 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14776 case "x$with_xinput2" in
14777 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14779 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14780 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14786 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14789 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14790 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14792 printf %s
"(cached) " >&6
14794 ac_check_lib_save_LIBS
=$LIBS
14795 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14797 /* end confdefs.h. */
14799 /* Override any GCC internal prototype to avoid an error.
14800 Use char because int might match the return type of a GCC
14801 builtin and then its argument prototype would still apply. */
14802 char XShmQueryExtension ();
14806 return XShmQueryExtension ();
14811 if ac_fn_c_try_link
"$LINENO"
14813 ac_cv_lib_Xext_XShmQueryExtension
=yes
14815 ac_cv_lib_Xext_XShmQueryExtension
=no
14817 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14818 conftest
$ac_exeext conftest.
$ac_ext
14819 LIBS
=$ac_check_lib_save_LIBS
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14822 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14823 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14826 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14831 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14833 case "x$with_xshm" in
14834 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14836 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14837 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14842 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14845 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14846 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14848 printf %s
"(cached) " >&6
14850 ac_check_lib_save_LIBS
=$LIBS
14851 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 char XShapeQueryExtension ();
14862 return XShapeQueryExtension ();
14867 if ac_fn_c_try_link
"$LINENO"
14869 ac_cv_lib_Xext_XShapeQueryExtension
=yes
14871 ac_cv_lib_Xext_XShapeQueryExtension
=no
14873 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14874 conftest
$ac_exeext conftest.
$ac_ext
14875 LIBS
=$ac_check_lib_save_LIBS
14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14878 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14879 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14882 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14887 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14889 case "x$with_xshape" in
14890 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14892 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
14893 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14898 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14901 printf %s
"checking for -lXxf86vm... " >&6; }
14902 if test ${ac_cv_lib_soname_Xxf86vm+y}
14904 printf %s
"(cached) " >&6
14906 ac_check_soname_save_LIBS
=$LIBS
14907 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14911 /* Override any GCC internal prototype to avoid an error.
14912 Use char because int might match the return type of a GCC
14913 builtin and then its argument prototype would still apply. */
14914 char XF86VidModeQueryExtension ();
14918 return XF86VidModeQueryExtension ();
14923 if ac_fn_c_try_link
"$LINENO"
14926 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14927 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'` ;;
14928 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14929 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14931 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14935 ac_cv_lib_soname_Xxf86vm
=
14937 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14938 conftest
$ac_exeext conftest.
$ac_ext
14939 LIBS
=$ac_check_soname_save_LIBS
14941 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14944 printf "%s\n" "not found" >&6; }
14947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14948 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14950 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14955 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14957 case "x$with_xxf86vm" in
14958 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14960 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14961 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14966 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14969 printf %s
"checking for -lXrender... " >&6; }
14970 if test ${ac_cv_lib_soname_Xrender+y}
14972 printf %s
"(cached) " >&6
14974 ac_check_soname_save_LIBS
=$LIBS
14975 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14982 char XRenderQueryExtension ();
14986 return XRenderQueryExtension ();
14991 if ac_fn_c_try_link
"$LINENO"
14994 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14995 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'` ;;
14996 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14997 if ${ac_cv_lib_soname_Xrender:+false} :
14999 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15003 ac_cv_lib_soname_Xrender
=
15005 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15006 conftest
$ac_exeext conftest.
$ac_ext
15007 LIBS
=$ac_check_soname_save_LIBS
15009 if ${ac_cv_lib_soname_Xrender:+false} :
15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15012 printf "%s\n" "not found" >&6; }
15015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15016 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15018 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15021 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15022 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15024 printf %s
"(cached) " >&6
15026 ac_check_lib_save_LIBS
=$LIBS
15027 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15031 /* Override any GCC internal prototype to avoid an error.
15032 Use char because int might match the return type of a GCC
15033 builtin and then its argument prototype would still apply. */
15034 char XRenderSetPictureTransform ();
15038 return XRenderSetPictureTransform ();
15043 if ac_fn_c_try_link
"$LINENO"
15045 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15047 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15049 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15050 conftest
$ac_exeext conftest.
$ac_ext
15051 LIBS
=$ac_check_lib_save_LIBS
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15054 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15055 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15058 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15063 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15064 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15066 printf %s
"(cached) " >&6
15068 ac_check_lib_save_LIBS
=$LIBS
15069 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15076 char XRenderCreateLinearGradient ();
15080 return XRenderCreateLinearGradient ();
15085 if ac_fn_c_try_link
"$LINENO"
15087 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15089 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15091 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15092 conftest
$ac_exeext conftest.
$ac_ext
15093 LIBS
=$ac_check_lib_save_LIBS
15095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15096 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15097 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15100 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15107 if test "x$ac_cv_lib_soname_Xrender" = "x"
15109 case "x$with_xrender" in
15110 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15112 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15113 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15118 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 #include <X11/Xlib.h>
15123 #include <X11/extensions/Xrandr.h>
15127 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15132 if ac_fn_c_try_compile
"$LINENO"
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15135 printf %s
"checking for -lXrandr... " >&6; }
15136 if test ${ac_cv_lib_soname_Xrandr+y}
15138 printf %s
"(cached) " >&6
15140 ac_check_soname_save_LIBS
=$LIBS
15141 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 char XRRQueryExtension ();
15152 return XRRQueryExtension ();
15157 if ac_fn_c_try_link
"$LINENO"
15160 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15161 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'` ;;
15162 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15163 if ${ac_cv_lib_soname_Xrandr:+false} :
15165 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15169 ac_cv_lib_soname_Xrandr
=
15171 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15172 conftest
$ac_exeext conftest.
$ac_ext
15173 LIBS
=$ac_check_soname_save_LIBS
15175 if ${ac_cv_lib_soname_Xrandr:+false} :
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15178 printf "%s\n" "not found" >&6; }
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15182 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15184 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #include <X11/Xlib.h>
15189 #include <X11/extensions/Xrandr.h>
15193 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15198 if ac_fn_c_try_compile
"$LINENO"
15201 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15204 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15206 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15209 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15211 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15213 case "x$with_xrandr" in
15214 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15216 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15217 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15222 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15226 #include <X11/Xlib.h>
15227 #include <X11/extensions/Xfixes.h>
15231 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15236 if ac_fn_c_try_compile
"$LINENO"
15238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15239 printf %s
"checking for -lXfixes... " >&6; }
15240 if test ${ac_cv_lib_soname_Xfixes+y}
15242 printf %s
"(cached) " >&6
15244 ac_check_soname_save_LIBS
=$LIBS
15245 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15247 /* end confdefs.h. */
15249 /* Override any GCC internal prototype to avoid an error.
15250 Use char because int might match the return type of a GCC
15251 builtin and then its argument prototype would still apply. */
15252 char XFixesQueryVersion ();
15256 return XFixesQueryVersion ();
15261 if ac_fn_c_try_link
"$LINENO"
15264 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15265 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'` ;;
15266 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15267 if ${ac_cv_lib_soname_Xfixes:+false} :
15269 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15273 ac_cv_lib_soname_Xfixes
=
15275 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15276 conftest
$ac_exeext conftest.
$ac_ext
15277 LIBS
=$ac_check_soname_save_LIBS
15279 if ${ac_cv_lib_soname_Xfixes:+false} :
15281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15282 printf "%s\n" "not found" >&6; }
15285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15286 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15288 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15293 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15295 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15297 case "x$with_xfixes" in
15298 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15300 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15301 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15306 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 #include <X11/Xlib.h>
15311 #include <X11/extensions/Xinerama.h>
15315 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15320 if ac_fn_c_try_compile
"$LINENO"
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15323 printf %s
"checking for -lXinerama... " >&6; }
15324 if test ${ac_cv_lib_soname_Xinerama+y}
15326 printf %s
"(cached) " >&6
15328 ac_check_soname_save_LIBS
=$LIBS
15329 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15333 /* Override any GCC internal prototype to avoid an error.
15334 Use char because int might match the return type of a GCC
15335 builtin and then its argument prototype would still apply. */
15336 char XineramaQueryScreens ();
15340 return XineramaQueryScreens ();
15345 if ac_fn_c_try_link
"$LINENO"
15348 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15349 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'` ;;
15350 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15351 if ${ac_cv_lib_soname_Xinerama:+false} :
15353 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15357 ac_cv_lib_soname_Xinerama
=
15359 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15360 conftest
$ac_exeext conftest.
$ac_ext
15361 LIBS
=$ac_check_soname_save_LIBS
15363 if ${ac_cv_lib_soname_Xinerama:+false} :
15365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15366 printf "%s\n" "not found" >&6; }
15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15370 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15372 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15377 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15379 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15381 case "x$with_xinerama" in
15382 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15384 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15385 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15390 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15393 printf %s
"checking for -lXcomposite... " >&6; }
15394 if test ${ac_cv_lib_soname_Xcomposite+y}
15396 printf %s
"(cached) " >&6
15398 ac_check_soname_save_LIBS
=$LIBS
15399 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15403 /* Override any GCC internal prototype to avoid an error.
15404 Use char because int might match the return type of a GCC
15405 builtin and then its argument prototype would still apply. */
15406 char XCompositeRedirectWindow ();
15410 return XCompositeRedirectWindow ();
15415 if ac_fn_c_try_link
"$LINENO"
15418 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15419 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'` ;;
15420 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15421 if ${ac_cv_lib_soname_Xcomposite:+false} :
15423 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15427 ac_cv_lib_soname_Xcomposite
=
15429 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15430 conftest
$ac_exeext conftest.
$ac_ext
15431 LIBS
=$ac_check_soname_save_LIBS
15433 if ${ac_cv_lib_soname_Xcomposite:+false} :
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15436 printf "%s\n" "not found" >&6; }
15439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15440 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15442 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15447 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15449 case "x$with_xcomposite" in
15450 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15452 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15453 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15458 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15459 #include <X11/Xlib.h>
15462 if test "x$ac_cv_member_XICCallback_callback" = xyes
15465 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15469 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15470 #include <X11/Xlib.h>
15473 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15476 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15484 if test "x$with_opengl" != "xno"
15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15487 printf %s
"checking for -lGL... " >&6; }
15488 if test ${ac_cv_lib_soname_GL+y}
15490 printf %s
"(cached) " >&6
15492 ac_check_soname_save_LIBS
=$LIBS
15493 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15497 /* Override any GCC internal prototype to avoid an error.
15498 Use char because int might match the return type of a GCC
15499 builtin and then its argument prototype would still apply. */
15500 char glXCreateContext ();
15504 return glXCreateContext ();
15509 if ac_fn_c_try_link
"$LINENO"
15512 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15513 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'` ;;
15514 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15515 if ${ac_cv_lib_soname_GL:+false} :
15517 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15521 ac_cv_lib_soname_GL
=
15523 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15524 conftest
$ac_exeext conftest.
$ac_ext
15525 LIBS
=$ac_check_soname_save_LIBS
15527 if ${ac_cv_lib_soname_GL:+false} :
15529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15530 printf "%s\n" "not found" >&6; }
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15532 printf %s
"checking for -lGL... " >&6; }
15533 if test ${ac_cv_lib_soname_GL+y}
15535 printf %s
"(cached) " >&6
15537 ac_check_soname_save_LIBS
=$LIBS
15538 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"
15539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15542 /* Override any GCC internal prototype to avoid an error.
15543 Use char because int might match the return type of a GCC
15544 builtin and then its argument prototype would still apply. */
15545 char glXCreateContext ();
15549 return glXCreateContext ();
15554 if ac_fn_c_try_link
"$LINENO"
15557 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15558 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'` ;;
15559 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15560 if ${ac_cv_lib_soname_GL:+false} :
15562 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15566 ac_cv_lib_soname_GL
=
15568 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15569 conftest
$ac_exeext conftest.
$ac_ext
15570 LIBS
=$ac_check_soname_save_LIBS
15572 if ${ac_cv_lib_soname_GL:+false} :
15574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15575 printf "%s\n" "not found" >&6; }
15576 if test -f /usr
/X11R
6/lib
/libGL.a
15578 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15579 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15581 opengl_msg
="No OpenGL library found on this system."
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15585 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15587 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15589 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"
15592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15593 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15595 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15599 if test "x$with_osmesa" != "xno"
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15602 printf %s
"checking for -lOSMesa... " >&6; }
15603 if test ${ac_cv_lib_soname_OSMesa+y}
15605 printf %s
"(cached) " >&6
15607 ac_check_soname_save_LIBS
=$LIBS
15608 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15612 /* Override any GCC internal prototype to avoid an error.
15613 Use char because int might match the return type of a GCC
15614 builtin and then its argument prototype would still apply. */
15615 char OSMesaGetProcAddress ();
15619 return OSMesaGetProcAddress ();
15624 if ac_fn_c_try_link
"$LINENO"
15627 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15628 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'` ;;
15629 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15630 if ${ac_cv_lib_soname_OSMesa:+false} :
15632 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15636 ac_cv_lib_soname_OSMesa
=
15638 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15639 conftest
$ac_exeext conftest.
$ac_ext
15640 LIBS
=$ac_check_soname_save_LIBS
15642 if ${ac_cv_lib_soname_OSMesa:+false} :
15644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15645 printf "%s\n" "not found" >&6; }
15648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15649 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15651 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15655 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15657 case "x$with_osmesa" in
15658 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15660 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15661 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15667 if test -n "$opengl_msg"
15669 case "x$with_opengl" in
15670 x
) as_fn_append wine_warnings
"|$opengl_msg
15671 OpenGL and Direct3D won't be supported." ;;
15673 *) as_fn_error $?
"$opengl_msg
15674 OpenGL and Direct3D won't be supported.
15675 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15680 CPPFLAGS
="$ac_save_CPPFLAGS"
15686 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15688 if test "x$X_LIBS" = "x"
15692 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15693 without X support, which probably isn't what you want. You will need
15694 to install ${notice_platform}development packages of Xlib at the very least.
15695 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15697 enable_winex11_drv
=${enable_winex11_drv:-no}
15700 if test "x$X_LIBS" = "x"
15703 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15705 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15706 This is an error since --with-x was requested." "$LINENO" 5 ;;
15708 enable_winex11_drv
=${enable_winex11_drv:-no}
15712 if test "$ac_cv_header_CL_cl_h" = "yes"
15714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15715 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15716 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15718 printf %s
"(cached) " >&6
15720 ac_check_lib_save_LIBS
=$LIBS
15721 LIBS
="-lOpenCL $LIBS"
15722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15725 /* Override any GCC internal prototype to avoid an error.
15726 Use char because int might match the return type of a GCC
15727 builtin and then its argument prototype would still apply. */
15728 char clGetPlatformInfo ();
15732 return clGetPlatformInfo ();
15737 if ac_fn_c_try_link
"$LINENO"
15739 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15741 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15743 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15744 conftest
$ac_exeext conftest.
$ac_ext
15745 LIBS
=$ac_check_lib_save_LIBS
15747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15748 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15749 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15751 OPENCL_LIBS
="-lOpenCL"
15756 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15758 case "x$with_opencl" in
15759 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15761 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15762 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15764 enable_opencl
=${enable_opencl:-no}
15767 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15770 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15771 if test ${ac_cv_lib_pcap_pcap_create+y}
15773 printf %s
"(cached) " >&6
15775 ac_check_lib_save_LIBS
=$LIBS
15776 LIBS
="-lpcap $LIBS"
15777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15780 /* Override any GCC internal prototype to avoid an error.
15781 Use char because int might match the return type of a GCC
15782 builtin and then its argument prototype would still apply. */
15783 char pcap_create ();
15787 return pcap_create ();
15792 if ac_fn_c_try_link
"$LINENO"
15794 ac_cv_lib_pcap_pcap_create
=yes
15796 ac_cv_lib_pcap_pcap_create
=no
15798 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15799 conftest
$ac_exeext conftest.
$ac_ext
15800 LIBS
=$ac_check_lib_save_LIBS
15802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15803 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15804 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15811 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15813 case "x$with_pcap" in
15814 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15816 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15817 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15819 enable_wpcap
=${enable_wpcap:-no}
15822 if test "x$with_inotify" != "xno"
15825 if ${INOTIFY_CFLAGS:+false} :
15827 if test ${PKG_CONFIG+y}
15829 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15833 if ${INOTIFY_LIBS:+false} :
15835 if test ${PKG_CONFIG+y}
15837 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15844 if test -s conftest.err
; then
15845 printf %s
"$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15846 cat conftest.err
>&5
15849 ac_save_CPPFLAGS
=$CPPFLAGS
15850 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15851 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15852 if test "x$ac_cv_header_sys_inotify_h" = xyes
15854 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15859 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15860 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15862 printf %s
"(cached) " >&6
15864 ac_check_lib_save_LIBS
=$LIBS
15865 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15869 /* Override any GCC internal prototype to avoid an error.
15870 Use char because int might match the return type of a GCC
15871 builtin and then its argument prototype would still apply. */
15872 char inotify_add_watch ();
15876 return inotify_add_watch ();
15881 if ac_fn_c_try_link
"$LINENO"
15883 ac_cv_lib_inotify_inotify_add_watch
=yes
15885 ac_cv_lib_inotify_inotify_add_watch
=no
15887 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15888 conftest
$ac_exeext conftest.
$ac_ext
15889 LIBS
=$ac_check_lib_save_LIBS
15891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15892 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15893 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15900 CPPFLAGS
=$ac_save_CPPFLAGS
15903 if test "$ac_cv_header_sys_inotify_h" != "yes"
15905 case "x$with_inotify" in
15906 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15908 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15909 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15914 if test "x$with_dbus" != "xno"
15917 if ${DBUS_CFLAGS:+false} :
15919 if test ${PKG_CONFIG+y}
15921 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15925 if ${DBUS_LIBS:+false} :
15927 if test ${PKG_CONFIG+y}
15929 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15936 if test -s conftest.err
; then
15937 printf %s
"$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15938 cat conftest.err
>&5
15941 ac_save_CPPFLAGS
=$CPPFLAGS
15942 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
15943 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15944 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15947 printf %s
"checking for -ldbus-1... " >&6; }
15948 if test ${ac_cv_lib_soname_dbus_1+y}
15950 printf %s
"(cached) " >&6
15952 ac_check_soname_save_LIBS
=$LIBS
15953 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
15954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15955 /* end confdefs.h. */
15957 /* Override any GCC internal prototype to avoid an error.
15958 Use char because int might match the return type of a GCC
15959 builtin and then its argument prototype would still apply. */
15960 char dbus_connection_close ();
15964 return dbus_connection_close ();
15969 if ac_fn_c_try_link
"$LINENO"
15972 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15973 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'` ;;
15974 *) 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'`
15975 if ${ac_cv_lib_soname_dbus_1:+false} :
15977 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15981 ac_cv_lib_soname_dbus_1
=
15983 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15984 conftest
$ac_exeext conftest.
$ac_ext
15985 LIBS
=$ac_check_soname_save_LIBS
15987 if ${ac_cv_lib_soname_dbus_1:+false} :
15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15990 printf "%s\n" "not found" >&6; }
15993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15994 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15996 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16004 CPPFLAGS
=$ac_save_CPPFLAGS
16008 darwin
*|macosx
*) ;;
16009 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16011 case "x$with_dbus" in
16012 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16014 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16015 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16021 if test "x$with_gnutls" != "xno"
16024 if ${GNUTLS_CFLAGS:+false} :
16026 if test ${PKG_CONFIG+y}
16028 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16032 if ${GNUTLS_LIBS:+false} :
16034 if test ${PKG_CONFIG+y}
16036 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16040 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16043 if test -s conftest.err
; then
16044 printf %s
"$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16045 cat conftest.err
>&5
16048 ac_save_CPPFLAGS
=$CPPFLAGS
16049 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16050 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16051 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16055 #include <gnutls/gnutls.h>
16056 #include <gnutls/crypto.h>
16060 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16065 if ac_fn_c_try_compile
"$LINENO"
16067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16068 printf %s
"checking for -lgnutls... " >&6; }
16069 if test ${ac_cv_lib_soname_gnutls+y}
16071 printf %s
"(cached) " >&6
16073 ac_check_soname_save_LIBS
=$LIBS
16074 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16076 /* end confdefs.h. */
16078 /* Override any GCC internal prototype to avoid an error.
16079 Use char because int might match the return type of a GCC
16080 builtin and then its argument prototype would still apply. */
16081 char gnutls_global_init ();
16085 return gnutls_global_init ();
16090 if ac_fn_c_try_link
"$LINENO"
16093 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16094 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'` ;;
16095 *) 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'`
16096 if ${ac_cv_lib_soname_gnutls:+false} :
16098 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'`
16102 ac_cv_lib_soname_gnutls
=
16104 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16105 conftest
$ac_exeext conftest.
$ac_ext
16106 LIBS
=$ac_check_soname_save_LIBS
16108 if ${ac_cv_lib_soname_gnutls:+false} :
16110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16111 printf "%s\n" "not found" >&6; }
16114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16115 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16117 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16121 ac_wine_check_funcs_save_LIBS
="$LIBS"
16122 LIBS
="$LIBS $GNUTLS_LIBS"
16124 for ac_func
in gnutls_cipher_init
16126 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16127 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16129 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16132 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16136 LIBS
="$ac_wine_check_funcs_save_LIBS"
16138 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16143 CPPFLAGS
=$ac_save_CPPFLAGS
16146 if test "x$ac_cv_lib_soname_gnutls" = "x"
16148 case "x$with_gnutls" in
16149 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16151 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16152 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16157 if test "x$with_sane" != "xno"
16160 if ${SANE_CFLAGS:+false} :
16162 if test ${PKG_CONFIG+y}
16164 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16167 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16168 if ${SANE_LIBS:+false} :
16170 if test ${PKG_CONFIG+y}
16172 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16175 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16179 if test -s conftest.err
; then
16180 printf %s
"$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16181 cat conftest.err
>&5
16184 ac_save_CPPFLAGS
=$CPPFLAGS
16185 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16186 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16187 if test "x$ac_cv_header_sane_sane_h" = xyes
16189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16190 printf %s
"checking for sane_init in -lsane... " >&6; }
16191 if test ${ac_cv_lib_sane_sane_init+y}
16193 printf %s
"(cached) " >&6
16195 ac_check_lib_save_LIBS
=$LIBS
16196 LIBS
="-lsane $SANE_LIBS $LIBS"
16197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16200 /* Override any GCC internal prototype to avoid an error.
16201 Use char because int might match the return type of a GCC
16202 builtin and then its argument prototype would still apply. */
16207 return sane_init ();
16212 if ac_fn_c_try_link
"$LINENO"
16214 ac_cv_lib_sane_sane_init
=yes
16216 ac_cv_lib_sane_sane_init
=no
16218 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16219 conftest
$ac_exeext conftest.
$ac_ext
16220 LIBS
=$ac_check_lib_save_LIBS
16222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16223 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16224 if test "x$ac_cv_lib_sane_sane_init" = xyes
16231 CPPFLAGS
=$ac_save_CPPFLAGS
16234 if test "$ac_cv_lib_sane_sane_init" != "yes"
16236 case "x$with_sane" in
16237 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16239 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16240 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16242 enable_sane_ds
=${enable_sane_ds:-no}
16245 if test "x$with_usb" != "xno"
16248 if ${USB_CFLAGS:+false} :
16250 if test ${PKG_CONFIG+y}
16252 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16256 if ${USB_LIBS:+false} :
16258 if test ${PKG_CONFIG+y}
16260 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16264 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16267 if test -s conftest.err
; then
16268 printf %s
"$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16269 cat conftest.err
>&5
16272 ac_save_CPPFLAGS
=$CPPFLAGS
16273 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16274 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16275 if test "x$ac_cv_header_libusb_h" = xyes
16277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16278 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16279 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16281 printf %s
"(cached) " >&6
16283 ac_check_lib_save_LIBS
=$LIBS
16284 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16291 char libusb_interrupt_event_handler ();
16295 return libusb_interrupt_event_handler ();
16300 if ac_fn_c_try_link
"$LINENO"
16302 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16304 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16306 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16307 conftest
$ac_exeext conftest.
$ac_ext
16308 LIBS
=$ac_check_lib_save_LIBS
16310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16311 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16312 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16323 CPPFLAGS
=$ac_save_CPPFLAGS
16326 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16328 case "x$with_usb" in
16329 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16331 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16332 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16334 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16337 if test "x$with_v4l2" != "xno"
16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16340 printf %s
"checking for -lv4l2... " >&6; }
16341 if test ${ac_cv_lib_soname_v4l2+y}
16343 printf %s
"(cached) " >&6
16345 ac_check_soname_save_LIBS
=$LIBS
16346 LIBS
="-lv4l2 $LIBS"
16347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16348 /* end confdefs.h. */
16350 /* Override any GCC internal prototype to avoid an error.
16351 Use char because int might match the return type of a GCC
16352 builtin and then its argument prototype would still apply. */
16357 return v4l2_open ();
16362 if ac_fn_c_try_link
"$LINENO"
16365 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16366 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'` ;;
16367 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16368 if ${ac_cv_lib_soname_v4l2:+false} :
16370 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16374 ac_cv_lib_soname_v4l2
=
16376 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16377 conftest
$ac_exeext conftest.
$ac_ext
16378 LIBS
=$ac_check_soname_save_LIBS
16380 if ${ac_cv_lib_soname_v4l2:+false} :
16382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16383 printf "%s\n" "not found" >&6; }
16386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16387 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16389 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16394 if test "x$ac_cv_lib_soname_v4l2" = "x"
16396 case "x$with_v4l2" in
16397 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16399 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16400 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16405 if test "x$with_gphoto" != "xno"
16408 if ${GPHOTO2_CFLAGS:+false} :
16410 if test ${PKG_CONFIG+y}
16412 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16415 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16416 if ${GPHOTO2_LIBS:+false} :
16418 if test ${PKG_CONFIG+y}
16420 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16423 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16424 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16427 if test -s conftest.err
; then
16428 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16429 cat conftest.err
>&5
16432 ac_save_CPPFLAGS
=$CPPFLAGS
16433 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16434 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16435 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16438 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16439 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16441 printf %s
"(cached) " >&6
16443 ac_check_lib_save_LIBS
=$LIBS
16444 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16448 /* Override any GCC internal prototype to avoid an error.
16449 Use char because int might match the return type of a GCC
16450 builtin and then its argument prototype would still apply. */
16451 char gp_camera_new ();
16455 return gp_camera_new ();
16460 if ac_fn_c_try_link
"$LINENO"
16462 ac_cv_lib_gphoto2_gp_camera_new
=yes
16464 ac_cv_lib_gphoto2_gp_camera_new
=no
16466 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16467 conftest
$ac_exeext conftest.
$ac_ext
16468 LIBS
=$ac_check_lib_save_LIBS
16470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16471 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16472 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16479 CPPFLAGS
=$ac_save_CPPFLAGS
16482 if ${GPHOTO2_PORT_CFLAGS:+false} :
16484 if test ${PKG_CONFIG+y}
16486 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16489 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16490 if ${GPHOTO2_PORT_LIBS:+false} :
16492 if test ${PKG_CONFIG+y}
16494 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16497 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16498 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16501 if test -s conftest.err
; then
16502 printf %s
"$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16503 cat conftest.err
>&5
16506 ac_save_CPPFLAGS
=$CPPFLAGS
16507 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16508 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16509 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16512 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16513 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16515 printf %s
"(cached) " >&6
16517 ac_check_lib_save_LIBS
=$LIBS
16518 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16522 /* Override any GCC internal prototype to avoid an error.
16523 Use char because int might match the return type of a GCC
16524 builtin and then its argument prototype would still apply. */
16525 char gp_port_info_list_new ();
16529 return gp_port_info_list_new ();
16534 if ac_fn_c_try_link
"$LINENO"
16536 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16538 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16540 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16541 conftest
$ac_exeext conftest.
$ac_ext
16542 LIBS
=$ac_check_lib_save_LIBS
16544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16545 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16546 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16549 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16552 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16556 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16559 CPPFLAGS
=$ac_save_CPPFLAGS
16562 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16564 case "x$with_gphoto" in
16565 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16567 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16568 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16570 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16572 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16574 case "x$with_gphoto" in
16575 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16577 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16578 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16584 if test "$ac_cv_header_resolv_h" = "yes"
16586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16587 printf %s
"checking for resolver library... " >&6; }
16588 if test ${ac_cv_have_resolv+y}
16590 printf %s
"(cached) " >&6
16592 ac_save_LIBS
="$LIBS"
16593 for lib
in '' -lresolv
16595 LIBS
="$lib $ac_save_LIBS"
16596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16598 #ifdef HAVE_NETINET_IN_H
16599 #include <netinet/in.h>
16601 #include <resolv.h>
16605 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16610 if ac_fn_c_try_link
"$LINENO"
16612 ac_cv_have_resolv
=${lib:-"none required"}
16614 ac_cv_have_resolv
="not found"
16616 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16617 conftest
$ac_exeext conftest.
$ac_ext
16618 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16620 LIBS
="$ac_save_LIBS"
16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16623 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16625 case "$ac_cv_have_resolv" in
16629 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16632 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16634 RESOLV_LIBS
=$ac_cv_have_resolv
16638 if test "x$ac_cv_have_resolv" != "xnot found"
16640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16641 printf %s
"checking for res_getservers... " >&6; }
16642 if test ${ac_cv_have_res_getservers+y}
16644 printf %s
"(cached) " >&6
16646 ac_save_LIBS
="$LIBS"
16647 LIBS
="$RESOLV_LIBS $LIBS"
16648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16650 #include <resolv.h>
16654 res_getservers(NULL, NULL, 0);
16659 if ac_fn_c_try_link
"$LINENO"
16661 ac_cv_have_res_getservers
=yes
16663 ac_cv_have_res_getservers
=no
16665 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16666 conftest
$ac_exeext conftest.
$ac_ext
16667 LIBS
="$ac_save_LIBS"
16669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16670 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16671 if test "$ac_cv_have_res_getservers" = "yes"
16674 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16680 if test "x$with_freetype" != "xno"
16683 if ${FREETYPE_CFLAGS:+false} :
16685 if test ${PKG_CONFIG+y}
16687 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16690 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16691 if ${FREETYPE_LIBS:+false} :
16693 if test ${PKG_CONFIG+y}
16695 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16698 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16699 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16702 if test -s conftest.err
; then
16703 printf %s
"$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16704 cat conftest.err
>&5
16707 ac_save_CPPFLAGS
=$CPPFLAGS
16708 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16709 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16710 if test "x$ac_cv_header_ft2build_h" = xyes
16712 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16716 if test "$ac_cv_header_ft2build_h" = "yes"
16718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16719 printf %s
"checking for -lfreetype... " >&6; }
16720 if test ${ac_cv_lib_soname_freetype+y}
16722 printf %s
"(cached) " >&6
16724 ac_check_soname_save_LIBS
=$LIBS
16725 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16729 /* Override any GCC internal prototype to avoid an error.
16730 Use char because int might match the return type of a GCC
16731 builtin and then its argument prototype would still apply. */
16732 char FT_Init_FreeType ();
16736 return FT_Init_FreeType ();
16741 if ac_fn_c_try_link
"$LINENO"
16744 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16745 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'` ;;
16746 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16747 if ${ac_cv_lib_soname_freetype:+false} :
16749 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16753 ac_cv_lib_soname_freetype
=
16755 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16756 conftest
$ac_exeext conftest.
$ac_ext
16757 LIBS
=$ac_check_soname_save_LIBS
16759 if ${ac_cv_lib_soname_freetype:+false} :
16761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16762 printf "%s\n" "not found" >&6; }
16765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16766 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16768 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16771 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16773 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16774 #include FT_MODULE_H
16776 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16779 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16789 CPPFLAGS
=$ac_save_CPPFLAGS
16792 if test "x$ac_cv_lib_soname_freetype" = x
16794 case "x$with_freetype" in
16796 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16797 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16799 enable_fonts
=${enable_fonts:-no}
16802 ac_wine_check_funcs_save_LIBS
="$LIBS"
16803 LIBS
="$LIBS $PTHREAD_LIBS"
16804 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16805 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16807 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16811 LIBS
="$ac_wine_check_funcs_save_LIBS"
16813 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16815 if test "$ac_cv_header_gettext_po_h" = "yes"
16817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16818 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16819 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16821 printf %s
"(cached) " >&6
16823 ac_check_lib_save_LIBS
=$LIBS
16824 LIBS
="-lgettextpo $LIBS"
16825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16828 /* Override any GCC internal prototype to avoid an error.
16829 Use char because int might match the return type of a GCC
16830 builtin and then its argument prototype would still apply. */
16831 char po_message_msgctxt ();
16835 return po_message_msgctxt ();
16840 if ac_fn_c_try_link
"$LINENO"
16842 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16844 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16846 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16847 conftest
$ac_exeext conftest.
$ac_ext
16848 LIBS
=$ac_check_lib_save_LIBS
16850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16851 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16852 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16855 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16857 GETTEXTPO_LIBS
="-lgettextpo"
16862 if test "x$GETTEXTPO_LIBS" = "x"
16864 case "x$with_gettextpo" in
16865 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16867 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16868 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16872 if test "$srcdir" != .
16874 case "x$with_gettextpo" in
16875 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16877 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16878 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16884 if test "x$with_pulse" != "xno";
16887 if ${PULSE_CFLAGS:+false} :
16889 if test ${PKG_CONFIG+y}
16891 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16895 if ${PULSE_LIBS:+false} :
16897 if test ${PKG_CONFIG+y}
16899 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16906 if test -s conftest.err
; then
16907 printf %s
"$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16908 cat conftest.err
>&5
16911 ac_save_CPPFLAGS
=$CPPFLAGS
16912 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16913 for ac_header
in pulse
/pulseaudio.h
16915 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16916 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16918 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16920 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
16921 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16923 printf %s
"(cached) " >&6
16925 ac_check_lib_save_LIBS
=$LIBS
16926 LIBS
="-lpulse $PULSE_LIBS $LIBS"
16927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16930 /* Override any GCC internal prototype to avoid an error.
16931 Use char because int might match the return type of a GCC
16932 builtin and then its argument prototype would still apply. */
16933 char pa_stream_is_corked ();
16937 return pa_stream_is_corked ();
16942 if ac_fn_c_try_link
"$LINENO"
16944 ac_cv_lib_pulse_pa_stream_is_corked
=yes
16946 ac_cv_lib_pulse_pa_stream_is_corked
=no
16948 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16949 conftest
$ac_exeext conftest.
$ac_ext
16950 LIBS
=$ac_check_lib_save_LIBS
16952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16953 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16954 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16966 CPPFLAGS
=$ac_save_CPPFLAGS
16969 if test -z "$PULSE_LIBS"
16971 case "x$with_pulse" in
16972 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16974 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16975 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16977 enable_winepulse_drv
=${enable_winepulse_drv:-no}
16980 if test "x$with_gstreamer" != "xno"
16983 if ${GSTREAMER_CFLAGS:+false} :
16985 if test ${PKG_CONFIG+y}
16987 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>conftest.err`
16991 if ${GSTREAMER_LIBS:+false} :
16993 if test ${PKG_CONFIG+y}
16995 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17002 if test -s conftest.err
; then
17003 printf %s
"$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 errors: " >&5
17004 cat conftest.err
>&5
17007 ac_save_CPPFLAGS
=$CPPFLAGS
17008 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17009 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17010 if test "x$ac_cv_header_gst_gst_h" = xyes
17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17013 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #include <gst/gst.h>
17020 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17025 if ac_fn_c_try_compile
"$LINENO"
17027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17028 printf "%s\n" "yes" >&6; }
17029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17030 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17031 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17033 printf %s
"(cached) " >&6
17035 ac_check_lib_save_LIBS
=$LIBS
17036 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17040 /* Override any GCC internal prototype to avoid an error.
17041 Use char because int might match the return type of a GCC
17042 builtin and then its argument prototype would still apply. */
17043 char gst_pad_new ();
17047 return gst_pad_new ();
17052 if ac_fn_c_try_link
"$LINENO"
17054 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17056 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17058 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17059 conftest
$ac_exeext conftest.
$ac_ext
17060 LIBS
=$ac_check_lib_save_LIBS
17062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17063 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17064 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17071 printf "%s\n" "no" >&6; }
17072 ac_glib2_broken
=yes
17073 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17075 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17078 CPPFLAGS
=$ac_save_CPPFLAGS
17081 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17083 case "x$with_gstreamer" in
17084 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17086 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17087 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17089 enable_winegstreamer
=${enable_winegstreamer:-no}
17094 if test "x$with_alsa" != "xno"
17096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17097 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17098 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17100 printf %s
"(cached) " >&6
17102 ac_check_lib_save_LIBS
=$LIBS
17103 LIBS
="-lasound $LIBS"
17104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17107 /* Override any GCC internal prototype to avoid an error.
17108 Use char because int might match the return type of a GCC
17109 builtin and then its argument prototype would still apply. */
17110 char snd_pcm_hw_params_get_access_mask ();
17114 return snd_pcm_hw_params_get_access_mask ();
17119 if ac_fn_c_try_link
"$LINENO"
17121 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17123 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17125 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17126 conftest
$ac_exeext conftest.
$ac_ext
17127 LIBS
=$ac_check_lib_save_LIBS
17129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17130 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17131 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 #include <alsa/asoundlib.h>
17139 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17144 if ac_fn_c_try_compile
"$LINENO"
17146 ALSA_LIBS
="-lasound"
17148 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17152 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17154 if test "x$with_oss" != xno
17156 ac_save_CPPFLAGS
="$CPPFLAGS"
17157 if test -f /etc
/oss.conf
17161 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17162 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17163 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17164 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17166 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17168 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17171 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17173 OSS4_CFLAGS
="$ac_oss_incl"
17175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17176 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17177 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17179 printf %s
"(cached) " >&6
17181 ac_check_lib_save_LIBS
=$LIBS
17182 LIBS
="-lossaudio $LIBS"
17183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17186 /* Override any GCC internal prototype to avoid an error.
17187 Use char because int might match the return type of a GCC
17188 builtin and then its argument prototype would still apply. */
17189 char _oss_ioctl ();
17193 return _oss_ioctl ();
17198 if ac_fn_c_try_link
"$LINENO"
17200 ac_cv_lib_ossaudio__oss_ioctl
=yes
17202 ac_cv_lib_ossaudio__oss_ioctl
=no
17204 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17205 conftest
$ac_exeext conftest.
$ac_ext
17206 LIBS
=$ac_check_lib_save_LIBS
17208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17209 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17210 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17212 OSS4_LIBS
="-lossaudio"
17220 CPPFLAGS
="$ac_save_CPPFLAGS"
17222 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17224 case "x$with_oss" in
17225 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17227 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17228 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17230 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17233 if test "x$with_udev" != "xno"
17236 if ${UDEV_CFLAGS:+false} :
17238 if test ${PKG_CONFIG+y}
17240 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17244 if ${UDEV_LIBS:+false} :
17246 if test ${PKG_CONFIG+y}
17248 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17252 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17255 if test -s conftest.err
; then
17256 printf %s
"$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17257 cat conftest.err
>&5
17260 ac_save_CPPFLAGS
=$CPPFLAGS
17261 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17262 for ac_header
in libudev.h
17264 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17265 if test "x$ac_cv_header_libudev_h" = xyes
17267 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17269 printf %s
"checking for udev_new in -ludev... " >&6; }
17270 if test ${ac_cv_lib_udev_udev_new+y}
17272 printf %s
"(cached) " >&6
17274 ac_check_lib_save_LIBS
=$LIBS
17275 LIBS
="-ludev $UDEV_LIBS $LIBS"
17276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17279 /* Override any GCC internal prototype to avoid an error.
17280 Use char because int might match the return type of a GCC
17281 builtin and then its argument prototype would still apply. */
17286 return udev_new ();
17291 if ac_fn_c_try_link
"$LINENO"
17293 ac_cv_lib_udev_udev_new
=yes
17295 ac_cv_lib_udev_udev_new
=no
17297 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17298 conftest
$ac_exeext conftest.
$ac_ext
17299 LIBS
=$ac_check_lib_save_LIBS
17301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17302 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17303 if test "x$ac_cv_lib_udev_udev_new" = xyes
17306 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17317 CPPFLAGS
=$ac_save_CPPFLAGS
17320 if test "x$UDEV_LIBS" = "x"
17322 case "x$with_udev" in
17323 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17325 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17326 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17331 if test "x$with_unwind" != xno
17334 if ${UNWIND_CFLAGS:+false} :
17336 if test ${PKG_CONFIG+y}
17338 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17342 if ${UNWIND_LIBS:+false} :
17344 if test ${PKG_CONFIG+y}
17346 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17350 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17353 if test -s conftest.err
; then
17354 printf %s
"$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17355 cat conftest.err
>&5
17358 ac_save_CPPFLAGS
=$CPPFLAGS
17359 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17361 printf %s
"checking for unw_step... " >&6; }
17362 if test ${wine_cv_have_unw_step+y}
17364 printf %s
"(cached) " >&6
17366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h. */
17368 #define UNW_LOCAL_ONLY
17369 #include <libunwind.h>
17373 unw_cursor_t cursor; unw_step( &cursor );
17378 if ac_fn_c_try_link
"$LINENO"
17380 wine_cv_have_unw_step
="yes"
17382 wine_cv_have_unw_step
="no"
17384 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17385 conftest
$ac_exeext conftest.
$ac_ext
17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17388 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17389 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17392 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17393 LIBS
="$UNWIND_LIBS $LIBS"
17394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17395 printf %s
"checking for unw_step in libunwind... " >&6; }
17396 if test ${wine_cv_have_libunwind_unw_step+y}
17398 printf %s
"(cached) " >&6
17400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #define UNW_LOCAL_ONLY
17403 #include <libunwind.h>
17407 unw_cursor_t cursor; unw_step( &cursor );
17412 if ac_fn_c_try_link
"$LINENO"
17414 wine_cv_have_libunwind_unw_step
="yes"
17416 wine_cv_have_libunwind_unw_step
="no"
17418 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17419 conftest
$ac_exeext conftest.
$ac_ext
17421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17422 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17425 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17426 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17429 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17432 CPPFLAGS
=$ac_save_CPPFLAGS
17436 aarch64
*|
*-darwin*)
17437 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17439 case "x$with_unwind" in
17440 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17442 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17443 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17449 if test "x$with_sdl" != "xno"
17452 if ${SDL2_CFLAGS:+false} :
17454 if test ${PKG_CONFIG+y}
17456 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17460 if ${SDL2_LIBS:+false} :
17462 if test ${PKG_CONFIG+y}
17464 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17468 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17471 if test -s conftest.err
; then
17472 printf %s
"$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17473 cat conftest.err
>&5
17476 ac_save_CPPFLAGS
=$CPPFLAGS
17477 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17478 for ac_header
in SDL.h
17480 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17481 if test "x$ac_cv_header_SDL_h" = xyes
17483 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17485 printf %s
"checking for -lSDL2... " >&6; }
17486 if test ${ac_cv_lib_soname_SDL2+y}
17488 printf %s
"(cached) " >&6
17490 ac_check_soname_save_LIBS
=$LIBS
17491 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17495 /* Override any GCC internal prototype to avoid an error.
17496 Use char because int might match the return type of a GCC
17497 builtin and then its argument prototype would still apply. */
17502 return SDL_Init ();
17507 if ac_fn_c_try_link
"$LINENO"
17510 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17511 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'` ;;
17512 *) 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'`
17513 if ${ac_cv_lib_soname_SDL2:+false} :
17515 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17519 ac_cv_lib_soname_SDL2
=
17521 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17522 conftest
$ac_exeext conftest.
$ac_ext
17523 LIBS
=$ac_check_soname_save_LIBS
17525 if ${ac_cv_lib_soname_SDL2:+false} :
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17528 printf "%s\n" "not found" >&6; }
17531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17532 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17534 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17541 CPPFLAGS
=$ac_save_CPPFLAGS
17544 if test "x$ac_cv_lib_soname_SDL2" = "x"
17546 case "x$with_sdl" in
17547 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17549 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17550 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17555 if test "x$with_capi" != "xno"
17558 if ${CAPI20_CFLAGS:+false} :
17560 if test ${PKG_CONFIG+y}
17562 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17566 if ${CAPI20_LIBS:+false} :
17568 if test ${PKG_CONFIG+y}
17570 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17577 if test -s conftest.err
; then
17578 printf %s
"$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17579 cat conftest.err
>&5
17582 ac_save_CPPFLAGS
=$CPPFLAGS
17583 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17584 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17586 if test "x$ac_cv_header_capi20_h" = xyes
17588 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17591 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17593 if test "x$ac_cv_header_linux_capi_h" = xyes
17595 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17599 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17602 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17603 if test ${ac_cv_lib_capi20_capi20_register+y}
17605 printf %s
"(cached) " >&6
17607 ac_check_lib_save_LIBS
=$LIBS
17608 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17612 /* Override any GCC internal prototype to avoid an error.
17613 Use char because int might match the return type of a GCC
17614 builtin and then its argument prototype would still apply. */
17615 char capi20_register ();
17619 return capi20_register ();
17624 if ac_fn_c_try_link
"$LINENO"
17626 ac_cv_lib_capi20_capi20_register
=yes
17628 ac_cv_lib_capi20_capi20_register
=no
17630 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17631 conftest
$ac_exeext conftest.
$ac_ext
17632 LIBS
=$ac_check_lib_save_LIBS
17634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17635 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17636 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17644 CPPFLAGS
=$ac_save_CPPFLAGS
17647 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17649 case "x$with_capi" in
17650 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17652 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17653 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17655 enable_capi2032
=${enable_capi2032:-no}
17658 if test "x$with_cups" != "xno"
17661 if ${CUPS_CFLAGS:+false} :
17663 if test ${PKG_CONFIG+y}
17665 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>conftest.err`
17668 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17669 if ${CUPS_LIBS:+false} :
17671 if test ${PKG_CONFIG+y}
17673 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17676 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17677 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17680 if test -s conftest.err
; then
17681 printf %s
"$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17682 cat conftest.err
>&5
17685 ac_save_CPPFLAGS
=$CPPFLAGS
17686 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17687 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17688 if test "x$ac_cv_header_cups_cups_h" = xyes
17690 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17693 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17694 if test "x$ac_cv_header_cups_ppd_h" = xyes
17696 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17700 if test "$ac_cv_header_cups_cups_h" = "yes"
17702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17703 printf %s
"checking for -lcups... " >&6; }
17704 if test ${ac_cv_lib_soname_cups+y}
17706 printf %s
"(cached) " >&6
17708 ac_check_soname_save_LIBS
=$LIBS
17709 LIBS
="-lcups $CUPS_LIBS $LIBS"
17710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17713 /* Override any GCC internal prototype to avoid an error.
17714 Use char because int might match the return type of a GCC
17715 builtin and then its argument prototype would still apply. */
17716 char cupsGetDefault ();
17720 return cupsGetDefault ();
17725 if ac_fn_c_try_link
"$LINENO"
17728 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17729 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'` ;;
17730 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17731 if ${ac_cv_lib_soname_cups:+false} :
17733 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17737 ac_cv_lib_soname_cups
=
17739 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17740 conftest
$ac_exeext conftest.
$ac_ext
17741 LIBS
=$ac_check_soname_save_LIBS
17743 if ${ac_cv_lib_soname_cups:+false} :
17745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17746 printf "%s\n" "not found" >&6; }
17749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17750 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17752 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17760 CPPFLAGS
=$ac_save_CPPFLAGS
17763 if test "x$ac_cv_lib_soname_cups" = "x"
17765 case "x$with_cups" in
17766 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17768 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17769 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17774 if test "x$with_fontconfig" != "xno"
17777 if ${FONTCONFIG_CFLAGS:+false} :
17779 if test ${PKG_CONFIG+y}
17781 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17784 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17785 if ${FONTCONFIG_LIBS:+false} :
17787 if test ${PKG_CONFIG+y}
17789 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17792 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17796 if test -s conftest.err
; then
17797 printf %s
"$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17798 cat conftest.err
>&5
17801 ac_save_CPPFLAGS
=$CPPFLAGS
17802 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17803 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17804 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17806 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17810 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17813 printf %s
"checking for -lfontconfig... " >&6; }
17814 if test ${ac_cv_lib_soname_fontconfig+y}
17816 printf %s
"(cached) " >&6
17818 ac_check_soname_save_LIBS
=$LIBS
17819 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17823 /* Override any GCC internal prototype to avoid an error.
17824 Use char because int might match the return type of a GCC
17825 builtin and then its argument prototype would still apply. */
17835 if ac_fn_c_try_link
"$LINENO"
17838 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17839 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'` ;;
17840 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17841 if ${ac_cv_lib_soname_fontconfig:+false} :
17843 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17847 ac_cv_lib_soname_fontconfig
=
17849 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17850 conftest
$ac_exeext conftest.
$ac_ext
17851 LIBS
=$ac_check_soname_save_LIBS
17853 if ${ac_cv_lib_soname_fontconfig:+false} :
17855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17856 printf "%s\n" "not found" >&6; }
17857 FONTCONFIG_CFLAGS
=""
17859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17860 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17862 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17867 FONTCONFIG_CFLAGS
=""
17869 CPPFLAGS
=$ac_save_CPPFLAGS
17872 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17874 case "x$with_fontconfig" in
17875 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17877 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17878 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17883 if test "x$with_krb5" != "xno"
17886 if ${KRB5_CFLAGS:+false} :
17888 if test ${PKG_CONFIG+y}
17890 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17893 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17894 if ${KRB5_LIBS:+false} :
17896 if test ${PKG_CONFIG+y}
17898 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17901 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17905 if test -s conftest.err
; then
17906 printf %s
"$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17907 cat conftest.err
>&5
17910 ac_save_CPPFLAGS
=$CPPFLAGS
17911 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17912 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17913 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17915 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17919 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17922 printf %s
"checking for -lkrb5... " >&6; }
17923 if test ${ac_cv_lib_soname_krb5+y}
17925 printf %s
"(cached) " >&6
17927 ac_check_soname_save_LIBS
=$LIBS
17928 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17932 /* Override any GCC internal prototype to avoid an error.
17933 Use char because int might match the return type of a GCC
17934 builtin and then its argument prototype would still apply. */
17935 char krb5_is_config_principal ();
17939 return krb5_is_config_principal ();
17944 if ac_fn_c_try_link
"$LINENO"
17947 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17948 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'` ;;
17949 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17950 if ${ac_cv_lib_soname_krb5:+false} :
17952 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17956 ac_cv_lib_soname_krb5
=
17958 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17959 conftest
$ac_exeext conftest.
$ac_ext
17960 LIBS
=$ac_check_soname_save_LIBS
17962 if ${ac_cv_lib_soname_krb5:+false} :
17964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17965 printf "%s\n" "not found" >&6; }
17968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17969 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17971 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17978 CPPFLAGS
=$ac_save_CPPFLAGS
17981 if test "x$ac_cv_lib_soname_krb5" = "x"
17983 case "x$with_krb5" in
17984 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17986 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17987 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17991 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
17993 if test "x$with_gssapi" != "xno"
17996 if ${GSSAPI_CFLAGS:+false} :
17998 if test ${PKG_CONFIG+y}
18000 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18003 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18004 if ${GSSAPI_LIBS:+false} :
18006 if test ${PKG_CONFIG+y}
18008 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18011 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18015 if test -s conftest.err
; then
18016 printf %s
"$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18017 cat conftest.err
>&5
18020 ac_save_CPPFLAGS
=$CPPFLAGS
18021 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18022 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18023 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18025 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18028 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18029 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18031 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18035 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18038 printf %s
"checking for -lgssapi_krb5... " >&6; }
18039 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18041 printf %s
"(cached) " >&6
18043 ac_check_soname_save_LIBS
=$LIBS
18044 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18046 /* end confdefs.h. */
18048 /* Override any GCC internal prototype to avoid an error.
18049 Use char because int might match the return type of a GCC
18050 builtin and then its argument prototype would still apply. */
18051 char gss_init_sec_context ();
18055 return gss_init_sec_context ();
18060 if ac_fn_c_try_link
"$LINENO"
18063 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18064 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'` ;;
18065 *) 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'`
18066 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18068 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18072 ac_cv_lib_soname_gssapi_krb5
=
18074 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18075 conftest
$ac_exeext conftest.
$ac_ext
18076 LIBS
=$ac_check_soname_save_LIBS
18078 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18081 printf "%s\n" "not found" >&6; }
18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18085 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18087 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18094 CPPFLAGS
=$ac_save_CPPFLAGS
18097 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18099 case "x$with_gssapi" in
18100 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18102 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18103 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18108 if test "$ac_cv_header_libprocstat_h" = "yes"
18110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18111 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18112 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18114 printf %s
"(cached) " >&6
18116 ac_check_lib_save_LIBS
=$LIBS
18117 LIBS
="-lprocstat $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 procstat_open_sysctl ();
18128 return procstat_open_sysctl ();
18133 if ac_fn_c_try_link
"$LINENO"
18135 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18137 ac_cv_lib_procstat_procstat_open_sysctl
=no
18139 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18140 conftest
$ac_exeext conftest.
$ac_ext
18141 LIBS
=$ac_check_lib_save_LIBS
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18144 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18145 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18148 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18150 PROCSTAT_LIBS
="-lprocstat"
18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18157 printf %s
"checking for -lodbc... " >&6; }
18158 if test ${ac_cv_lib_soname_odbc+y}
18160 printf %s
"(cached) " >&6
18162 ac_check_soname_save_LIBS
=$LIBS
18163 LIBS
="-lodbc $LIBS"
18164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18170 char SQLConnect ();
18174 return SQLConnect ();
18179 if ac_fn_c_try_link
"$LINENO"
18182 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18183 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'` ;;
18184 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18185 if ${ac_cv_lib_soname_odbc:+false} :
18187 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18191 ac_cv_lib_soname_odbc
=
18193 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18194 conftest
$ac_exeext conftest.
$ac_ext
18195 LIBS
=$ac_check_soname_save_LIBS
18197 if ${ac_cv_lib_soname_odbc:+false} :
18199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18200 printf "%s\n" "not found" >&6; }
18201 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18205 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18207 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18212 if test "x$with_netapi" != "xno"
18215 if ${NETAPI_CFLAGS:+false} :
18217 if test ${PKG_CONFIG+y}
18219 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18223 if ${NETAPI_LIBS:+false} :
18225 if test ${PKG_CONFIG+y}
18227 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18234 if test -s conftest.err
; then
18235 printf %s
"$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18236 cat conftest.err
>&5
18239 ac_save_CPPFLAGS
=$CPPFLAGS
18240 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18242 printf %s
"checking for -lnetapi... " >&6; }
18243 if test ${ac_cv_lib_soname_netapi+y}
18245 printf %s
"(cached) " >&6
18247 ac_check_soname_save_LIBS
=$LIBS
18248 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18252 /* Override any GCC internal prototype to avoid an error.
18253 Use char because int might match the return type of a GCC
18254 builtin and then its argument prototype would still apply. */
18255 char libnetapi_init ();
18259 return libnetapi_init ();
18264 if ac_fn_c_try_link
"$LINENO"
18267 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18268 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'` ;;
18269 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18270 if ${ac_cv_lib_soname_netapi:+false} :
18272 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18276 ac_cv_lib_soname_netapi
=
18278 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18279 conftest
$ac_exeext conftest.
$ac_ext
18280 LIBS
=$ac_check_soname_save_LIBS
18282 if ${ac_cv_lib_soname_netapi:+false} :
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18285 printf "%s\n" "not found" >&6; }
18286 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18290 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18292 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18296 CPPFLAGS
=$ac_save_CPPFLAGS
18299 if test "x$ac_cv_lib_soname_netapi" = "x"
18301 case "x$with_netapi" in
18302 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18304 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18305 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18307 enable_netapi
=${enable_netapi:-no}
18311 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18312 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18314 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18317 if test "x$with_vulkan" != "xno"
18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18320 printf %s
"checking for -lvulkan... " >&6; }
18321 if test ${ac_cv_lib_soname_vulkan+y}
18323 printf %s
"(cached) " >&6
18325 ac_check_soname_save_LIBS
=$LIBS
18326 LIBS
="-lvulkan $LIBS"
18327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18330 /* Override any GCC internal prototype to avoid an error.
18331 Use char because int might match the return type of a GCC
18332 builtin and then its argument prototype would still apply. */
18333 char vkGetInstanceProcAddr ();
18337 return vkGetInstanceProcAddr ();
18342 if ac_fn_c_try_link
"$LINENO"
18345 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18346 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'` ;;
18347 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18348 if ${ac_cv_lib_soname_vulkan:+false} :
18350 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18354 ac_cv_lib_soname_vulkan
=
18356 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18357 conftest
$ac_exeext conftest.
$ac_ext
18358 LIBS
=$ac_check_soname_save_LIBS
18360 if ${ac_cv_lib_soname_vulkan:+false} :
18362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18363 printf "%s\n" "not found" >&6; }
18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18367 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18369 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18373 if test "x$ac_cv_lib_soname_vulkan" = "x"
18375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18376 printf %s
"checking for -lMoltenVK... " >&6; }
18377 if test ${ac_cv_lib_soname_MoltenVK+y}
18379 printf %s
"(cached) " >&6
18381 ac_check_soname_save_LIBS
=$LIBS
18382 LIBS
="-lMoltenVK $LIBS"
18383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18386 /* Override any GCC internal prototype to avoid an error.
18387 Use char because int might match the return type of a GCC
18388 builtin and then its argument prototype would still apply. */
18389 char vkGetInstanceProcAddr ();
18393 return vkGetInstanceProcAddr ();
18398 if ac_fn_c_try_link
"$LINENO"
18401 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18402 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'` ;;
18403 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18404 if ${ac_cv_lib_soname_MoltenVK:+false} :
18406 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18410 ac_cv_lib_soname_MoltenVK
=
18412 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18413 conftest
$ac_exeext conftest.
$ac_ext
18414 LIBS
=$ac_check_soname_save_LIBS
18416 if ${ac_cv_lib_soname_MoltenVK:+false} :
18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18419 printf "%s\n" "not found" >&6; }
18422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18423 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18425 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18431 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18433 case "x$with_vulkan" in
18434 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18436 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18437 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18443 if test "x${GCC}" = "xyes"
18445 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18447 saved_CFLAGS
=$CFLAGS
18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18449 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18450 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18452 printf %s
"(cached) " >&6
18454 ac_wine_try_cflags_saved
=$CFLAGS
18455 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h. */
18458 int main(int argc, char **argv) { return 0; }
18460 if ac_fn_c_try_link
"$LINENO"
18462 ac_cv_cflags__Werror_unknown_warning_option
=yes
18464 ac_cv_cflags__Werror_unknown_warning_option
=no
18466 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18467 conftest
$ac_exeext conftest.
$ac_ext
18468 CFLAGS
=$ac_wine_try_cflags_saved
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18471 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18472 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18474 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18477 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18478 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18480 printf %s
"(cached) " >&6
18482 ac_wine_try_cflags_saved
=$CFLAGS
18483 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18486 int main(int argc, char **argv) { return 0; }
18488 if ac_fn_c_try_link
"$LINENO"
18490 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18492 ac_cv_cflags__Werror_unused_command_line_argument
=no
18494 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18495 conftest
$ac_exeext conftest.
$ac_ext
18496 CFLAGS
=$ac_wine_try_cflags_saved
18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18499 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18500 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18502 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18505 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18506 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18508 printf %s
"(cached) " >&6
18510 ac_wine_try_cflags_saved
=$CFLAGS
18511 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18514 int main(int argc, char **argv) { return 0; }
18516 if ac_fn_c_try_link
"$LINENO"
18518 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18520 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18522 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18523 conftest
$ac_exeext conftest.
$ac_ext
18524 CFLAGS
=$ac_wine_try_cflags_saved
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18527 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18528 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18530 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18533 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18534 if test ${ac_cv_cflags__fcf_protection_none+y}
18536 printf %s
"(cached) " >&6
18538 ac_wine_try_cflags_saved
=$CFLAGS
18539 CFLAGS
="$CFLAGS -fcf-protection=none"
18540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 int main(int argc, char **argv) { return 0; }
18544 if ac_fn_c_try_link
"$LINENO"
18546 ac_cv_cflags__fcf_protection_none
=yes
18548 ac_cv_cflags__fcf_protection_none
=no
18550 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18551 conftest
$ac_exeext conftest.
$ac_ext
18552 CFLAGS
=$ac_wine_try_cflags_saved
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18555 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18556 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18558 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18561 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18562 if test ${ac_cv_cflags__fno_stack_protector+y}
18564 printf %s
"(cached) " >&6
18566 ac_wine_try_cflags_saved
=$CFLAGS
18567 CFLAGS
="$CFLAGS -fno-stack-protector"
18568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 int main(int argc, char **argv) { return 0; }
18572 if ac_fn_c_try_link
"$LINENO"
18574 ac_cv_cflags__fno_stack_protector
=yes
18576 ac_cv_cflags__fno_stack_protector
=no
18578 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18579 conftest
$ac_exeext conftest.
$ac_ext
18580 CFLAGS
=$ac_wine_try_cflags_saved
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18583 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18584 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18586 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18589 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18590 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18592 printf %s
"(cached) " >&6
18594 ac_wine_try_cflags_saved
=$CFLAGS
18595 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 int main(int argc, char **argv) { return 0; }
18600 if ac_fn_c_try_link
"$LINENO"
18602 ac_cv_cflags__fno_strict_aliasing
=yes
18604 ac_cv_cflags__fno_strict_aliasing
=no
18606 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18607 conftest
$ac_exeext conftest.
$ac_ext
18608 CFLAGS
=$ac_wine_try_cflags_saved
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18611 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18612 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18614 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18617 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18618 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18620 printf %s
"(cached) " >&6
18622 ac_wine_try_cflags_saved
=$CFLAGS
18623 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626 int main(int argc, char **argv) { return 0; }
18628 if ac_fn_c_try_link
"$LINENO"
18630 ac_cv_cflags__Wdeclaration_after_statement
=yes
18632 ac_cv_cflags__Wdeclaration_after_statement
=no
18634 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18635 conftest
$ac_exeext conftest.
$ac_ext
18636 CFLAGS
=$ac_wine_try_cflags_saved
18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18639 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18640 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18642 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18645 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18646 if test ${ac_cv_cflags__Wempty_body+y}
18648 printf %s
"(cached) " >&6
18650 ac_wine_try_cflags_saved
=$CFLAGS
18651 CFLAGS
="$CFLAGS -Wempty-body"
18652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18654 int main(int argc, char **argv) { return 0; }
18656 if ac_fn_c_try_link
"$LINENO"
18658 ac_cv_cflags__Wempty_body
=yes
18660 ac_cv_cflags__Wempty_body
=no
18662 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18663 conftest
$ac_exeext conftest.
$ac_ext
18664 CFLAGS
=$ac_wine_try_cflags_saved
18666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18667 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18668 if test "x$ac_cv_cflags__Wempty_body" = xyes
18670 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18673 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18674 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18676 printf %s
"(cached) " >&6
18678 ac_wine_try_cflags_saved
=$CFLAGS
18679 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18682 int main(int argc, char **argv) { return 0; }
18684 if ac_fn_c_try_link
"$LINENO"
18686 ac_cv_cflags__Wignored_qualifiers
=yes
18688 ac_cv_cflags__Wignored_qualifiers
=no
18690 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18691 conftest
$ac_exeext conftest.
$ac_ext
18692 CFLAGS
=$ac_wine_try_cflags_saved
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18695 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18696 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18698 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18701 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18702 if test ${ac_cv_cflags__Winit_self+y}
18704 printf %s
"(cached) " >&6
18706 ac_wine_try_cflags_saved
=$CFLAGS
18707 CFLAGS
="$CFLAGS -Winit-self"
18708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18710 int main(int argc, char **argv) { return 0; }
18712 if ac_fn_c_try_link
"$LINENO"
18714 ac_cv_cflags__Winit_self
=yes
18716 ac_cv_cflags__Winit_self
=no
18718 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18719 conftest
$ac_exeext conftest.
$ac_ext
18720 CFLAGS
=$ac_wine_try_cflags_saved
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18723 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18724 if test "x$ac_cv_cflags__Winit_self" = xyes
18726 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18729 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18730 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18732 printf %s
"(cached) " >&6
18734 ac_wine_try_cflags_saved
=$CFLAGS
18735 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18737 /* end confdefs.h. */
18738 int main(int argc, char **argv) { return 0; }
18740 if ac_fn_c_try_link
"$LINENO"
18742 ac_cv_cflags__Wpacked_not_aligned
=yes
18744 ac_cv_cflags__Wpacked_not_aligned
=no
18746 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18747 conftest
$ac_exeext conftest.
$ac_ext
18748 CFLAGS
=$ac_wine_try_cflags_saved
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18751 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18752 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18754 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18757 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18758 if test ${ac_cv_cflags__Wpragma_pack+y}
18760 printf %s
"(cached) " >&6
18762 ac_wine_try_cflags_saved
=$CFLAGS
18763 CFLAGS
="$CFLAGS -Wpragma-pack"
18764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18765 /* end confdefs.h. */
18766 int main(int argc, char **argv) { return 0; }
18768 if ac_fn_c_try_link
"$LINENO"
18770 ac_cv_cflags__Wpragma_pack
=yes
18772 ac_cv_cflags__Wpragma_pack
=no
18774 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18775 conftest
$ac_exeext conftest.
$ac_ext
18776 CFLAGS
=$ac_wine_try_cflags_saved
18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18779 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18780 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18782 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18785 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18786 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18788 printf %s
"(cached) " >&6
18790 ac_wine_try_cflags_saved
=$CFLAGS
18791 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 int main(int argc, char **argv) { return 0; }
18796 if ac_fn_c_try_link
"$LINENO"
18798 ac_cv_cflags__Wshift_overflow_2
=yes
18800 ac_cv_cflags__Wshift_overflow_2
=no
18802 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18803 conftest
$ac_exeext conftest.
$ac_ext
18804 CFLAGS
=$ac_wine_try_cflags_saved
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18807 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18808 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18810 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18813 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18814 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18816 printf %s
"(cached) " >&6
18818 ac_wine_try_cflags_saved
=$CFLAGS
18819 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18822 int main(int argc, char **argv) { return 0; }
18824 if ac_fn_c_try_link
"$LINENO"
18826 ac_cv_cflags__Wstrict_prototypes
=yes
18828 ac_cv_cflags__Wstrict_prototypes
=no
18830 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18831 conftest
$ac_exeext conftest.
$ac_ext
18832 CFLAGS
=$ac_wine_try_cflags_saved
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18835 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18836 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18838 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18841 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18842 if test ${ac_cv_cflags__Wtype_limits+y}
18844 printf %s
"(cached) " >&6
18846 ac_wine_try_cflags_saved
=$CFLAGS
18847 CFLAGS
="$CFLAGS -Wtype-limits"
18848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18850 int main(int argc, char **argv) { return 0; }
18852 if ac_fn_c_try_link
"$LINENO"
18854 ac_cv_cflags__Wtype_limits
=yes
18856 ac_cv_cflags__Wtype_limits
=no
18858 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18859 conftest
$ac_exeext conftest.
$ac_ext
18860 CFLAGS
=$ac_wine_try_cflags_saved
18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18863 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18864 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18866 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18869 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18870 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18872 printf %s
"(cached) " >&6
18874 ac_wine_try_cflags_saved
=$CFLAGS
18875 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18877 /* end confdefs.h. */
18878 int main(int argc, char **argv) { return 0; }
18880 if ac_fn_c_try_link
"$LINENO"
18882 ac_cv_cflags__Wunused_but_set_parameter
=yes
18884 ac_cv_cflags__Wunused_but_set_parameter
=no
18886 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18887 conftest
$ac_exeext conftest.
$ac_ext
18888 CFLAGS
=$ac_wine_try_cflags_saved
18890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18891 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18892 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18894 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18897 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18898 if test ${ac_cv_cflags__Wvla+y}
18900 printf %s
"(cached) " >&6
18902 ac_wine_try_cflags_saved
=$CFLAGS
18903 CFLAGS
="$CFLAGS -Wvla"
18904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18906 int main(int argc, char **argv) { return 0; }
18908 if ac_fn_c_try_link
"$LINENO"
18910 ac_cv_cflags__Wvla
=yes
18912 ac_cv_cflags__Wvla
=no
18914 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18915 conftest
$ac_exeext conftest.
$ac_ext
18916 CFLAGS
=$ac_wine_try_cflags_saved
18918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18919 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18920 if test "x$ac_cv_cflags__Wvla" = xyes
18922 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18925 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18926 if test ${ac_cv_cflags__Wwrite_strings+y}
18928 printf %s
"(cached) " >&6
18930 ac_wine_try_cflags_saved
=$CFLAGS
18931 CFLAGS
="$CFLAGS -Wwrite-strings"
18932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 int main(int argc, char **argv) { return 0; }
18936 if ac_fn_c_try_link
"$LINENO"
18938 ac_cv_cflags__Wwrite_strings
=yes
18940 ac_cv_cflags__Wwrite_strings
=no
18942 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18943 conftest
$ac_exeext conftest.
$ac_ext
18944 CFLAGS
=$ac_wine_try_cflags_saved
18946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18947 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18948 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18950 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18954 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18955 if test ${ac_cv_cflags__Wpointer_arith+y}
18957 printf %s
"(cached) " >&6
18959 ac_wine_try_cflags_saved
=$CFLAGS
18960 CFLAGS
="$CFLAGS -Wpointer-arith"
18961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 int main(int argc, char **argv) { return 0; }
18965 if ac_fn_c_try_link
"$LINENO"
18967 ac_cv_cflags__Wpointer_arith
=yes
18969 ac_cv_cflags__Wpointer_arith
=no
18971 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18972 conftest
$ac_exeext conftest.
$ac_ext
18973 CFLAGS
=$ac_wine_try_cflags_saved
18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18976 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18977 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18979 saved_string_h_CFLAGS
=$CFLAGS
18980 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18982 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18983 if test ${ac_cv_c_string_h_warnings+y}
18985 printf %s
"(cached) " >&6
18987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 #include <string.h>
18998 if ac_fn_c_try_compile
"$LINENO"
19000 ac_cv_c_string_h_warnings
=no
19002 ac_cv_c_string_h_warnings
=yes
19004 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19007 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19008 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19009 CFLAGS
=$saved_string_h_CFLAGS
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19013 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19014 if test ${ac_cv_cflags__Wlogical_op+y}
19016 printf %s
"(cached) " >&6
19018 ac_wine_try_cflags_saved
=$CFLAGS
19019 CFLAGS
="$CFLAGS -Wlogical-op"
19020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19021 /* end confdefs.h. */
19022 int main(int argc, char **argv) { return 0; }
19024 if ac_fn_c_try_link
"$LINENO"
19026 ac_cv_cflags__Wlogical_op
=yes
19028 ac_cv_cflags__Wlogical_op
=no
19030 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19031 conftest
$ac_exeext conftest.
$ac_ext
19032 CFLAGS
=$ac_wine_try_cflags_saved
19034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19035 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19036 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19038 saved_string_h_CFLAGS
=$CFLAGS
19039 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19041 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19042 if test ${ac_cv_c_logicalop_noisy+y}
19044 printf %s
"(cached) " >&6
19046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19048 #include <string.h>
19049 char*f(const char *h,char n) {return strchr(h,n);}
19058 if ac_fn_c_try_compile
"$LINENO"
19060 ac_cv_c_logicalop_noisy
=no
19062 ac_cv_c_logicalop_noisy
=yes
19064 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19067 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19068 CFLAGS
=$saved_string_h_CFLAGS
19069 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19073 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19074 if test ${wine_cv_64bit_compare_swap+y}
19076 printf %s
"(cached) " >&6
19078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19091 if ac_fn_c_try_compile
"$LINENO"
19093 wine_cv_64bit_compare_swap
="none needed"
19096 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19097 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19098 *) wine_cv_64bit_compare_swap
="unknown" ;;
19100 if test "x$wine_cv_64bit_compare_swap" != xunknown
19102 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19104 /* end confdefs.h. */
19105 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19116 if ac_fn_c_try_compile
"$LINENO"
19120 wine_cv_64bit_compare_swap
="unknown"
19122 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19123 CFLAGS
=$saved_CFLAGS
19126 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19129 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19130 case "$wine_cv_64bit_compare_swap" in
19131 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19133 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19136 ac_debug_format_seen
=""
19137 for ac_flag
in $CFLAGS; do
19139 -gdwarf*) ac_debug_format_seen
=yes ;;
19140 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19143 if test "x$ac_debug_format_seen" = xdefault
19145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19146 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19147 if test ${ac_cv_cflags__gdwarf_4+y}
19149 printf %s
"(cached) " >&6
19151 ac_wine_try_cflags_saved
=$CFLAGS
19152 CFLAGS
="$CFLAGS -gdwarf-4"
19153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19155 int main(int argc, char **argv) { return 0; }
19157 if ac_fn_c_try_link
"$LINENO"
19159 ac_cv_cflags__gdwarf_4
=yes
19161 ac_cv_cflags__gdwarf_4
=no
19163 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19164 conftest
$ac_exeext conftest.
$ac_ext
19165 CFLAGS
=$ac_wine_try_cflags_saved
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19168 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19169 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19171 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19178 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19179 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19180 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19182 printf %s
"(cached) " >&6
19184 ac_wine_try_cflags_saved
=$CFLAGS
19185 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19187 /* end confdefs.h. */
19188 int main(int argc, char **argv) { return 0; }
19190 if ac_fn_c_try_link
"$LINENO"
19192 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19194 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19196 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19197 conftest
$ac_exeext conftest.
$ac_ext
19198 CFLAGS
=$ac_wine_try_cflags_saved
19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19201 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19202 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19204 DELAYLOADFLAG
="-Wl,-delayload,"
19207 *) MSVCRTFLAGS
="-D_WIN32"
19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19209 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19210 if test ${ac_cv_cflags__fno_builtin+y}
19212 printf %s
"(cached) " >&6
19214 ac_wine_try_cflags_saved
=$CFLAGS
19215 CFLAGS
="$CFLAGS -fno-builtin"
19216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19217 /* end confdefs.h. */
19218 int main(int argc, char **argv) { return 0; }
19220 if ac_fn_c_try_link
"$LINENO"
19222 ac_cv_cflags__fno_builtin
=yes
19224 ac_cv_cflags__fno_builtin
=no
19226 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19227 conftest
$ac_exeext conftest.
$ac_ext
19228 CFLAGS
=$ac_wine_try_cflags_saved
19230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19231 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19232 if test "x$ac_cv_cflags__fno_builtin" = xyes
19234 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19237 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19238 if test ${ac_cv_cflags__fshort_wchar+y}
19240 printf %s
"(cached) " >&6
19242 ac_wine_try_cflags_saved
=$CFLAGS
19243 CFLAGS
="$CFLAGS -fshort-wchar"
19244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19245 /* end confdefs.h. */
19246 int main(int argc, char **argv) { return 0; }
19248 if ac_fn_c_try_link
"$LINENO"
19250 ac_cv_cflags__fshort_wchar
=yes
19252 ac_cv_cflags__fshort_wchar
=no
19254 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19255 conftest
$ac_exeext conftest.
$ac_ext
19256 CFLAGS
=$ac_wine_try_cflags_saved
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19259 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19260 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19262 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19265 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19266 if test ${ac_cv_cflags__Wno_format+y}
19268 printf %s
"(cached) " >&6
19270 ac_wine_try_cflags_saved
=$CFLAGS
19271 CFLAGS
="$CFLAGS -Wno-format"
19272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 int main(int argc, char **argv) { return 0; }
19276 if ac_fn_c_try_link
"$LINENO"
19278 ac_cv_cflags__Wno_format
=yes
19280 ac_cv_cflags__Wno_format
=no
19282 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19283 conftest
$ac_exeext conftest.
$ac_ext
19284 CFLAGS
=$ac_wine_try_cflags_saved
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19287 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19288 if test "x$ac_cv_cflags__Wno_format" = xyes
19290 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19295 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19296 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19297 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19299 printf %s
"(cached) " >&6
19301 ac_wine_try_cflags_saved
=$CFLAGS
19302 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19305 int main(int argc, char **argv) { return 0; }
19307 if ac_fn_c_try_link
"$LINENO"
19309 ac_cv_cflags__fno_omit_frame_pointer
=yes
19311 ac_cv_cflags__fno_omit_frame_pointer
=no
19313 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19314 conftest
$ac_exeext conftest.
$ac_ext
19315 CFLAGS
=$ac_wine_try_cflags_saved
19317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19318 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19319 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19321 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19325 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19326 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19327 if test ${ac_cv_cflags__Wno_format+y}
19329 printf %s
"(cached) " >&6
19331 ac_wine_try_cflags_saved
=$CFLAGS
19332 CFLAGS
="$CFLAGS -Wno-format"
19333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19335 int main(int argc, char **argv) { return 0; }
19337 if ac_fn_c_try_link
"$LINENO"
19339 ac_cv_cflags__Wno_format
=yes
19341 ac_cv_cflags__Wno_format
=no
19343 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19344 conftest
$ac_exeext conftest.
$ac_ext
19345 CFLAGS
=$ac_wine_try_cflags_saved
19347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19348 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19349 if test "x$ac_cv_cflags__Wno_format" = xyes
19351 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19353 *) if test -z "$PE_ARCHS"
19355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19356 printf %s
"checking for working -mabi=ms... " >&6; }
19357 if test ${ac_cv_mabi_ms+y}
19359 printf %s
"(cached) " >&6
19361 CFLAGS
="$CFLAGS -mabi=ms"
19362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19363 /* end confdefs.h. */
19364 #include <stdarg.h>
19365 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19374 if ac_fn_c_try_compile
"$LINENO"
19380 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19381 CFLAGS
=$saved_CFLAGS
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19384 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19385 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
19387 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19391 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19392 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19394 printf %s
"(cached) " >&6
19396 ac_wine_try_cflags_saved
=$CFLAGS
19397 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 int main(int argc, char **argv) { return 0; }
19402 if ac_fn_c_try_link
"$LINENO"
19404 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19406 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19408 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19409 conftest
$ac_exeext conftest.
$ac_ext
19410 CFLAGS
=$ac_wine_try_cflags_saved
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19414 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19416 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19420 CFLAGS
=$saved_CFLAGS
19422 if test "x$enable_werror" = "xyes"
19424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19425 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19426 if test ${ac_cv_cflags__Werror+y}
19428 printf %s
"(cached) " >&6
19430 ac_wine_try_cflags_saved
=$CFLAGS
19431 CFLAGS
="$CFLAGS -Werror"
19432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 int main(int argc, char **argv) { return 0; }
19436 if ac_fn_c_try_link
"$LINENO"
19438 ac_cv_cflags__Werror
=yes
19440 ac_cv_cflags__Werror
=no
19442 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19443 conftest
$ac_exeext conftest.
$ac_ext
19444 CFLAGS
=$ac_wine_try_cflags_saved
19446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19447 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19448 if test "x$ac_cv_cflags__Werror" = xyes
19450 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19453 if test "x$enable_build_id" = "xyes"
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19456 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19457 if test ${ac_cv_cflags__Wl___build_id+y}
19459 printf %s
"(cached) " >&6
19461 ac_wine_try_cflags_saved
=$CFLAGS
19462 CFLAGS
="$CFLAGS -Wl,--build-id"
19463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 int main(int argc, char **argv) { return 0; }
19467 if ac_fn_c_try_link
"$LINENO"
19469 ac_cv_cflags__Wl___build_id
=yes
19471 ac_cv_cflags__Wl___build_id
=no
19473 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19474 conftest
$ac_exeext conftest.
$ac_ext
19475 CFLAGS
=$ac_wine_try_cflags_saved
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19478 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19479 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19481 CFLAGS
="$CFLAGS -Wl,--build-id"
19482 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19489 printf %s
"checking for the need to disable Fortify... " >&6; }
19490 if test ${ac_cv_c_fortify_enabled+y}
19492 printf %s
"(cached) " >&6
19494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 #include <string.h>
19500 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19501 #error Fortify enabled
19507 if ac_fn_c_try_compile
"$LINENO"
19509 ac_cv_c_fortify_enabled
=no
19511 ac_cv_c_fortify_enabled
=yes
19513 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19516 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19517 if test "$ac_cv_c_fortify_enabled" = yes
19519 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19524 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19525 if test ${ac_cv_c_cfi_support+y}
19527 printf %s
"(cached) " >&6
19529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19540 if ac_fn_c_try_compile
"$LINENO"
19542 ac_cv_c_cfi_support
="yes"
19544 ac_cv_c_cfi_support
="no"
19546 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19549 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19550 if test "$ac_cv_c_cfi_support" = "yes"
19552 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19553 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19554 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19555 elif test $HOST_ARCH = x86_64
19557 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19561 case "$HOST_ARCH,$PE_ARCHS" in
19562 x86_64
,*i386
*) wine_binary
="wine" ;;
19563 x86_64
,*) wine_binary
="wine64" ;;
19564 *) wine_binary
="wine" ;;
19566 WINELOADER_PROGRAMS
="$wine_binary"
19572 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19573 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19574 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19579 if test "$wine_can_build_preloader" = "yes"
19581 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19582 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19588 ac_save_CFLAGS
="$CFLAGS"
19589 CFLAGS
="$CFLAGS $BUILTINFLAG"
19590 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19591 if test "x$ac_cv_func_epoll_create" = xyes
19593 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19596 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19597 if test "x$ac_cv_func_fstatfs" = xyes
19599 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19602 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19603 if test "x$ac_cv_func_futimens" = xyes
19605 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19608 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19609 if test "x$ac_cv_func_futimes" = xyes
19611 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19614 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19615 if test "x$ac_cv_func_futimesat" = xyes
19617 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19620 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19621 if test "x$ac_cv_func_getattrlist" = xyes
19623 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19626 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19627 if test "x$ac_cv_func_getauxval" = xyes
19629 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19632 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19633 if test "x$ac_cv_func_getifaddrs" = xyes
19635 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19638 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19639 if test "x$ac_cv_func_getrandom" = xyes
19641 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19644 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19645 if test "x$ac_cv_func_kqueue" = xyes
19647 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19650 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19651 if test "x$ac_cv_func_mach_continuous_time" = xyes
19653 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19656 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19657 if test "x$ac_cv_func_pipe2" = xyes
19659 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19662 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19663 if test "x$ac_cv_func_port_create" = xyes
19665 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19668 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19669 if test "x$ac_cv_func_posix_fadvise" = xyes
19671 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19674 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19675 if test "x$ac_cv_func_posix_fallocate" = xyes
19677 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19680 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19681 if test "x$ac_cv_func_prctl" = xyes
19683 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19686 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19687 if test "x$ac_cv_func_proc_pidinfo" = xyes
19689 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19692 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19693 if test "x$ac_cv_func_sched_yield" = xyes
19695 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19698 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19699 if test "x$ac_cv_func_setproctitle" = xyes
19701 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19704 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19705 if test "x$ac_cv_func_setprogname" = xyes
19707 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19710 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19711 if test "x$ac_cv_func_sigprocmask" = xyes
19713 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19716 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19717 if test "x$ac_cv_func_sysinfo" = xyes
19719 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19722 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19723 if test "x$ac_cv_func_tcdrain" = xyes
19725 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19728 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19729 if test "x$ac_cv_func_thr_kill2" = xyes
19731 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19735 CFLAGS
="$ac_save_CFLAGS"
19737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19738 printf %s
"checking for library containing dlopen... " >&6; }
19739 if test ${ac_cv_search_dlopen+y}
19741 printf %s
"(cached) " >&6
19743 ac_func_search_save_LIBS
=$LIBS
19744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19747 /* Override any GCC internal prototype to avoid an error.
19748 Use char because int might match the return type of a GCC
19749 builtin and then its argument prototype would still apply. */
19759 for ac_lib
in '' dl
19761 if test -z "$ac_lib"; then
19762 ac_res
="none required"
19765 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19767 if ac_fn_c_try_link
"$LINENO"
19769 ac_cv_search_dlopen
=$ac_res
19771 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19773 if test ${ac_cv_search_dlopen+y}
19778 if test ${ac_cv_search_dlopen+y}
19782 ac_cv_search_dlopen
=no
19784 rm conftest.
$ac_ext
19785 LIBS
=$ac_func_search_save_LIBS
19787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19788 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19789 ac_res
=$ac_cv_search_dlopen
19790 if test "$ac_res" != no
19792 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19796 ac_wine_check_funcs_save_LIBS
="$LIBS"
19797 LIBS
="$LIBS $DL_LIBS"
19798 ac_fn_c_check_func
"$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19799 if test "x$ac_cv_func_dladdr1" = xyes
19801 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19804 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19805 if test "x$ac_cv_func_dlinfo" = xyes
19807 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19811 LIBS
="$ac_wine_check_funcs_save_LIBS"
19813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19814 printf %s
"checking for library containing gethostbyname... " >&6; }
19815 if test ${ac_cv_search_gethostbyname+y}
19817 printf %s
"(cached) " >&6
19819 ac_func_search_save_LIBS
=$LIBS
19820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19821 /* end confdefs.h. */
19823 /* Override any GCC internal prototype to avoid an error.
19824 Use char because int might match the return type of a GCC
19825 builtin and then its argument prototype would still apply. */
19826 char gethostbyname ();
19830 return gethostbyname ();
19835 for ac_lib
in '' nsl
19837 if test -z "$ac_lib"; then
19838 ac_res
="none required"
19841 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19843 if ac_fn_c_try_link
"$LINENO"
19845 ac_cv_search_gethostbyname
=$ac_res
19847 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19849 if test ${ac_cv_search_gethostbyname+y}
19854 if test ${ac_cv_search_gethostbyname+y}
19858 ac_cv_search_gethostbyname
=no
19860 rm conftest.
$ac_ext
19861 LIBS
=$ac_func_search_save_LIBS
19863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19864 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19865 ac_res
=$ac_cv_search_gethostbyname
19866 if test "$ac_res" != no
19868 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19874 printf %s
"checking for library containing connect... " >&6; }
19875 if test ${ac_cv_search_connect+y}
19877 printf %s
"(cached) " >&6
19879 ac_func_search_save_LIBS
=$LIBS
19880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h. */
19883 /* Override any GCC internal prototype to avoid an error.
19884 Use char because int might match the return type of a GCC
19885 builtin and then its argument prototype would still apply. */
19895 for ac_lib
in '' socket
19897 if test -z "$ac_lib"; then
19898 ac_res
="none required"
19901 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19903 if ac_fn_c_try_link
"$LINENO"
19905 ac_cv_search_connect
=$ac_res
19907 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19909 if test ${ac_cv_search_connect+y}
19914 if test ${ac_cv_search_connect+y}
19918 ac_cv_search_connect
=no
19920 rm conftest.
$ac_ext
19921 LIBS
=$ac_func_search_save_LIBS
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19924 printf "%s\n" "$ac_cv_search_connect" >&6; }
19925 ac_res
=$ac_cv_search_connect
19926 if test "$ac_res" != no
19928 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19934 printf %s
"checking for library containing inet_aton... " >&6; }
19935 if test ${ac_cv_search_inet_aton+y}
19937 printf %s
"(cached) " >&6
19939 ac_func_search_save_LIBS
=$LIBS
19940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19943 /* Override any GCC internal prototype to avoid an error.
19944 Use char because int might match the return type of a GCC
19945 builtin and then its argument prototype would still apply. */
19950 return inet_aton ();
19955 for ac_lib
in '' resolv
19957 if test -z "$ac_lib"; then
19958 ac_res
="none required"
19961 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19963 if ac_fn_c_try_link
"$LINENO"
19965 ac_cv_search_inet_aton
=$ac_res
19967 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19969 if test ${ac_cv_search_inet_aton+y}
19974 if test ${ac_cv_search_inet_aton+y}
19978 ac_cv_search_inet_aton
=no
19980 rm conftest.
$ac_ext
19981 LIBS
=$ac_func_search_save_LIBS
19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19984 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19985 ac_res
=$ac_cv_search_inet_aton
19986 if test "$ac_res" != no
19988 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19993 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19994 if test "x$ac_cv_func_getaddrinfo" = xyes
19996 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20002 darwin
*|macosx
*) ;;
20003 *) ac_save_LIBS
=$LIBS
20004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20005 printf %s
"checking for library containing clock_gettime... " >&6; }
20006 if test ${ac_cv_search_clock_gettime+y}
20008 printf %s
"(cached) " >&6
20010 ac_func_search_save_LIBS
=$LIBS
20011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20012 /* end confdefs.h. */
20014 /* Override any GCC internal prototype to avoid an error.
20015 Use char because int might match the return type of a GCC
20016 builtin and then its argument prototype would still apply. */
20017 char clock_gettime ();
20021 return clock_gettime ();
20026 for ac_lib
in '' rt
20028 if test -z "$ac_lib"; then
20029 ac_res
="none required"
20032 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20034 if ac_fn_c_try_link
"$LINENO"
20036 ac_cv_search_clock_gettime
=$ac_res
20038 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20040 if test ${ac_cv_search_clock_gettime+y}
20045 if test ${ac_cv_search_clock_gettime+y}
20049 ac_cv_search_clock_gettime
=no
20051 rm conftest.
$ac_ext
20052 LIBS
=$ac_func_search_save_LIBS
20054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20055 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20056 ac_res
=$ac_cv_search_clock_gettime
20057 if test "$ac_res" != no
20059 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20061 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20063 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20072 printf %s
"checking for sched_setaffinity... " >&6; }
20073 if test ${wine_cv_have_sched_setaffinity+y}
20075 printf %s
"(cached) " >&6
20077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20083 sched_setaffinity(0, 0, 0);
20088 if ac_fn_c_try_link
"$LINENO"
20090 wine_cv_have_sched_setaffinity
=yes
20092 wine_cv_have_sched_setaffinity
=no
20094 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20095 conftest
$ac_exeext conftest.
$ac_ext
20097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20098 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20099 if test "$wine_cv_have_sched_setaffinity" = "yes"
20102 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20108 printf %s
"checking for inline... " >&6; }
20109 if test ${ac_cv_c_inline+y}
20111 printf %s
"(cached) " >&6
20114 for ac_kw
in inline __inline__ __inline
; do
20115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20116 /* end confdefs.h. */
20117 #ifndef __cplusplus
20119 static $ac_kw foo_t static_foo (void) {return 0; }
20120 $ac_kw foo_t foo (void) {return 0; }
20124 if ac_fn_c_try_compile
"$LINENO"
20126 ac_cv_c_inline
=$ac_kw
20128 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20129 test "$ac_cv_c_inline" != no
&& break
20133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20134 printf "%s\n" "$ac_cv_c_inline" >&6; }
20136 case $ac_cv_c_inline in
20139 case $ac_cv_c_inline in
20141 *) ac_val
=$ac_cv_c_inline;;
20143 cat >>confdefs.h
<<_ACEOF
20144 #ifndef __cplusplus
20145 #define inline $ac_val
20151 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20152 #include <signal.h>
20154 if test "x$ac_cv_type_sigset_t" = xyes
20157 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20162 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20164 if test "x$ac_cv_type_request_sense" = xyes
20167 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20173 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20174 #include <sys/socket.h>
20175 #ifdef HAVE_SYS_SOCKETVAR_H
20176 #include <sys/socketvar.h>
20178 #ifdef HAVE_NET_ROUTE_H
20179 #include <net/route.h>
20181 #ifdef HAVE_NETINET_IN_H
20182 #include <netinet/in.h>
20184 #ifdef HAVE_NETINET_IN_SYSTM_H
20185 #include <netinet/in_systm.h>
20187 #ifdef HAVE_NETINET_IP_H
20188 #include <netinet/ip.h>
20190 #ifdef HAVE_NETINET_IN_PCB_H
20191 #include <netinet/in_pcb.h>
20194 if test "x$ac_cv_type_struct_xinpgen" = xyes
20197 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20204 printf %s
"checking for sigaddset... " >&6; }
20205 if test ${wine_cv_have_sigaddset+y}
20207 printf %s
"(cached) " >&6
20209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20210 /* end confdefs.h. */
20211 #include <signal.h>
20215 sigset_t set; sigaddset(&set,SIGTERM);
20220 if ac_fn_c_try_link
"$LINENO"
20222 wine_cv_have_sigaddset
=yes
20224 wine_cv_have_sigaddset
=no
20226 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20227 conftest
$ac_exeext conftest.
$ac_ext
20229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20230 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20231 if test "$wine_cv_have_sigaddset" = "yes"
20234 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20240 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20241 if test ${wine_cv_linux_gethostbyname_r_6+y}
20243 printf %s
"(cached) " >&6
20245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20254 struct hostent *result;
20261 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20262 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20268 if ac_fn_c_try_link
"$LINENO"
20270 wine_cv_linux_gethostbyname_r_6
=yes
20272 wine_cv_linux_gethostbyname_r_6
=no
20275 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20276 conftest
$ac_exeext conftest.
$ac_ext
20279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20280 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20281 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20284 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20288 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20289 #include <sys/socket.h>
20290 #ifdef HAVE_SYS_UN_H
20291 # include <sys/un.h>
20294 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20297 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20301 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20302 #include <sys/socket.h>
20303 #ifdef HAVE_SYS_UN_H
20304 # include <sys/un.h>
20307 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20310 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20316 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20317 #ifdef HAVE_SCSI_SG_H
20318 #include <scsi/sg.h>
20321 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20324 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20328 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>
20329 #ifdef HAVE_SCSI_SG_H
20330 #include <scsi/sg.h>
20333 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20336 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20342 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20344 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20347 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20353 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20354 #ifdef HAVE_SYS_MTIO_H
20355 #include <sys/mtio.h>
20358 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20361 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20365 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20366 #ifdef HAVE_SYS_MTIO_H
20367 #include <sys/mtio.h>
20370 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20373 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20377 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20378 #ifdef HAVE_SYS_MTIO_H
20379 #include <sys/mtio.h>
20382 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20385 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20391 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20392 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20395 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20399 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20400 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20403 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20407 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20408 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20411 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20415 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20416 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20419 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20423 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20424 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20427 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20431 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20432 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20435 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20439 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20440 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20443 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20447 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20448 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20451 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20455 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20456 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20459 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20463 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20464 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20467 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20471 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20472 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20475 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20481 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>
20482 #ifdef HAVE_NETINET_IN_H
20483 #include <netinet/in.h>
20486 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20489 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20495 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
20496 #include <resolv.h>
20499 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20502 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20508 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20509 #include <netinet/in.h>
20512 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20515 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20521 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20522 #ifdef HAVE_SYS_SOCKETVAR_H
20523 #include <sys/socketvar.h>
20525 #ifdef HAVE_NETINET_IN_H
20526 #include <netinet/in.h>
20528 #ifdef HAVE_NETINET_IP_VAR_H
20529 #include <netinet/ip_var.h>
20532 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20535 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20541 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
20542 #include <netinet/ip_var.h>
20545 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20548 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20554 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20555 #ifdef HAVE_SYS_SOCKETVAR_H
20556 #include <sys/socketvar.h>
20558 #ifdef HAVE_NETINET_IN_H
20559 #include <netinet/in.h>
20561 #ifdef HAVE_NETINET6_IP6_VAR_H
20562 #include <netinet6/ip6_var.h>
20565 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20568 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20574 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#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_NETINET_IP_H
20582 #include <netinet/ip.h>
20584 #ifdef HAVE_NETINET_IP_ICMP_H
20585 #include <netinet/ip_icmp.h>
20587 #ifdef HAVE_NETINET_ICMP_VAR_H
20588 #include <netinet/icmp_var.h>
20591 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20594 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20600 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20601 #ifdef HAVE_SYS_SOCKETVAR_H
20602 #include <sys/socketvar.h>
20604 #ifdef HAVE_NETINET_IN_H
20605 #include <netinet/in.h>
20607 #ifdef HAVE_NETINET_ICMP6_H
20608 #include <netinet/icmp6.h>
20611 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20614 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20620 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#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_TCP_H
20628 #include <netinet/tcp.h>
20630 #ifdef HAVE_NETINET_TCP_VAR_H
20631 #include <netinet/tcp_var.h>
20634 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20637 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20643 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
20644 #include <netinet/tcp_var.h>
20647 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20650 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20656 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20657 #ifdef HAVE_NETINET_IN_H
20658 #include <netinet/in.h>
20660 #ifdef HAVE_NETINET_IP_VAR_H
20661 #include <netinet/ip_var.h>
20663 #ifdef HAVE_NETINET_UDP_H
20664 #include <netinet/udp.h>
20666 #ifdef HAVE_NETINET_UDP_VAR_H
20667 #include <netinet/udp_var.h>
20670 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20673 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20679 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20680 #ifdef HAVE_NET_IF_H
20681 # include <net/if.h>
20684 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20687 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20693 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20694 # include <sys/sysinfo.h>
20697 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20700 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20704 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20705 # include <sys/sysinfo.h>
20708 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20711 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20717 LIBS
="$ac_save_LIBS"
20719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20720 printf %s
"checking for __builtin_popcount... " >&6; }
20721 if test ${ac_cv_have___builtin_popcount+y}
20723 printf %s
"(cached) " >&6
20725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20731 return __builtin_popcount(1)
20736 if ac_fn_c_try_link
"$LINENO"
20738 ac_cv_have___builtin_popcount
="yes"
20740 ac_cv_have___builtin_popcount
="no"
20742 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20743 conftest
$ac_exeext conftest.
$ac_ext
20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20746 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20747 if test "$ac_cv_have___builtin_popcount" = "yes"
20750 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20755 printf %s
"checking for __clear_cache... " >&6; }
20756 if test ${ac_cv_have___clear_cache+y}
20758 printf %s
"(cached) " >&6
20760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h. */
20766 __clear_cache((void*)0, (void*)0); return 0;
20771 if ac_fn_c_try_link
"$LINENO"
20773 ac_cv_have___clear_cache
="yes"
20775 ac_cv_have___clear_cache
="no"
20777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20778 conftest
$ac_exeext conftest.
$ac_ext
20780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20781 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20782 if test "$ac_cv_have___clear_cache" = "yes"
20785 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20791 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20792 printf %s
"checking whether we need to define __i386__... " >&6; }
20793 if test ${ac_cv_cpp_def___i386__+y}
20795 printf %s
"(cached) " >&6
20797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20798 /* end confdefs.h. */
20803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20804 $EGREP "yes" >/dev
/null
2>&1
20806 ac_cv_cpp_def___i386__
=yes
20808 ac_cv_cpp_def___i386__
=no
20813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20814 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20815 if test "x$ac_cv_cpp_def___i386__" = xyes
20817 CFLAGS
="$CFLAGS -D__i386__"
20818 LINTFLAGS
="$LINTFLAGS -D__i386__"
20820 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20821 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20822 if test ${ac_cv_cpp_def___x86_64__+y}
20824 printf %s
"(cached) " >&6
20826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20833 $EGREP "yes" >/dev
/null
2>&1
20835 ac_cv_cpp_def___x86_64__
=yes
20837 ac_cv_cpp_def___x86_64__
=no
20842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20843 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20844 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20846 CFLAGS
="$CFLAGS -D__x86_64__"
20847 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20849 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20850 printf %s
"checking whether we need to define __sparc64__... " >&6; }
20851 if test ${ac_cv_cpp_def___sparc64__+y}
20853 printf %s
"(cached) " >&6
20855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20857 #ifndef __sparc64__
20861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20862 $EGREP "yes" >/dev
/null
2>&1
20864 ac_cv_cpp_def___sparc64__
=yes
20866 ac_cv_cpp_def___sparc64__
=no
20871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20872 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20873 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20875 CFLAGS
="$CFLAGS -D__sparc64__"
20876 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
20878 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20879 printf %s
"checking whether we need to define __sparc__... " >&6; }
20880 if test ${ac_cv_cpp_def___sparc__+y}
20882 printf %s
"(cached) " >&6
20884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20885 /* end confdefs.h. */
20890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20891 $EGREP "yes" >/dev
/null
2>&1
20893 ac_cv_cpp_def___sparc__
=yes
20895 ac_cv_cpp_def___sparc__
=no
20900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20901 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20902 if test "x$ac_cv_cpp_def___sparc__" = xyes
20904 CFLAGS
="$CFLAGS -D__sparc__"
20905 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20907 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20908 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
20909 if test ${ac_cv_cpp_def___powerpc64__+y}
20911 printf %s
"(cached) " >&6
20913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20915 #ifndef __powerpc64__
20919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20920 $EGREP "yes" >/dev
/null
2>&1
20922 ac_cv_cpp_def___powerpc64__
=yes
20924 ac_cv_cpp_def___powerpc64__
=no
20929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20930 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20931 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20933 CFLAGS
="$CFLAGS -D__powerpc64__"
20934 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
20936 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20937 printf %s
"checking whether we need to define __powerpc__... " >&6; }
20938 if test ${ac_cv_cpp_def___powerpc__+y}
20940 printf %s
"(cached) " >&6
20942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20944 #ifndef __powerpc__
20948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20949 $EGREP "yes" >/dev
/null
2>&1
20951 ac_cv_cpp_def___powerpc__
=yes
20953 ac_cv_cpp_def___powerpc__
=no
20958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20959 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20960 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20962 CFLAGS
="$CFLAGS -D__powerpc__"
20963 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20965 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20966 printf %s
"checking whether we need to define __aarch64__... " >&6; }
20967 if test ${ac_cv_cpp_def___aarch64__+y}
20969 printf %s
"(cached) " >&6
20971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20973 #ifndef __aarch64__
20977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20978 $EGREP "yes" >/dev
/null
2>&1
20980 ac_cv_cpp_def___aarch64__
=yes
20982 ac_cv_cpp_def___aarch64__
=no
20987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20988 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20989 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20991 CFLAGS
="$CFLAGS -D__aarch64__"
20992 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
20994 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20995 printf %s
"checking whether we need to define __arm__... " >&6; }
20996 if test ${ac_cv_cpp_def___arm__+y}
20998 printf %s
"(cached) " >&6
21000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21007 $EGREP "yes" >/dev
/null
2>&1
21009 ac_cv_cpp_def___arm__
=yes
21011 ac_cv_cpp_def___arm__
=no
21016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21017 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21018 if test "x$ac_cv_cpp_def___arm__" = xyes
21020 CFLAGS
="$CFLAGS -D__arm__"
21021 LINTFLAGS
="$LINTFLAGS -D__arm__"
21025 case $host_vendor in
21026 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21027 printf %s
"checking whether we need to define __sun__... " >&6; }
21028 if test ${ac_cv_cpp_def___sun__+y}
21030 printf %s
"(cached) " >&6
21032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21039 $EGREP "yes" >/dev
/null
2>&1
21041 ac_cv_cpp_def___sun__
=yes
21043 ac_cv_cpp_def___sun__
=no
21048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21049 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21050 if test "x$ac_cv_cpp_def___sun__" = xyes
21052 CFLAGS
="$CFLAGS -D__sun__"
21053 LINTFLAGS
="$LINTFLAGS -D__sun__"
21061 ac_config_commands
="$ac_config_commands include/stamp-h"
21063 printf %s
"creating Makefile rules..." >&6
21066 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21069 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21071 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21072 wine_fn_config_symlink wine
21073 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21074 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21075 wine_fn_config_symlink wine64
21078 wine_fn_config_makefile dlls
/acledit enable_acledit
21079 wine_fn_config_makefile dlls
/aclui enable_aclui
21080 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21081 wine_fn_config_makefile dlls
/activeds enable_activeds
21082 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21083 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21084 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21085 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21086 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21087 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21088 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21089 wine_fn_config_makefile dlls
/advpack enable_advpack
21090 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21091 wine_fn_config_makefile dlls
/amsi enable_amsi
21092 wine_fn_config_makefile dlls
/amstream enable_amstream
21093 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21094 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21095 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21096 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21097 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21098 wine_fn_config_makefile dlls
/atl enable_atl
21099 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21100 wine_fn_config_makefile dlls
/atl100 enable_atl100
21101 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21102 wine_fn_config_makefile dlls
/atl110 enable_atl110
21103 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21104 wine_fn_config_makefile dlls
/atl80 enable_atl80
21105 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21106 wine_fn_config_makefile dlls
/atl90 enable_atl90
21107 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21108 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21109 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21110 wine_fn_config_makefile dlls
/authz enable_authz
21111 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21112 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21113 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21114 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21115 wine_fn_config_makefile dlls
/avrt enable_avrt
21116 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21117 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21118 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21119 wine_fn_config_makefile dlls
/browseui enable_browseui
21120 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21121 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21122 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21123 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21124 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21125 wine_fn_config_makefile dlls
/cards enable_cards
21126 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21127 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21128 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21129 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21130 wine_fn_config_makefile dlls
/combase enable_combase
21131 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21132 wine_fn_config_makefile dlls
/comcat enable_comcat
21133 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21134 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21135 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21136 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21137 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21138 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21139 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21140 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21141 wine_fn_config_makefile dlls
/compstui enable_compstui
21142 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21143 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21144 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21145 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21146 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21147 wine_fn_config_makefile dlls
/connect enable_connect
21148 wine_fn_config_makefile dlls
/credui enable_credui
21149 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21150 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21151 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21152 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21153 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21154 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21155 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21156 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21157 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21158 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21159 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21160 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21161 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21162 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21163 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21164 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21165 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21166 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21167 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21168 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21169 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21170 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21171 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21172 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21173 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21174 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21175 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21176 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21177 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21178 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21179 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21180 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21181 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21182 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21183 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21184 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21185 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21186 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21187 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21188 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21189 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21190 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21191 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21192 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21193 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21194 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21195 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21196 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21197 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21198 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21199 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21200 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21201 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21202 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21203 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21204 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21205 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21206 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21207 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21208 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21209 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21210 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21211 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21212 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21213 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21214 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21215 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21216 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21217 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21218 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21219 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21220 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21221 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21222 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21223 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21224 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21225 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21226 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21227 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21228 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21229 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21230 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21231 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21232 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21233 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21234 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21235 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21236 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21237 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21238 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21239 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21240 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21241 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21242 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21243 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21244 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21245 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21246 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21247 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21248 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21249 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21250 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21251 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21252 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21253 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21254 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21255 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21256 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21257 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21258 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21259 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21260 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21261 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21262 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21263 wine_fn_config_makefile dlls
/devenum enable_devenum
21264 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21265 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21266 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21267 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21268 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21269 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21270 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21271 wine_fn_config_makefile dlls
/dinput enable_dinput
21272 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21273 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21274 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21275 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21276 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21277 wine_fn_config_makefile dlls
/dispex enable_dispex
21278 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21279 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21280 wine_fn_config_makefile dlls
/dmband enable_dmband
21281 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21282 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21283 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21284 wine_fn_config_makefile dlls
/dmime enable_dmime
21285 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21286 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21287 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21288 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21289 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21290 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21291 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21292 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21293 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21294 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21295 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21296 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21297 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21298 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21299 wine_fn_config_makefile dlls
/dplay enable_dplay
21300 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21301 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21302 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21303 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21304 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21305 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21306 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21307 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21308 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21309 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21310 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21311 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21312 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21313 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21314 wine_fn_config_makefile dlls
/dsound enable_dsound
21315 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21316 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21317 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21318 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21319 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21320 wine_fn_config_makefile dlls
/dswave enable_dswave
21321 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21322 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21323 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21324 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21325 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21326 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21327 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21328 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21329 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21330 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21331 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21332 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21333 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21334 wine_fn_config_makefile dlls
/esent enable_esent
21335 wine_fn_config_makefile dlls
/evr enable_evr
21336 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21337 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21338 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21339 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21340 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21341 wine_fn_config_makefile dlls
/feclient enable_feclient
21342 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21343 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21344 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21345 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21346 wine_fn_config_makefile dlls
/fusion enable_fusion
21347 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21348 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21349 wine_fn_config_makefile dlls
/gameux enable_gameux
21350 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21351 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21352 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21353 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21354 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21355 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21356 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21357 wine_fn_config_makefile dlls
/glu32 enable_glu32
21358 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21359 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21360 wine_fn_config_makefile dlls
/hal enable_hal
21361 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21362 wine_fn_config_makefile dlls
/hid enable_hid
21363 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21364 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21365 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21366 wine_fn_config_makefile dlls
/hlink enable_hlink
21367 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21368 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21369 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21370 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21371 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21372 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21373 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21374 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21375 wine_fn_config_makefile dlls
/icmp enable_icmp
21376 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21377 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21378 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21379 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21380 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21381 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21382 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21383 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21384 wine_fn_config_makefile dlls
/imm32 enable_imm32
21385 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21386 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21387 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21388 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21389 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21390 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21391 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21392 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21393 wine_fn_config_makefile dlls
/initpki enable_initpki
21394 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21395 wine_fn_config_makefile dlls
/inseng enable_inseng
21396 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21397 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21398 wine_fn_config_makefile dlls
/iprop enable_iprop
21399 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21400 wine_fn_config_makefile dlls
/itircl enable_itircl
21401 wine_fn_config_makefile dlls
/itss enable_itss
21402 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21403 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21404 wine_fn_config_makefile dlls
/jscript enable_jscript
21405 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21406 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21407 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21408 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21409 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21410 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21411 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21412 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21413 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21414 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21415 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21416 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21417 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21418 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21419 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21420 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21421 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21422 wine_fn_config_makefile dlls
/localspl enable_localspl
21423 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21424 wine_fn_config_makefile dlls
/localui enable_localui
21425 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21426 wine_fn_config_makefile dlls
/lz32 enable_lz32
21427 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21428 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21429 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21430 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21431 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21432 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21433 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21434 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21435 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21436 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21437 wine_fn_config_makefile dlls
/mf enable_mf
21438 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21439 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21440 wine_fn_config_makefile dlls
/mferror enable_mferror
21441 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21442 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21443 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21444 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21445 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21446 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21447 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21448 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21449 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21450 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21451 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21452 wine_fn_config_makefile dlls
/midimap enable_midimap
21453 wine_fn_config_makefile dlls
/mlang enable_mlang
21454 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21455 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21456 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21457 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21458 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21459 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21460 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21461 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21462 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21463 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21464 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21465 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21466 wine_fn_config_makefile dlls
/mpr enable_mpr
21467 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21468 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21469 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21470 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21471 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21472 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21473 wine_fn_config_makefile dlls
/msado15 enable_msado15
21474 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21475 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21476 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21477 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21478 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21479 wine_fn_config_makefile dlls
/mscms enable_mscms
21480 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21481 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21482 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21483 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21484 wine_fn_config_makefile dlls
/msctf enable_msctf
21485 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21486 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21487 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21488 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21489 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21490 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21491 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21492 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21493 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21494 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21495 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21496 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21497 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21498 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21499 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21500 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21501 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21502 wine_fn_config_makefile dlls
/msi enable_msi
21503 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21504 wine_fn_config_makefile dlls
/msident enable_msident
21505 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21506 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21507 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21508 wine_fn_config_makefile dlls
/msisip enable_msisip
21509 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21510 wine_fn_config_makefile dlls
/msls31 enable_msls31
21511 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21512 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21513 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21514 wine_fn_config_makefile dlls
/msports enable_msports
21515 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21516 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21517 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21518 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21519 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21520 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21521 wine_fn_config_makefile dlls
/mstask enable_mstask
21522 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21523 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21524 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21525 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21526 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21527 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21528 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21529 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21530 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21531 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21532 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21533 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21534 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21535 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21536 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21537 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21538 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21539 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21540 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21541 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21542 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21543 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21544 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21545 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21546 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21547 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21548 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21549 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21550 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21551 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21552 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21553 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21554 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21555 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21556 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21557 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21558 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21559 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21560 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21561 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21562 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21563 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21564 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21565 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21566 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21567 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21568 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21569 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21570 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21571 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21572 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21573 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21574 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21575 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21576 wine_fn_config_makefile dlls
/msxml enable_msxml
21577 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21578 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21579 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21580 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21581 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21582 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21583 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21584 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21585 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21586 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21587 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21588 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21589 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21590 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21591 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21592 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21593 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21594 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21595 wine_fn_config_makefile dlls
/netutils enable_netutils
21596 wine_fn_config_makefile dlls
/newdev enable_newdev
21597 wine_fn_config_makefile dlls
/ninput enable_ninput
21598 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21599 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21600 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21601 wine_fn_config_makefile dlls
/npptools enable_npptools
21602 wine_fn_config_makefile dlls
/nsi enable_nsi
21603 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21604 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21605 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21606 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21607 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21608 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21609 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21610 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21611 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21612 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21613 wine_fn_config_makefile dlls
/objsel enable_objsel
21614 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21615 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21616 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21617 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21618 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21619 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21620 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21621 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21622 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21623 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21624 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21625 wine_fn_config_makefile dlls
/ole32 enable_ole32
21626 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21627 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21628 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21629 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21630 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21631 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21632 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21633 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21634 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21635 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21636 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21637 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21638 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21639 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21640 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21641 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21642 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21643 wine_fn_config_makefile dlls
/opencl enable_opencl
21644 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21645 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21646 wine_fn_config_makefile dlls
/packager enable_packager
21647 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21648 wine_fn_config_makefile dlls
/pdh enable_pdh
21649 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21650 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21651 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21652 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21653 wine_fn_config_makefile dlls
/printui enable_printui
21654 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21655 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21656 wine_fn_config_makefile dlls
/propsys enable_propsys
21657 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21658 wine_fn_config_makefile dlls
/psapi enable_psapi
21659 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21660 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21661 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21662 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21663 wine_fn_config_makefile dlls
/qasf enable_qasf
21664 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21665 wine_fn_config_makefile dlls
/qcap enable_qcap
21666 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21667 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21668 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21669 wine_fn_config_makefile dlls
/qedit enable_qedit
21670 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21671 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21672 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21673 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21674 wine_fn_config_makefile dlls
/quartz enable_quartz
21675 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21676 wine_fn_config_makefile dlls
/query enable_query
21677 wine_fn_config_makefile dlls
/qwave enable_qwave
21678 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21679 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21680 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21681 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21682 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21683 wine_fn_config_makefile dlls
/regapi enable_regapi
21684 wine_fn_config_makefile dlls
/resutils enable_resutils
21685 wine_fn_config_makefile dlls
/riched20 enable_riched20
21686 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21687 wine_fn_config_makefile dlls
/riched32 enable_riched32
21688 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21689 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21690 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21691 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21692 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21693 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21694 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21695 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21696 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21697 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21698 wine_fn_config_makefile dlls
/samlib enable_samlib
21699 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21700 wine_fn_config_makefile dlls
/sapi enable_sapi
21701 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21702 wine_fn_config_makefile dlls
/sas enable_sas
21703 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21704 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21705 wine_fn_config_makefile dlls
/schannel enable_schannel
21706 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21707 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21708 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21709 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21710 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21711 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21712 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21713 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21714 wine_fn_config_makefile dlls
/sechost enable_sechost
21715 wine_fn_config_makefile dlls
/secur32 enable_secur32
21716 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21717 wine_fn_config_makefile dlls
/security enable_security
21718 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21719 wine_fn_config_makefile dlls
/serialui enable_serialui
21720 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21721 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21722 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21723 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21724 wine_fn_config_makefile dlls
/sfc enable_sfc
21725 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21726 wine_fn_config_makefile dlls
/shcore enable_shcore
21727 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21728 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21729 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21730 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21731 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21732 wine_fn_config_makefile dlls
/shell32 enable_shell32
21733 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21734 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21735 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21736 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21737 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21738 wine_fn_config_makefile dlls
/slc enable_slc
21739 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21740 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21741 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21742 wine_fn_config_makefile dlls
/softpub enable_softpub
21743 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21744 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21745 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21746 wine_fn_config_makefile dlls
/sppc enable_sppc
21747 wine_fn_config_makefile dlls
/srclient enable_srclient
21748 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21749 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21750 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21751 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21752 wine_fn_config_makefile dlls
/sti enable_sti
21753 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21754 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21755 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21756 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21757 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21758 wine_fn_config_makefile dlls
/sxs enable_sxs
21759 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21760 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21761 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21762 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21763 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21764 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21765 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21766 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21767 wine_fn_config_makefile dlls
/tbs enable_tbs
21768 wine_fn_config_makefile dlls
/tdh enable_tdh
21769 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21770 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21771 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21772 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21773 wine_fn_config_makefile dlls
/traffic enable_traffic
21774 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21775 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21776 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21777 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21778 wine_fn_config_makefile dlls
/tzres enable_tzres
21779 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21780 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21781 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21782 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21783 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21784 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21785 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21786 wine_fn_config_makefile dlls
/unicows enable_unicows
21787 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21788 wine_fn_config_makefile dlls
/url enable_url
21789 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21790 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21791 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21792 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21793 wine_fn_config_makefile dlls
/user32 enable_user32
21794 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21795 wine_fn_config_makefile dlls
/userenv enable_userenv
21796 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21797 wine_fn_config_makefile dlls
/usp10 enable_usp10
21798 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21799 wine_fn_config_makefile dlls
/utildll enable_utildll
21800 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21801 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21802 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21803 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21804 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21805 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21806 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21807 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21808 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21809 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21810 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21811 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21812 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21813 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21814 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21815 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21816 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21817 wine_fn_config_makefile dlls
/version enable_version
21818 wine_fn_config_makefile dlls
/version
/tests enable_tests
21819 wine_fn_config_makefile dlls
/vga enable_vga
21820 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21821 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21822 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21823 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21824 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21825 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21826 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21827 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21828 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21829 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21830 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21831 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21832 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21833 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21834 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21835 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21836 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21837 wine_fn_config_makefile dlls
/webservices enable_webservices
21838 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21839 wine_fn_config_makefile dlls
/websocket enable_websocket
21840 wine_fn_config_makefile dlls
/wer enable_wer
21841 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21842 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21843 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21844 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21845 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21846 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21847 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21848 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21849 wine_fn_config_makefile dlls
/win32u enable_win32u
21850 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
21851 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
21852 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
21853 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
21854 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
21855 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
21856 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
21857 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
21858 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21859 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
21860 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
21861 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
21862 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
21863 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
21864 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
21865 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
21866 wine_fn_config_makefile dlls
/windows.media enable_windows_media
21867 wine_fn_config_makefile dlls
/windows.media
/tests enable_tests
21868 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
21869 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
21870 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
21871 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
21872 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
21873 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
21874 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
21875 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
21876 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
21877 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
21878 wine_fn_config_makefile dlls
/wined3d enable_wined3d
21879 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
21880 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
21881 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
21882 wine_fn_config_makefile dlls
/winemapi enable_winemapi
21883 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
21884 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
21885 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
21886 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
21887 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
21888 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
21889 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
21890 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
21891 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
21892 wine_fn_config_makefile dlls
/wing32 enable_wing32
21893 wine_fn_config_makefile dlls
/winhttp enable_winhttp
21894 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
21895 wine_fn_config_makefile dlls
/wininet enable_wininet
21896 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
21897 wine_fn_config_makefile dlls
/winmm enable_winmm
21898 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
21899 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
21900 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
21901 wine_fn_config_makefile dlls
/winprint enable_winprint
21902 wine_fn_config_makefile dlls
/winscard enable_winscard
21903 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
21904 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
21905 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
21906 wine_fn_config_makefile dlls
/winsta enable_winsta
21907 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
21908 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
21909 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
21910 wine_fn_config_makefile dlls
/wintrust enable_wintrust
21911 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
21912 wine_fn_config_makefile dlls
/wintypes enable_wintypes
21913 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
21914 wine_fn_config_makefile dlls
/winusb enable_winusb
21915 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
21916 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
21917 wine_fn_config_makefile dlls
/wlanui enable_wlanui
21918 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
21919 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
21920 wine_fn_config_makefile dlls
/wmasf enable_wmasf
21921 wine_fn_config_makefile dlls
/wmi enable_wmi
21922 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
21923 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
21924 wine_fn_config_makefile dlls
/wmp enable_wmp
21925 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
21926 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
21927 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
21928 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
21929 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
21930 wine_fn_config_makefile dlls
/wow32 enable_win16
21931 wine_fn_config_makefile dlls
/wow64 enable_wow64
21932 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
21933 wine_fn_config_makefile dlls
/wow64win enable_wow64win
21934 wine_fn_config_makefile dlls
/wpc enable_wpc
21935 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
21936 wine_fn_config_makefile dlls
/wpcap enable_wpcap
21937 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
21938 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
21939 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
21940 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
21941 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
21942 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
21943 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
21944 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
21945 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
21946 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
21947 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
21948 wine_fn_config_makefile dlls
/wuapi enable_wuapi
21949 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
21950 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
21951 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
21952 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
21953 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
21954 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
21955 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
21956 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
21957 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
21958 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
21959 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
21960 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
21961 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
21962 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
21963 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
21964 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
21965 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
21966 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
21967 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
21968 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
21969 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
21970 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
21971 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
21972 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
21973 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
21974 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
21975 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
21976 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
21977 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
21978 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
21979 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
21980 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
21981 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
21982 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
21983 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
21984 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
21985 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
21986 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
21987 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
21988 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
21989 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
21990 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
21991 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
21992 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
21993 wine_fn_config_makefile dlls
/xinputuap enable_xinputuap
21994 wine_fn_config_makefile dlls
/xmllite enable_xmllite
21995 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
21996 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
21997 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
21998 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
21999 wine_fn_config_makefile fonts enable_fonts
22000 wine_fn_config_makefile include enable_include
22001 wine_fn_config_makefile libs
/adsiid enable_adsiid
22002 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22003 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22004 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22005 wine_fn_config_makefile libs
/dxguid enable_dxguid
22006 wine_fn_config_makefile libs
/faudio enable_faudio
22007 wine_fn_config_makefile libs
/gsm enable_gsm
22008 wine_fn_config_makefile libs
/jpeg enable_jpeg
22009 wine_fn_config_makefile libs
/jxr enable_jxr
22010 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22011 wine_fn_config_makefile libs
/ldap enable_ldap
22012 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22013 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22014 wine_fn_config_makefile libs
/png enable_png
22015 wine_fn_config_makefile libs
/strmbase enable_strmbase
22016 wine_fn_config_makefile libs
/strmiids enable_strmiids
22017 wine_fn_config_makefile libs
/tiff enable_tiff
22018 wine_fn_config_makefile libs
/uuid enable_uuid
22019 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22020 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22021 wine_fn_config_makefile libs
/wine enable_wine
22022 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22023 wine_fn_config_makefile libs
/xml2 enable_xml2
22024 wine_fn_config_makefile libs
/xslt enable_xslt
22025 wine_fn_config_makefile libs
/zlib enable_zlib
22026 wine_fn_config_makefile loader enable_loader
22027 wine_fn_config_makefile nls enable_nls
22028 wine_fn_config_makefile po enable_po
22029 wine_fn_config_makefile programs
/arp enable_arp
22030 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22031 wine_fn_config_makefile programs
/attrib enable_attrib
22032 wine_fn_config_makefile programs
/cabarc enable_cabarc
22033 wine_fn_config_makefile programs
/cacls enable_cacls
22034 wine_fn_config_makefile programs
/certutil enable_certutil
22035 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22036 wine_fn_config_makefile programs
/clock enable_clock
22037 wine_fn_config_makefile programs
/cmd enable_cmd
22038 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22039 wine_fn_config_makefile programs
/conhost enable_conhost
22040 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22041 wine_fn_config_makefile programs
/control enable_control
22042 wine_fn_config_makefile programs
/cscript enable_cscript
22043 wine_fn_config_makefile programs
/dism enable_dism
22044 wine_fn_config_makefile programs
/dllhost enable_dllhost
22045 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22046 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22047 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22048 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22049 wine_fn_config_makefile programs
/eject enable_eject
22050 wine_fn_config_makefile programs
/expand enable_expand
22051 wine_fn_config_makefile programs
/explorer enable_explorer
22052 wine_fn_config_makefile programs
/explorer
/tests enable_tests
22053 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22054 wine_fn_config_makefile programs
/fc enable_fc
22055 wine_fn_config_makefile programs
/find enable_find
22056 wine_fn_config_makefile programs
/find
/tests enable_tests
22057 wine_fn_config_makefile programs
/findstr enable_findstr
22058 wine_fn_config_makefile programs
/fsutil enable_fsutil
22059 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22060 wine_fn_config_makefile programs
/hh enable_hh
22061 wine_fn_config_makefile programs
/hostname enable_hostname
22062 wine_fn_config_makefile programs
/icacls enable_icacls
22063 wine_fn_config_makefile programs
/icinfo enable_icinfo
22064 wine_fn_config_makefile programs
/iexplore enable_iexplore
22065 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22066 wine_fn_config_makefile programs
/lodctr enable_lodctr
22067 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22068 wine_fn_config_makefile programs
/mshta enable_mshta
22069 wine_fn_config_makefile programs
/msidb enable_msidb
22070 wine_fn_config_makefile programs
/msiexec enable_msiexec
22071 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22072 wine_fn_config_makefile programs
/net enable_net
22073 wine_fn_config_makefile programs
/netsh enable_netsh
22074 wine_fn_config_makefile programs
/netstat enable_netstat
22075 wine_fn_config_makefile programs
/ngen enable_ngen
22076 wine_fn_config_makefile programs
/notepad enable_notepad
22077 wine_fn_config_makefile programs
/oleview enable_oleview
22078 wine_fn_config_makefile programs
/ping enable_ping
22079 wine_fn_config_makefile programs
/plugplay enable_plugplay
22080 wine_fn_config_makefile programs
/powershell enable_powershell
22081 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22082 wine_fn_config_makefile programs
/progman enable_progman
22083 wine_fn_config_makefile programs
/reg enable_reg
22084 wine_fn_config_makefile programs
/reg
/tests enable_tests
22085 wine_fn_config_makefile programs
/regasm enable_regasm
22086 wine_fn_config_makefile programs
/regedit enable_regedit
22087 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22088 wine_fn_config_makefile programs
/regini enable_regini
22089 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22090 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22091 wine_fn_config_makefile programs
/robocopy enable_robocopy
22092 wine_fn_config_makefile programs
/rpcss enable_rpcss
22093 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22094 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22095 wine_fn_config_makefile programs
/sc enable_sc
22096 wine_fn_config_makefile programs
/sc
/tests enable_tests
22097 wine_fn_config_makefile programs
/schtasks enable_schtasks
22098 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22099 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22100 wine_fn_config_makefile programs
/secedit enable_secedit
22101 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22102 wine_fn_config_makefile programs
/services enable_services
22103 wine_fn_config_makefile programs
/services
/tests enable_tests
22104 wine_fn_config_makefile programs
/setx enable_setx
22105 wine_fn_config_makefile programs
/shutdown enable_shutdown
22106 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22107 wine_fn_config_makefile programs
/start enable_start
22108 wine_fn_config_makefile programs
/subst enable_subst
22109 wine_fn_config_makefile programs
/svchost enable_svchost
22110 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22111 wine_fn_config_makefile programs
/taskkill enable_taskkill
22112 wine_fn_config_makefile programs
/tasklist enable_tasklist
22113 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22114 wine_fn_config_makefile programs
/termsv enable_termsv
22115 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22116 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22117 wine_fn_config_makefile programs
/view enable_view
22118 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22119 wine_fn_config_makefile programs
/where enable_where
22120 wine_fn_config_makefile programs
/whoami enable_whoami
22121 wine_fn_config_makefile programs
/wineboot enable_wineboot
22122 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22123 wine_fn_config_makefile programs
/winecfg enable_winecfg
22124 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22125 wine_fn_config_makefile programs
/winedbg enable_winedbg
22126 wine_fn_config_makefile programs
/winedevice enable_winedevice
22127 wine_fn_config_makefile programs
/winefile enable_winefile
22128 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22129 wine_fn_config_makefile programs
/winemine enable_winemine
22130 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22131 wine_fn_config_makefile programs
/winepath enable_winepath
22132 wine_fn_config_makefile programs
/winetest enable_winetest
22133 wine_fn_config_makefile programs
/winevdm enable_win16
22134 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22135 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22136 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22137 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22138 wine_fn_config_makefile programs
/winver enable_winver
22139 wine_fn_config_makefile programs
/wmic enable_wmic
22140 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22141 wine_fn_config_makefile programs
/wordpad enable_wordpad
22142 wine_fn_config_makefile programs
/write enable_write
22143 wine_fn_config_makefile programs
/wscript enable_wscript
22144 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22145 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22146 wine_fn_config_makefile programs
/wusa enable_wusa
22147 wine_fn_config_makefile programs
/xcopy enable_xcopy
22148 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22149 wine_fn_config_makefile server enable_server
22150 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22151 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22152 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22153 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22154 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22155 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22156 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22157 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22158 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22161 as_fn_append CONFIGURE_TARGETS
" TAGS"
22162 as_fn_append CONFIGURE_TARGETS
" tags"
22163 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22164 as_fn_append CONFIGURE_TARGETS
" config.log"
22165 as_fn_append CONFIGURE_TARGETS
" config.status"
22166 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22167 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22168 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22170 if test "x$enable_tools" != xno
22172 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22173 ac_config_commands
="$ac_config_commands tools/makedep"
22177 ac_config_commands
="$ac_config_commands Makefile"
22184 as_fn_append wine_rules
"
22186 @echo \"Wine build complete.\"
22190 Makefile: config.status \$(MAKEDEP)
22191 @./config.status Makefile
22192 depend: \$(MAKEDEP)
22193 \$(MAKEDEP)$makedep_flags"
22196 as_fn_append wine_rules
"
22197 config.status: ${wine_srcdir}configure
22198 @./config.status --recheck
22199 include/config.h: include/stamp-h
22200 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22201 @./config.status include/config.h include/stamp-h"
22203 if test "x$enable_maintainer_mode" = xyes
22205 as_fn_append wine_rules
"
22206 configure: configure.ac aclocal.m4
22207 autoconf --warnings=all
22208 include/config.h.in: include/stamp-h.in
22209 include/stamp-h.in: configure.ac aclocal.m4
22210 autoheader --warnings=all
22211 @echo timestamp > \$@"
22214 if test "x$enable_tools" != xno
22216 as_fn_append wine_rules
"
22217 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22218 @./config.status tools/makedep
22219 Makefile: tools/makedep$ac_exeext"
22221 as_fn_append wine_rules
"
22223 @echo \"You need to run make in $toolsdir first\" && false"
22227 if test -n "$with_wine64"
22229 case "$with_wine64" in
22233 rm -f fonts server
2>/dev
/null
22234 as_fn_append wine_rules
"
22235 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22236 loader/wine64 loader/wine64-preloader:
22237 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22238 $with_wine64/loader/wine:
22239 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22240 $with_wine64/loader/wine-preloader:
22241 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22243 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22245 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22246 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22250 programs/msidb/msidb \
22251 programs/msiexec/msiexec \
22252 programs/notepad/notepad \
22253 programs/regedit/regedit \
22254 programs/regsvr32/regsvr32 \
22255 programs/wineboot/wineboot \
22256 programs/winecfg/winecfg \
22257 programs/wineconsole/wineconsole \
22258 programs/winedbg/winedbg \
22259 programs/winefile/winefile \
22260 programs/winemine/winemine \
22261 programs/winepath/winepath \
22265 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22266 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22271 as_fn_append wine_rules
"
22273 rm -rf autom4te.cache
22275 rm -f configure include/config.h.in"
22278 as_fn_append wine_rules
"
22279 dlls/ntdll/unix/version.c: dummy
22280 @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)
22281 programs/winetest/build.rc: dummy
22282 @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)
22283 programs/winetest/build.nfo:
22285 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
22286 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22287 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22290 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22292 as_fn_append wine_rules
"
22295 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22298 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22300 .PHONY: depend dummy install-manpages"
22302 printf "%s\n" " done" >&6
22303 cat >confcache
<<\_ACEOF
22304 # This file is a shell script that caches the results of configure
22305 # tests run on this system so they can be shared between configure
22306 # scripts and configure runs, see configure's option --config-cache.
22307 # It is not useful on other systems. If it contains results you don't
22308 # want to keep, you may remove or edit it.
22310 # config.status only pays attention to the cache file if you give it
22311 # the --recheck option to rerun configure.
22313 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22315 # following values.
22319 # The following way of writing the cache mishandles newlines in values,
22320 # but we know of no workaround that is simple, portable, and efficient.
22321 # So, we kill variables containing newlines.
22322 # Ultrix sh set writes to stderr and can't be redirected directly,
22323 # and sets the high bit in the cache file unless we assign to the vars.
22325 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22326 eval ac_val
=\$
$ac_var
22330 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22331 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22334 _ | IFS | as_nl
) ;; #(
22335 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22336 *) { eval $ac_var=; unset $ac_var;} ;;
22342 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22343 *${as_nl}ac_space
=\
*)
22344 # `set' does not quote correctly, so add quotes: double-quote
22345 # substitution turns \\\\ into \\, and sed turns \\ into \.
22348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22351 # `set' quotes correctly as required by POSIX, so do not add quotes.
22352 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22361 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22363 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22365 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22366 if test -w "$cache_file"; then
22367 if test "x$cache_file" != "x/dev/null"; then
22368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22369 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22370 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22371 cat confcache
>"$cache_file"
22373 case $cache_file in #(
22375 mv -f confcache
"$cache_file"$$
&&
22376 mv -f "$cache_file"$$
"$cache_file" ;; #(
22378 mv -f confcache
"$cache_file" ;;
22383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22384 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22389 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22390 # Let make expand exec_prefix.
22391 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22393 DEFS
=-DHAVE_CONFIG_H
22398 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22399 # 1. Remove the extension, and $U if already installed.
22400 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22401 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22402 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22403 # will be set to the directory where LIBOBJS objects are built.
22404 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22405 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22407 LIBOBJS
=$ac_libobjs
22409 LTLIBOBJS
=$ac_ltlibobjs
22413 : "${CONFIG_STATUS=./config.status}"
22415 ac_clean_files_save
=$ac_clean_files
22416 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22418 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22420 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22422 # Generated by $as_me.
22423 # Run this file to recreate the current configuration.
22424 # Compiler output produced by configure, useful for debugging
22425 # configure, is in config.log if it exists.
22428 ac_cs_recheck=false
22431 SHELL=\${CONFIG_SHELL-$SHELL}
22434 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22435 ## -------------------- ##
22436 ## M4sh Initialization. ##
22437 ## -------------------- ##
22439 # Be more Bourne compatible
22440 DUALCASE
=1; export DUALCASE
# for MKS sh
22442 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22446 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22447 # is contrary to our usage. Disable this feature.
22448 alias -g '${1+"$@"}'='"$@"'
22449 setopt NO_GLOB_SUBST
22451 case `(set -o) 2>/dev/null` in #(
22461 # Reset variables that may have inherited troublesome values from
22464 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22465 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22466 # side effect of setting IFS to empty, thus disabling word splitting.)
22467 # Quoting is to prevent editors from complaining about space-tab.
22477 # Ensure predictable behavior from utilities with locale-dependent output.
22483 # We cannot yet rely on "unset" to work, but we need these variables
22484 # to be unset--not just set to an empty or harmless value--now, to
22485 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22486 # also avoids known problems related to "unset" and subshell syntax
22487 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22488 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22489 do eval test \
${$as_var+y} \
22490 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22493 # Ensure that fds 0, 1, and 2 are open.
22494 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22495 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22496 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22498 # The user is always right.
22499 if ${PATH_SEPARATOR+false} :; then
22501 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22502 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22508 # Find who we are. Look in the path if we contain no directory separator.
22511 *[\\/]* ) as_myself
=$0 ;;
22512 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22513 for as_dir
in $PATH
22516 case $as_dir in #(((
22519 *) as_dir
=$as_dir/ ;;
22521 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22527 # We did not find ourselves, most probably we were run as `sh COMMAND'
22528 # in which case we are not to be found in the path.
22529 if test "x$as_myself" = x
; then
22532 if test ! -f "$as_myself"; then
22533 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22539 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22540 # ----------------------------------------
22541 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22542 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22543 # script with STATUS, using 1 if that was 0.
22546 as_status
=$1; test $as_status -eq 0 && as_status
=1
22548 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22551 printf "%s\n" "$as_me: error: $2" >&2
22552 as_fn_exit
$as_status
22557 # as_fn_set_status STATUS
22558 # -----------------------
22559 # Set $? to STATUS, without forking.
22560 as_fn_set_status
()
22563 } # as_fn_set_status
22565 # as_fn_exit STATUS
22566 # -----------------
22567 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22571 as_fn_set_status
$1
22577 # Portably unset VAR.
22580 { eval $1=; unset $1;}
22582 as_unset
=as_fn_unset
22584 # as_fn_append VAR VALUE
22585 # ----------------------
22586 # Append the text in VALUE to the end of the definition contained in VAR. Take
22587 # advantage of any shell optimizations that allow amortized linear growth over
22588 # repeated appends, instead of the typical quadratic growth present in naive
22590 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22592 eval 'as_fn_append ()
22603 # as_fn_arith ARG...
22604 # ------------------
22605 # Perform arithmetic evaluation on the ARGs, and store the result in the
22606 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22607 # must be portable across $(()) and expr.
22608 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22610 eval 'as_fn_arith ()
22617 as_val
=`expr "$@" || test $? -eq 1`
22622 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22623 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22629 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22630 as_basename
=basename
22635 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22641 as_me
=`$as_basename -- "$0" ||
22642 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22643 X"$0" : 'X\(//\)$' \| \
22644 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22645 printf "%s\n" X/"$0" |
22646 sed '/^.*\/\([^/][^/]*\)\/*$/{
22660 # Avoid depending upon Character Ranges.
22661 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22662 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22663 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22664 as_cr_digits
='0123456789'
22665 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22668 # Determine whether it's possible to make 'echo' print without a newline.
22669 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22670 # for compatibility with existing Makefiles.
22671 ECHO_C
= ECHO_N
= ECHO_T
=
22672 case `echo -n x` in #(((((
22674 case `echo 'xy\c'` in
22675 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22677 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22684 # For backward compatibility with old third-party macros, we provide
22685 # the shell variables $as_echo and $as_echo_n. New code should use
22686 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22687 as_echo
='printf %s\n'
22688 as_echo_n
='printf %s'
22690 rm -f conf$$ conf$$.exe conf$$.
file
22691 if test -d conf$$.dir
; then
22692 rm -f conf$$.dir
/conf$$.
file
22695 mkdir conf$$.dir
2>/dev
/null
22697 if (echo >conf$$.
file) 2>/dev
/null
; then
22698 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22700 # ... but there are two gotchas:
22701 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22702 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22703 # In both cases, we have to default to `cp -pR'.
22704 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22706 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22714 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22715 rmdir conf$$.dir
2>/dev
/null
22720 # Create "$as_dir" as a directory, including parents if necessary.
22725 -*) as_dir
=.
/$as_dir;;
22727 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22731 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22732 *) as_qdir
=$as_dir;;
22734 as_dirs
="'$as_qdir' $as_dirs"
22735 as_dir
=`$as_dirname -- "$as_dir" ||
22736 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22737 X"$as_dir" : 'X\(//\)[^/]' \| \
22738 X"$as_dir" : 'X\(//\)$' \| \
22739 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22740 printf "%s\n" X"$as_dir" |
22741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22745 /^X\(\/\/\)[^/].*/{
22758 test -d "$as_dir" && break
22760 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22761 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22765 if mkdir
-p .
2>/dev
/null
; then
22766 as_mkdir_p
='mkdir -p "$as_dir"'
22768 test -d .
/-p && rmdir .
/-p
22773 # as_fn_executable_p FILE
22774 # -----------------------
22775 # Test if FILE is an executable regular file.
22776 as_fn_executable_p
()
22778 test -f "$1" && test -x "$1"
22779 } # as_fn_executable_p
22780 as_test_x
='test -x'
22781 as_executable_p
=as_fn_executable_p
22783 # Sed expression to map a string onto a valid CPP name.
22784 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22786 # Sed expression to map a string onto a valid variable name.
22787 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22791 ## ----------------------------------- ##
22792 ## Main body of $CONFIG_STATUS script. ##
22793 ## ----------------------------------- ##
22795 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22798 # Save the log message, to keep $0 and so on meaningful, and to
22799 # report actual input values of CONFIG_FILES etc. instead of their
22800 # values after options handling.
22802 This file was extended by Wine $as_me 7.22, which was
22803 generated by GNU Autoconf 2.71. Invocation command line was
22805 CONFIG_FILES = $CONFIG_FILES
22806 CONFIG_HEADERS = $CONFIG_HEADERS
22807 CONFIG_LINKS = $CONFIG_LINKS
22808 CONFIG_COMMANDS = $CONFIG_COMMANDS
22811 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22817 case $ac_config_headers in *"
22818 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22823 # Files that config.status was made for.
22824 config_headers="$ac_config_headers"
22825 config_links="$ac_config_links"
22826 config_commands="$ac_config_commands"
22830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22832 \`$as_me' instantiates files and other configuration actions
22833 from templates according to the current configuration. Unless the files
22834 and actions are specified as TAGs, all are instantiated by default.
22836 Usage: $0 [OPTION]... [TAG]...
22838 -h, --help print this help, then exit
22839 -V, --version print version number and configuration settings, then exit
22840 --config print configuration, then exit
22841 -q, --quiet, --silent
22842 do not print progress messages
22843 -d, --debug don't remove temporary files
22844 --recheck update $as_me by reconfiguring in the same conditions
22845 --header=FILE[:TEMPLATE]
22846 instantiate the configuration header FILE
22848 Configuration headers:
22851 Configuration links:
22854 Configuration commands:
22857 Report bugs to <wine-devel@winehq.org>.
22858 Wine home page: <https://www.winehq.org>."
22861 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22862 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22864 ac_cs_config='$ac_cs_config_escaped'
22866 Wine config.status 7.22
22867 configured by $0, generated by GNU Autoconf 2.71,
22868 with options \\"\$ac_cs_config\\"
22870 Copyright (C) 2021 Free Software Foundation, Inc.
22871 This config.status script is free software; the Free Software Foundation
22872 gives unlimited permission to copy, distribute and modify it."
22876 test -n "\$AWK" || AWK=awk
22879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22880 # The default lists apply if the user does not specify any file.
22886 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22887 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22891 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22903 # Handling of the options.
22904 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22906 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22907 printf "%s\n" "$ac_cs_version"; exit ;;
22908 --config |
--confi |
--conf |
--con |
--co |
--c )
22909 printf "%s\n" "$ac_cs_config"; exit ;;
22910 --debug |
--debu |
--deb |
--de |
--d |
-d )
22912 --header |
--heade |
--head |
--hea )
22915 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22917 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22918 ac_need_defaults
=false
;;
22920 # Conflict between --help and --header
22921 as_fn_error $?
"ambiguous option: \`$1'
22922 Try \`$0 --help' for more information.";;
22923 --help |
--hel |
-h )
22924 printf "%s\n" "$ac_cs_usage"; exit ;;
22925 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22926 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22929 # This is an error.
22930 -*) as_fn_error $?
"unrecognized option: \`$1'
22931 Try \`$0 --help' for more information." ;;
22933 *) as_fn_append ac_config_targets
" $1"
22934 ac_need_defaults
=false
;;
22940 ac_configure_extra_args
=
22942 if $ac_cs_silent; then
22944 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22949 if \$ac_cs_recheck; then
22950 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22952 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22953 CONFIG_SHELL='$SHELL'
22954 export CONFIG_SHELL
22959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22963 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22964 ## Running $as_me. ##
22966 printf "%s\n" "$ac_log"
22970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22974 wine_fn_output_makedep ()
22976 as_dir=tools; as_fn_mkdir_p
22977 $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
22979 wine_fn_output_makefile ()
22981 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22982 # This Makefile understands the following targets:
22984 # all (default): build wine
22985 # clean: remove all intermediate files
22986 # distclean: also remove all files created by configure
22988 # testclean: clean test results to force running all tests again
22989 # install-lib: install libraries needed to run applications
22990 # install-dev: install development environment
22991 # install: install everything
22992 # uninstall: uninstall everything
22993 # ctags: create a tags file for vim and others.
22994 # etags: create a TAGS file for Emacs.
22997 PATH_SEPARATOR = $PATH_SEPARATOR
22998 PACKAGE_NAME = $PACKAGE_NAME
22999 PACKAGE_TARNAME = $PACKAGE_TARNAME
23000 PACKAGE_VERSION = $PACKAGE_VERSION
23001 PACKAGE_STRING = $PACKAGE_STRING
23002 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23003 PACKAGE_URL = $PACKAGE_URL
23004 exec_prefix = $exec_prefix
23006 program_transform_name = $program_transform_name
23009 libexecdir = $libexecdir
23010 datarootdir = $datarootdir
23012 sysconfdir = $sysconfdir
23013 sharedstatedir = $sharedstatedir
23014 localstatedir = $localstatedir
23015 runstatedir = $runstatedir
23016 includedir = $includedir
23017 oldincludedir = $oldincludedir
23025 localedir = $localedir
23032 build_alias = $build_alias
23033 host_alias = $host_alias
23034 target_alias = $target_alias
23035 system_dllpath = $system_dllpath
23037 build_cpu = $build_cpu
23038 build_vendor = $build_vendor
23039 build_os = $build_os
23041 host_cpu = $host_cpu
23042 host_vendor = $host_vendor
23048 SET_MAKE = $SET_MAKE
23052 CPPFLAGS = $CPPFLAGS
23053 ac_ct_CC = $ac_ct_CC
23057 CXXFLAGS = $CXXFLAGS
23058 ac_ct_CXX = $ac_ct_CXX
23061 TARGETFLAGS = $TARGETFLAGS
23062 toolsext = $toolsext
23063 HOST_ARCH = $HOST_ARCH
23064 aarch64_CC = $aarch64_CC
23065 aarch64_CFLAGS = $aarch64_CFLAGS
23066 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23067 aarch64_LDFLAGS = $aarch64_LDFLAGS
23068 aarch64_DEBUG = $aarch64_DEBUG
23069 aarch64_TARGET = $aarch64_TARGET
23070 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23071 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23073 arm_CFLAGS = $arm_CFLAGS
23074 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23075 arm_LDFLAGS = $arm_LDFLAGS
23076 arm_DEBUG = $arm_DEBUG
23077 arm_TARGET = $arm_TARGET
23078 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23079 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23081 i386_CFLAGS = $i386_CFLAGS
23082 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23083 i386_LDFLAGS = $i386_LDFLAGS
23084 i386_DEBUG = $i386_DEBUG
23085 i386_TARGET = $i386_TARGET
23086 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23087 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23088 x86_64_CC = $x86_64_CC
23089 x86_64_CFLAGS = $x86_64_CFLAGS
23090 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23091 x86_64_LDFLAGS = $x86_64_LDFLAGS
23092 x86_64_DEBUG = $x86_64_DEBUG
23093 x86_64_TARGET = $x86_64_TARGET
23094 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23095 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23096 toolsdir = $toolsdir
23098 RUNTESTFLAGS = $RUNTESTFLAGS
23103 ac_ct_AR = $ac_ct_AR
23109 LDCONFIG = $LDCONFIG
23111 PKG_CONFIG = $PKG_CONFIG
23112 FONTFORGE = $FONTFORGE
23116 I386_LIBS = $I386_LIBS
23117 OPENGL_LIBS = $OPENGL_LIBS
23118 DLLFLAGS = $DLLFLAGS
23119 LDDLLFLAGS = $LDDLLFLAGS
23120 LDEXECFLAGS = $LDEXECFLAGS
23121 EXTRACFLAGS = $EXTRACFLAGS
23122 UNIXDLLFLAGS = $UNIXDLLFLAGS
23123 UNIXLDFLAGS = $UNIXLDFLAGS
23124 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23125 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23126 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23127 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23132 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23133 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23134 CARBON_LIBS = $CARBON_LIBS
23135 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23136 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23137 IOKIT_LIBS = $IOKIT_LIBS
23138 METAL_LIBS = $METAL_LIBS
23139 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23140 CORESERVICES_LIBS = $CORESERVICES_LIBS
23141 APPKIT_LIBS = $APPKIT_LIBS
23142 SECURITY_LIBS = $SECURITY_LIBS
23143 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23144 COREAUDIO_LIBS = $COREAUDIO_LIBS
23145 OPENCL_LIBS = $OPENCL_LIBS
23147 OBJCFLAGS = $OBJCFLAGS
23148 ac_ct_OBJC = $ac_ct_OBJC
23149 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23150 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23151 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23153 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23154 PE_ARCHS = $PE_ARCHS
23155 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23156 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23157 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23158 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23159 GSM_PE_LIBS = $GSM_PE_LIBS
23160 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23161 JPEG_PE_LIBS = $JPEG_PE_LIBS
23162 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23163 JXR_PE_LIBS = $JXR_PE_LIBS
23164 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23165 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23166 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23167 LDAP_PE_LIBS = $LDAP_PE_LIBS
23168 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23169 MPG123_PE_LIBS = $MPG123_PE_LIBS
23170 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23171 PNG_PE_LIBS = $PNG_PE_LIBS
23172 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23173 TIFF_PE_LIBS = $TIFF_PE_LIBS
23174 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23175 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23176 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23177 XML2_PE_LIBS = $XML2_PE_LIBS
23178 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23179 XSLT_PE_LIBS = $XSLT_PE_LIBS
23180 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23181 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23182 PTHREAD_LIBS = $PTHREAD_LIBS
23185 X_CFLAGS = $X_CFLAGS
23186 X_PRE_LIBS = $X_PRE_LIBS
23188 X_EXTRA_LIBS = $X_EXTRA_LIBS
23189 PCAP_LIBS = $PCAP_LIBS
23190 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23191 INOTIFY_LIBS = $INOTIFY_LIBS
23192 DBUS_CFLAGS = $DBUS_CFLAGS
23193 DBUS_LIBS = $DBUS_LIBS
23194 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23195 GNUTLS_LIBS = $GNUTLS_LIBS
23196 SANE_CFLAGS = $SANE_CFLAGS
23197 SANE_LIBS = $SANE_LIBS
23198 USB_CFLAGS = $USB_CFLAGS
23199 USB_LIBS = $USB_LIBS
23200 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23201 GPHOTO2_LIBS = $GPHOTO2_LIBS
23202 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23203 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23204 RESOLV_LIBS = $RESOLV_LIBS
23205 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23206 FREETYPE_LIBS = $FREETYPE_LIBS
23207 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23208 PULSE_CFLAGS = $PULSE_CFLAGS
23209 PULSE_LIBS = $PULSE_LIBS
23210 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23211 GSTREAMER_LIBS = $GSTREAMER_LIBS
23212 ALSA_LIBS = $ALSA_LIBS
23213 OSS4_CFLAGS = $OSS4_CFLAGS
23214 OSS4_LIBS = $OSS4_LIBS
23215 UDEV_CFLAGS = $UDEV_CFLAGS
23216 UDEV_LIBS = $UDEV_LIBS
23217 UNWIND_CFLAGS = $UNWIND_CFLAGS
23218 UNWIND_LIBS = $UNWIND_LIBS
23219 SDL2_CFLAGS = $SDL2_CFLAGS
23220 SDL2_LIBS = $SDL2_LIBS
23221 CAPI20_CFLAGS = $CAPI20_CFLAGS
23222 CAPI20_LIBS = $CAPI20_LIBS
23223 CUPS_CFLAGS = $CUPS_CFLAGS
23224 CUPS_LIBS = $CUPS_LIBS
23225 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23226 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23227 KRB5_CFLAGS = $KRB5_CFLAGS
23228 KRB5_LIBS = $KRB5_LIBS
23229 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23230 GSSAPI_LIBS = $GSSAPI_LIBS
23231 PROCSTAT_LIBS = $PROCSTAT_LIBS
23232 NETAPI_CFLAGS = $NETAPI_CFLAGS
23233 NETAPI_LIBS = $NETAPI_LIBS
23234 MSVCRTFLAGS = $MSVCRTFLAGS
23235 DELAYLOADFLAG = $DELAYLOADFLAG
23236 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23238 TAGSFLAGS = $TAGSFLAGS
23240 LTLIBOBJS = $LTLIBOBJS
23244 as_fn_error $? "could not create Makefile" "$LINENO" 5
23249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23251 # Handling of arguments.
23252 for ac_config_target
in $ac_config_targets
23254 case $ac_config_target in
23255 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23256 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23257 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23258 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23259 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23260 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23262 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23267 # If the user did not use the arguments to specify the items to instantiate,
23268 # then the envvar interface is used. Set only those that are not.
23269 # We use the long form for the default assignment because of an extremely
23270 # bizarre bug on SunOS 4.1.3.
23271 if $ac_need_defaults; then
23272 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23273 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23274 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23277 # Have a temporary directory for convenience. Make it in the build tree
23278 # simply because there is no reason against having it here, and in addition,
23279 # creating and moving files from /tmp can sometimes cause problems.
23280 # Hook for its removal unless debugging.
23281 # Note that there is a small window in which the directory will not be cleaned:
23282 # after its creation but before its name has been assigned to `$tmp'.
23286 trap 'exit_status=$?
23287 : "${ac_tmp:=$tmp}"
23288 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23290 trap 'as_fn_exit 1' 1 2 13 15
23292 # Create a (secure) tmp directory for tmp files.
23295 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23299 tmp
=.
/conf$$
-$RANDOM
23300 (umask 077 && mkdir
"$tmp")
23301 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23304 # Set up the scripts for CONFIG_HEADERS section.
23305 # No need to generate them if there are no CONFIG_HEADERS.
23306 # This happens for instance with `./config.status Makefile'.
23307 if test -n "$CONFIG_HEADERS"; then
23308 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23312 # Transform confdefs.h into an awk script `defines.awk', embedded as
23313 # here-document in config.status, that substitutes the proper values into
23314 # config.h.in to produce config.h.
23316 # Create a delimiter string that does not exist in confdefs.h, to ease
23317 # handling of long lines.
23319 for ac_last_try
in false false
:; do
23320 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23321 if test -z "$ac_tt"; then
23323 elif $ac_last_try; then
23324 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23326 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23330 # For the awk script, D is an array of macro values keyed by name,
23331 # likewise P contains macro parameters if any. Preserve backslash
23332 # newline sequences.
23334 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23336 s/.\{148\}/&'"$ac_delim"'/g
23339 s/^[ ]*#[ ]*define[ ][ ]*/ /
23346 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23348 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23352 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23353 D["\1"]=" \3\\\\\\n"\\/p
23355 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23360 s/.\{148\}/&'"$ac_delim"'/g
23365 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23368 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23370 ' <confdefs.h |
sed '
23371 s/'"$ac_delim"'/"\\\
23372 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23375 for (key in D) D_is_set[key] = 1
23378 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23380 split(line, arg, " ")
23381 if (arg[1] == "#") {
23385 defundef = substr(arg[1], 2)
23388 split(mac1, mac2, "(") #)
23390 prefix = substr(line, 1, index(line, defundef) - 1)
23391 if (D_is_set[macro]) {
23392 # Preserve the white space surrounding the "#".
23393 print prefix "define", macro P[macro] D[macro]
23396 # Replace #undef with comments. This is necessary, for example,
23397 # in the case of _POSIX_SOURCE, which is predefined and required
23398 # on some systems where configure will not decide to define it.
23399 if (defundef == "undef") {
23400 print "/*", prefix defundef, macro, "*/"
23408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23409 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23410 fi # test -n "$CONFIG_HEADERS"
23413 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23418 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23420 case $ac_mode$ac_tag in
23422 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23423 :[FH
]-) ac_tag
=-:-;;
23424 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23441 -) ac_f
="$ac_tmp/stdin";;
23442 *) # Look for the file first in the build tree, then in the source tree
23443 # (if the path is not absolute). The absolute path cannot be DOS-style,
23444 # because $ac_f cannot contain `:'.
23448 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23450 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23452 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23453 as_fn_append ac_file_inputs
" '$ac_f'"
23456 # Let's still pretend it is `configure' which instantiates (i.e., don't
23457 # use $as_me), people would be surprised to read:
23458 # /* config.h. Generated by config.status. */
23459 configure_input
='Generated from '`
23460 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23462 if test x
"$ac_file" != x-
; then
23463 configure_input
="$ac_file. $configure_input"
23464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23465 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23467 # Neutralize special characters interpreted by sed in replacement strings.
23468 case $configure_input in #(
23469 *\
&* |
*\|
* |
*\\* )
23470 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23471 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23472 *) ac_sed_conf_input
=$configure_input;;
23476 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23477 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23482 ac_dir
=`$as_dirname -- "$ac_file" ||
23483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23484 X"$ac_file" : 'X\(//\)[^/]' \| \
23485 X"$ac_file" : 'X\(//\)$' \| \
23486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23487 printf "%s\n" X"$ac_file" |
23488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23492 /^X\(\/\/\)[^/].*/{
23505 as_dir
="$ac_dir"; as_fn_mkdir_p
23509 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23511 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23512 # A ".." for each directory in $ac_dir_suffix.
23513 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23514 case $ac_top_builddir_sub in
23515 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23516 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23519 ac_abs_top_builddir
=$ac_pwd
23520 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23521 # for backward compatibility:
23522 ac_top_builddir
=$ac_top_build_prefix
23525 .
) # We are building in place.
23527 ac_top_srcdir
=$ac_top_builddir_sub
23528 ac_abs_top_srcdir
=$ac_pwd ;;
23529 [\\/]* | ?
:[\\/]* ) # Absolute name.
23530 ac_srcdir
=$srcdir$ac_dir_suffix;
23531 ac_top_srcdir
=$srcdir
23532 ac_abs_top_srcdir
=$srcdir ;;
23533 *) # Relative name.
23534 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23535 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23536 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23538 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23547 if test x
"$ac_file" != x-
; then
23549 printf "%s\n" "/* $configure_input */" >&1 \
23550 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23551 } >"$ac_tmp/config.h" \
23552 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23553 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23555 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23558 mv "$ac_tmp/config.h" "$ac_file" \
23559 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23562 printf "%s\n" "/* $configure_input */" >&1 \
23563 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23564 || as_fn_error $?
"could not create -" "$LINENO" 5
23572 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23575 # Prefer the file from the source tree if names are identical.
23576 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23577 ac_source
=$srcdir/$ac_source
23580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23581 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23583 if test ! -r "$ac_source"; then
23584 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23588 # Try a relative symlink, then a hard link, then a copy.
23590 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23591 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23593 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23594 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23595 cp -p "$ac_source" "$ac_file" ||
23596 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23599 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23600 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23605 case $ac_file$ac_mode in
23606 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23607 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23608 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23616 ac_clean_files
=$ac_clean_files_save
23618 test $ac_write_fail = 0 ||
23619 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23622 # configure is writing to config.log, and then calls config.status.
23623 # config.status does its own redirection, appending to config.log.
23624 # Unfortunately, on DOS this fails, as config.log is still kept open
23625 # by configure, so config.status won't be able to write to it; its
23626 # output is simply discarded. So we exec the FD to /dev/null,
23627 # effectively closing config.log, so it can be properly (re)opened and
23628 # appended to by config.status. When coming back to configure, we
23629 # need to make the FD available again.
23630 if test "$no_create" != yes; then
23632 ac_config_status_args
=
23633 test "$silent" = yes &&
23634 ac_config_status_args
="$ac_config_status_args --quiet"
23636 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23638 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23639 # would make configure fail if this is the last instruction.
23640 $ac_cs_success || as_fn_exit
1
23642 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23644 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23648 if test "$no_create" = "yes"
23654 if test "x$wine_notices" != x
; then
23657 for msg
in $wine_notices; do
23663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23664 printf "%s\n" "$as_me: $msg" >&6;}
23669 for msg
in $wine_warnings; do
23676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23677 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23683 $as_me: Finished. Do '${ac_make}' to compile Wine.