2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.21.
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.21'
615 PACKAGE_STRING
='Wine 7.21'
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
752 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
1022 enable_d3dcompiler_33
1023 enable_d3dcompiler_34
1024 enable_d3dcompiler_35
1025 enable_d3dcompiler_36
1026 enable_d3dcompiler_37
1027 enable_d3dcompiler_38
1028 enable_d3dcompiler_39
1029 enable_d3dcompiler_40
1030 enable_d3dcompiler_41
1031 enable_d3dcompiler_42
1032 enable_d3dcompiler_43
1033 enable_d3dcompiler_46
1034 enable_d3dcompiler_47
1087 enable_directmanipulation
1124 enable_explorerframe
1180 enable_light_msstyles
1195 enable_mfmediaengine
1258 enable_msvcp140_atomic_wait
1324 enable_photometadatahandler
1400 enable_threadpoolwinrt
1406 enable_uiautomationcore
1426 enable_vcruntime140_1
1444 enable_windows_devices_enumeration
1445 enable_windows_gaming_input
1446 enable_windows_gaming_ui_gamebar
1447 enable_windows_globalization
1448 enable_windows_media_devices
1449 enable_windows_media_speech
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
1513 enable_xactengine2_0
1514 enable_xactengine2_4
1515 enable_xactengine2_7
1516 enable_xactengine2_9
1517 enable_xactengine3_0
1518 enable_xactengine3_1
1519 enable_xactengine3_2
1520 enable_xactengine3_3
1521 enable_xactengine3_4
1522 enable_xactengine3_5
1523 enable_xactengine3_6
1524 enable_xactengine3_7
1571 enable_wmcodecdspuuid
1579 enable_aspnet_regiis
1625 enable_presentationfontcache
1640 enable_servicemodelreg
1666 enable_winemenubuilder
1668 enable_winemsibuilder
1693 ac_precious_vars
='build_alias
1774 # Initialize some variables set by options.
1776 ac_init_version
=false
1777 ac_unrecognized_opts
=
1778 ac_unrecognized_sep
=
1779 # The variables have the same names as the options, with
1780 # dashes changed to underlines.
1781 cache_file
=/dev
/null
1788 program_transform_name
=s
,x
,x
,
1796 # Installation directory options.
1797 # These are left unexpanded so users can "make install exec_prefix=/foo"
1798 # and all the variables that are supposed to be based on exec_prefix
1799 # by default will actually change.
1800 # Use braces instead of parens because sh, perl, etc. also accept them.
1801 # (The list follows the same order as the GNU Coding Standards.)
1802 bindir
='${exec_prefix}/bin'
1803 sbindir
='${exec_prefix}/sbin'
1804 libexecdir
='${exec_prefix}/libexec'
1805 datarootdir
='${prefix}/share'
1806 datadir
='${datarootdir}'
1807 sysconfdir
='${prefix}/etc'
1808 sharedstatedir
='${prefix}/com'
1809 localstatedir
='${prefix}/var'
1810 runstatedir
='${localstatedir}/run'
1811 includedir
='${prefix}/include'
1812 oldincludedir
='/usr/include'
1813 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1814 infodir
='${datarootdir}/info'
1819 libdir
='${exec_prefix}/lib'
1820 localedir
='${datarootdir}/locale'
1821 mandir
='${datarootdir}/man'
1827 # If the previous option needs an argument, assign it.
1828 if test -n "$ac_prev"; then
1829 eval $ac_prev=\
$ac_option
1835 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1840 case $ac_dashdash$ac_option in
1844 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1846 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1847 bindir
=$ac_optarg ;;
1849 -build |
--build |
--buil |
--bui |
--bu)
1850 ac_prev
=build_alias
;;
1851 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1852 build_alias
=$ac_optarg ;;
1854 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1855 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1856 ac_prev
=cache_file
;;
1857 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1858 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1859 cache_file
=$ac_optarg ;;
1861 --config-cache |
-C)
1862 cache_file
=config.cache
;;
1864 -datadir |
--datadir |
--datadi |
--datad)
1866 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1867 datadir
=$ac_optarg ;;
1869 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1870 |
--dataroo |
--dataro |
--datar)
1871 ac_prev
=datarootdir
;;
1872 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1873 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1874 datarootdir
=$ac_optarg ;;
1876 -disable-* |
--disable-*)
1877 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1878 # Reject names that are not valid shell variable names.
1879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1880 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1881 ac_useropt_orig
=$ac_useropt
1882 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1883 case $ac_user_opts in
1885 "enable_
$ac_useropt"
1887 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1888 ac_unrecognized_sep
=', ';;
1890 eval enable_
$ac_useropt=no
;;
1892 -docdir |
--docdir |
--docdi |
--doc |
--do)
1894 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1895 docdir
=$ac_optarg ;;
1897 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1899 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1900 dvidir
=$ac_optarg ;;
1902 -enable-* |
--enable-*)
1903 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1906 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1907 ac_useropt_orig
=$ac_useropt
1908 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "enable_
$ac_useropt"
1913 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1914 ac_unrecognized_sep
=', ';;
1916 eval enable_
$ac_useropt=\
$ac_optarg ;;
1918 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1919 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1920 |
--exec |
--exe |
--ex)
1921 ac_prev
=exec_prefix
;;
1922 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1923 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1924 |
--exec=* |
--exe=* |
--ex=*)
1925 exec_prefix
=$ac_optarg ;;
1927 -gas |
--gas |
--ga |
--g)
1928 # Obsolete; use --with-gas.
1931 -help |
--help |
--hel |
--he |
-h)
1932 ac_init_help
=long
;;
1933 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1934 ac_init_help
=recursive
;;
1935 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1936 ac_init_help
=short
;;
1938 -host |
--host |
--hos |
--ho)
1939 ac_prev
=host_alias
;;
1940 -host=* |
--host=* |
--hos=* |
--ho=*)
1941 host_alias
=$ac_optarg ;;
1943 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1945 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1947 htmldir
=$ac_optarg ;;
1949 -includedir |
--includedir |
--includedi |
--included |
--include \
1950 |
--includ |
--inclu |
--incl |
--inc)
1951 ac_prev
=includedir
;;
1952 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1953 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1954 includedir
=$ac_optarg ;;
1956 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1958 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1959 infodir
=$ac_optarg ;;
1961 -libdir |
--libdir |
--libdi |
--libd)
1963 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1964 libdir
=$ac_optarg ;;
1966 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1967 |
--libexe |
--libex |
--libe)
1968 ac_prev
=libexecdir
;;
1969 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1970 |
--libexe=* |
--libex=* |
--libe=*)
1971 libexecdir
=$ac_optarg ;;
1973 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1974 ac_prev
=localedir
;;
1975 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1976 localedir
=$ac_optarg ;;
1978 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1979 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1980 ac_prev
=localstatedir
;;
1981 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1982 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1983 localstatedir
=$ac_optarg ;;
1985 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1987 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1988 mandir
=$ac_optarg ;;
1990 -nfp |
--nfp |
--nf)
1991 # Obsolete; use --without-fp.
1994 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1995 |
--no-cr |
--no-c |
-n)
1998 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1999 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
2002 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
2003 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
2004 |
--oldin |
--oldi |
--old |
--ol |
--o)
2005 ac_prev
=oldincludedir
;;
2006 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
2007 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
2008 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
2009 oldincludedir
=$ac_optarg ;;
2011 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
2013 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
2014 prefix
=$ac_optarg ;;
2016 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
2017 |
--program-pre |
--program-pr |
--program-p)
2018 ac_prev
=program_prefix
;;
2019 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
2020 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
2021 program_prefix
=$ac_optarg ;;
2023 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
2024 |
--program-suf |
--program-su |
--program-s)
2025 ac_prev
=program_suffix
;;
2026 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
2027 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
2028 program_suffix
=$ac_optarg ;;
2030 -program-transform-name |
--program-transform-name \
2031 |
--program-transform-nam |
--program-transform-na \
2032 |
--program-transform-n |
--program-transform- \
2033 |
--program-transform |
--program-transfor \
2034 |
--program-transfo |
--program-transf \
2035 |
--program-trans |
--program-tran \
2036 |
--progr-tra |
--program-tr |
--program-t)
2037 ac_prev
=program_transform_name
;;
2038 -program-transform-name=* |
--program-transform-name=* \
2039 |
--program-transform-nam=* |
--program-transform-na=* \
2040 |
--program-transform-n=* |
--program-transform-=* \
2041 |
--program-transform=* |
--program-transfor=* \
2042 |
--program-transfo=* |
--program-transf=* \
2043 |
--program-trans=* |
--program-tran=* \
2044 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
2045 program_transform_name
=$ac_optarg ;;
2047 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
2049 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
2050 pdfdir
=$ac_optarg ;;
2052 -psdir |
--psdir |
--psdi |
--psd |
--ps)
2054 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
2057 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2058 |
-silent |
--silent |
--silen |
--sile |
--sil)
2061 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
2062 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
2063 |
--run |
--ru |
--r)
2064 ac_prev
=runstatedir
;;
2065 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
2066 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
2067 |
--run=* |
--ru=* |
--r=*)
2068 runstatedir
=$ac_optarg ;;
2070 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
2072 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
2074 sbindir
=$ac_optarg ;;
2076 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
2077 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
2078 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
2080 ac_prev
=sharedstatedir
;;
2081 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
2082 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
2083 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
2085 sharedstatedir
=$ac_optarg ;;
2087 -site |
--site |
--sit)
2089 -site=* |
--site=* |
--sit=*)
2092 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2094 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2095 srcdir
=$ac_optarg ;;
2097 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2098 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2099 ac_prev
=sysconfdir
;;
2100 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2101 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2102 sysconfdir
=$ac_optarg ;;
2104 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2105 ac_prev
=target_alias
;;
2106 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2107 target_alias
=$ac_optarg ;;
2109 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2112 -version |
--version |
--versio |
--versi |
--vers |
-V)
2113 ac_init_version
=: ;;
2116 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2117 # Reject names that are not valid shell variable names.
2118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2119 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2120 ac_useropt_orig
=$ac_useropt
2121 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2122 case $ac_user_opts in
2126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2127 ac_unrecognized_sep
=', ';;
2129 eval with_
$ac_useropt=\
$ac_optarg ;;
2131 -without-* |
--without-*)
2132 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2133 # Reject names that are not valid shell variable names.
2134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2135 as_fn_error $?
"invalid package name: \`$ac_useropt'"
2136 ac_useropt_orig
=$ac_useropt
2137 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2138 case $ac_user_opts in
2142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2143 ac_unrecognized_sep
=', ';;
2145 eval with_
$ac_useropt=no
;;
2148 # Obsolete; use --with-x.
2151 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2152 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2153 ac_prev
=x_includes
;;
2154 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2155 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2156 x_includes
=$ac_optarg ;;
2158 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2159 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2160 ac_prev
=x_libraries
;;
2161 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2162 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2163 x_libraries
=$ac_optarg ;;
2165 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2166 Try \`$0 --help' for more information"
2170 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2171 # Reject names that are not valid shell variable names.
2172 case $ac_envvar in #(
2173 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2174 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2176 eval $ac_envvar=\
$ac_optarg
2177 export $ac_envvar ;;
2180 # FIXME: should be removed in autoconf 3.0.
2181 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2183 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2190 if test -n "$ac_prev"; then
2191 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2192 as_fn_error $?
"missing argument to $ac_option"
2195 if test -n "$ac_unrecognized_opts"; then
2196 case $enable_option_checking in
2198 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2199 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2203 # Check all directory arguments for consistency.
2204 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2205 datadir sysconfdir sharedstatedir localstatedir includedir \
2206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2207 libdir localedir mandir runstatedir
2209 eval ac_val
=\$
$ac_var
2210 # Remove trailing slashes.
2213 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2214 eval $ac_var=\
$ac_val;;
2216 # Be sure to have absolute directory names.
2218 [\\/$
]* | ?
:[\\/]* ) continue;;
2219 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2221 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2224 # There might be people who depend on the old broken behavior: `$host'
2225 # used to hold the argument of --host etc.
2226 # FIXME: To remove some day.
2229 target
=$target_alias
2231 # FIXME: To remove some day.
2232 if test "x$host_alias" != x
; then
2233 if test "x$build_alias" = x
; then
2234 cross_compiling
=maybe
2235 elif test "x$build_alias" != "x$host_alias"; then
2241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2243 test "$silent" = yes && exec 6>/dev
/null
2246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2247 ac_ls_di
=`ls -di .` &&
2248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2249 as_fn_error $?
"working directory cannot be determined"
2250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2251 as_fn_error $?
"pwd does not report name of working directory"
2254 # Find the source files, if location was not specified.
2255 if test -z "$srcdir"; then
2256 ac_srcdir_defaulted
=yes
2257 # Try the directory containing this script, then the parent directory.
2258 ac_confdir
=`$as_dirname -- "$as_myself" ||
2259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2260 X"$as_myself" : 'X\(//\)[^/]' \| \
2261 X"$as_myself" : 'X\(//\)$' \| \
2262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2263 printf "%s\n" X"$as_myself" |
2264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2282 if test ! -r "$srcdir/$ac_unique_file"; then
2286 ac_srcdir_defaulted
=no
2288 if test ! -r "$srcdir/$ac_unique_file"; then
2289 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2290 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2292 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2296 # When building in place, set srcdir=.
2297 if test "$ac_abs_confdir" = "$ac_pwd"; then
2300 # Remove unnecessary trailing slashes from srcdir.
2301 # Double slashes in file names in object file debugging info
2302 # mess up M-x gdb in Emacs.
2304 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2306 for ac_var
in $ac_precious_vars; do
2307 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2308 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2309 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2310 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2314 # Report the --help message.
2316 if test "$ac_init_help" = "long"; then
2317 # Omit some internal or obsolete options to make the list less imposing.
2318 # This message is too long to be a string in the A/UX 3.1 sh.
2320 \`configure' configures Wine 7.21 to adapt to many kinds of systems.
2322 Usage: $0 [OPTION]... [VAR=VALUE]...
2324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2325 VAR=VALUE. See below for descriptions of some of the useful variables.
2327 Defaults for the options are specified in brackets.
2330 -h, --help display this help and exit
2331 --help=short display options specific to this package
2332 --help=recursive display the short help of all the included packages
2333 -V, --version display version information and exit
2334 -q, --quiet, --silent do not print \`checking ...' messages
2335 --cache-file=FILE cache test results in FILE [disabled]
2336 -C, --config-cache alias for \`--cache-file=config.cache'
2337 -n, --no-create do not create output files
2338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2340 Installation directories:
2341 --prefix=PREFIX install architecture-independent files in PREFIX
2342 [$ac_default_prefix]
2343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2346 By default, \`make install' will install all the files in
2347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2349 for instance \`--prefix=\$HOME'.
2351 For better control, use the options below.
2353 Fine tuning of the installation directories:
2354 --bindir=DIR user executables [EPREFIX/bin]
2355 --sbindir=DIR system admin executables [EPREFIX/sbin]
2356 --libexecdir=DIR program executables [EPREFIX/libexec]
2357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2360 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2361 --libdir=DIR object code libraries [EPREFIX/lib]
2362 --includedir=DIR C header files [PREFIX/include]
2363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2366 --infodir=DIR info documentation [DATAROOTDIR/info]
2367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2368 --mandir=DIR man documentation [DATAROOTDIR/man]
2369 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2370 --htmldir=DIR html documentation [DOCDIR]
2371 --dvidir=DIR dvi documentation [DOCDIR]
2372 --pdfdir=DIR pdf documentation [DOCDIR]
2373 --psdir=DIR ps documentation [DOCDIR]
2379 --x-includes=DIR X include files are
in DIR
2380 --x-libraries=DIR X library files are
in DIR
2383 --build=BUILD configure
for building on BUILD
[guessed
]
2384 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2388 if test -n "$ac_init_help"; then
2389 case $ac_init_help in
2390 short | recursive
) echo "Configuration of Wine 7.21:";;
2395 --disable-option-checking ignore unrecognized
--enable/--with options
2396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2398 --enable-archs={i386
,x86_64
,arm
,aarch64
}
2399 enable multiple architectures
for PE compilation
2400 --disable-win16 do not include Win16 support
2401 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2403 --disable-tests do not build the regression tests
2404 --enable-build-id include .buildid section in output objects
2405 --enable-maintainer-mode
2406 enable maintainer-specific build rules
2407 --enable-silent-rules use silent build rules (override: "make V=1")
2408 --enable-werror treat compilation warnings as errors
2409 --disable-largefile omit support for large files
2412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2414 --without-alsa do not use the Alsa sound support
2415 --without-capi do not use CAPI (ISDN support)
2416 --without-coreaudio do not use the CoreAudio sound support
2417 --without-cups do not use CUPS
2418 --without-dbus do not use DBus (dynamic device support)
2419 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2420 --without-fontconfig do not use fontconfig
2421 --without-freetype do not use the FreeType library
2422 --without-gettext do not use gettext
2423 --with-gettextpo use the GetTextPO library to rebuild po files
2424 --without-gphoto do not use gphoto (Digital Camera support)
2425 --without-gnutls do not use GnuTLS (schannel support)
2426 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2427 --without-gstreamer do not use GStreamer (codecs support)
2428 --without-inotify do not use inotify (filesystem change notifications)
2429 --without-krb5 do not use krb5 (Kerberos)
2430 --without-ldap do not use LDAP
2431 --without-mingw do not use the MinGW cross-compiler
2432 --without-netapi do not use the Samba NetAPI library
2433 --without-opencl do not use OpenCL
2434 --without-opengl do not use OpenGL
2435 --without-osmesa do not use the OSMesa library
2436 --without-oss do not use the OSS sound support
2437 --without-pcap do not use the Packet Capture library
2438 --without-pthread do not use the pthread library
2439 --without-pulse do not use PulseAudio sound support
2440 --without-sane do not use SANE (scanner support)
2441 --without-sdl do not use SDL
2442 --without-udev do not use udev (plug and play support)
2443 --without-unwind do not use the libunwind library (exception
2445 --without-usb do not use the libusb library
2446 --without-v4l2 do not use v4l2 (video capture)
2447 --without-vulkan do not use Vulkan
2448 --without-xcomposite do not use the Xcomposite extension
2449 --without-xcursor do not use the Xcursor extension
2450 --without-xfixes do not use Xfixes for clipboard change notifications
2451 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2452 --without-xinput do not use the Xinput extension
2453 --without-xinput2 do not use the Xinput 2 extension
2454 --without-xrandr do not use Xrandr (multi-monitor support)
2455 --without-xrender do not use the Xrender extension
2456 --without-xshape do not use the Xshape extension
2457 --without-xshm do not use XShm (shared memory extension)
2458 --without-xxf86vm do not use XFree video mode extension
2459 --with-system-dllpath=PATH
2460 load external PE dependencies from colon-separated
2462 --with-wine-tools=DIR use Wine tools from directory DIR
2463 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2464 --with-x use the X Window System
2466 Some influential environment variables:
2467 CC C compiler command
2468 CFLAGS C compiler flags
2469 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2470 nonstandard directory <lib dir>
2471 LIBS libraries to pass to the linker, e.g. -l<library>
2472 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2473 you have headers in a nonstandard directory <include dir>
2474 CXX C++ compiler command
2475 CXXFLAGS C++ compiler flags
2476 OBJC Objective C compiler command
2477 OBJCFLAGS Objective C compiler flags
2479 C compiler flags for the PE faudio, overriding the bundled
2482 Linker flags for the PE faudio, overriding the bundled version
2484 C compiler flags for the PE gsm, overriding the bundled version
2485 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2487 C compiler flags for the PE jpeg, overriding the bundled version
2489 Linker flags for the PE jpeg, overriding the bundled version
2491 C compiler flags for the PE jxr, overriding the bundled version
2492 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2494 C compiler flags for the PE lcms2, overriding the bundled
2497 Linker flags for the PE lcms2, overriding the bundled version
2499 C compiler flags for the PE mpg123, overriding the bundled
2502 Linker flags for the PE mpg123, overriding the bundled version
2504 C compiler flags for the PE png, overriding the bundled version
2505 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2507 C compiler flags for the PE tiff, overriding the bundled version
2509 Linker flags for the PE tiff, overriding the bundled version
2511 C compiler flags for the PE vkd3d, overriding the bundled
2514 Linker flags for the PE vkd3d, overriding the bundled version
2516 C compiler flags for the PE xml2, overriding the bundled version
2518 Linker flags for the PE xml2, overriding the bundled version
2520 C compiler flags for the PE xslt, overriding the bundled version
2522 Linker flags for the PE xslt, overriding the bundled version
2524 C compiler flags for the PE zlib, overriding the bundled version
2526 Linker flags for the PE zlib, overriding the bundled version
2527 XMKMF Path to xmkmf, Makefile generator for X Window System
2530 C compiler flags for libinotify, overriding pkg-config
2532 Linker flags for libinotify, overriding pkg-config
2533 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2534 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2536 C compiler flags for gnutls, overriding pkg-config
2537 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2538 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2539 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2540 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2541 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2543 C compiler flags for libgphoto2, overriding pkg-config
2545 Linker flags for libgphoto2, overriding pkg-config
2547 C compiler flags for libgphoto2_port, overriding pkg-config
2549 Linker flags for libgphoto2_port, overriding pkg-config
2551 C compiler flags for freetype2, overriding pkg-config
2553 Linker flags for freetype2, overriding pkg-config
2555 C compiler flags for libpulse, overriding pkg-config
2556 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2558 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2559 gstreamer-audio-1.0, overriding pkg-config
2561 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2562 gstreamer-audio-1.0, overriding pkg-config
2563 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2564 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2566 C compiler flags for libunwind, overriding pkg-config
2567 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2568 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2569 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2571 C compiler flags for capi20, overriding pkg-config
2572 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2573 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2574 CUPS_LIBS Linker flags for cups, overriding pkg-config
2576 C compiler flags for fontconfig, overriding pkg-config
2578 Linker flags for fontconfig, overriding pkg-config
2579 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2580 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2582 C compiler flags for krb5-gssapi, overriding pkg-config
2583 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2585 C compiler flags for netapi, overriding pkg-config
2586 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2587 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2588 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2590 Use these variables to override the choices made by `configure' or to
help
2591 it to
find libraries and programs with nonstandard names
/locations.
2593 Report bugs to
<wine-devel@winehq.org
>.
2594 Wine home page
: <https
://www.winehq.org
>.
2599 if test "$ac_init_help" = "recursive"; then
2600 # If there are subdirs, report their specific --help.
2601 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2602 test -d "$ac_dir" ||
2603 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2608 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2610 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2611 # A ".." for each directory in $ac_dir_suffix.
2612 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2613 case $ac_top_builddir_sub in
2614 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2615 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2618 ac_abs_top_builddir
=$ac_pwd
2619 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2620 # for backward compatibility:
2621 ac_top_builddir
=$ac_top_build_prefix
2624 .
) # We are building in place.
2626 ac_top_srcdir
=$ac_top_builddir_sub
2627 ac_abs_top_srcdir
=$ac_pwd ;;
2628 [\\/]* | ?
:[\\/]* ) # Absolute name.
2629 ac_srcdir
=$srcdir$ac_dir_suffix;
2630 ac_top_srcdir
=$srcdir
2631 ac_abs_top_srcdir
=$srcdir ;;
2633 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2634 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2635 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2637 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2639 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2640 # Check for configure.gnu first; this name is used for a wrapper for
2641 # Metaconfig's "Configure" on case-insensitive file systems.
2642 if test -f "$ac_srcdir/configure.gnu"; then
2644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2645 elif test -f "$ac_srcdir/configure"; then
2647 $SHELL "$ac_srcdir/configure" --help=recursive
2649 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2651 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2655 test -n "$ac_init_help" && exit $ac_status
2656 if $ac_init_version; then
2659 generated by GNU Autoconf
2.71
2661 Copyright
(C
) 2021 Free Software Foundation
, Inc.
2662 This configure
script is free software
; the Free Software Foundation
2663 gives unlimited permission to copy
, distribute and modify it.
2668 ## ------------------------ ##
2669 ## Autoconf initialization. ##
2670 ## ------------------------ ##
2672 # ac_fn_c_try_compile LINENO
2673 # --------------------------
2674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2675 ac_fn_c_try_compile
()
2677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2678 rm -f conftest.
$ac_objext conftest.beam
2679 if { { ac_try
="$ac_compile"
2681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685 printf "%s\n" "$ac_try_echo"; } >&5
2686 (eval "$ac_compile") 2>conftest.err
2688 if test -s conftest.err; then
2689 grep -v '^ *+' conftest.err >conftest.er1
2690 cat conftest.er1 >&5
2691 mv -f conftest.er1 conftest.err
2693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; } && {
2695 test -z "$ac_c_werror_flag" ||
2696 test ! -s conftest.err
2697 } && test -s conftest.$ac_objext
2701 printf "%s\n" "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 as_fn_set_status $ac_retval
2709 } # ac_fn_c_try_compile
2711 # ac_fn_cxx_try_compile LINENO
2712 # ----------------------------
2713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2714 ac_fn_cxx_try_compile ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 rm -f conftest.$ac_objext conftest.beam
2718 if { { ac_try="$ac_compile"
2720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2721 *) ac_try_echo
=$ac_try;;
2723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2724 printf "%s\n" "$ac_try_echo"; } >&5
2725 (eval "$ac_compile") 2>conftest.err
2727 if test -s conftest.err
; then
2728 grep -v '^ *+' conftest.err
>conftest.er1
2729 cat conftest.er1
>&5
2730 mv -f conftest.er1 conftest.err
2732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2733 test $ac_status = 0; } && {
2734 test -z "$ac_cxx_werror_flag" ||
2735 test ! -s conftest.err
2736 } && test -s conftest.
$ac_objext
2740 printf "%s\n" "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.
$ac_ext >&5
2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 as_fn_set_status
$ac_retval
2748 } # ac_fn_cxx_try_compile
2750 # ac_fn_c_try_link LINENO
2751 # -----------------------
2752 # Try to link conftest.$ac_ext, and return whether this succeeded.
2755 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2756 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2757 if { { ac_try
="$ac_link"
2759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 printf "%s\n" "$ac_try_echo"; } >&5
2764 (eval "$ac_link") 2>conftest.err
2766 if test -s conftest.err; then
2767 grep -v '^ *+' conftest.err >conftest.er1
2768 cat conftest.er1 >&5
2769 mv -f conftest.er1 conftest.err
2771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; } && {
2773 test -z "$ac_c_werror_flag" ||
2774 test ! -s conftest.err
2775 } && test -s conftest$ac_exeext && {
2776 test "$cross_compiling" = yes ||
2777 test -x conftest$ac_exeext
2782 printf "%s\n" "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2789 # interfere with the next link command; also delete a directory that is
2790 # left behind by Apple's compiler. We do this before executing the actions.
2791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 as_fn_set_status $ac_retval
2795 } # ac_fn_c_try_link
2797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2798 # -------------------------------------------------------
2799 # Tests whether HEADER exists and can be compiled using the include files in
2800 # INCLUDES, setting the cache variable VAR accordingly.
2801 ac_fn_c_check_header_compile ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2805 printf %s "checking for $2... " >&6; }
2806 if eval test \${$3+y}
2808 printf %s "(cached) " >&6
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2815 if ac_fn_c_try_compile "$LINENO"
2821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2825 printf "%s\n" "$ac_res" >&6; }
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 } # ac_fn_c_check_header_compile
2830 # ac_fn_objc_try_compile LINENO
2831 # -----------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_objc_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext conftest.beam
2837 if { { ac_try="$ac_compile"
2839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2840 *) ac_try_echo
=$ac_try;;
2842 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 printf "%s\n" "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2846 if test -s conftest.err
; then
2847 grep -v '^ *+' conftest.err
>conftest.er1
2848 cat conftest.er1
>&5
2849 mv -f conftest.er1 conftest.err
2851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_objc_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.
$ac_objext
2859 printf "%s\n" "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.
$ac_ext >&5
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 as_fn_set_status
$ac_retval
2867 } # ac_fn_objc_try_compile
2869 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2870 # ----------------------------------------------------------
2871 # Tests whether HEADER exists and can be compiled using the include files in
2872 # INCLUDES, setting the cache variable VAR accordingly.
2873 ac_fn_objc_check_header_compile
()
2875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 printf %s
"checking for $2... " >&6; }
2878 if eval test \
${$3+y}
2880 printf %s
"(cached) " >&6
2882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2887 if ac_fn_objc_try_compile
"$LINENO"
2893 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2897 printf "%s\n" "$ac_res" >&6; }
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 } # ac_fn_objc_check_header_compile
2902 # ac_fn_c_check_func LINENO FUNC VAR
2903 # ----------------------------------
2904 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2905 ac_fn_c_check_func
()
2907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2909 printf %s
"checking for $2... " >&6; }
2910 if eval test \
${$3+y}
2912 printf %s
"(cached) " >&6
2914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2916 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2918 #define $2 innocuous_$2
2920 /* System header to define __stub macros and hopefully few prototypes,
2921 which can conflict with char $2 (); below. */
2926 /* Override any GCC internal prototype to avoid an error.
2927 Use char because int might match the return type of a GCC
2928 builtin and then its argument prototype would still apply. */
2933 /* The GNU C library defines this for functions which it implements
2934 to always fail with ENOSYS. Some functions are actually named
2935 something starting with __ and the normal name is an alias. */
2936 #if defined __stub_$2 || defined __stub___$2
2948 if ac_fn_c_try_link
"$LINENO"
2954 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
2955 conftest
$ac_exeext conftest.
$ac_ext
2958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 printf "%s\n" "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_func
2964 # ac_fn_c_try_cpp LINENO
2965 # ----------------------
2966 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2969 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2970 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2976 printf "%s\n" "$ac_try_echo"; } >&5
2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2979 if test -s conftest.err; then
2980 grep -v '^ *+' conftest.err >conftest.er1
2981 cat conftest.er1 >&5
2982 mv -f conftest.er1 conftest.err
2984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; } > conftest.i && {
2986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2987 test ! -s conftest.err
2992 printf "%s\n" "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2998 as_fn_set_status $ac_retval
3002 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3003 # ----------------------------------------------------
3004 # Tries to find if the field MEMBER exists in type AGGR, after including
3005 # INCLUDES, setting cache variable VAR accordingly.
3006 ac_fn_c_check_member ()
3008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3010 printf %s "checking for $2.$3... " >&6; }
3011 if eval test \${$4+y}
3013 printf %s "(cached) " >&6
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3028 if ac_fn_c_try_compile "$LINENO"
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3039 if (sizeof ac_aggr.$3)
3045 if ac_fn_c_try_compile "$LINENO"
3051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3057 printf "%s\n" "$ac_res" >&6; }
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060 } # ac_fn_c_check_member
3062 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3063 # -------------------------------------------
3064 # Tests whether TYPE exists after having included INCLUDES, setting cache
3065 # variable VAR accordingly.
3066 ac_fn_c_check_type ()
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3070 printf %s "checking for $2... " >&6; }
3071 if eval test \${$3+y}
3073 printf %s "(cached) " >&6
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3088 if ac_fn_c_try_compile "$LINENO"
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3102 if ac_fn_c_try_compile "$LINENO"
3108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3114 printf "%s\n" "$ac_res" >&6; }
3115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3117 } # ac_fn_c_check_type
3118 ac_configure_args_raw=
3123 ac_arg=`printf "%s\n" "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3125 as_fn_append ac_configure_args_raw " '$ac_arg'"
3128 case $ac_configure_args_raw in
3132 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3133 ac_unsafe_a="$ac_unsafe_z#~
"
3134 ac_safe_unquote="s
/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g
"
3135 ac_configure_args_raw=` printf "%s
\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3138 cat >config.log <<_ACEOF
3139 This file contains any messages produced by compilers while
3140 running configure, to aid debugging if configure makes a mistake.
3142 It was created by Wine $as_me 7.21, which was
3143 generated by GNU Autoconf 2.71. Invocation command line was
3145 $ $0$ac_configure_args_raw
3155 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3156 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3157 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3158 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3159 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3161 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3162 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3164 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3165 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3166 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3167 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3168 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3169 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3170 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 case $as_dir in #(((
3181 *) as_dir=$as_dir/ ;;
3183 printf "%s
\n" "PATH
: $as_dir"
3199 # Keep a trace of the command line.
3200 # Strip out --no-create and --no-recursion so they do not pile up.
3201 # Strip out --silent because we don't want to record it for future runs.
3202 # Also quote any args containing shell meta-characters.
3203 # Make two passes to allow for proper duplicate-argument suppression.
3207 ac_must_keep_next=false
3213 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3215 | -silent | --silent | --silen | --sile | --sil)
3218 ac_arg=`printf "%s
\n" "$ac_arg" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3221 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3223 as_fn_append ac_configure_args1 " '$ac_arg'"
3224 if test $ac_must_keep_next = true; then
3225 ac_must_keep_next=false # Got value, back to normal.
3228 *=* | --config-cache | -C | -disable-* | --disable-* \
3229 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3230 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3231 | -with-* | --with-* | -without-* | --without-* | --x)
3232 case "$ac_configure_args0 " in
3233 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3236 -* ) ac_must_keep_next=true ;;
3239 as_fn_append ac_configure_args " '$ac_arg'"
3244 { ac_configure_args0=; unset ac_configure_args0;}
3245 { ac_configure_args1=; unset ac_configure_args1;}
3247 # When interrupted or exit'd, cleanup temporary files, and complete
3248 # config.log. We remove comments because anyway the quotes in there
3249 # would cause problems or look ugly.
3250 # WARNING: Use '\'' to represent an apostrophe within the trap.
3251 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3252 trap 'exit_status=$?
3255 # Save into config.log some information that might help in debugging.
3259 printf "%s
\n" "## ---------------- ##
3260 ## Cache variables. ##
3261 ## ---------------- ##"
3263 # The following way of writing the cache mishandles newlines in values,
3265 for ac_var
in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3266 eval ac_val
=\$
$ac_var
3270 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3271 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3274 _ | IFS | as_nl
) ;; #(
3275 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3276 *) { eval $ac_var=; unset $ac_var;} ;;
3281 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3282 *${as_nl}ac_space
=\
*)
3284 "s/'\''/'\''\\\\'\'''\''/g;
3285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3295 printf "%s\n" "## ----------------- ##
3296 ## Output variables. ##
3297 ## ----------------- ##"
3299 for ac_var
in $ac_subst_vars
3301 eval ac_val
=\$
$ac_var
3303 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3305 printf "%s\n" "$ac_var='\''$ac_val'\''"
3309 if test -n "$ac_subst_files"; then
3310 printf "%s\n" "## ------------------- ##
3311 ## File substitutions. ##
3312 ## ------------------- ##"
3314 for ac_var in $ac_subst_files
3316 eval ac_val=\$$ac_var
3318 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3320 printf "%s\n" "$ac_var='\''$ac_val'\''"
3325 if test -s confdefs.h
; then
3326 printf "%s\n" "## ----------- ##
3333 test "$ac_signal" != 0 &&
3334 printf "%s\n" "$as_me: caught signal $ac_signal"
3335 printf "%s\n" "$as_me: exit $exit_status"
3337 rm -f core
*.core core.conftest.
* &&
3338 rm -f -r conftest
* confdefs
* conf$$
* $ac_clean_files &&
3341 for ac_signal in 1 2 13 15; do
3342 trap 'ac_signal
='$ac_signal'; as_fn_exit
1' $ac_signal
3346 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3347 rm -f -r conftest* confdefs.h
3349 printf "%s\n" "/* confdefs.h */" > confdefs.h
3351 # Predefined preprocessor variables.
3353 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3355 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3357 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3359 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3361 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3363 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3366 # Let the site file select an alternate cache file if it wants to.
3367 # Prefer an explicitly selected file to automatically selected ones.
3368 if test -n "$CONFIG_SITE"; then
3369 ac_site_files="$CONFIG_SITE"
3370 elif test "x$prefix" != xNONE; then
3371 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3373 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3376 for ac_site_file in $ac_site_files
3378 case $ac_site_file in #(
3382 ac_site_file=./$ac_site_file ;;
3384 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3386 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3387 sed 's
/^
/|
/' "$ac_site_file" >&5
3389 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 printf "%s
\n" "$as_me: error
: in \
`$ac_pwd':" >&2;}
3391 as_fn_error $? "failed to load site script $ac_site_file
3392 See \`config.log
' for more details" "$LINENO" 5; }
3396 if test -r "$cache_file"; then
3397 # Some versions of bash will fail to source /dev/null (special files
3398 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3399 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3401 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3403 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3404 *) . "./$cache_file";;
3408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3409 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3413 # Test code for whether the C compiler supports C89 (global declarations)
3414 ac_c_conftest_c89_globals='
3415 /* Does the compiler advertise C89 conformance?
3416 Do not
test the value of __STDC__
, because some compilers
set it to
0
3417 while being otherwise adequately conformant.
*/
3418 #if !defined __STDC__
3419 # error "Compiler does not advertise C89 conformance"
3425 /* Most of the following tests are stolen from RCS
5.7 src
/conf.sh.
*/
3426 struct buf
{ int x
; };
3427 struct buf
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3428 static char
*e
(p
, i
)
3434 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3439 s
= g
(p
, va_arg
(v
,int
));
3444 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3445 function prototypes and stuff
, but not \xHH hex character constants.
3446 These
do not provoke an error unfortunately
, instead are silently treated
3447 as an
"x". The following induces an error
, until -std is added to get
3448 proper ANSI mode. Curiously
\x00 != x always comes out true
, for an
3449 array size
at least. It is necessary to
write \x00 == 0 to get something
3450 that is true only with
-std.
*/
3451 int osf4_cc_array
['\''\x00'\'' == 0 ?
1 : -1];
3453 /* IBM C
6 for AIX is almost-ANSI by default
, but it replaces macro parameters
3454 inside
strings and character constants.
*/
3455 #define FOO(x) '\''x'\''
3456 int xlc6_cc_array
[FOO
(a
) == '\''x
'\'' ?
1 : -1];
3458 int
test (int i
, double x
);
3459 struct s1
{int
(*f
) (int a
);};
3460 struct s2
{int
(*f
) (double a
);};
3461 int pairnames
(int
, char
**, int
*(*)(struct buf
*, struct stat
*, int
),
3464 # Test code for whether the C compiler supports C89 (body of main).
3465 ac_c_conftest_c89_main='
3466 ok |
= (argc
== 0 || f
(e
, argv
, 0) != argv
[0] || f
(e
, argv
, 1) != argv
[1]);
3469 # Test code for whether the C compiler supports C99 (global declarations)
3470 ac_c_conftest_c99_globals='
3471 // Does the compiler advertise C99 conformance?
3472 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3473 # error "Compiler does not advertise C99 conformance"
3476 #include <stdbool.h>
3477 extern int puts
(const char
*);
3478 extern int
printf (const char
*, ...
);
3479 extern int dprintf
(int
, const char
*, ...
);
3480 extern void
*malloc
(size_t
);
3482 // Check varargs macros. These examples are taken from C99
6.10.3.5.
3483 // dprintf is used instead of fprintf to avoid needing to
declare
3485 #define debug(...) dprintf (2, __VA_ARGS__)
3486 #define showlist(...) puts (#__VA_ARGS__)
3487 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3489 test_varargs_macros
(void
)
3494 debug
("X = %d\n", x
);
3495 showlist
(The first
, second
, and third items.
);
3496 report
(x
>y
, "x is %d but y is %d", x
, y
);
3499 // Check long long types.
3500 #define BIG64 18446744073709551615ull
3501 #define BIG32 4294967295ul
3502 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3504 #error "your preprocessor is broken"
3508 #error "your preprocessor is broken"
3510 static long long int bignum
= -9223372036854775807LL;
3511 static unsigned long long int ubignum
= BIG64
;
3513 struct incomplete_array
3521 const wchar_t
*name
;
3525 typedef const char
*ccp
;
3528 test_restrict
(ccp restrict text
)
3530 // See
if C
++-style comments work.
3531 // Iterate through items via the restricted pointer.
3532 // Also check
for declarations
in for loops.
3533 for (unsigned int i
= 0; *(text
+i
) != '\''\
0'\''; ++i
)
3538 // Check varargs and va_copy.
3540 test_varargs
(const char
*format
, ...
)
3543 va_start
(args
, format
);
3545 va_copy
(args_copy
, args
);
3547 const char
*str
= "";
3555 case '\''s
'\'': // string
3556 str
= va_arg
(args_copy
, const char
*);
3558 case '\''d
'\'': // int
3559 number
= va_arg
(args_copy
, int
);
3561 case '\''f
'\'': // float
3562 fnumber
= va_arg
(args_copy
, double
);
3571 return *str
&& number
&& fnumber
;
3575 # Test code for whether the C compiler supports C99 (body of main).
3576 ac_c_conftest_c99_main='
3578 _Bool success
= false
;
3579 success |
= (argc
!= 0);
3582 if (test_restrict
("String literal") == 0)
3584 char
*restrict newvar
= "Another string";
3587 success
&= test_varargs
("s, d'\'' f .", "string", 65, 34.234);
3588 test_varargs_macros
();
3590 // Check flexible array members.
3591 struct incomplete_array
*ia
=
3592 malloc
(sizeof
(struct incomplete_array
) + (sizeof
(double
) * 10));
3594 for (int i
= 0; i
< ia-
>datasize
; ++i
)
3595 ia-
>data
[i
] = i
* 1.234;
3597 // Check named initializers.
3598 struct named_init ni
= {
3600 .name
= L
"Test wide string",
3601 .average
= 543.34343,
3606 int dynamic_array
[ni.number
];
3607 dynamic_array
[0] = argv
[0][0];
3608 dynamic_array
[ni.number
- 1] = 543;
3610 // work around unused variable warnings
3611 ok |
= (!success || bignum
== 0LL || ubignum
== 0uLL || newvar
[0] == '\''x
'\''
3612 || dynamic_array
[ni.number
- 1] != 543);
3615 # Test code for whether the C compiler supports C11 (global declarations)
3616 ac_c_conftest_c11_globals='
3617 // Does the compiler advertise C11 conformance?
3618 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3619 # error "Compiler does not advertise C11 conformance"
3623 char _Alignas
(double
) aligned_as_double
;
3624 char _Alignas
(0) no_special_alignment
;
3625 extern char aligned_as_int
;
3626 char _Alignas
(0) _Alignas
(int
) aligned_as_int
;
3631 int_alignment
= _Alignof
(int
),
3632 int_array_alignment
= _Alignof
(int
[100]),
3633 char_alignment
= _Alignof
(char
)
3635 _Static_assert
(0 < -_Alignof (int
), "_Alignof is signed");
3638 int _Noreturn does_not_return
(void
) { for (;;) continue; }
3640 // Check _Static_assert.
3641 struct test_static_assert
3644 _Static_assert
(sizeof
(int
) <= sizeof
(long int
),
3645 "_Static_assert does not work in struct");
3649 // Check UTF-8 literals.
3650 #define u8 syntax error!
3651 char const utf8_literal
[] = u8
"happens to be ASCII" "another string";
3653 // Check duplicate typedefs.
3654 typedef long
*long_ptr
;
3655 typedef long int
*long_ptr
;
3656 typedef long_ptr long_ptr
;
3658 // Anonymous structures and unions
-- taken from C11
6.7.2.1 Example
1.
3662 struct
{ int i
; int j
; };
3663 struct
{ int k
; long int l
; } w
;
3669 # Test code for whether the C compiler supports C11 (body of main).
3670 ac_c_conftest_c11_main='
3671 _Static_assert
((offsetof
(struct anonymous
, i
)
3672 == offsetof
(struct anonymous
, w.k
)),
3673 "Anonymous union alignment botch");
3679 # Test code for whether the C compiler supports C11 (complete).
3680 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3681 ${ac_c_conftest_c99_globals}
3682 ${ac_c_conftest_c11_globals}
3685 main (int argc, char **argv)
3688 ${ac_c_conftest_c89_main}
3689 ${ac_c_conftest_c99_main}
3690 ${ac_c_conftest_c11_main}
3695 # Test code for whether the C compiler supports C99 (complete).
3696 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3697 ${ac_c_conftest_c99_globals}
3700 main (int argc, char **argv)
3703 ${ac_c_conftest_c89_main}
3704 ${ac_c_conftest_c99_main}
3709 # Test code for whether the C compiler supports C89 (complete).
3710 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3713 main (int argc, char **argv)
3716 ${ac_c_conftest_c89_main}
3721 # Test code for whether the C++ compiler supports C++98 (global declarations)
3722 ac_cxx_conftest_cxx98_globals='
3723 // Does the compiler advertise C
++98 conformance?
3724 #if !defined __cplusplus || __cplusplus < 199711L
3725 # error "Compiler does not advertise C++98 conformance"
3728 // These inclusions are to reject old compilers that
3729 // lack the unsuffixed header files.
3731 #include <exception>
3733 // <cassert
> and
<cstring
> are
*not
* freestanding headers
in C
++98.
3734 extern void assert
(int
);
3736 extern int strcmp
(const char
*, const char
*);
3739 // Namespaces
, exceptions
, and templates were all added after
"C++ 2.0".
3740 using std
::exception
;
3745 void test_exception_syntax
()
3749 } catch
(const char
*s
) {
3750 // Extra parentheses suppress a warning when building autoconf itself
,
3751 // due to lint rules shared with
more typical C programs.
3752 assert
(!(strcmp
) (s
, "test"));
3756 template
<typename T
> struct test_template
3759 explicit test_template
(T t
) : val
(t
) {}
3760 template
<typename U
> T add
(U u
) { return static_cast
<T
>(u
) + val
; }
3763 } // anonymous namespace
3766 # Test code for whether the C++ compiler supports C++98 (body of main)
3767 ac_cxx_conftest_cxx98_main='
3771 test_exception_syntax
();
3772 test_template
<double
> tt
(2.0);
3773 assert
(tt.add
(4) == 6.0);
3774 assert
(true
&& !false
);
3778 # Test code for whether the C++ compiler supports C++11 (global declarations)
3779 ac_cxx_conftest_cxx11_globals='
3780 // Does the compiler advertise C
++ 2011 conformance?
3781 #if !defined __cplusplus || __cplusplus < 201103L
3782 # error "Compiler does not advertise C++11 conformance"
3787 constexpr int get_val
() { return 20; }
3798 delegate
(int n
) : n
(n
) {}
3799 delegate
(): delegate
(2354) {}
3801 virtual int getval
() { return this-
>n
; };
3806 class overridden
: public delegate
3809 overridden
(int n
): delegate
(n
) {}
3810 virtual int getval
() override final
{ return this-
>n
* 2; }
3816 nocopy
(int i
): i
(i
) {}
3818 nocopy
(const nocopy
&) = delete
;
3819 nocopy
& operator
=(const nocopy
&) = delete
;
3824 // for testing lambda expressions
3825 template
<typename Ret
, typename Fn
> Ret
eval(Fn f
, Ret v
)
3830 // for testing variadic templates and trailing
return types
3831 template
<typename V
> auto
sum(V first
) -> V
3835 template
<typename V
, typename... Args
> auto
sum(V first
, Args... rest
) -> V
3837 return first
+ sum(rest...
);
3842 # Test code for whether the C++ compiler supports C++11 (body of main)
3843 ac_cxx_conftest_cxx11_main='
3845 // Test auto and decltype
3847 auto a2
= 48573953.4;
3848 auto a3
= "String literal";
3851 for (auto i
= a3
; *i
; ++i
) { total
+= *i
; }
3853 decltype
(a2
) a4
= 34895.034;
3857 short sa
[cxx11test
::get_val
()] = { 0 };
3860 // Test initializer lists
3861 cxx11test
::testinit il
= { 4323, 435234.23544 };
3864 // Test range-based
for
3865 int array
[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3866 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3867 for (auto
&x
: array
) { x
+= 23; }
3870 // Test lambda expressions
3871 using cxx11test
::eval;
3872 assert
(eval ([](int x
) { return x
*2; }, 21) == 42);
3874 assert
(eval ([&](double x
) { return d
+= x
; }, 3.0) == 5.0);
3876 assert
(eval ([=](double x
) mutable
{ return d
+= x
; }, 4.0) == 9.0);
3880 // Test use of variadic templates
3881 using cxx11test
::sum;
3884 auto c
= sum(1.0, 2.0, 3.0);
3887 // Test constructor delegation
3888 cxx11test
::delegate d1
;
3889 cxx11test
::delegate d2
();
3890 cxx11test
::delegate d3
(45);
3893 // Test override and final
3894 cxx11test
::overridden o1
(55464);
3901 // Test template brackets
3902 test_template
<::test_template
<int
>> v
(test_template
<int
>(12));
3906 char const
*utf8
= u8
"UTF-8 string \u2500";
3907 char16_t const
*utf16
= u
"UTF-8 string \u2500";
3908 char32_t const
*utf32
= U
"UTF-32 string \u2500";
3912 # Test code for whether the C compiler supports C++11 (complete).
3913 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3914 ${ac_cxx_conftest_cxx11_globals}
3917 main (int argc, char **argv)
3920 ${ac_cxx_conftest_cxx98_main}
3921 ${ac_cxx_conftest_cxx11_main}
3926 # Test code for whether the C compiler supports C++98 (complete).
3927 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3929 main (int argc, char **argv)
3932 ${ac_cxx_conftest_cxx98_main}
3937 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3938 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3939 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3940 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3941 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3942 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3943 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3944 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3945 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3947 # Auxiliary files required by this configure script.
3948 ac_aux_files="config.guess config.sub"
3950 # Locations in which to look for auxiliary files.
3951 ac_aux_dir_candidates="${srcdir}/tools"
3953 # Search for a directory containing all of the required auxiliary files,
3954 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3955 # If we don't
find one directory that contains all the files we need
,
3956 # we report the set of missing files from the *first* directory in
3957 # $ac_aux_dir_candidates and give up.
3958 ac_missing_aux_files
=""
3959 ac_first_candidate
=:
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3963 for as_dir
in $ac_aux_dir_candidates
3966 case $as_dir in #(((
3969 *) as_dir
=$as_dir/ ;;
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3974 ac_aux_dir_found
=yes
3976 for ac_aux
in $ac_aux_files
3978 # As a special case, if "install-sh" is required, that requirement
3979 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3980 # and $ac_install_sh is set appropriately for whichever one is found.
3981 if test x
"$ac_aux" = x
"install-sh"
3983 if test -f "${as_dir}install-sh"; then
3984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3985 ac_install_sh
="${as_dir}install-sh -c"
3986 elif test -f "${as_dir}install.sh"; then
3987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3988 ac_install_sh
="${as_dir}install.sh -c"
3989 elif test -f "${as_dir}shtool"; then
3990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3991 ac_install_sh
="${as_dir}shtool install -c"
3994 if $ac_first_candidate; then
3995 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
4001 if test -f "${as_dir}${ac_aux}"; then
4002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4005 if $ac_first_candidate; then
4006 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
4013 if test "$ac_aux_dir_found" = yes; then
4014 ac_aux_dir
="$as_dir"
4017 ac_first_candidate
=false
4026 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4030 # These three variables are undocumented and unsupported,
4031 # and are intended to be withdrawn in a future Autoconf release.
4032 # They can cause serious problems if a builder's source tree is in a directory
4033 # whose full name contains unusual characters.
4034 if test -f "${ac_aux_dir}config.guess"; then
4035 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
4037 if test -f "${ac_aux_dir}config.sub"; then
4038 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
4040 if test -f "$ac_aux_dir/configure"; then
4041 ac_configure
="$SHELL ${ac_aux_dir}configure"
4044 # Check that the precious variables saved in the cache have kept the same
4046 ac_cache_corrupted
=false
4047 for ac_var
in $ac_precious_vars; do
4048 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
4049 eval ac_new_set
=\
$ac_env_${ac_var}_set
4050 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
4051 eval ac_new_val
=\
$ac_env_${ac_var}_value
4052 case $ac_old_set,$ac_new_set in
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4055 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4056 ac_cache_corrupted
=: ;;
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4059 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4060 ac_cache_corrupted
=: ;;
4063 if test "x$ac_old_val" != "x$ac_new_val"; then
4064 # differences in whitespace do not lead to failure.
4065 ac_old_val_w
=`echo x $ac_old_val`
4066 ac_new_val_w
=`echo x $ac_new_val`
4067 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4069 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4070 ac_cache_corrupted
=:
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4073 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4074 eval $ac_var=\
$ac_old_val
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4077 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4079 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4082 # Pass precious variables to config.status.
4083 if test "$ac_new_set" = set; then
4085 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4086 *) ac_arg
=$ac_var=$ac_new_val ;;
4088 case " $ac_configure_args " in
4089 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4090 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
4094 if $ac_cache_corrupted; then
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4098 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4099 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4100 and start over" "$LINENO" 5
4102 ## -------------------- ##
4103 ## Main body of script. ##
4104 ## -------------------- ##
4107 ac_cpp
='$CPP $CPPFLAGS'
4108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4114 ac_config_headers
="$ac_config_headers include/config.h"
4118 libwine_version
="1.0"
4121 # Check whether --enable-archs was given.
4122 if test ${enable_archs+y}
4124 enableval
=$enable_archs;
4127 # Check whether --enable-win16 was given.
4128 if test ${enable_win16+y}
4130 enableval
=$enable_win16;
4133 # Check whether --enable-win64 was given.
4134 if test ${enable_win64+y}
4136 enableval
=$enable_win64;
4139 # Check whether --enable-tests was given.
4140 if test ${enable_tests+y}
4142 enableval
=$enable_tests;
4145 # Check whether --enable-build-id was given.
4146 if test ${enable_build_id+y}
4148 enableval
=$enable_build_id;
4151 # Check whether --enable-maintainer-mode was given.
4152 if test ${enable_maintainer_mode+y}
4154 enableval
=$enable_maintainer_mode;
4157 # Check whether --enable-silent-rules was given.
4158 if test ${enable_silent_rules+y}
4160 enableval
=$enable_silent_rules;
4163 # Check whether --enable-werror was given.
4164 if test ${enable_werror+y}
4166 enableval
=$enable_werror;
4171 # Check whether --with-alsa was given.
4172 if test ${with_alsa+y}
4178 # Check whether --with-capi was given.
4179 if test ${with_capi+y}
4185 # Check whether --with-coreaudio was given.
4186 if test ${with_coreaudio+y}
4188 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
4192 # Check whether --with-cups was given.
4193 if test ${with_cups+y}
4199 # Check whether --with-dbus was given.
4200 if test ${with_dbus+y}
4206 # Check whether --with-float-abi was given.
4207 if test ${with_float_abi+y}
4209 withval
=$with_float_abi;
4213 # Check whether --with-fontconfig was given.
4214 if test ${with_fontconfig+y}
4216 withval
=$with_fontconfig;
4220 # Check whether --with-freetype was given.
4221 if test ${with_freetype+y}
4223 withval
=$with_freetype;
4227 # Check whether --with-gettext was given.
4228 if test ${with_gettext+y}
4230 withval
=$with_gettext;
4234 # Check whether --with-gettextpo was given.
4235 if test ${with_gettextpo+y}
4237 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
4241 # Check whether --with-gphoto was given.
4242 if test ${with_gphoto+y}
4244 withval
=$with_gphoto;
4248 # Check whether --with-gnutls was given.
4249 if test ${with_gnutls+y}
4251 withval
=$with_gnutls;
4255 # Check whether --with-gssapi was given.
4256 if test ${with_gssapi+y}
4258 withval
=$with_gssapi;
4262 # Check whether --with-gstreamer was given.
4263 if test ${with_gstreamer+y}
4265 withval
=$with_gstreamer;
4269 # Check whether --with-inotify was given.
4270 if test ${with_inotify+y}
4272 withval
=$with_inotify;
4276 # Check whether --with-krb5 was given.
4277 if test ${with_krb5+y}
4283 # Check whether --with-ldap was given.
4284 if test ${with_ldap+y}
4286 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
4290 # Check whether --with-mingw was given.
4291 if test ${with_mingw+y}
4293 withval
=$with_mingw;
4297 # Check whether --with-netapi was given.
4298 if test ${with_netapi+y}
4300 withval
=$with_netapi;
4304 # Check whether --with-opencl was given.
4305 if test ${with_opencl+y}
4307 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
4311 # Check whether --with-opengl was given.
4312 if test ${with_opengl+y}
4314 withval
=$with_opengl;
4318 # Check whether --with-osmesa was given.
4319 if test ${with_osmesa+y}
4321 withval
=$with_osmesa;
4325 # Check whether --with-oss was given.
4326 if test ${with_oss+y}
4332 # Check whether --with-pcap was given.
4333 if test ${with_pcap+y}
4335 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
4339 # Check whether --with-pthread was given.
4340 if test ${with_pthread+y}
4342 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
4346 # Check whether --with-pulse was given.
4347 if test ${with_pulse+y}
4349 withval
=$with_pulse;
4353 # Check whether --with-sane was given.
4354 if test ${with_sane+y}
4360 # Check whether --with-sdl was given.
4361 if test ${with_sdl+y}
4367 # Check whether --with-udev was given.
4368 if test ${with_udev+y}
4374 # Check whether --with-unwind was given.
4375 if test ${with_unwind+y}
4377 withval
=$with_unwind;
4381 # Check whether --with-usb was given.
4382 if test ${with_usb+y}
4388 # Check whether --with-v4l2 was given.
4389 if test ${with_v4l2+y}
4395 # Check whether --with-vulkan was given.
4396 if test ${with_vulkan+y}
4398 withval
=$with_vulkan;
4402 # Check whether --with-xcomposite was given.
4403 if test ${with_xcomposite+y}
4405 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
4409 # Check whether --with-xcursor was given.
4410 if test ${with_xcursor+y}
4412 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
4416 # Check whether --with-xfixes was given.
4417 if test ${with_xfixes+y}
4419 withval
=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h
=no
; fi
4423 # Check whether --with-xinerama was given.
4424 if test ${with_xinerama+y}
4426 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
4430 # Check whether --with-xinput was given.
4431 if test ${with_xinput+y}
4433 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
4437 # Check whether --with-xinput2 was given.
4438 if test ${with_xinput2+y}
4440 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
4444 # Check whether --with-xrandr was given.
4445 if test ${with_xrandr+y}
4447 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
4451 # Check whether --with-xrender was given.
4452 if test ${with_xrender+y}
4454 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
4458 # Check whether --with-xshape was given.
4459 if test ${with_xshape+y}
4461 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
4465 # Check whether --with-xshm was given.
4466 if test ${with_xshm+y}
4468 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
4472 # Check whether --with-xxf86vm was given.
4473 if test ${with_xxf86vm+y}
4475 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
4480 # Check whether --with-system-dllpath was given.
4481 if test ${with_system_dllpath+y}
4483 withval
=$with_system_dllpath; system_dllpath
=$withval
4488 # Check whether --with-wine-tools was given.
4489 if test ${with_wine_tools+y}
4491 withval
=$with_wine_tools;
4495 # Check whether --with-wine64 was given.
4496 if test ${with_wine64+y}
4498 withval
=$with_wine64;
4505 # Make sure we can run config.sub.
4506 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4507 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4510 printf %s
"checking build system type... " >&6; }
4511 if test ${ac_cv_build+y}
4513 printf %s
"(cached) " >&6
4515 ac_build_alias
=$build_alias
4516 test "x$ac_build_alias" = x
&&
4517 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4518 test "x$ac_build_alias" = x
&&
4519 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4520 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4521 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4525 printf "%s\n" "$ac_cv_build" >&6; }
4526 case $ac_cv_build in
4528 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4531 ac_save_IFS
=$IFS; IFS
='-'
4537 # Remember, the first character of IFS is used to create $*,
4538 # except with old shells:
4541 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4545 printf %s
"checking host system type... " >&6; }
4546 if test ${ac_cv_host+y}
4548 printf %s
"(cached) " >&6
4550 if test "x$host_alias" = x
; then
4551 ac_cv_host
=$ac_cv_build
4553 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4554 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4559 printf "%s\n" "$ac_cv_host" >&6; }
4562 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4565 ac_save_IFS
=$IFS; IFS
='-'
4571 # Remember, the first character of IFS is used to create $*,
4572 # except with old shells:
4575 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4579 dlldir
=\
${libdir}/wine
4581 fontdir
=\
${datadir}/wine
/fonts
4583 nlsdir
=\
${datadir}/wine
/nls
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4589 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4591 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4592 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4594 printf %s
"(cached) " >&6
4596 cat >conftest.
make <<\_ACEOF
4599 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4601 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4602 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4604 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4606 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4610 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4612 printf "%s\n" "yes" >&6; }
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 printf "%s\n" "no" >&6; }
4617 SET_MAKE
="MAKE=${MAKE-make}"
4630 ac_cpp
='$CPP $CPPFLAGS'
4631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4634 if test -n "$ac_tool_prefix"; then
4635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4636 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 printf %s
"checking for $ac_word... " >&6; }
4639 if test ${ac_cv_prog_CC+y}
4641 printf %s
"(cached) " >&6
4643 if test -n "$CC"; then
4644 ac_cv_prog_CC
="$CC" # Let the user override the test.
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4650 case $as_dir in #(((
4653 *) as_dir
=$as_dir/ ;;
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4668 if test -n "$CC"; then
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4670 printf "%s\n" "$CC" >&6; }
4672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 printf "%s\n" "no" >&6; }
4678 if test -z "$ac_cv_prog_CC"; then
4680 # Extract the first word of "gcc", so it can be a program name with args.
4681 set dummy gcc
; ac_word
=$2
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 printf %s
"checking for $ac_word... " >&6; }
4684 if test ${ac_cv_prog_ac_ct_CC+y}
4686 printf %s
"(cached) " >&6
4688 if test -n "$ac_ct_CC"; then
4689 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4695 case $as_dir in #(((
4698 *) as_dir
=$as_dir/ ;;
4700 for ac_exec_ext
in '' $ac_executable_extensions; do
4701 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4702 ac_cv_prog_ac_ct_CC
="gcc"
4703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4712 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4713 if test -n "$ac_ct_CC"; then
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4715 printf "%s\n" "$ac_ct_CC" >&6; }
4717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 printf "%s\n" "no" >&6; }
4721 if test "x$ac_ct_CC" = x
; then
4724 case $cross_compiling:$ac_tool_warned in
4726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned
=yes ;;
4736 if test -z "$CC"; then
4737 if test -n "$ac_tool_prefix"; then
4738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4739 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741 printf %s
"checking for $ac_word... " >&6; }
4742 if test ${ac_cv_prog_CC+y}
4744 printf %s
"(cached) " >&6
4746 if test -n "$CC"; then
4747 ac_cv_prog_CC
="$CC" # Let the user override the test.
4749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4753 case $as_dir in #(((
4756 *) as_dir
=$as_dir/ ;;
4758 for ac_exec_ext
in '' $ac_executable_extensions; do
4759 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4760 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4771 if test -n "$CC"; then
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4773 printf "%s\n" "$CC" >&6; }
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 printf "%s\n" "no" >&6; }
4782 if test -z "$CC"; then
4783 # Extract the first word of "cc", so it can be a program name with args.
4784 set dummy cc
; ac_word
=$2
4785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786 printf %s
"checking for $ac_word... " >&6; }
4787 if test ${ac_cv_prog_CC+y}
4789 printf %s
"(cached) " >&6
4791 if test -n "$CC"; then
4792 ac_cv_prog_CC
="$CC" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 case $as_dir in #(((
4802 *) as_dir
=$as_dir/ ;;
4804 for ac_exec_ext
in '' $ac_executable_extensions; do
4805 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4806 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4807 ac_prog_rejected
=yes
4811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4818 if test $ac_prog_rejected = yes; then
4819 # We found a bogon in the path, so make sure we never use it.
4820 set dummy
$ac_cv_prog_CC
4822 if test $# != 0; then
4823 # We chose a different compiler from the bogus one.
4824 # However, it has the same basename, so the bogon will be chosen
4825 # first if we set CC to just the basename; use the full file name.
4827 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4833 if test -n "$CC"; then
4834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4835 printf "%s\n" "$CC" >&6; }
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 printf "%s\n" "no" >&6; }
4843 if test -z "$CC"; then
4844 if test -n "$ac_tool_prefix"; then
4845 for ac_prog
in cl.exe
4847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4848 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4850 printf %s
"checking for $ac_word... " >&6; }
4851 if test ${ac_cv_prog_CC+y}
4853 printf %s
"(cached) " >&6
4855 if test -n "$CC"; then
4856 ac_cv_prog_CC
="$CC" # Let the user override the test.
4858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4862 case $as_dir in #(((
4865 *) as_dir
=$as_dir/ ;;
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4880 if test -n "$CC"; then
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4882 printf "%s\n" "$CC" >&6; }
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 printf "%s\n" "no" >&6; }
4889 test -n "$CC" && break
4892 if test -z "$CC"; then
4894 for ac_prog
in cl.exe
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_prog; ac_word
=$2
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 printf %s
"checking for $ac_word... " >&6; }
4900 if test ${ac_cv_prog_ac_ct_CC+y}
4902 printf %s
"(cached) " >&6
4904 if test -n "$ac_ct_CC"; then
4905 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 case $as_dir in #(((
4914 *) as_dir
=$as_dir/ ;;
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_ac_ct_CC
="$ac_prog"
4919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4928 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4929 if test -n "$ac_ct_CC"; then
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4931 printf "%s\n" "$ac_ct_CC" >&6; }
4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 printf "%s\n" "no" >&6; }
4938 test -n "$ac_ct_CC" && break
4941 if test "x$ac_ct_CC" = x
; then
4944 case $cross_compiling:$ac_tool_warned in
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4947 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4948 ac_tool_warned
=yes ;;
4955 if test -z "$CC"; then
4956 if test -n "$ac_tool_prefix"; then
4957 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4958 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 printf %s
"checking for $ac_word... " >&6; }
4961 if test ${ac_cv_prog_CC+y}
4963 printf %s
"(cached) " >&6
4965 if test -n "$CC"; then
4966 ac_cv_prog_CC
="$CC" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 case $as_dir in #(((
4975 *) as_dir
=$as_dir/ ;;
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4990 if test -n "$CC"; then
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4992 printf "%s\n" "$CC" >&6; }
4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 printf "%s\n" "no" >&6; }
5000 if test -z "$ac_cv_prog_CC"; then
5002 # Extract the first word of "clang", so it can be a program name with args.
5003 set dummy clang
; ac_word
=$2
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 printf %s
"checking for $ac_word... " >&6; }
5006 if test ${ac_cv_prog_ac_ct_CC+y}
5008 printf %s
"(cached) " >&6
5010 if test -n "$ac_ct_CC"; then
5011 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5017 case $as_dir in #(((
5020 *) as_dir
=$as_dir/ ;;
5022 for ac_exec_ext
in '' $ac_executable_extensions; do
5023 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_ac_ct_CC
="clang"
5025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5035 if test -n "$ac_ct_CC"; then
5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5037 printf "%s\n" "$ac_ct_CC" >&6; }
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 printf "%s\n" "no" >&6; }
5043 if test "x$ac_ct_CC" = x
; then
5046 case $cross_compiling:$ac_tool_warned in
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5049 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5050 ac_tool_warned
=yes ;;
5061 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5062 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5063 as_fn_error $?
"no acceptable C compiler found in \$PATH
5064 See \`config.log' for more details" "$LINENO" 5; }
5066 # Provide some information about the compiler.
5067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5070 for ac_option
in --version -v -V -qversion -version; do
5071 { { ac_try
="$ac_compiler $ac_option >&5"
5073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5074 *) ac_try_echo=$ac_try;;
5076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5077 printf "%s\n" "$ac_try_echo"; } >&5
5078 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5080 if test -s conftest.err; then
5082 ... rest of stderr output deleted ...
5083 10q' conftest.err >conftest.er1
5084 cat conftest.er1 >&5
5086 rm -f conftest.er1 conftest.err
5087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5088 test $ac_status = 0; }
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5102 ac_clean_files_save=$ac_clean_files
5103 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5104 # Try to create an executable without -o first, disregard a.out.
5105 # It will help us diagnose broken compilers, and finding out an intuition
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5108 printf %s "checking whether the C compiler works... " >&6; }
5109 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5111 # The possible output files:
5112 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5115 for ac_file in $ac_files
5118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5119 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5124 if { { ac_try="$ac_link_default"
5126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5127 *) ac_try_echo
=$ac_try;;
5129 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5130 printf "%s\n" "$ac_try_echo"; } >&5
5131 (eval "$ac_link_default") 2>&5
5133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5134 test $ac_status = 0; }
5136 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5137 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5138 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5139 # so that the user can short-circuit this test for compilers unknown to
5141 for ac_file
in $ac_files ''
5143 test -f "$ac_file" ||
continue
5145 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5148 # We found the default executable, but exeext='' is most
5152 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
5154 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5156 # We set ac_cv_exeext here because the later test for it is not
5157 # safe: cross compilers may not add the suffix if given an `-o'
5158 # argument, so we may need to know it at that point already.
5159 # Even if this section looks crufty: it has the advantage of
5166 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
5171 if test -z "$ac_file"
5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 printf "%s\n" "no" >&6; }
5175 printf "%s\n" "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.
$ac_ext >&5
5178 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5179 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5180 as_fn_error
77 "C compiler cannot create executables
5181 See \`config.log' for more details" "$LINENO" 5; }
5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5184 printf "%s\n" "yes" >&6; }
5186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5187 printf %s
"checking for C compiler default output file name... " >&6; }
5188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5189 printf "%s\n" "$ac_file" >&6; }
5190 ac_exeext
=$ac_cv_exeext
5192 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
5193 ac_clean_files
=$ac_clean_files_save
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5195 printf %s
"checking for suffix of executables... " >&6; }
5196 if { { ac_try
="$ac_link"
5198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5202 printf "%s\n" "$ac_try_echo"; } >&5
5203 (eval "$ac_link") 2>&5
5205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5206 test $ac_status = 0; }
5208 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5209 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5210 # work properly (i.e., refer to `conftest.exe'), while it won't with
5212 for ac_file
in conftest.exe conftest conftest.
*; do
5213 test -f "$ac_file" ||
continue
5215 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5216 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5222 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5223 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5224 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5225 See \`config.log' for more details" "$LINENO" 5; }
5227 rm -f conftest conftest
$ac_cv_exeext
5228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5229 printf "%s\n" "$ac_cv_exeext" >&6; }
5231 rm -f conftest.
$ac_ext
5232 EXEEXT
=$ac_cv_exeext
5234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5240 FILE *f = fopen ("conftest.out", "w");
5241 return ferror (f) || fclose (f) != 0;
5247 ac_clean_files
="$ac_clean_files conftest.out"
5248 # Check that the compiler produces executables we can run. If not, either
5249 # the compiler is broken, or we cross compile.
5250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5251 printf %s
"checking whether we are cross compiling... " >&6; }
5252 if test "$cross_compiling" != yes; then
5253 { { ac_try
="$ac_link"
5255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5256 *) ac_try_echo=$ac_try;;
5258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5259 printf "%s\n" "$ac_try_echo"; } >&5
5260 (eval "$ac_link") 2>&5
5262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5263 test $ac_status = 0; }
5264 if { ac_try='./conftest$ac_cv_exeext'
5265 { { case "(($ac_try" in
5266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5267 *) ac_try_echo
=$ac_try;;
5269 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5270 printf "%s\n" "$ac_try_echo"; } >&5
5271 (eval "$ac_try") 2>&5
5273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274 test $ac_status = 0; }; }; then
5277 if test "$cross_compiling" = maybe
; then
5280 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5281 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5282 as_fn_error
77 "cannot run C compiled programs.
5283 If you meant to cross compile, use \`--host'.
5284 See \`config.log' for more details" "$LINENO" 5; }
5288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5289 printf "%s\n" "$cross_compiling" >&6; }
5291 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
5292 ac_clean_files
=$ac_clean_files_save
5293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5294 printf %s
"checking for suffix of object files... " >&6; }
5295 if test ${ac_cv_objext+y}
5297 printf %s
"(cached) " >&6
5299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5310 rm -f conftest.o conftest.obj
5311 if { { ac_try
="$ac_compile"
5313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5314 *) ac_try_echo=$ac_try;;
5316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5317 printf "%s\n" "$ac_try_echo"; } >&5
5318 (eval "$ac_compile") 2>&5
5320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5321 test $ac_status = 0; }
5323 for ac_file in conftest.o conftest.obj conftest.*; do
5324 test -f "$ac_file" || continue;
5326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5327 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5332 printf "%s\n" "$as_me: failed program was:" >&5
5333 sed 's/^/| /' conftest.$ac_ext >&5
5335 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5336 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5337 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5338 See \
`config.log' for more details" "$LINENO" 5; }
5340 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5343 printf "%s\n" "$ac_cv_objext" >&6; }
5344 OBJEXT=$ac_cv_objext
5346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5347 printf %s "checking whether the compiler supports GNU C... " >&6; }
5348 if test ${ac_cv_c_compiler_gnu+y}
5350 printf %s "(cached) " >&6
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5366 if ac_fn_c_try_compile "$LINENO"
5372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5373 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5377 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5380 if test $ac_compiler_gnu = yes; then
5385 ac_test_CFLAGS=${CFLAGS+y}
5386 ac_save_CFLAGS=$CFLAGS
5387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5388 printf %s "checking whether $CC accepts -g... " >&6; }
5389 if test ${ac_cv_prog_cc_g+y}
5391 printf %s "(cached) " >&6
5393 ac_save_c_werror_flag=$ac_c_werror_flag
5394 ac_c_werror_flag=yes
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5408 if ac_fn_c_try_compile "$LINENO"
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5424 if ac_fn_c_try_compile "$LINENO"
5428 ac_c_werror_flag=$ac_save_c_werror_flag
5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431 /* end confdefs.h. */
5441 if ac_fn_c_try_compile "$LINENO"
5445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5450 ac_c_werror_flag=$ac_save_c_werror_flag
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5453 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5454 if test $ac_test_CFLAGS; then
5455 CFLAGS=$ac_save_CFLAGS
5456 elif test $ac_cv_prog_cc_g = yes; then
5457 if test "$GCC" = yes; then
5463 if test "$GCC" = yes; then
5470 if test x$ac_prog_cc_stdc = xno
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5473 printf %s "checking for $CC option to enable C11 features... " >&6; }
5474 if test ${ac_cv_prog_cc_c11+y}
5476 printf %s "(cached) " >&6
5478 ac_cv_prog_cc_c11=no
5480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h. */
5482 $ac_c_conftest_c11_program
5484 for ac_arg in '' -std=gnu11
5486 CC="$ac_save_CC $ac_arg"
5487 if ac_fn_c_try_compile "$LINENO"
5489 ac_cv_prog_cc_c11=$ac_arg
5491 rm -f core conftest.err conftest.$ac_objext conftest.beam
5492 test "x$ac_cv_prog_cc_c11" != "xno" && break
5494 rm -f conftest.$ac_ext
5498 if test "x$ac_cv_prog_cc_c11" = xno
5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5501 printf "%s\n" "unsupported" >&6; }
5503 if test "x$ac_cv_prog_cc_c11" = x
5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5506 printf "%s\n" "none needed" >&6; }
5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5509 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5510 CC="$CC $ac_cv_prog_cc_c11"
5512 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5516 if test x$ac_prog_cc_stdc = xno
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5519 printf %s "checking for $CC option to enable C99 features... " >&6; }
5520 if test ${ac_cv_prog_cc_c99+y}
5522 printf %s "(cached) " >&6
5524 ac_cv_prog_cc_c99=no
5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5528 $ac_c_conftest_c99_program
5530 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5532 CC="$ac_save_CC $ac_arg"
5533 if ac_fn_c_try_compile "$LINENO"
5535 ac_cv_prog_cc_c99=$ac_arg
5537 rm -f core conftest.err conftest.$ac_objext conftest.beam
5538 test "x$ac_cv_prog_cc_c99" != "xno" && break
5540 rm -f conftest.$ac_ext
5544 if test "x$ac_cv_prog_cc_c99" = xno
5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5547 printf "%s\n" "unsupported" >&6; }
5549 if test "x$ac_cv_prog_cc_c99" = x
5551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5552 printf "%s\n" "none needed" >&6; }
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5555 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5556 CC="$CC $ac_cv_prog_cc_c99"
5558 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5562 if test x$ac_prog_cc_stdc = xno
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5565 printf %s "checking for $CC option to enable C89 features... " >&6; }
5566 if test ${ac_cv_prog_cc_c89+y}
5568 printf %s "(cached) " >&6
5570 ac_cv_prog_cc_c89=no
5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5574 $ac_c_conftest_c89_program
5576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5578 CC="$ac_save_CC $ac_arg"
5579 if ac_fn_c_try_compile "$LINENO"
5581 ac_cv_prog_cc_c89=$ac_arg
5583 rm -f core conftest.err conftest.$ac_objext conftest.beam
5584 test "x$ac_cv_prog_cc_c89" != "xno" && break
5586 rm -f conftest.$ac_ext
5590 if test "x$ac_cv_prog_cc_c89" = xno
5592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5593 printf "%s\n" "unsupported" >&6; }
5595 if test "x$ac_cv_prog_cc_c89" = x
5597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5598 printf "%s\n" "none needed" >&6; }
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5601 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5602 CC="$CC $ac_cv_prog_cc_c89"
5604 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5610 ac_cpp='$CPP $CPPFLAGS'
5611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5622 ac_cpp='$CXXCPP $CPPFLAGS'
5623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5626 if test -z "$CXX"; then
5627 if test -n "$CCC"; then
5630 if test -n "$ac_tool_prefix"; then
5631 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 printf %s "checking for $ac_word... " >&6; }
5637 if test ${ac_cv_prog_CXX+y}
5639 printf %s "(cached) " >&6
5641 if test -n "$CXX"; then
5642 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 case $as_dir in #(((
5651 *) as_dir=$as_dir/ ;;
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5666 if test -n "$CXX"; then
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5668 printf "%s\n" "$CXX" >&6; }
5670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 printf "%s\n" "no" >&6; }
5675 test -n "$CXX" && break
5678 if test -z "$CXX"; then
5680 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy $ac_prog; ac_word=$2
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 printf %s "checking for $ac_word... " >&6; }
5686 if test ${ac_cv_prog_ac_ct_CXX+y}
5688 printf %s "(cached) " >&6
5690 if test -n "$ac_ct_CXX"; then
5691 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 case $as_dir in #(((
5700 *) as_dir=$as_dir/ ;;
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_ac_ct_CXX="$ac_prog"
5705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5714 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5715 if test -n "$ac_ct_CXX"; then
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5717 printf "%s\n" "$ac_ct_CXX" >&6; }
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 printf "%s\n" "no" >&6; }
5724 test -n "$ac_ct_CXX" && break
5727 if test "x$ac_ct_CXX" = x; then
5730 case $cross_compiling:$ac_tool_warned in
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5733 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5734 ac_tool_warned=yes ;;
5742 # Provide some information about the compiler.
5743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5746 for ac_option in --version -v -V -qversion; do
5747 { { ac_try="$ac_compiler $ac_option >&5"
5749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5750 *) ac_try_echo
=$ac_try;;
5752 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5753 printf "%s\n" "$ac_try_echo"; } >&5
5754 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5756 if test -s conftest.err
; then
5758 ... rest of stderr output deleted ...
5759 10q' conftest.err
>conftest.er1
5760 cat conftest.er1
>&5
5762 rm -f conftest.er1 conftest.err
5763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5764 test $ac_status = 0; }
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5768 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
5769 if test ${ac_cv_cxx_compiler_gnu+y}
5771 printf %s
"(cached) " >&6
5773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5774 /* end confdefs.h. */
5787 if ac_fn_cxx_try_compile
"$LINENO"
5793 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5794 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5798 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5801 if test $ac_compiler_gnu = yes; then
5806 ac_test_CXXFLAGS
=${CXXFLAGS+y}
5807 ac_save_CXXFLAGS
=$CXXFLAGS
5808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5809 printf %s
"checking whether $CXX accepts -g... " >&6; }
5810 if test ${ac_cv_prog_cxx_g+y}
5812 printf %s
"(cached) " >&6
5814 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5815 ac_cxx_werror_flag
=yes
5818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h. */
5829 if ac_fn_cxx_try_compile
"$LINENO"
5831 ac_cv_prog_cxx_g
=yes
5834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5845 if ac_fn_cxx_try_compile
"$LINENO"
5849 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5862 if ac_fn_cxx_try_compile
"$LINENO"
5864 ac_cv_prog_cxx_g
=yes
5866 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5868 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5870 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5871 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5874 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5875 if test $ac_test_CXXFLAGS; then
5876 CXXFLAGS
=$ac_save_CXXFLAGS
5877 elif test $ac_cv_prog_cxx_g = yes; then
5878 if test "$GXX" = yes; then
5884 if test "$GXX" = yes; then
5890 ac_prog_cxx_stdcxx
=no
5891 if test x
$ac_prog_cxx_stdcxx = xno
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5894 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
5895 if test ${ac_cv_prog_cxx_11+y}
5897 printf %s
"(cached) " >&6
5899 ac_cv_prog_cxx_11
=no
5901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5903 $ac_cxx_conftest_cxx11_program
5905 for ac_arg
in '' -std=gnu
++11 -std=gnu
++0x
-std=c
++11 -std=c
++0x
-qlanglvl=extended0x
-AA
5907 CXX
="$ac_save_CXX $ac_arg"
5908 if ac_fn_cxx_try_compile
"$LINENO"
5910 ac_cv_prog_cxx_cxx11
=$ac_arg
5912 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5913 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5915 rm -f conftest.
$ac_ext
5919 if test "x$ac_cv_prog_cxx_cxx11" = xno
5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5922 printf "%s\n" "unsupported" >&6; }
5924 if test "x$ac_cv_prog_cxx_cxx11" = x
5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5927 printf "%s\n" "none needed" >&6; }
5929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5930 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5931 CXX
="$CXX $ac_cv_prog_cxx_cxx11"
5933 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
5934 ac_prog_cxx_stdcxx
=cxx11
5937 if test x
$ac_prog_cxx_stdcxx = xno
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5940 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
5941 if test ${ac_cv_prog_cxx_98+y}
5943 printf %s
"(cached) " >&6
5945 ac_cv_prog_cxx_98
=no
5947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5948 /* end confdefs.h. */
5949 $ac_cxx_conftest_cxx98_program
5951 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
5953 CXX
="$ac_save_CXX $ac_arg"
5954 if ac_fn_cxx_try_compile
"$LINENO"
5956 ac_cv_prog_cxx_cxx98
=$ac_arg
5958 rm -f core conftest.err conftest.
$ac_objext conftest.beam
5959 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5961 rm -f conftest.
$ac_ext
5965 if test "x$ac_cv_prog_cxx_cxx98" = xno
5967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5968 printf "%s\n" "unsupported" >&6; }
5970 if test "x$ac_cv_prog_cxx_cxx98" = x
5972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5973 printf "%s\n" "none needed" >&6; }
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5976 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5977 CXX
="$CXX $ac_cv_prog_cxx_cxx98"
5979 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
5980 ac_prog_cxx_stdcxx
=cxx98
5985 ac_cpp
='$CPP $CPPFLAGS'
5986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5990 if test -n "$ac_tool_prefix"; then
5991 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5992 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 printf %s
"checking for $ac_word... " >&6; }
5995 if test ${ac_cv_prog_CPPBIN+y}
5997 printf %s
"(cached) " >&6
5999 if test -n "$CPPBIN"; then
6000 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
6002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6006 case $as_dir in #(((
6009 *) as_dir
=$as_dir/ ;;
6011 for ac_exec_ext
in '' $ac_executable_extensions; do
6012 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6013 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
6014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6023 CPPBIN
=$ac_cv_prog_CPPBIN
6024 if test -n "$CPPBIN"; then
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6026 printf "%s\n" "$CPPBIN" >&6; }
6028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029 printf "%s\n" "no" >&6; }
6034 if test -z "$ac_cv_prog_CPPBIN"; then
6035 ac_ct_CPPBIN
=$CPPBIN
6036 # Extract the first word of "cpp", so it can be a program name with args.
6037 set dummy cpp
; ac_word
=$2
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 printf %s
"checking for $ac_word... " >&6; }
6040 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6042 printf %s
"(cached) " >&6
6044 if test -n "$ac_ct_CPPBIN"; then
6045 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
6047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6051 case $as_dir in #(((
6054 *) as_dir
=$as_dir/ ;;
6056 for ac_exec_ext
in '' $ac_executable_extensions; do
6057 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6058 ac_cv_prog_ac_ct_CPPBIN
="cpp"
6059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6068 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
6069 if test -n "$ac_ct_CPPBIN"; then
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6071 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074 printf "%s\n" "no" >&6; }
6077 if test "x$ac_ct_CPPBIN" = x
; then
6080 case $cross_compiling:$ac_tool_warned in
6082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6083 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6084 ac_tool_warned
=yes ;;
6086 CPPBIN
=$ac_ct_CPPBIN
6089 CPPBIN
="$ac_cv_prog_CPPBIN"
6093 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6095 if test -n "$ac_tool_prefix"; then
6096 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6097 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 printf %s
"checking for $ac_word... " >&6; }
6100 if test ${ac_cv_prog_LD+y}
6102 printf %s
"(cached) " >&6
6104 if test -n "$LD"; then
6105 ac_cv_prog_LD
="$LD" # Let the user override the test.
6107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6111 case $as_dir in #(((
6114 *) as_dir
=$as_dir/ ;;
6116 for ac_exec_ext
in '' $ac_executable_extensions; do
6117 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6129 if test -n "$LD"; then
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6131 printf "%s\n" "$LD" >&6; }
6133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 printf "%s\n" "no" >&6; }
6139 if test -z "$ac_cv_prog_LD"; then
6141 # Extract the first word of "ld", so it can be a program name with args.
6142 set dummy ld
; ac_word
=$2
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 printf %s
"checking for $ac_word... " >&6; }
6145 if test ${ac_cv_prog_ac_ct_LD+y}
6147 printf %s
"(cached) " >&6
6149 if test -n "$ac_ct_LD"; then
6150 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6156 case $as_dir in #(((
6159 *) as_dir
=$as_dir/ ;;
6161 for ac_exec_ext
in '' $ac_executable_extensions; do
6162 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_ac_ct_LD
="ld"
6164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6173 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6174 if test -n "$ac_ct_LD"; then
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6176 printf "%s\n" "$ac_ct_LD" >&6; }
6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 printf "%s\n" "no" >&6; }
6182 if test "x$ac_ct_LD" = x
; then
6185 case $cross_compiling:$ac_tool_warned in
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6188 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6189 ac_tool_warned
=yes ;;
6200 with_fontconfig
=${with_fontconfig:-no}
6202 *-mingw32*|
*-cygwin*)
6203 enable_win16
=${enable_win16:-no}
6204 with_mingw
=${with_mingw:-no}
6211 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x
"$enable_archs" = x
6216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6217 printf %s
"checking whether $CC works... " >&6; }
6218 if test ${wine_cv_cc_m32+y}
6220 printf %s
"(cached) " >&6
6222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6233 if ac_fn_c_try_link
"$LINENO"
6239 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6240 conftest
$ac_exeext conftest.
$ac_ext
6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6243 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6244 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
6246 notice_platform
="32-bit "
6247 TARGETFLAGS
="$TARGETFLAGS -m32"
6248 PKG_CONFIG_PATH
=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6249 export PKG_CONFIG_PATH
6250 with_unwind
=${with_unwind:-no}
6252 if test "x${GCC}" = "xyes"
6254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6255 printf %s
"checking whether $CC supports __builtin_ms_va_list... " >&6; }
6256 if test ${wine_cv_builtin_ms_va_list+y}
6258 printf %s
"(cached) " >&6
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6266 void func(__builtin_ms_va_list *args);
6271 if ac_fn_c_try_compile
"$LINENO"
6273 wine_cv_builtin_ms_va_list
=yes
6275 wine_cv_builtin_ms_va_list
=no
6277 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6280 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6281 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
6286 notice_platform
="64-bit "
6287 TARGETFLAGS
="$TARGETFLAGS -m64"
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6292 printf %s
"checking whether $CC supports Thumb-2... " >&6; }
6293 if test ${wine_cv_thumb2+y}
6295 printf %s
"(cached) " >&6
6297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6303 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6308 if ac_fn_c_try_link
"$LINENO"
6314 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6315 conftest
$ac_exeext conftest.
$ac_ext
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6318 printf "%s\n" "$wine_cv_thumb2" >&6; }
6319 if test x
"$wine_cv_thumb2" = xyes
6321 CFLAGS
="$CFLAGS -mthumb"
6322 TARGETFLAGS
="$TARGETFLAGS -mthumb"
6324 CFLAGS
="$CFLAGS -marm"
6325 TARGETFLAGS
="$TARGETFLAGS -marm"
6327 case $with_float_abi in
6329 float_abi
=$with_float_abi ;;
6336 saved_CFLAGS
=$CFLAGS
6337 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6339 printf %s
"checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6340 if test ${wine_cv_float_abi+y}
6342 printf %s
"(cached) " >&6
6344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6350 asm("vmrs r2,fpscr");
6355 if ac_fn_c_try_link
"$LINENO"
6357 wine_cv_float_abi
=yes
6359 wine_cv_float_abi
=no
6361 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6362 conftest
$ac_exeext conftest.
$ac_ext
6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6365 printf "%s\n" "$wine_cv_float_abi" >&6; }
6366 if test $wine_cv_float_abi = no
6369 as_fn_append wine_warnings
"|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6371 CFLAGS
=$saved_CFLAGS
6375 CFLAGS
="$CFLAGS -mfloat-abi=$float_abi"
6376 TARGETFLAGS
="$TARGETFLAGS -mfloat-abi=$float_abi"
6379 with_unwind
=${with_unwind:-no}
6383 enable_win16
=${enable_win16:-i386}
6384 enable_win64
=${enable_win64:-no}
6385 enable_wow64
=${enable_wow64:-aarch64,x86_64}
6386 enable_wow64win
=${enable_wow64win:-aarch64,x86_64}
6387 enable_wow64cpu
=${enable_wow64cpu:-x86_64}
6389 enable_winetest
=${enable_winetest:-$enable_tests}
6391 if test "x$enable_win64" = "xyes"
6393 test -z "$with_wine64" || as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
6394 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6398 cygwin
*|mingw32
*) toolsext
=".exe"
6406 aarch64
*) HOST_ARCH
=aarch64
;;
6407 arm
*) HOST_ARCH
=arm
;;
6408 i
[3456789]86*) HOST_ARCH
=i386
;;
6409 x86_64
) HOST_ARCH
=x86_64
;;
6413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6414 printf %s
"checking for the directory containing the Wine tools... " >&6; }
6415 if test ${wine_cv_toolsdir+y}
6417 printf %s
"(cached) " >&6
6419 wine_cv_toolsdir
="$with_wine_tools"
6420 if test -z "$with_wine_tools"; then
6421 if test "$cross_compiling" = "yes"; then
6422 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6423 elif test -n "$with_wine64"; then
6424 wine_cv_toolsdir
="$with_wine64"
6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6429 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6430 if test -z "$wine_cv_toolsdir"; then
6431 wine_makedep
=tools
/makedep
$toolsext
6432 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6433 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
$toolsext
6434 enable_tools
=${enable_tools:-no}
6435 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6437 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6439 toolsdir
=$wine_cv_toolsdir
6441 MAKEDEP
=$wine_makedep
6443 RUNTESTFLAGS
="-q -P wine"
6445 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'"
6448 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6450 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
6455 # Extract the first word of "$ac_prog", so it can be a program name with args.
6456 set dummy
$ac_prog; ac_word
=$2
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 printf %s
"checking for $ac_word... " >&6; }
6459 if test ${ac_cv_prog_FLEX+y}
6461 printf %s
"(cached) " >&6
6463 if test -n "$FLEX"; then
6464 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
6466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6470 case $as_dir in #(((
6473 *) as_dir
=$as_dir/ ;;
6475 for ac_exec_ext
in '' $ac_executable_extensions; do
6476 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6477 ac_cv_prog_FLEX
="$ac_prog"
6478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6487 FLEX
=$ac_cv_prog_FLEX
6488 if test -n "$FLEX"; then
6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6490 printf "%s\n" "$FLEX" >&6; }
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 printf "%s\n" "no" >&6; }
6497 test -n "$FLEX" && break
6499 test -n "$FLEX" || FLEX
="none"
6501 if test "$FLEX" = "none"
6503 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6506 printf %s
"checking whether flex is recent enough... " >&6; }
6507 if test ${wine_cv_recent_flex+y}
6509 printf %s
"(cached) " >&6
6511 cat >conftest.l
<<EOF
6513 #include "prediluvian.h"
6517 if $FLEX -t conftest.l
>/dev
/null
2>&5
6519 wine_cv_recent_flex
=yes
6521 wine_cv_recent_flex
=no
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6525 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6526 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
6528 for ac_prog
in bison
6530 # Extract the first word of "$ac_prog", so it can be a program name with args.
6531 set dummy
$ac_prog; ac_word
=$2
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 printf %s
"checking for $ac_word... " >&6; }
6534 if test ${ac_cv_prog_BISON+y}
6536 printf %s
"(cached) " >&6
6538 if test -n "$BISON"; then
6539 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
6541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6545 case $as_dir in #(((
6548 *) as_dir
=$as_dir/ ;;
6550 for ac_exec_ext
in '' $ac_executable_extensions; do
6551 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6552 ac_cv_prog_BISON
="$ac_prog"
6553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6562 BISON
=$ac_cv_prog_BISON
6563 if test -n "$BISON"; then
6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6565 printf "%s\n" "$BISON" >&6; }
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 printf "%s\n" "no" >&6; }
6572 test -n "$BISON" && break
6574 test -n "$BISON" || BISON
="none"
6576 if test "$BISON" = "none"
6578 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6581 printf %s
"checking whether bison is recent enough... " >&6; }
6582 if test ${wine_cv_recent_bison+y}
6584 printf %s
"(cached) " >&6
6586 cat >conftest.y
<<EOF
6587 %define parse.error verbose
6591 if $BISON conftest.y
>/dev
/null
2>&5
6593 wine_cv_recent_bison
=yes
6595 wine_cv_recent_bison
=no
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6599 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6600 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
6602 if test -n "$ac_tool_prefix"; then
6603 for ac_prog
in ar gar
6605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6606 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 printf %s
"checking for $ac_word... " >&6; }
6609 if test ${ac_cv_prog_AR+y}
6611 printf %s
"(cached) " >&6
6613 if test -n "$AR"; then
6614 ac_cv_prog_AR
="$AR" # Let the user override the test.
6616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6620 case $as_dir in #(((
6623 *) as_dir
=$as_dir/ ;;
6625 for ac_exec_ext
in '' $ac_executable_extensions; do
6626 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6627 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6638 if test -n "$AR"; then
6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6640 printf "%s\n" "$AR" >&6; }
6642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 printf "%s\n" "no" >&6; }
6647 test -n "$AR" && break
6650 if test -z "$AR"; then
6652 for ac_prog
in ar gar
6654 # Extract the first word of "$ac_prog", so it can be a program name with args.
6655 set dummy
$ac_prog; ac_word
=$2
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 printf %s
"checking for $ac_word... " >&6; }
6658 if test ${ac_cv_prog_ac_ct_AR+y}
6660 printf %s
"(cached) " >&6
6662 if test -n "$ac_ct_AR"; then
6663 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6669 case $as_dir in #(((
6672 *) as_dir
=$as_dir/ ;;
6674 for ac_exec_ext
in '' $ac_executable_extensions; do
6675 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6676 ac_cv_prog_ac_ct_AR
="$ac_prog"
6677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6686 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6687 if test -n "$ac_ct_AR"; then
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6689 printf "%s\n" "$ac_ct_AR" >&6; }
6691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 printf "%s\n" "no" >&6; }
6696 test -n "$ac_ct_AR" && break
6699 if test "x$ac_ct_AR" = x
; then
6702 case $cross_compiling:$ac_tool_warned in
6704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6705 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6706 ac_tool_warned
=yes ;;
6712 if test -n "$ac_tool_prefix"; then
6713 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6714 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 printf %s
"checking for $ac_word... " >&6; }
6717 if test ${ac_cv_prog_STRIP+y}
6719 printf %s
"(cached) " >&6
6721 if test -n "$STRIP"; then
6722 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6728 case $as_dir in #(((
6731 *) as_dir
=$as_dir/ ;;
6733 for ac_exec_ext
in '' $ac_executable_extensions; do
6734 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6745 STRIP
=$ac_cv_prog_STRIP
6746 if test -n "$STRIP"; then
6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6748 printf "%s\n" "$STRIP" >&6; }
6750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 printf "%s\n" "no" >&6; }
6756 if test -z "$ac_cv_prog_STRIP"; then
6758 # Extract the first word of "strip", so it can be a program name with args.
6759 set dummy strip
; ac_word
=$2
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 printf %s
"checking for $ac_word... " >&6; }
6762 if test ${ac_cv_prog_ac_ct_STRIP+y}
6764 printf %s
"(cached) " >&6
6766 if test -n "$ac_ct_STRIP"; then
6767 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6773 case $as_dir in #(((
6776 *) as_dir
=$as_dir/ ;;
6778 for ac_exec_ext
in '' $ac_executable_extensions; do
6779 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_ac_ct_STRIP
="strip"
6781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6790 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6791 if test -n "$ac_ct_STRIP"; then
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6793 printf "%s\n" "$ac_ct_STRIP" >&6; }
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 printf "%s\n" "no" >&6; }
6799 if test "x$ac_ct_STRIP" = x
; then
6802 case $cross_compiling:$ac_tool_warned in
6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6805 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6806 ac_tool_warned
=yes ;;
6811 STRIP
="$ac_cv_prog_STRIP"
6814 if test -n "$ac_tool_prefix"; then
6815 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6816 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 printf %s
"checking for $ac_word... " >&6; }
6819 if test ${ac_cv_prog_RANLIB+y}
6821 printf %s
"(cached) " >&6
6823 if test -n "$RANLIB"; then
6824 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6830 case $as_dir in #(((
6833 *) as_dir
=$as_dir/ ;;
6835 for ac_exec_ext
in '' $ac_executable_extensions; do
6836 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6837 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6847 RANLIB
=$ac_cv_prog_RANLIB
6848 if test -n "$RANLIB"; then
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6850 printf "%s\n" "$RANLIB" >&6; }
6852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 printf "%s\n" "no" >&6; }
6858 if test -z "$ac_cv_prog_RANLIB"; then
6859 ac_ct_RANLIB
=$RANLIB
6860 # Extract the first word of "ranlib", so it can be a program name with args.
6861 set dummy ranlib
; ac_word
=$2
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863 printf %s
"checking for $ac_word... " >&6; }
6864 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6866 printf %s
"(cached) " >&6
6868 if test -n "$ac_ct_RANLIB"; then
6869 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6875 case $as_dir in #(((
6878 *) as_dir
=$as_dir/ ;;
6880 for ac_exec_ext
in '' $ac_executable_extensions; do
6881 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6882 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6892 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6893 if test -n "$ac_ct_RANLIB"; then
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6895 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 printf "%s\n" "no" >&6; }
6901 if test "x$ac_ct_RANLIB" = x
; then
6904 case $cross_compiling:$ac_tool_warned in
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6907 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6908 ac_tool_warned
=yes ;;
6910 RANLIB
=$ac_ct_RANLIB
6913 RANLIB
="$ac_cv_prog_RANLIB"
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6917 printf %s
"checking whether ln -s works... " >&6; }
6919 if test "$LN_S" = "ln -s"; then
6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6921 printf "%s\n" "yes" >&6; }
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6924 printf "%s\n" "no, using $LN_S" >&6; }
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6928 printf %s
"checking for grep that handles long lines and -e... " >&6; }
6929 if test ${ac_cv_path_GREP+y}
6931 printf %s
"(cached) " >&6
6933 if test -z "$GREP"; then
6934 ac_path_GREP_found
=false
6935 # Loop through the user's path and test for each of PROGNAME-LIST
6936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6937 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6940 case $as_dir in #(((
6943 *) as_dir
=$as_dir/ ;;
6945 for ac_prog
in grep ggrep
6947 for ac_exec_ext
in '' $ac_executable_extensions; do
6948 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
6949 as_fn_executable_p
"$ac_path_GREP" ||
continue
6950 # Check for GNU ac_path_GREP and select it if it is found.
6951 # Check for GNU $ac_path_GREP
6952 case `"$ac_path_GREP" --version 2>&1` in
6954 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6957 printf %s
0123456789 >"conftest.in"
6960 cat "conftest.in" "conftest.in" >"conftest.tmp"
6961 mv "conftest.tmp" "conftest.in"
6962 cp "conftest.in" "conftest.nl"
6963 printf "%s\n" 'GREP' >> "conftest.nl"
6964 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6965 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6966 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6967 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6968 # Best one so far, save it but keep looking for a better one
6969 ac_cv_path_GREP
="$ac_path_GREP"
6970 ac_path_GREP_max
=$ac_count
6972 # 10*(2^10) chars as input seems more than enough
6973 test $ac_count -gt 10 && break
6975 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6978 $ac_path_GREP_found && break 3
6983 if test -z "$ac_cv_path_GREP"; then
6984 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6987 ac_cv_path_GREP
=$GREP
6991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6992 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6993 GREP
="$ac_cv_path_GREP"
6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6997 printf %s
"checking for egrep... " >&6; }
6998 if test ${ac_cv_path_EGREP+y}
7000 printf %s
"(cached) " >&6
7002 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7003 then ac_cv_path_EGREP
="$GREP -E"
7005 if test -z "$EGREP"; then
7006 ac_path_EGREP_found
=false
7007 # Loop through the user's path and test for each of PROGNAME-LIST
7008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7009 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7012 case $as_dir in #(((
7015 *) as_dir
=$as_dir/ ;;
7017 for ac_prog
in egrep
7019 for ac_exec_ext
in '' $ac_executable_extensions; do
7020 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
7021 as_fn_executable_p
"$ac_path_EGREP" ||
continue
7022 # Check for GNU ac_path_EGREP and select it if it is found.
7023 # Check for GNU $ac_path_EGREP
7024 case `"$ac_path_EGREP" --version 2>&1` in
7026 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7029 printf %s
0123456789 >"conftest.in"
7032 cat "conftest.in" "conftest.in" >"conftest.tmp"
7033 mv "conftest.tmp" "conftest.in"
7034 cp "conftest.in" "conftest.nl"
7035 printf "%s\n" 'EGREP' >> "conftest.nl"
7036 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7037 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7038 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7039 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7040 # Best one so far, save it but keep looking for a better one
7041 ac_cv_path_EGREP
="$ac_path_EGREP"
7042 ac_path_EGREP_max
=$ac_count
7044 # 10*(2^10) chars as input seems more than enough
7045 test $ac_count -gt 10 && break
7047 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7050 $ac_path_EGREP_found && break 3
7055 if test -z "$ac_cv_path_EGREP"; then
7056 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7059 ac_cv_path_EGREP
=$EGREP
7064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7065 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7066 EGREP
="$ac_cv_path_EGREP"
7069 # Extract the first word of "ldconfig", so it can be a program name with args.
7070 set dummy ldconfig
; ac_word
=$2
7071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072 printf %s
"checking for $ac_word... " >&6; }
7073 if test ${ac_cv_path_LDCONFIG+y}
7075 printf %s
"(cached) " >&6
7079 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
7082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7083 for as_dir
in /sbin
/usr
/sbin
$PATH
7086 case $as_dir in #(((
7089 *) as_dir
=$as_dir/ ;;
7091 for ac_exec_ext
in '' $ac_executable_extensions; do
7092 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7093 ac_cv_path_LDCONFIG
="$as_dir$ac_word$ac_exec_ext"
7094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7101 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
7105 LDCONFIG
=$ac_cv_path_LDCONFIG
7106 if test -n "$LDCONFIG"; then
7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7108 printf "%s\n" "$LDCONFIG" >&6; }
7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 printf "%s\n" "no" >&6; }
7115 for ac_prog
in msgfmt
7117 # Extract the first word of "$ac_prog", so it can be a program name with args.
7118 set dummy
$ac_prog; ac_word
=$2
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 printf %s
"checking for $ac_word... " >&6; }
7121 if test ${ac_cv_prog_MSGFMT+y}
7123 printf %s
"(cached) " >&6
7125 if test -n "$MSGFMT"; then
7126 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
7128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7132 case $as_dir in #(((
7135 *) as_dir
=$as_dir/ ;;
7137 for ac_exec_ext
in '' $ac_executable_extensions; do
7138 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7139 ac_cv_prog_MSGFMT
="$ac_prog"
7140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7149 MSGFMT
=$ac_cv_prog_MSGFMT
7150 if test -n "$MSGFMT"; then
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7152 printf "%s\n" "$MSGFMT" >&6; }
7154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 printf "%s\n" "no" >&6; }
7159 test -n "$MSGFMT" && break
7161 test -n "$MSGFMT" || MSGFMT
="false"
7163 if test ${ac_tool_prefix+y}
7165 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7166 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 printf %s
"checking for $ac_word... " >&6; }
7169 if test ${ac_cv_prog_PKG_CONFIG+y}
7171 printf %s
"(cached) " >&6
7173 if test -n "$PKG_CONFIG"; then
7174 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7180 case $as_dir in #(((
7183 *) as_dir
=$as_dir/ ;;
7185 for ac_exec_ext
in '' $ac_executable_extensions; do
7186 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
7188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7197 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7198 if test -n "$PKG_CONFIG"; then
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7200 printf "%s\n" "$PKG_CONFIG" >&6; }
7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 printf "%s\n" "no" >&6; }
7208 if ${ac_cv_prog_PKG_CONFIG:+false} :
7210 if test "x$cross_compiling" = xyes
7214 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
7215 # Extract the first word of "pkg-config", so it can be a program name with args.
7216 set dummy pkg-config
; ac_word
=$2
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 printf %s
"checking for $ac_word... " >&6; }
7219 if test ${ac_cv_prog_PKG_CONFIG+y}
7221 printf %s
"(cached) " >&6
7223 if test -n "$PKG_CONFIG"; then
7224 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
7226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7230 case $as_dir in #(((
7233 *) as_dir
=$as_dir/ ;;
7235 for ac_exec_ext
in '' $ac_executable_extensions; do
7236 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7237 ac_cv_prog_PKG_CONFIG
="pkg-config"
7238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7247 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7248 if test -n "$PKG_CONFIG"; then
7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7250 printf "%s\n" "$PKG_CONFIG" >&6; }
7252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 printf "%s\n" "no" >&6; }
7259 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
7262 if test "x$enable_maintainer_mode" != "xyes"
7269 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
7270 for ac_prog
in fontforge
7272 # Extract the first word of "$ac_prog", so it can be a program name with args.
7273 set dummy
$ac_prog; ac_word
=$2
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 printf %s
"checking for $ac_word... " >&6; }
7276 if test ${ac_cv_prog_FONTFORGE+y}
7278 printf %s
"(cached) " >&6
7280 if test -n "$FONTFORGE"; then
7281 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
7283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7287 case $as_dir in #(((
7290 *) as_dir
=$as_dir/ ;;
7292 for ac_exec_ext
in '' $ac_executable_extensions; do
7293 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7294 ac_cv_prog_FONTFORGE
="$ac_prog"
7295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7304 FONTFORGE
=$ac_cv_prog_FONTFORGE
7305 if test -n "$FONTFORGE"; then
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7307 printf "%s\n" "$FONTFORGE" >&6; }
7309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7310 printf "%s\n" "no" >&6; }
7314 test -n "$FONTFORGE" && break
7316 test -n "$FONTFORGE" || FONTFORGE
="false"
7318 for ac_prog
in rsvg-convert rsvg
7320 # Extract the first word of "$ac_prog", so it can be a program name with args.
7321 set dummy
$ac_prog; ac_word
=$2
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 printf %s
"checking for $ac_word... " >&6; }
7324 if test ${ac_cv_prog_RSVG+y}
7326 printf %s
"(cached) " >&6
7328 if test -n "$RSVG"; then
7329 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
7331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7335 case $as_dir in #(((
7338 *) as_dir
=$as_dir/ ;;
7340 for ac_exec_ext
in '' $ac_executable_extensions; do
7341 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_RSVG
="$ac_prog"
7343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7352 RSVG
=$ac_cv_prog_RSVG
7353 if test -n "$RSVG"; then
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7355 printf "%s\n" "$RSVG" >&6; }
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 printf "%s\n" "no" >&6; }
7362 test -n "$RSVG" && break
7364 test -n "$RSVG" || RSVG
="false"
7366 for ac_prog
in convert
7368 # Extract the first word of "$ac_prog", so it can be a program name with args.
7369 set dummy
$ac_prog; ac_word
=$2
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 printf %s
"checking for $ac_word... " >&6; }
7372 if test ${ac_cv_prog_CONVERT+y}
7374 printf %s
"(cached) " >&6
7376 if test -n "$CONVERT"; then
7377 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
7379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7383 case $as_dir in #(((
7386 *) as_dir
=$as_dir/ ;;
7388 for ac_exec_ext
in '' $ac_executable_extensions; do
7389 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_CONVERT
="$ac_prog"
7391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7400 CONVERT
=$ac_cv_prog_CONVERT
7401 if test -n "$CONVERT"; then
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7403 printf "%s\n" "$CONVERT" >&6; }
7405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 printf "%s\n" "no" >&6; }
7410 test -n "$CONVERT" && break
7412 test -n "$CONVERT" || CONVERT
="false"
7414 for ac_prog
in icotool
7416 # Extract the first word of "$ac_prog", so it can be a program name with args.
7417 set dummy
$ac_prog; ac_word
=$2
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 printf %s
"checking for $ac_word... " >&6; }
7420 if test ${ac_cv_prog_ICOTOOL+y}
7422 printf %s
"(cached) " >&6
7424 if test -n "$ICOTOOL"; then
7425 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
7427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7431 case $as_dir in #(((
7434 *) as_dir
=$as_dir/ ;;
7436 for ac_exec_ext
in '' $ac_executable_extensions; do
7437 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7438 ac_cv_prog_ICOTOOL
="$ac_prog"
7439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7448 ICOTOOL
=$ac_cv_prog_ICOTOOL
7449 if test -n "$ICOTOOL"; then
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7451 printf "%s\n" "$ICOTOOL" >&6; }
7453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 printf "%s\n" "no" >&6; }
7458 test -n "$ICOTOOL" && break
7460 test -n "$ICOTOOL" || ICOTOOL
="false"
7462 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7463 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7465 if test "$CONVERT" = false
7467 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7470 printf %s
"checking for recent enough imagemagick... " >&6; }
7471 convert_version
=`convert --version | head -n1`
7472 if test "x$convert_version" != "x"
7474 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7475 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7476 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7481 if test "$CONVERT" = false
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7484 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7485 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7488 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7492 if test "$ICOTOOL" = false
7494 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7497 printf %s
"checking for recent enough icotool... " >&6; }
7498 icotool_version
=`icotool --version | head -n1`
7499 if test "x$icotool_version" != "x"
7501 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7502 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7503 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7506 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
7509 if test "$ICOTOOL" = false
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7512 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7513 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7516 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7526 test "x$with_gettext" != xno || MSGFMT
=false
7527 if test "$MSGFMT" != "false"
7529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7530 printf %s
"checking whether msgfmt supports contexts... " >&6; }
7531 if test ${wine_cv_msgfmt_contexts+y}
7533 printf %s
"(cached) " >&6
7535 cat >conftest.po
<<EOF
7541 if $MSGFMT -o /dev
/null conftest.po
2>&5
7543 wine_cv_msgfmt_contexts
=yes
7545 wine_cv_msgfmt_contexts
=no
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7549 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7550 test $wine_cv_msgfmt_contexts != no || MSGFMT
=false
7552 if test "$MSGFMT" = false
7554 case "x$with_gettext" in
7555 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
7557 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
7558 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7560 enable_po
=${enable_po:-no}
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7565 printf %s
"checking for i386_set_ldt in -li386... " >&6; }
7566 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7568 printf %s
"(cached) " >&6
7570 ac_check_lib_save_LIBS
=$LIBS
7572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7573 /* end confdefs.h. */
7575 /* Override any GCC internal prototype to avoid an error.
7576 Use char because int might match the return type of a GCC
7577 builtin and then its argument prototype would still apply. */
7578 char i386_set_ldt ();
7582 return i386_set_ldt ();
7587 if ac_fn_c_try_link
"$LINENO"
7589 ac_cv_lib_i386_i386_set_ldt
=yes
7591 ac_cv_lib_i386_i386_set_ldt
=no
7593 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
7594 conftest
$ac_exeext conftest.
$ac_ext
7595 LIBS
=$ac_check_lib_save_LIBS
7597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7598 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7599 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7610 # Check whether --enable-largefile was given.
7611 if test ${enable_largefile+y}
7613 enableval
=$enable_largefile;
7616 if test "$enable_largefile" != no
; then
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7619 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7620 if test ${ac_cv_sys_largefile_CC+y}
7622 printf %s
"(cached) " >&6
7624 ac_cv_sys_largefile_CC
=no
7625 if test "$GCC" != yes; then
7628 # IRIX 6.2 and later do not support large files by default,
7629 # so use the C compiler's -n32 option if that helps.
7630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7632 #include <sys/types.h>
7633 /* Check that off_t can represent 2**63 - 1 correctly.
7634 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7635 since some C++ compilers masquerading as C compilers
7636 incorrectly reject 9223372036854775807. */
7637 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7638 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7639 && LARGE_OFF_T % 2147483647 == 1)
7649 if ac_fn_c_try_compile
"$LINENO"
7653 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7655 if ac_fn_c_try_compile
"$LINENO"
7657 ac_cv_sys_largefile_CC
=' -n32'; break
7659 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7663 rm -f conftest.
$ac_ext
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7667 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7668 if test "$ac_cv_sys_largefile_CC" != no
; then
7669 CC
=$CC$ac_cv_sys_largefile_CC
7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7673 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7674 if test ${ac_cv_sys_file_offset_bits+y}
7676 printf %s
"(cached) " >&6
7679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7681 #include <sys/types.h>
7682 /* Check that off_t can represent 2**63 - 1 correctly.
7683 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7684 since some C++ compilers masquerading as C compilers
7685 incorrectly reject 9223372036854775807. */
7686 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7687 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7688 && LARGE_OFF_T % 2147483647 == 1)
7698 if ac_fn_c_try_compile
"$LINENO"
7700 ac_cv_sys_file_offset_bits
=no
; break
7702 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7705 #define _FILE_OFFSET_BITS 64
7706 #include <sys/types.h>
7707 /* Check that off_t can represent 2**63 - 1 correctly.
7708 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7709 since some C++ compilers masquerading as C compilers
7710 incorrectly reject 9223372036854775807. */
7711 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7713 && LARGE_OFF_T % 2147483647 == 1)
7723 if ac_fn_c_try_compile
"$LINENO"
7725 ac_cv_sys_file_offset_bits
=64; break
7727 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7728 ac_cv_sys_file_offset_bits
=unknown
7732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7733 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7734 case $ac_cv_sys_file_offset_bits in #(
7737 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7741 if test $ac_cv_sys_file_offset_bits = unknown
; then
7742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7743 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7744 if test ${ac_cv_sys_large_files+y}
7746 printf %s
"(cached) " >&6
7749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7751 #include <sys/types.h>
7752 /* Check that off_t can represent 2**63 - 1 correctly.
7753 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7754 since some C++ compilers masquerading as C compilers
7755 incorrectly reject 9223372036854775807. */
7756 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7757 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7758 && LARGE_OFF_T % 2147483647 == 1)
7768 if ac_fn_c_try_compile
"$LINENO"
7770 ac_cv_sys_large_files
=no
; break
7772 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7775 #define _LARGE_FILES 1
7776 #include <sys/types.h>
7777 /* Check that off_t can represent 2**63 - 1 correctly.
7778 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7779 since some C++ compilers masquerading as C compilers
7780 incorrectly reject 9223372036854775807. */
7781 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7782 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7783 && LARGE_OFF_T % 2147483647 == 1)
7793 if ac_fn_c_try_compile
"$LINENO"
7795 ac_cv_sys_large_files
=1; break
7797 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7798 ac_cv_sys_large_files
=unknown
7802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7803 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7804 case $ac_cv_sys_large_files in #(
7807 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7815 ac_header
= ac_cache
=
7816 for ac_item
in $ac_header_c_list
7818 if test $ac_cache; then
7819 ac_fn_c_check_header_compile
"$LINENO" $ac_header ac_cv_header_
$ac_cache "$ac_includes_default"
7820 if eval test \"x\
$ac_cv_header_$ac_cache\" = xyes
; then
7821 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7823 ac_header
= ac_cache
=
7824 elif test $ac_header; then
7838 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7841 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7844 ac_fn_c_check_header_compile
"$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_AL_al_h" = xyes
7847 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile
"$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7853 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile
"$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_CL_cl_h" = xyes
7859 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile
"$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7865 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile
"$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7871 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile
"$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7877 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile
"$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_EGL_egl_h" = xyes
7883 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile
"$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7889 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile
"$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7895 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile
"$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7901 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile
"$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_Security_Security_h" = xyes
7907 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7913 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile
"$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7919 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_arpa_inet_h" = xyes
7925 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7931 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile
"$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_asm_types_h" = xyes
7937 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile
"$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_asm_user_h" = xyes
7943 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile
"$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_elf_h" = xyes
7949 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_float_h" = xyes
7955 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile
"$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_gettext_po_h" = xyes
7961 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile
"$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_libproc_h" = xyes
7967 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_link_h" = xyes
7973 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile
"$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7979 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile
"$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_filter_h" = xyes
7985 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile
"$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7991 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile
"$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7997 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_input_h" = xyes
8003 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile
"$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8009 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile
"$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_linux_major_h" = xyes
8015 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile
"$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_linux_param_h" = xyes
8021 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile
"$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_linux_serial_h" = xyes
8027 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile
"$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_linux_types_h" = xyes
8033 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile
"$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8039 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile
"$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_lwp_h" = xyes
8045 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile
"$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8051 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_mach_mach_h" = xyes
8057 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile
"$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_machine_cpu_h" = xyes
8063 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile
"$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8069 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile
"$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_mntent_h" = xyes
8075 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_netdb_h" = xyes
8081 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_netinet_in_h" = xyes
8087 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8093 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8099 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8105 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile
"$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8111 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile
"$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_port_h" = xyes
8117 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_pthread_h" = xyes
8123 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile
"$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_pwd_h" = xyes
8129 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8135 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sched_h" = xyes
8141 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8147 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile
"$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8153 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile
"$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_scsi_sg_h" = xyes
8159 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_stdint_h" = xyes
8165 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile
"$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_attr_h" = xyes
8171 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile
"$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_auxv_h" = xyes
8177 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile
"$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_cdio_h" = xyes
8183 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_epoll_h" = xyes
8189 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_event_h" = xyes
8195 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile
"$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_filio_h" = xyes
8201 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_ipc_h" = xyes
8207 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile
"$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_link_h" = xyes
8213 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile
"$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_modem_h" = xyes
8219 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile
"$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_mtio_h" = xyes
8225 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_param_h" = xyes
8231 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_prctl_h" = xyes
8237 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile
"$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8243 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile
"$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_queue_h" = xyes
8249 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile
"$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_random_h" = xyes
8255 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile
"$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_resource_h" = xyes
8261 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile
"$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8267 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_shm_h" = xyes
8273 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile
"$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_signal_h" = xyes
8279 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile
"$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8285 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile
"$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_sockio_h" = xyes
8291 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile
"$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8297 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile
"$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_strtio_h" = xyes
8303 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile
"$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_syscall_h" = xyes
8309 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8315 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile
"$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_sys_times_h" = xyes
8321 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_uio_h" = xyes
8327 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_user_h" = xyes
8333 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile
"$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_utsname_h" = xyes
8339 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile
"$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_sys_vnode_h" = xyes
8345 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile
"$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_xattr_h" = xyes
8351 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8354 ac_fn_c_check_header_compile
"$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_syscall_h" = xyes
8357 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile
"$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_utime_h" = xyes
8363 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8366 ac_fn_c_check_header_compile
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8369 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8372 ac_fn_c_check_header_compile
"$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8373 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8375 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8379 ac_fn_c_check_header_compile
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8380 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8383 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8387 if test $ac_cv_header_sys_mkdev_h = no
; then
8388 ac_fn_c_check_header_compile
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8389 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8392 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8398 printf %s
"checking whether stat file-mode macros are broken... " >&6; }
8399 if test ${ac_cv_header_stat_broken+y}
8401 printf %s
"(cached) " >&6
8403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 #include <sys/types.h>
8406 #include <sys/stat.h>
8408 #if defined S_ISBLK && defined S_IFDIR
8409 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8412 #if defined S_ISBLK && defined S_IFCHR
8413 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8416 #if defined S_ISLNK && defined S_IFREG
8417 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8420 #if defined S_ISSOCK && defined S_IFREG
8421 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8425 if ac_fn_c_try_compile
"$LINENO"
8427 ac_cv_header_stat_broken
=no
8429 ac_cv_header_stat_broken
=yes
8431 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8434 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8435 if test $ac_cv_header_stat_broken = yes; then
8437 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8443 ac_fn_c_check_header_compile
"$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8448 if test "x$ac_cv_header_sys_conf_h" = xyes
8450 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8453 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8454 #ifdef HAVE_SYS_PARAM_H
8455 # include <sys/param.h>
8458 if test "x$ac_cv_header_sys_mount_h" = xyes
8460 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8463 ac_fn_c_check_header_compile
"$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8464 #ifdef HAVE_SYS_PARAM_H
8465 # include <sys/param.h>
8468 if test "x$ac_cv_header_sys_statfs_h" = xyes
8470 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8473 ac_fn_c_check_header_compile
"$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8474 #ifdef HAVE_SYS_PARAM_H
8475 # include <sys/param.h>
8478 if test "x$ac_cv_header_sys_user_h" = xyes
8480 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8483 ac_fn_c_check_header_compile
"$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8484 #ifdef HAVE_SYS_PARAM_H
8485 # include <sys/param.h>
8488 if test "x$ac_cv_header_sys_vfs_h" = xyes
8490 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8495 saved_sysctl_h_CFLAGS
=$CFLAGS
8496 test "x${GCC}" != xyes || CFLAGS
="$CFLAGS -Werror"
8497 ac_fn_c_check_header_compile
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8498 #ifdef HAVE_SYS_PARAM_H
8499 # include <sys/param.h>
8502 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8504 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8508 CFLAGS
=$saved_sysctl_h_CFLAGS
8510 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8531 if test "x$ac_cv_header_netinet_ip_h" = xyes
8533 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8557 if test "x$ac_cv_header_net_if_h" = xyes
8559 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile
"$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8583 if test "x$ac_cv_header_net_if_arp_h" = xyes
8585 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile
"$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8609 if test "x$ac_cv_header_net_if_dl_h" = xyes
8611 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile
"$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8635 if test "x$ac_cv_header_net_if_types_h" = xyes
8637 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile
"$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8661 if test "x$ac_cv_header_net_route_h" = xyes
8663 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile
"$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8687 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8689 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile
"$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8713 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8715 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8739 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8741 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile
"$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8765 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8767 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8791 if test "x$ac_cv_header_netinet_udp_h" = xyes
8793 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8796 ac_fn_c_check_header_compile
"$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8797 #include <sys/socket.h>
8798 #ifdef HAVE_SYS_SOCKETVAR_H
8799 # include <sys/socketvar.h>
8801 #ifdef HAVE_NET_ROUTE_H
8802 # include <net/route.h>
8804 #ifdef HAVE_NETINET_IN_H
8805 # include <netinet/in.h>
8807 #ifdef HAVE_NETINET_IN_SYSTM_H
8808 # include <netinet/in_systm.h>
8810 #ifdef HAVE_NET_IF_H
8811 # include <net/if.h>
8813 #ifdef HAVE_NETINET_IP_H
8814 # include <netinet/ip.h>
8817 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8819 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8822 ac_fn_c_check_header_compile
"$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8823 #include <sys/socket.h>
8824 #ifdef HAVE_SYS_SOCKETVAR_H
8825 # include <sys/socketvar.h>
8827 #ifdef HAVE_NET_ROUTE_H
8828 # include <net/route.h>
8830 #ifdef HAVE_NETINET_IN_H
8831 # include <netinet/in.h>
8833 #ifdef HAVE_NETINET_IN_SYSTM_H
8834 # include <netinet/in_systm.h>
8836 #ifdef HAVE_NET_IF_H
8837 # include <net/if.h>
8839 #ifdef HAVE_NETINET_IP_H
8840 # include <netinet/ip.h>
8843 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8845 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8848 ac_fn_c_check_header_compile
"$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8849 #include <sys/socket.h>
8850 #ifdef HAVE_SYS_SOCKETVAR_H
8851 # include <sys/socketvar.h>
8853 #ifdef HAVE_NET_ROUTE_H
8854 # include <net/route.h>
8856 #ifdef HAVE_NETINET_IN_H
8857 # include <netinet/in.h>
8859 #ifdef HAVE_NETINET_IN_SYSTM_H
8860 # include <netinet/in_systm.h>
8862 #ifdef HAVE_NET_IF_H
8863 # include <net/if.h>
8865 #ifdef HAVE_NETINET_IP_H
8866 # include <netinet/ip.h>
8869 if test "x$ac_cv_header_sys_un_h" = xyes
8871 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8876 ac_fn_c_check_header_compile
"$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_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_udp_var_h" = xyes
8905 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8908 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8909 #include <sys/socket.h>
8910 #ifdef HAVE_SYS_SOCKETVAR_H
8911 # include <sys/socketvar.h>
8913 #ifdef HAVE_NETINET_IN_H
8914 # include <netinet/in.h>
8916 #ifdef HAVE_NETINET_IN_SYSTM_H
8917 # include <netinet/in_systm.h>
8919 #ifdef HAVE_NETINET_IP_H
8920 # include <netinet/ip.h>
8922 #ifdef HAVE_NETINET_IP_VAR_H
8923 # include <netinet/ip_var.h>
8925 #ifdef HAVE_NETINET_IP_ICMP_H
8926 # include <netinet/ip_icmp.h>
8928 #ifdef HAVE_NETINET_UDP_H
8929 # include <netinet/udp.h>
8931 #ifdef HAVE_NETINET_TCP_H
8932 # include <netinet/tcp.h>
8935 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8937 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8940 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8941 #include <sys/socket.h>
8942 #ifdef HAVE_SYS_SOCKETVAR_H
8943 # include <sys/socketvar.h>
8945 #ifdef HAVE_NETINET_IN_H
8946 # include <netinet/in.h>
8948 #ifdef HAVE_NETINET_IN_SYSTM_H
8949 # include <netinet/in_systm.h>
8951 #ifdef HAVE_NETINET_IP_H
8952 # include <netinet/ip.h>
8954 #ifdef HAVE_NETINET_IP_VAR_H
8955 # include <netinet/ip_var.h>
8957 #ifdef HAVE_NETINET_IP_ICMP_H
8958 # include <netinet/ip_icmp.h>
8960 #ifdef HAVE_NETINET_UDP_H
8961 # include <netinet/udp.h>
8963 #ifdef HAVE_NETINET_TCP_H
8964 # include <netinet/tcp.h>
8967 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8969 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8972 ac_fn_c_check_header_compile
"$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8973 #include <sys/socket.h>
8974 #ifdef HAVE_SYS_SOCKETVAR_H
8975 # include <sys/socketvar.h>
8977 #ifdef HAVE_NETINET_IN_H
8978 # include <netinet/in.h>
8980 #ifdef HAVE_NETINET_IN_SYSTM_H
8981 # include <netinet/in_systm.h>
8983 #ifdef HAVE_NETINET_IP_H
8984 # include <netinet/ip.h>
8986 #ifdef HAVE_NETINET_IP_VAR_H
8987 # include <netinet/ip_var.h>
8989 #ifdef HAVE_NETINET_IP_ICMP_H
8990 # include <netinet/ip_icmp.h>
8992 #ifdef HAVE_NETINET_UDP_H
8993 # include <netinet/udp.h>
8995 #ifdef HAVE_NETINET_TCP_H
8996 # include <netinet/tcp.h>
8999 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9001 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile
"$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9007 #include <sys/socket.h>
9008 #ifdef HAVE_ASM_TYPES_H
9009 # include <asm/types.h>
9011 #ifdef HAVE_LINUX_TYPES_H
9012 # include <linux/types.h>
9015 if test "x$ac_cv_header_linux_ipx_h" = xyes
9017 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile
"$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9021 #include <sys/socket.h>
9022 #ifdef HAVE_ASM_TYPES_H
9023 # include <asm/types.h>
9025 #ifdef HAVE_LINUX_TYPES_H
9026 # include <linux/types.h>
9029 if test "x$ac_cv_header_linux_irda_h" = xyes
9031 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile
"$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9035 #include <sys/socket.h>
9036 #ifdef HAVE_ASM_TYPES_H
9037 # include <asm/types.h>
9039 #ifdef HAVE_LINUX_TYPES_H
9040 # include <linux/types.h>
9043 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9045 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9050 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9051 #include <sys/socket.h>
9052 #ifdef HAVE_NETINET_IN_H
9053 # include <netinet/in.h>
9055 #ifdef HAVE_ARPA_NAMESER_H
9056 # include <arpa/nameser.h>
9059 if test "x$ac_cv_header_resolv_h" = xyes
9061 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9066 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9068 if test "x$ac_cv_header_ifaddrs_h" = xyes
9070 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9075 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9077 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9079 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9084 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9085 #ifdef HAVE_SYS_UCONTEXT_H
9086 #include <sys/ucontext.h>
9089 if test "x$ac_cv_header_sys_thr_h" = xyes
9091 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9096 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9097 #include <pthread.h>
9100 if test "x$ac_cv_header_pthread_np_h" = xyes
9102 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9107 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9108 #include <sys/types.h>
9109 #ifdef HAVE_ASM_TYPES_H
9110 #include <asm/types.h>
9113 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9115 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9120 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9121 #include <sys/param.h>
9123 #include <sys/socket.h>
9124 #ifdef HAVE_SYS_QUEUE_H
9125 #include <sys/queue.h>
9128 if test "x$ac_cv_header_libprocstat_h" = xyes
9130 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9135 if test "x$ac_cv_header_sys_xattr_h" = xyes
9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9138 printf %s
"checking whether getxattr takes additional arguments... " >&6; }
9139 if test ${wine_cv_xattr_extra_args+y}
9141 printf %s
"(cached) " >&6
9143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9145 #include <sys/xattr.h>
9149 getxattr("", "", "", 0, 0, 0);
9154 if ac_fn_c_try_compile
"$LINENO"
9156 wine_cv_xattr_extra_args
=yes
9158 wine_cv_xattr_extra_args
=no
9160 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9163 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9164 test $wine_cv_xattr_extra_args != yes ||
9165 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9178 UNIXDLLFLAGS
="-fPIC"
9180 UNIXLDFLAGS
="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9186 WINELOADER_LDFLAGS
=""
9188 WINEPRELOADER_LDFLAGS
=""
9191 # Extract the first word of "ldd", so it can be a program name with args.
9192 set dummy ldd
; ac_word
=$2
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9194 printf %s
"checking for $ac_word... " >&6; }
9195 if test ${ac_cv_path_LDD+y}
9197 printf %s
"(cached) " >&6
9201 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
9204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9205 as_dummy
="/sbin:/usr/sbin:$PATH"
9206 for as_dir
in $as_dummy
9209 case $as_dir in #(((
9212 *) as_dir
=$as_dir/ ;;
9214 for ac_exec_ext
in '' $ac_executable_extensions; do
9215 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9216 ac_cv_path_LDD
="$as_dir$ac_word$ac_exec_ext"
9217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9224 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
9229 if test -n "$LDD"; then
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9231 printf "%s\n" "$LDD" >&6; }
9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9234 printf "%s\n" "no" >&6; }
9238 if test -n "$ac_tool_prefix"; then
9239 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9240 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9242 printf %s
"checking for $ac_word... " >&6; }
9243 if test ${ac_cv_prog_OTOOL+y}
9245 printf %s
"(cached) " >&6
9247 if test -n "$OTOOL"; then
9248 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9254 case $as_dir in #(((
9257 *) as_dir
=$as_dir/ ;;
9259 for ac_exec_ext
in '' $ac_executable_extensions; do
9260 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9261 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9271 OTOOL
=$ac_cv_prog_OTOOL
9272 if test -n "$OTOOL"; then
9273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9274 printf "%s\n" "$OTOOL" >&6; }
9276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9277 printf "%s\n" "no" >&6; }
9282 if test -z "$ac_cv_prog_OTOOL"; then
9284 # Extract the first word of "otool", so it can be a program name with args.
9285 set dummy otool
; ac_word
=$2
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9287 printf %s
"checking for $ac_word... " >&6; }
9288 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9290 printf %s
"(cached) " >&6
9292 if test -n "$ac_ct_OTOOL"; then
9293 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9299 case $as_dir in #(((
9302 *) as_dir
=$as_dir/ ;;
9304 for ac_exec_ext
in '' $ac_executable_extensions; do
9305 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9306 ac_cv_prog_ac_ct_OTOOL
="otool"
9307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9316 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9317 if test -n "$ac_ct_OTOOL"; then
9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9319 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9322 printf "%s\n" "no" >&6; }
9325 if test "x$ac_ct_OTOOL" = x
; then
9328 case $cross_compiling:$ac_tool_warned in
9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9331 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9332 ac_tool_warned
=yes ;;
9337 OTOOL
="$ac_cv_prog_OTOOL"
9340 if test -n "$ac_tool_prefix"; then
9341 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9342 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9344 printf %s
"checking for $ac_word... " >&6; }
9345 if test ${ac_cv_prog_READELF+y}
9347 printf %s
"(cached) " >&6
9349 if test -n "$READELF"; then
9350 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
9352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9356 case $as_dir in #(((
9359 *) as_dir
=$as_dir/ ;;
9361 for ac_exec_ext
in '' $ac_executable_extensions; do
9362 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9363 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
9364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9373 READELF
=$ac_cv_prog_READELF
9374 if test -n "$READELF"; then
9375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9376 printf "%s\n" "$READELF" >&6; }
9378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9379 printf "%s\n" "no" >&6; }
9384 if test -z "$ac_cv_prog_READELF"; then
9385 ac_ct_READELF
=$READELF
9386 # Extract the first word of "readelf", so it can be a program name with args.
9387 set dummy readelf
; ac_word
=$2
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9389 printf %s
"checking for $ac_word... " >&6; }
9390 if test ${ac_cv_prog_ac_ct_READELF+y}
9392 printf %s
"(cached) " >&6
9394 if test -n "$ac_ct_READELF"; then
9395 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
9397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9401 case $as_dir in #(((
9404 *) as_dir
=$as_dir/ ;;
9406 for ac_exec_ext
in '' $ac_executable_extensions; do
9407 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9408 ac_cv_prog_ac_ct_READELF
="readelf"
9409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9418 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
9419 if test -n "$ac_ct_READELF"; then
9420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9421 printf "%s\n" "$ac_ct_READELF" >&6; }
9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9424 printf "%s\n" "no" >&6; }
9427 if test "x$ac_ct_READELF" = x
; then
9430 case $cross_compiling:$ac_tool_warned in
9432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9433 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9434 ac_tool_warned
=yes ;;
9436 READELF
=$ac_ct_READELF
9439 READELF
="$ac_cv_prog_READELF"
9447 CONFIGURE_TARGETS
=""
9450 wine_fn_config_makefile
()
9452 as_fn_append SUBDIRS
" \\$as_nl $1"
9455 no
) as_fn_append DISABLED_SUBDIRS
" $1" ;;
9456 *aarch64
*|
*arm
*|
*i386
*|
*x86_64
*)
9457 if test -n "$PE_ARCHS"
9461 test $
(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append
${i}_DISABLED_SUBDIRS
" $1"
9464 test $
(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS
" $1"
9469 wine_fn_config_symlink
()
9472 as_fn_append wine_rules
"
9474 @./config.status \$@"
9475 for f
in $ac_links; do as_fn_append CONFIGURE_TARGETS
" $f"; done
9479 test "$HOST_ARCH" != x86_64 || wine_binary
="wine64"
9480 WINELOADER_PROGRAMS
="$wine_binary"
9482 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
9487 EXTRACFLAGS
="-D__WINE_PE_BUILD"
9489 *i
[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9490 printf %s
"checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9491 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9493 printf %s
"(cached) " >&6
9495 ac_wine_try_cflags_saved
=$CFLAGS
9496 CFLAGS
="$CFLAGS -Wl,--disable-stdcall-fixup"
9497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9499 int main(int argc, char **argv) { return 0; }
9501 if ac_fn_c_try_link
"$LINENO"
9503 ac_cv_cflags__Wl___disable_stdcall_fixup
=yes
9505 ac_cv_cflags__Wl___disable_stdcall_fixup
=no
9507 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9508 conftest
$ac_exeext conftest.
$ac_ext
9509 CFLAGS
=$ac_wine_try_cflags_saved
9511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9512 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9513 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9515 LDDLLFLAGS
="-Wl,--disable-stdcall-fixup"
9518 enable_loader
=${enable_loader:-no}
9519 enable_server
=${enable_server:-no}
9520 with_x
=${with_x:-no}
9521 with_pthread
=${with_pthread:-no}
9526 ac_cpp
='$OBJCPP $CPPFLAGS'
9527 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9528 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9529 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9532 ac_cpp
='$OBJCPP $CPPFLAGS'
9533 ac_compile
='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9534 ac_link
='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9535 ac_compiler_gnu
=$ac_cv_objc_compiler_gnu
9536 if test -n "$ac_tool_prefix"; then
9537 for ac_prog
in gcc objcc objc cc CC clang
9539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9540 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9542 printf %s
"checking for $ac_word... " >&6; }
9543 if test ${ac_cv_prog_OBJC+y}
9545 printf %s
"(cached) " >&6
9547 if test -n "$OBJC"; then
9548 ac_cv_prog_OBJC
="$OBJC" # Let the user override the test.
9550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9554 case $as_dir in #(((
9557 *) as_dir
=$as_dir/ ;;
9559 for ac_exec_ext
in '' $ac_executable_extensions; do
9560 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9561 ac_cv_prog_OBJC
="$ac_tool_prefix$ac_prog"
9562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9571 OBJC
=$ac_cv_prog_OBJC
9572 if test -n "$OBJC"; then
9573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9574 printf "%s\n" "$OBJC" >&6; }
9576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9577 printf "%s\n" "no" >&6; }
9581 test -n "$OBJC" && break
9584 if test -z "$OBJC"; then
9586 for ac_prog
in gcc objcc objc cc CC clang
9588 # Extract the first word of "$ac_prog", so it can be a program name with args.
9589 set dummy
$ac_prog; ac_word
=$2
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9591 printf %s
"checking for $ac_word... " >&6; }
9592 if test ${ac_cv_prog_ac_ct_OBJC+y}
9594 printf %s
"(cached) " >&6
9596 if test -n "$ac_ct_OBJC"; then
9597 ac_cv_prog_ac_ct_OBJC
="$ac_ct_OBJC" # Let the user override the test.
9599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9603 case $as_dir in #(((
9606 *) as_dir
=$as_dir/ ;;
9608 for ac_exec_ext
in '' $ac_executable_extensions; do
9609 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
9610 ac_cv_prog_ac_ct_OBJC
="$ac_prog"
9611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9620 ac_ct_OBJC
=$ac_cv_prog_ac_ct_OBJC
9621 if test -n "$ac_ct_OBJC"; then
9622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9623 printf "%s\n" "$ac_ct_OBJC" >&6; }
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 printf "%s\n" "no" >&6; }
9630 test -n "$ac_ct_OBJC" && break
9633 if test "x$ac_ct_OBJC" = x
; then
9636 case $cross_compiling:$ac_tool_warned in
9638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9639 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9640 ac_tool_warned
=yes ;;
9646 # Provide some information about the compiler.
9647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9650 for ac_option
in --version -v -V -qversion; do
9651 { { ac_try
="$ac_compiler $ac_option >&5"
9653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9654 *) ac_try_echo=$ac_try;;
9656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9657 printf "%s\n" "$ac_try_echo"; } >&5
9658 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9660 if test -s conftest.err; then
9662 ... rest of stderr output deleted ...
9663 10q' conftest.err >conftest.er1
9664 cat conftest.er1 >&5
9666 rm -f conftest.er1 conftest.err
9667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9668 test $ac_status = 0; }
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9672 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9673 if test ${ac_cv_objc_compiler_gnu+y}
9675 printf %s "(cached) " >&6
9677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9691 if ac_fn_objc_try_compile "$LINENO"
9697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9698 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9702 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9703 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9705 if test $ac_compiler_gnu = yes; then
9710 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9711 ac_save_OBJCFLAGS=$OBJCFLAGS
9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9713 printf %s "checking whether $OBJC accepts -g... " >&6; }
9714 if test ${ac_cv_prog_objc_g+y}
9716 printf %s "(cached) " >&6
9718 ac_save_objc_werror_flag=$ac_objc_werror_flag
9719 ac_objc_werror_flag=yes
9720 ac_cv_prog_objc_g=no
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9733 if ac_fn_objc_try_compile "$LINENO"
9735 ac_cv_prog_objc_g=yes
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9749 if ac_fn_objc_try_compile "$LINENO"
9753 ac_objc_werror_flag=$ac_save_objc_werror_flag
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9766 if ac_fn_objc_try_compile "$LINENO"
9768 ac_cv_prog_objc_g=yes
9770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9775 ac_objc_werror_flag=$ac_save_objc_werror_flag
9777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9778 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9779 if test $ac_test_OBJCFLAGS; then
9780 OBJCFLAGS=$ac_save_OBJCFLAGS
9781 elif test $ac_cv_prog_objc_g = yes; then
9782 if test "$GOBJC" = yes; then
9788 if test "$GOBJC" = yes; then
9795 ac_cpp='$OBJCPP $CPPFLAGS'
9796 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9797 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9798 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9801 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9802 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9804 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9809 ac_cpp='$CPP $CPPFLAGS'
9810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9815 DLLFLAGS="$DLLFLAGS -fPIC"
9817 COREFOUNDATION_LIBS="-framework CoreFoundation"
9819 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9821 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9823 CORESERVICES_LIBS="-framework CoreServices"
9825 APPKIT_LIBS="-framework AppKit"
9827 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9830 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9832 wine_can_build_preloader=yes
9833 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"
9834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9835 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9836 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9838 printf %s "(cached) " >&6
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9844 int main(int argc, char **argv) { return 0; }
9846 if ac_fn_c_try_link "$LINENO"
9848 ac_cv_cflags__Wl__no_new_main__e__main=yes
9850 ac_cv_cflags__Wl__no_new_main__e__main=no
9852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9853 conftest$ac_exeext conftest.$ac_ext
9854 CFLAGS=$ac_wine_try_cflags_saved
9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9857 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9858 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9860 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9861 { 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
9862 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9863 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9865 printf %s "(cached) " >&6
9867 ac_wine_try_cflags_saved=$CFLAGS
9868 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 int main(int argc, char **argv) { return 0; }
9873 if ac_fn_c_try_link "$LINENO"
9875 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9877 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9880 conftest$ac_exeext conftest.$ac_ext
9881 CFLAGS=$ac_wine_try_cflags_saved
9883 { 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
9884 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9885 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9887 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9889 wine_can_build_preloader=no
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9893 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9894 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9896 printf %s "(cached) " >&6
9898 ac_wine_try_cflags_saved=$CFLAGS
9899 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9902 int main(int argc, char **argv) { return 0; }
9904 if ac_fn_c_try_link "$LINENO"
9906 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9908 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9911 conftest$ac_exeext conftest.$ac_ext
9912 CFLAGS=$ac_wine_try_cflags_saved
9914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9915 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9916 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9918 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9920 wine_can_build_preloader=no
9923 if test "$wine_can_build_preloader" = "yes"
9925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9926 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9927 if test ${ac_cv_cflags__Wl__no_pie+y}
9929 printf %s "(cached) " >&6
9931 ac_wine_try_cflags_saved=$CFLAGS
9932 CFLAGS="$CFLAGS -Wl,-no_pie"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 int main(int argc, char **argv) { return 0; }
9937 if ac_fn_c_try_link "$LINENO"
9939 ac_cv_cflags__Wl__no_pie=yes
9941 ac_cv_cflags__Wl__no_pie=no
9943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9944 conftest$ac_exeext conftest.$ac_ext
9945 CFLAGS=$ac_wine_try_cflags_saved
9947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9948 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9949 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9951 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9953 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9954 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9956 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9959 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9961 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9964 if test "$ac_cv_header_Security_Security_h" = "yes"
9966 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9969 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9971 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9973 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9975 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9977 OPENCL_LIBS="-framework OpenCL"
9979 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9981 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9983 ac_save_LIBS="$LIBS"
9984 LIBS="$LIBS $IOKIT_LIBS"
9985 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9986 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9988 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9992 LIBS="$ac_save_LIBS"
9995 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9997 CARBON_LIBS="-framework Carbon"
10000 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10002 METAL_LIBS="-framework Metal"
10006 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10009 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10011 ac_cpp='$OBJCPP $CPPFLAGS'
10012 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10013 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10014 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10018 #include <Metal/Metal.h>
10022 id<MTLDevice> device; device.registryID;
10027 if ac_fn_objc_try_compile "$LINENO"
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10030 printf "%s\n" "yes" >&6; }
10032 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10036 printf "%s\n" "no" >&6; }
10038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10040 ac_cpp='$CPP $CPPFLAGS'
10041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10047 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10049 ac_save_LIBS="$LIBS"
10050 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10051 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10052 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10054 enable_winemac_drv=${enable_winemac_drv:-yes}
10057 LIBS="$ac_save_LIBS"
10060 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10061 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10063 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10065 WINELOADER_DEPENDS="wine_info.plist"
10067 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10072 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10074 DLLFLAGS="$DLLFLAGS -fPIC"
10076 LDEXECFLAGS="-Wl,-pie"
10077 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10079 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10080 if test ${ac_cv_cflags__Wl__z_defs+y}
10082 printf %s "(cached) " >&6
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 CFLAGS="$CFLAGS -Wl,-z,defs"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10088 int main(int argc, char **argv) { return 0; }
10090 if ac_fn_c_try_link "$LINENO"
10092 ac_cv_cflags__Wl__z_defs=yes
10094 ac_cv_cflags__Wl__z_defs=no
10096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10097 conftest$ac_exeext conftest.$ac_ext
10098 CFLAGS=$ac_wine_try_cflags_saved
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10101 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10102 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10104 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10107 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10108 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10110 printf %s "(cached) " >&6
10112 ac_wine_try_cflags_saved=$CFLAGS
10113 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
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__fPIC__Wl___export_dynamic=yes
10122 ac_cv_cflags__fPIC__Wl___export_dynamic=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__fPIC__Wl___export_dynamic" >&5
10129 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10130 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10132 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10134 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10137 printf %s "checking for -lEGL... " >&6; }
10138 if test ${ac_cv_lib_soname_EGL+y}
10140 printf %s "(cached) " >&6
10142 ac_check_soname_save_LIBS=$LIBS
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 char eglGetProcAddress ();
10154 return eglGetProcAddress ();
10159 if ac_fn_c_try_link "$LINENO"
10162 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe |
grep "EGL" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10163 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'` ;;
10164 *) ac_cv_lib_soname_EGL=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libEGL\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10165 if ${ac_cv_lib_soname_EGL:+false} :
10167 ac_cv_lib_soname_EGL=`$LDD conftest
$ac_exeext |
grep "libEGL\\.$LIBEXT" |
sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 ac_cv_lib_soname_EGL=
10173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_soname_save_LIBS
10177 if ${ac_cv_lib_soname_EGL:+false} :
10179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 printf "%s\n" "not found" >&6; }
10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10184 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10186 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10191 printf %s "checking for -lGLESv2... " >&6; }
10192 if test ${ac_cv_lib_soname_GLESv2+y}
10194 printf %s "(cached) " >&6
10196 ac_check_soname_save_LIBS=$LIBS
10197 LIBS="-lGLESv2 $LIBS"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10201 /* Override any GCC internal prototype to avoid an error.
10202 Use char because int might match the return type of a GCC
10203 builtin and then its argument prototype would still apply. */
10213 if ac_fn_c_try_link "$LINENO"
10216 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe |
grep "GLESv2" |
sed -e "s/dll.*/dll/"';2,$d'` ;;
10217 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'` ;;
10218 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest
$ac_exeext |
grep "NEEDED.*libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10219 if ${ac_cv_lib_soname_GLESv2:+false} :
10221 ac_cv_lib_soname_GLESv2=`$LDD conftest
$ac_exeext |
grep "libGLESv2\\.$LIBEXT" |
sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10225 ac_cv_lib_soname_GLESv2=
10227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_soname_save_LIBS
10231 if ${ac_cv_lib_soname_GLESv2:+false} :
10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10234 printf "%s\n" "not found" >&6; }
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10238 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10240 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10245 if test "x$exec_prefix" = xNONE
10248 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10249 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10250 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10251 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10258 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10260 test "$ac_cv_sys_file_offset_bits" = 64 &&
10261 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10265 DLLFLAGS="$DLLFLAGS -fno-PIC"
10266 LDDLLFLAGS="-fno-PIC"
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10268 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10269 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10271 printf %s "(cached) " >&6
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int main(int argc, char **argv) { return 0; }
10279 if ac_fn_c_try_link "$LINENO"
10281 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10283 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10290 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10291 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10293 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10297 DLLFLAGS="$DLLFLAGS -fPIC"
10298 LDDLLFLAGS="-fPIC" ;;
10300 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10302 echo '{ global: *; };' >conftest.map
10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10304 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10305 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10307 printf %s "(cached) " >&6
10309 ac_wine_try_cflags_saved=$CFLAGS
10310 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 int main(int argc, char **argv) { return 0; }
10315 if ac_fn_c_try_link "$LINENO"
10317 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10319 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10322 conftest$ac_exeext conftest.$ac_ext
10323 CFLAGS=$ac_wine_try_cflags_saved
10325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10326 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10327 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10329 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10334 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10335 if test ${ac_cv_cflags__Wl__z_defs+y}
10337 printf %s "(cached) " >&6
10339 ac_wine_try_cflags_saved=$CFLAGS
10340 CFLAGS="$CFLAGS -Wl,-z,defs"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10343 int main(int argc, char **argv) { return 0; }
10345 if ac_fn_c_try_link "$LINENO"
10347 ac_cv_cflags__Wl__z_defs=yes
10349 ac_cv_cflags__Wl__z_defs=no
10351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10352 conftest$ac_exeext conftest.$ac_ext
10353 CFLAGS=$ac_wine_try_cflags_saved
10355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10356 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10357 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10359 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10362 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10363 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10365 printf %s "(cached) " >&6
10367 ac_wine_try_cflags_saved=$CFLAGS
10368 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int main(int argc, char **argv) { return 0; }
10373 if ac_fn_c_try_link "$LINENO"
10375 ac_cv_cflags__Wl___export_dynamic=yes
10377 ac_cv_cflags__Wl___export_dynamic=no
10379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10380 conftest$ac_exeext conftest.$ac_ext
10381 CFLAGS=$ac_wine_try_cflags_saved
10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10384 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10385 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10387 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10389 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10392 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10394 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10395 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10397 printf %s "(cached) " >&6
10399 ac_wine_try_cflags_saved=$CFLAGS
10400 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 int main(int argc, char **argv) { return 0; }
10405 if ac_fn_c_try_link "$LINENO"
10407 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10409 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10412 conftest$ac_exeext conftest.$ac_ext
10413 CFLAGS=$ac_wine_try_cflags_saved
10415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10416 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10417 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10420 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10421 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10425 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10426 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10428 printf %s "(cached) " >&6
10430 ac_wine_try_cflags_saved=$CFLAGS
10431 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10434 int main(int argc, char **argv) { return 0; }
10436 if ac_fn_c_try_link "$LINENO"
10438 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10440 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10443 conftest$ac_exeext conftest.$ac_ext
10444 CFLAGS=$ac_wine_try_cflags_saved
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10447 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10448 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10451 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10452 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10455 # Extract the first word of "prelink", so it can be a program name with args.
10456 set dummy prelink; ac_word=$2
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 printf %s "checking for $ac_word... " >&6; }
10459 if test ${ac_cv_path_PRELINK+y}
10461 printf %s "(cached) " >&6
10465 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10469 for as_dir in /sbin /usr/sbin $PATH
10472 case $as_dir in #(((
10475 *) as_dir=$as_dir/ ;;
10477 for ac_exec_ext in '' $ac_executable_extensions; do
10478 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10479 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10487 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10491 PRELINK=$ac_cv_path_PRELINK
10492 if test -n "$PRELINK"; then
10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10494 printf "%s\n" "$PRELINK" >&6; }
10496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 printf "%s\n" "no" >&6; }
10501 if test "x$PRELINK" = xfalse
10503 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10507 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10508 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10510 printf %s "(cached) " >&6
10512 ac_wine_try_cflags_saved=$CFLAGS
10513 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10516 int main(int argc, char **argv) { return 0; }
10518 if ac_fn_c_try_link "$LINENO"
10520 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10522 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10525 conftest$ac_exeext conftest.$ac_ext
10526 CFLAGS=$ac_wine_try_cflags_saved
10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10529 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10530 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10532 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10536 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10538 LIBWINE_DEPENDS="wine.map"
10540 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10544 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10545 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10546 enable_winemac_drv=${enable_winemac_drv:-no}
10551 if test ${enable_archs+y}
10553 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10556 set x $enable_archs
10562 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10563 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10567 if test "x$with_mingw" != xno
10569 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10570 case "x$with_mingw" in
10572 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10577 for wine_arch in $cross_archs
10579 if eval \${${wine_arch}_CC:+false} :
10583 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10585 # Extract the first word of "$ac_prog", so it can be a program name with args.
10586 set dummy $ac_prog; ac_word=$2
10587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10588 printf %s "checking for $ac_word... " >&6; }
10589 if test ${ac_cv_prog_aarch64_CC+y}
10591 printf %s "(cached) " >&6
10593 if test -n "$aarch64_CC"; then
10594 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10597 for as_dir in $PATH
10600 case $as_dir in #(((
10603 *) as_dir=$as_dir/ ;;
10605 for ac_exec_ext in '' $ac_executable_extensions; do
10606 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10607 ac_cv_prog_aarch64_CC="$ac_prog"
10608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10617 aarch64_CC=$ac_cv_prog_aarch64_CC
10618 if test -n "$aarch64_CC"; then
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10620 printf "%s\n" "$aarch64_CC" >&6; }
10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10623 printf "%s\n" "no" >&6; }
10627 test -n "$aarch64_CC" && break
10629 test -n "$aarch64_CC" || aarch64_CC="false"
10633 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10635 # Extract the first word of "$ac_prog", so it can be a program name with args.
10636 set dummy $ac_prog; ac_word=$2
10637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10638 printf %s "checking for $ac_word... " >&6; }
10639 if test ${ac_cv_prog_arm_CC+y}
10641 printf %s "(cached) " >&6
10643 if test -n "$arm_CC"; then
10644 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10647 for as_dir in $PATH
10650 case $as_dir in #(((
10653 *) as_dir=$as_dir/ ;;
10655 for ac_exec_ext in '' $ac_executable_extensions; do
10656 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10657 ac_cv_prog_arm_CC="$ac_prog"
10658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10667 arm_CC=$ac_cv_prog_arm_CC
10668 if test -n "$arm_CC"; then
10669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10670 printf "%s\n" "$arm_CC" >&6; }
10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10673 printf "%s\n" "no" >&6; }
10677 test -n "$arm_CC" && break
10679 test -n "$arm_CC" || arm_CC="false"
10683 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 "
10684 for ac_prog in $ac_prefix_list clang
10686 # Extract the first word of "$ac_prog", so it can be a program name with args.
10687 set dummy $ac_prog; ac_word=$2
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10689 printf %s "checking for $ac_word... " >&6; }
10690 if test ${ac_cv_prog_i386_CC+y}
10692 printf %s "(cached) " >&6
10694 if test -n "$i386_CC"; then
10695 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10698 for as_dir in $PATH
10701 case $as_dir in #(((
10704 *) as_dir=$as_dir/ ;;
10706 for ac_exec_ext in '' $ac_executable_extensions; do
10707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10708 ac_cv_prog_i386_CC="$ac_prog"
10709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10718 i386_CC=$ac_cv_prog_i386_CC
10719 if test -n "$i386_CC"; then
10720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10721 printf "%s\n" "$i386_CC" >&6; }
10723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10724 printf "%s\n" "no" >&6; }
10728 test -n "$i386_CC" && break
10730 test -n "$i386_CC" || i386_CC="false"
10734 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10735 for ac_prog in $ac_prefix_list clang
10737 # Extract the first word of "$ac_prog", so it can be a program name with args.
10738 set dummy $ac_prog; ac_word=$2
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10740 printf %s "checking for $ac_word... " >&6; }
10741 if test ${ac_cv_prog_x86_64_CC+y}
10743 printf %s "(cached) " >&6
10745 if test -n "$x86_64_CC"; then
10746 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10749 for as_dir in $PATH
10752 case $as_dir in #(((
10755 *) as_dir=$as_dir/ ;;
10757 for ac_exec_ext in '' $ac_executable_extensions; do
10758 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10759 ac_cv_prog_x86_64_CC="$ac_prog"
10760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10769 x86_64_CC=$ac_cv_prog_x86_64_CC
10770 if test -n "$x86_64_CC"; then
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10772 printf "%s\n" "$x86_64_CC" >&6; }
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10775 printf "%s\n" "no" >&6; }
10779 test -n "$x86_64_CC" && break
10781 test -n "$x86_64_CC" || x86_64_CC="false"
10787 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10793 saved_CFLAGS=$CFLAGS
10795 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10796 eval CC=\$${wine_arch}_CC
10797 eval ${wine_arch}_CFLAGS=\$CFLAGS
10798 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10799 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10802 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" |
$as_tr_sh`
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10805 printf %s "checking whether $CC works... " >&6; }
10806 if eval test \${$as_wine_cv_crosscc+y}
10808 printf %s "(cached) " >&6
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10821 if ac_fn_c_try_compile "$LINENO"
10823 eval "$as_wine_cv_crosscc=yes"
10825 eval "$as_wine_cv_crosscc=no"
10827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10829 eval ac_res=\$$as_wine_cv_crosscc
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10831 printf "%s\n" "$ac_res" >&6; }
10832 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10836 while test $# -ge 1
10839 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10840 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10845 llvm_target=$target
10846 llvm_cflags="-fuse-ld=lld"
10847 if test -z "$llvm_target"
10850 i386) llvm_target=i686-windows ;;
10851 arm) llvm_target=armv7-windows ;;
10852 *) llvm_target=$wine_arch-windows ;;
10855 case $llvm_target in
10856 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10858 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" |
$as_tr_sh`
10859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10860 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10861 if eval test \${$as_ac_var+y}
10863 printf %s "(cached) " >&6
10865 ac_wine_try_cflags_saved=$CFLAGS
10866 ac_wine_try_cflags_saved_exeext=$ac_exeext
10867 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 /* end confdefs.h. */
10871 int __cdecl mainCRTStartup(void) { return 0; }
10873 if ac_fn_c_try_link "$LINENO"
10875 eval "$as_ac_var=yes"
10877 eval "$as_ac_var=no"
10879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10880 conftest$ac_exeext conftest.$ac_ext
10881 CFLAGS=$ac_wine_try_cflags_saved
10882 ac_exeext=$ac_wine_try_cflags_saved_exeext
10884 eval ac_res=\$$as_ac_var
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10886 printf "%s\n" "$ac_res" >&6; }
10887 if eval test \"x\$"$as_ac_var"\" = x"yes"
10889 target=$llvm_target
10890 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10891 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10892 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10894 eval "${wine_arch}_TARGET=\$target"
10895 PE_ARCHS="$PE_ARCHS $wine_arch"
10899 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" |
$as_tr_sh`
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10902 printf %s "checking for $CC option to enable C99 features... " >&6; }
10903 if eval test \${$as_wine_cv_crosscc_c99+y}
10905 printf %s "(cached) " >&6
10907 eval "$as_wine_cv_crosscc_c99=no"
10908 for arg in '' '-std=gnu99'
10910 test -z "$arg" || CC="$CC $arg"
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10913 $ac_c_conftest_c99_program
10915 if ac_fn_c_try_compile "$LINENO"
10917 eval "$as_wine_cv_crosscc_c99=\$arg"
10919 eval "$as_wine_cv_crosscc_c99=no"
10921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10922 eval CC=\$${wine_arch}_CC
10923 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10932 eval res=\$$as_wine_cv_crosscc_c99
10934 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10935 printf "%s\n" "none needed" >&6; } ;;
10936 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10937 printf "%s\n" "unsupported" >&6; } ;;
10938 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10939 printf "%s\n" "$res" >&6; }
10940 as_fn_append ${wine_arch}_CC " $res" ;;
10944 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" |
$as_tr_sh`
10945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10946 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10947 if eval test \${$as_ac_var+y}
10949 printf %s "(cached) " >&6
10951 ac_wine_try_cflags_saved=$CFLAGS
10952 ac_wine_try_cflags_saved_exeext=$ac_exeext
10953 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 int __cdecl mainCRTStartup(void) { return 0; }
10959 if ac_fn_c_try_link "$LINENO"
10961 eval "$as_ac_var=yes"
10963 eval "$as_ac_var=no"
10965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10966 conftest$ac_exeext conftest.$ac_ext
10967 CFLAGS=$ac_wine_try_cflags_saved
10968 ac_exeext=$ac_wine_try_cflags_saved_exeext
10970 eval ac_res=\$$as_ac_var
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10972 printf "%s\n" "$ac_res" >&6; }
10973 if eval test \"x\$"$as_ac_var"\" = x"yes"
10975 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10977 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" |
$as_tr_sh`
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10979 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10980 if eval test \${$as_ac_var+y}
10982 printf %s "(cached) " >&6
10984 ac_wine_try_cflags_saved=$CFLAGS
10985 ac_wine_try_cflags_saved_exeext=$ac_exeext
10986 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10990 int __cdecl mainCRTStartup(void) { return 0; }
10992 if ac_fn_c_try_link "$LINENO"
10994 eval "$as_ac_var=yes"
10996 eval "$as_ac_var=no"
10998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10999 conftest$ac_exeext conftest.$ac_ext
11000 CFLAGS=$ac_wine_try_cflags_saved
11001 ac_exeext=$ac_wine_try_cflags_saved_exeext
11003 eval ac_res=\$$as_ac_var
11004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11005 printf "%s\n" "$ac_res" >&6; }
11006 if eval test \"x\$"$as_ac_var"\" = x"yes"
11008 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11010 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" |
$as_tr_sh`
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11012 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11013 if eval test \${$as_ac_var+y}
11015 printf %s "(cached) " >&6
11017 ac_wine_try_cflags_saved=$CFLAGS
11018 ac_wine_try_cflags_saved_exeext=$ac_exeext
11019 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11023 int __cdecl mainCRTStartup(void) { return 0; }
11025 if ac_fn_c_try_link "$LINENO"
11027 eval "$as_ac_var=yes"
11029 eval "$as_ac_var=no"
11031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11032 conftest$ac_exeext conftest.$ac_ext
11033 CFLAGS=$ac_wine_try_cflags_saved
11034 ac_exeext=$ac_wine_try_cflags_saved_exeext
11036 eval ac_res=\$$as_ac_var
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11038 printf "%s\n" "$ac_res" >&6; }
11039 if eval test \"x\$"$as_ac_var"\" = x"yes"
11041 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11043 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" |
$as_tr_sh`
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11045 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11046 if eval test \${$as_ac_var+y}
11048 printf %s "(cached) " >&6
11050 ac_wine_try_cflags_saved=$CFLAGS
11051 ac_wine_try_cflags_saved_exeext=$ac_exeext
11052 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11056 int __cdecl mainCRTStartup(void) { return 0; }
11058 if ac_fn_c_try_link "$LINENO"
11060 eval "$as_ac_var=yes"
11062 eval "$as_ac_var=no"
11064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11065 conftest$ac_exeext conftest.$ac_ext
11066 CFLAGS=$ac_wine_try_cflags_saved
11067 ac_exeext=$ac_wine_try_cflags_saved_exeext
11069 eval ac_res=\$$as_ac_var
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11071 printf "%s\n" "$ac_res" >&6; }
11072 if eval test \"x\$"$as_ac_var"\" = x"yes"
11074 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11076 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" |
$as_tr_sh`
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11078 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11079 if eval test \${$as_ac_var+y}
11081 printf %s "(cached) " >&6
11083 ac_wine_try_cflags_saved=$CFLAGS
11084 ac_wine_try_cflags_saved_exeext=$ac_exeext
11085 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11089 int __cdecl mainCRTStartup(void) { return 0; }
11091 if ac_fn_c_try_link "$LINENO"
11093 eval "$as_ac_var=yes"
11095 eval "$as_ac_var=no"
11097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11098 conftest$ac_exeext conftest.$ac_ext
11099 CFLAGS=$ac_wine_try_cflags_saved
11100 ac_exeext=$ac_wine_try_cflags_saved_exeext
11102 eval ac_res=\$$as_ac_var
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11104 printf "%s\n" "$ac_res" >&6; }
11105 if eval test \"x\$"$as_ac_var"\" = x"yes"
11107 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11109 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" |
$as_tr_sh`
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11111 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11112 if eval test \${$as_ac_var+y}
11114 printf %s "(cached) " >&6
11116 ac_wine_try_cflags_saved=$CFLAGS
11117 ac_wine_try_cflags_saved_exeext=$ac_exeext
11118 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11122 int __cdecl mainCRTStartup(void) { return 0; }
11124 if ac_fn_c_try_link "$LINENO"
11126 eval "$as_ac_var=yes"
11128 eval "$as_ac_var=no"
11130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11131 conftest$ac_exeext conftest.$ac_ext
11132 CFLAGS=$ac_wine_try_cflags_saved
11133 ac_exeext=$ac_wine_try_cflags_saved_exeext
11135 eval ac_res=\$$as_ac_var
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11137 printf "%s\n" "$ac_res" >&6; }
11138 if eval test \"x\$"$as_ac_var"\" = x"yes"
11140 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11142 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" |
$as_tr_sh`
11143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11144 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11145 if eval test \${$as_ac_var+y}
11147 printf %s "(cached) " >&6
11149 ac_wine_try_cflags_saved=$CFLAGS
11150 ac_wine_try_cflags_saved_exeext=$ac_exeext
11151 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11155 int __cdecl mainCRTStartup(void) { return 0; }
11157 if ac_fn_c_try_link "$LINENO"
11159 eval "$as_ac_var=yes"
11161 eval "$as_ac_var=no"
11163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11164 conftest$ac_exeext conftest.$ac_ext
11165 CFLAGS=$ac_wine_try_cflags_saved
11166 ac_exeext=$ac_wine_try_cflags_saved_exeext
11168 eval ac_res=\$$as_ac_var
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11170 printf "%s\n" "$ac_res" >&6; }
11171 if eval test \"x\$"$as_ac_var"\" = x"yes"
11173 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11175 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" |
$as_tr_sh`
11176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11177 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11178 if eval test \${$as_ac_var+y}
11180 printf %s "(cached) " >&6
11182 ac_wine_try_cflags_saved=$CFLAGS
11183 ac_wine_try_cflags_saved_exeext=$ac_exeext
11184 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11188 int __cdecl mainCRTStartup(void) { return 0; }
11190 if ac_fn_c_try_link "$LINENO"
11192 eval "$as_ac_var=yes"
11194 eval "$as_ac_var=no"
11196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11197 conftest$ac_exeext conftest.$ac_ext
11198 CFLAGS=$ac_wine_try_cflags_saved
11199 ac_exeext=$ac_wine_try_cflags_saved_exeext
11201 eval ac_res=\$$as_ac_var
11202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11203 printf "%s\n" "$ac_res" >&6; }
11204 if eval test \"x\$"$as_ac_var"\" = x"yes"
11206 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11208 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" |
$as_tr_sh`
11209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11210 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11211 if eval test \${$as_ac_var+y}
11213 printf %s "(cached) " >&6
11215 ac_wine_try_cflags_saved=$CFLAGS
11216 ac_wine_try_cflags_saved_exeext=$ac_exeext
11217 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11221 int __cdecl mainCRTStartup(void) { return 0; }
11223 if ac_fn_c_try_link "$LINENO"
11225 eval "$as_ac_var=yes"
11227 eval "$as_ac_var=no"
11229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11230 conftest$ac_exeext conftest.$ac_ext
11231 CFLAGS=$ac_wine_try_cflags_saved
11232 ac_exeext=$ac_wine_try_cflags_saved_exeext
11234 eval ac_res=\$$as_ac_var
11235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11236 printf "%s\n" "$ac_res" >&6; }
11237 if eval test \"x\$"$as_ac_var"\" = x"yes"
11239 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11241 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" |
$as_tr_sh`
11242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11243 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11244 if eval test \${$as_ac_var+y}
11246 printf %s "(cached) " >&6
11248 ac_wine_try_cflags_saved=$CFLAGS
11249 ac_wine_try_cflags_saved_exeext=$ac_exeext
11250 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11254 int __cdecl mainCRTStartup(void) { return 0; }
11256 if ac_fn_c_try_link "$LINENO"
11258 eval "$as_ac_var=yes"
11260 eval "$as_ac_var=no"
11262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11263 conftest$ac_exeext conftest.$ac_ext
11264 CFLAGS=$ac_wine_try_cflags_saved
11265 ac_exeext=$ac_wine_try_cflags_saved_exeext
11267 eval ac_res=\$$as_ac_var
11268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11269 printf "%s\n" "$ac_res" >&6; }
11270 if eval test \"x\$"$as_ac_var"\" = x"yes"
11272 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11274 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" |
$as_tr_sh`
11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11276 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11277 if eval test \${$as_ac_var+y}
11279 printf %s "(cached) " >&6
11281 ac_wine_try_cflags_saved=$CFLAGS
11282 ac_wine_try_cflags_saved_exeext=$ac_exeext
11283 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11287 int __cdecl mainCRTStartup(void) { return 0; }
11289 if ac_fn_c_try_link "$LINENO"
11291 eval "$as_ac_var=yes"
11293 eval "$as_ac_var=no"
11295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11296 conftest$ac_exeext conftest.$ac_ext
11297 CFLAGS=$ac_wine_try_cflags_saved
11298 ac_exeext=$ac_wine_try_cflags_saved_exeext
11300 eval ac_res=\$$as_ac_var
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11302 printf "%s\n" "$ac_res" >&6; }
11303 if eval test \"x\$"$as_ac_var"\" = x"yes"
11305 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11307 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" |
$as_tr_sh`
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11309 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11310 if eval test \${$as_ac_var+y}
11312 printf %s "(cached) " >&6
11314 ac_wine_try_cflags_saved=$CFLAGS
11315 ac_wine_try_cflags_saved_exeext=$ac_exeext
11316 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11320 int __cdecl mainCRTStartup(void) { return 0; }
11322 if ac_fn_c_try_link "$LINENO"
11324 eval "$as_ac_var=yes"
11326 eval "$as_ac_var=no"
11328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11329 conftest$ac_exeext conftest.$ac_ext
11330 CFLAGS=$ac_wine_try_cflags_saved
11331 ac_exeext=$ac_wine_try_cflags_saved_exeext
11333 eval ac_res=\$$as_ac_var
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11335 printf "%s\n" "$ac_res" >&6; }
11336 if eval test \"x\$"$as_ac_var"\" = x"yes"
11338 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11340 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" |
$as_tr_sh`
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11342 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11343 if eval test \${$as_ac_var+y}
11345 printf %s "(cached) " >&6
11347 ac_wine_try_cflags_saved=$CFLAGS
11348 ac_wine_try_cflags_saved_exeext=$ac_exeext
11349 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11353 int __cdecl mainCRTStartup(void) { return 0; }
11355 if ac_fn_c_try_link "$LINENO"
11357 eval "$as_ac_var=yes"
11359 eval "$as_ac_var=no"
11361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11362 conftest$ac_exeext conftest.$ac_ext
11363 CFLAGS=$ac_wine_try_cflags_saved
11364 ac_exeext=$ac_wine_try_cflags_saved_exeext
11366 eval ac_res=\$$as_ac_var
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11368 printf "%s\n" "$ac_res" >&6; }
11369 if eval test \"x\$"$as_ac_var"\" = x"yes"
11371 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11373 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" |
$as_tr_sh`
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11375 printf %s "checking whether $CC supports -Wvla... " >&6; }
11376 if eval test \${$as_ac_var+y}
11378 printf %s "(cached) " >&6
11380 ac_wine_try_cflags_saved=$CFLAGS
11381 ac_wine_try_cflags_saved_exeext=$ac_exeext
11382 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11386 int __cdecl mainCRTStartup(void) { return 0; }
11388 if ac_fn_c_try_link "$LINENO"
11390 eval "$as_ac_var=yes"
11392 eval "$as_ac_var=no"
11394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11395 conftest$ac_exeext conftest.$ac_ext
11396 CFLAGS=$ac_wine_try_cflags_saved
11397 ac_exeext=$ac_wine_try_cflags_saved_exeext
11399 eval ac_res=\$$as_ac_var
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11401 printf "%s\n" "$ac_res" >&6; }
11402 if eval test \"x\$"$as_ac_var"\" = x"yes"
11404 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11406 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" |
$as_tr_sh`
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11408 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11409 if eval test \${$as_ac_var+y}
11411 printf %s "(cached) " >&6
11413 ac_wine_try_cflags_saved=$CFLAGS
11414 ac_wine_try_cflags_saved_exeext=$ac_exeext
11415 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11419 int __cdecl mainCRTStartup(void) { return 0; }
11421 if ac_fn_c_try_link "$LINENO"
11423 eval "$as_ac_var=yes"
11425 eval "$as_ac_var=no"
11427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11428 conftest$ac_exeext conftest.$ac_ext
11429 CFLAGS=$ac_wine_try_cflags_saved
11430 ac_exeext=$ac_wine_try_cflags_saved_exeext
11432 eval ac_res=\$$as_ac_var
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11434 printf "%s\n" "$ac_res" >&6; }
11435 if eval test \"x\$"$as_ac_var"\" = x"yes"
11437 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11439 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" |
$as_tr_sh`
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11441 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11442 if eval test \${$as_ac_var+y}
11444 printf %s "(cached) " >&6
11446 ac_wine_try_cflags_saved=$CFLAGS
11447 ac_wine_try_cflags_saved_exeext=$ac_exeext
11448 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11452 int __cdecl mainCRTStartup(void) { return 0; }
11454 if ac_fn_c_try_link "$LINENO"
11456 eval "$as_ac_var=yes"
11458 eval "$as_ac_var=no"
11460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11461 conftest$ac_exeext conftest.$ac_ext
11462 CFLAGS=$ac_wine_try_cflags_saved
11463 ac_exeext=$ac_wine_try_cflags_saved_exeext
11465 eval ac_res=\$$as_ac_var
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11467 printf "%s\n" "$ac_res" >&6; }
11468 if eval test \"x\$"$as_ac_var"\" = x"yes"
11470 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11472 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" |
$as_tr_sh`
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11474 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11475 if eval test \${$as_ac_var+y}
11477 printf %s "(cached) " >&6
11479 ac_wine_try_cflags_saved=$CFLAGS
11480 ac_wine_try_cflags_saved_exeext=$ac_exeext
11481 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11485 int __cdecl mainCRTStartup(void) { return 0; }
11487 if ac_fn_c_try_link "$LINENO"
11489 eval "$as_ac_var=yes"
11491 eval "$as_ac_var=no"
11493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11494 conftest$ac_exeext conftest.$ac_ext
11495 CFLAGS=$ac_wine_try_cflags_saved
11496 ac_exeext=$ac_wine_try_cflags_saved_exeext
11498 eval ac_res=\$$as_ac_var
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11500 printf "%s\n" "$ac_res" >&6; }
11501 if eval test \"x\$"$as_ac_var"\" = x"yes"
11503 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11505 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" |
$as_tr_sh`
11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11507 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11508 if eval test \${$as_ac_var+y}
11510 printf %s "(cached) " >&6
11512 ac_wine_try_cflags_saved=$CFLAGS
11513 ac_wine_try_cflags_saved_exeext=$ac_exeext
11514 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11518 int __cdecl mainCRTStartup(void) { return 0; }
11520 if ac_fn_c_try_link "$LINENO"
11522 eval "$as_ac_var=yes"
11524 eval "$as_ac_var=no"
11526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11527 conftest$ac_exeext conftest.$ac_ext
11528 CFLAGS=$ac_wine_try_cflags_saved
11529 ac_exeext=$ac_wine_try_cflags_saved_exeext
11531 eval ac_res=\$$as_ac_var
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11533 printf "%s\n" "$ac_res" >&6; }
11534 if eval test \"x\$"$as_ac_var"\" = x"yes"
11536 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11540 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" |
$as_tr_sh`
11541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11542 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11543 if eval test \${$as_ac_var+y}
11545 printf %s "(cached) " >&6
11547 ac_wine_try_cflags_saved=$CFLAGS
11548 ac_wine_try_cflags_saved_exeext=$ac_exeext
11549 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11553 int __cdecl mainCRTStartup(void) { return 0; }
11555 if ac_fn_c_try_link "$LINENO"
11557 eval "$as_ac_var=yes"
11559 eval "$as_ac_var=no"
11561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11562 conftest$ac_exeext conftest.$ac_ext
11563 CFLAGS=$ac_wine_try_cflags_saved
11564 ac_exeext=$ac_wine_try_cflags_saved_exeext
11566 eval ac_res=\$$as_ac_var
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11568 printf "%s\n" "$ac_res" >&6; }
11569 if eval test \"x\$"$as_ac_var"\" = x"yes"
11571 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11573 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" |
$as_tr_sh`
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11575 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11576 if eval test \${$as_ac_var+y}
11578 printf %s "(cached) " >&6
11580 ac_wine_try_cflags_saved=$CFLAGS
11581 ac_wine_try_cflags_saved_exeext=$ac_exeext
11582 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 int __cdecl mainCRTStartup(void) { return 0; }
11588 if ac_fn_c_try_link "$LINENO"
11590 eval "$as_ac_var=yes"
11592 eval "$as_ac_var=no"
11594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11595 conftest$ac_exeext conftest.$ac_ext
11596 CFLAGS=$ac_wine_try_cflags_saved
11597 ac_exeext=$ac_wine_try_cflags_saved_exeext
11599 eval ac_res=\$$as_ac_var
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11601 printf "%s\n" "$ac_res" >&6; }
11602 if eval test \"x\$"$as_ac_var"\" = x"yes"
11604 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11606 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11608 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11609 if eval test \${$as_ac_var+y}
11611 printf %s "(cached) " >&6
11613 ac_wine_try_cflags_saved=$CFLAGS
11614 ac_wine_try_cflags_saved_exeext=$ac_exeext
11615 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11619 int __cdecl mainCRTStartup(void) { return 0; }
11621 if ac_fn_c_try_link "$LINENO"
11623 eval "$as_ac_var=yes"
11625 eval "$as_ac_var=no"
11627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11628 conftest$ac_exeext conftest.$ac_ext
11629 CFLAGS=$ac_wine_try_cflags_saved
11630 ac_exeext=$ac_wine_try_cflags_saved_exeext
11632 eval ac_res=\$$as_ac_var
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11634 printf "%s\n" "$ac_res" >&6; }
11635 if eval test \"x\$"$as_ac_var"\" = x"yes"
11637 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11639 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" |
$as_tr_sh`
11640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11641 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11642 if eval test \${$as_ac_var+y}
11644 printf %s "(cached) " >&6
11646 ac_wine_try_cflags_saved=$CFLAGS
11647 ac_wine_try_cflags_saved_exeext=$ac_exeext
11648 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11652 int __cdecl mainCRTStartup(void) { return 0; }
11654 if ac_fn_c_try_link "$LINENO"
11656 eval "$as_ac_var=yes"
11658 eval "$as_ac_var=no"
11660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11661 conftest$ac_exeext conftest.$ac_ext
11662 CFLAGS=$ac_wine_try_cflags_saved
11663 ac_exeext=$ac_wine_try_cflags_saved_exeext
11665 eval ac_res=\$$as_ac_var
11666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11667 printf "%s\n" "$ac_res" >&6; }
11668 if eval test \"x\$"$as_ac_var"\" = x"yes"
11670 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11672 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" |
$as_tr_sh`
11673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11674 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11675 if eval test \${$as_ac_var+y}
11677 printf %s "(cached) " >&6
11679 ac_wine_try_cflags_saved=$CFLAGS
11680 ac_wine_try_cflags_saved_exeext=$ac_exeext
11681 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11685 int __cdecl mainCRTStartup(void) { return 0; }
11687 if ac_fn_c_try_link "$LINENO"
11689 eval "$as_ac_var=yes"
11691 eval "$as_ac_var=no"
11693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11694 conftest$ac_exeext conftest.$ac_ext
11695 CFLAGS=$ac_wine_try_cflags_saved
11696 ac_exeext=$ac_wine_try_cflags_saved_exeext
11698 eval ac_res=\$$as_ac_var
11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11700 printf "%s\n" "$ac_res" >&6; }
11701 if eval test \"x\$"$as_ac_var"\" = x"yes"
11703 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11705 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" |
$as_tr_sh`
11706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11707 printf %s "checking whether $CC supports -mcx16... " >&6; }
11708 if eval test \${$as_ac_var+y}
11710 printf %s "(cached) " >&6
11712 ac_wine_try_cflags_saved=$CFLAGS
11713 ac_wine_try_cflags_saved_exeext=$ac_exeext
11714 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11718 int __cdecl mainCRTStartup(void) { return 0; }
11720 if ac_fn_c_try_link "$LINENO"
11722 eval "$as_ac_var=yes"
11724 eval "$as_ac_var=no"
11726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11727 conftest$ac_exeext conftest.$ac_ext
11728 CFLAGS=$ac_wine_try_cflags_saved
11729 ac_exeext=$ac_wine_try_cflags_saved_exeext
11731 eval ac_res=\$$as_ac_var
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11733 printf "%s\n" "$ac_res" >&6; }
11734 if eval test \"x\$"$as_ac_var"\" = x"yes"
11736 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11738 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" |
$as_tr_sh`
11739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11740 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11741 if eval test \${$as_ac_var+y}
11743 printf %s "(cached) " >&6
11745 ac_wine_try_cflags_saved=$CFLAGS
11746 ac_wine_try_cflags_saved_exeext=$ac_exeext
11747 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11751 int __cdecl mainCRTStartup(void) { return 0; }
11753 if ac_fn_c_try_link "$LINENO"
11755 eval "$as_ac_var=yes"
11757 eval "$as_ac_var=no"
11759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11760 conftest$ac_exeext conftest.$ac_ext
11761 CFLAGS=$ac_wine_try_cflags_saved
11762 ac_exeext=$ac_wine_try_cflags_saved_exeext
11764 eval ac_res=\$$as_ac_var
11765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11766 printf "%s\n" "$ac_res" >&6; }
11767 if eval test \"x\$"$as_ac_var"\" = x"yes"
11769 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11773 wine_crossdebug=$CROSSDEBUG
11774 if test -z "$wine_crossdebug"
11776 for ac_flag in $CFLAGS; do
11778 -gdwarf*) wine_crossdebug=dwarf ;;
11779 -gcodeview) wine_crossdebug=pdb ;;
11780 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11785 ac_debug_format_seen=""
11786 for ac_flag in $CFLAGS; do
11788 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11791 if test "x$ac_debug_format_seen" = x
11793 case $wine_crossdebug in
11794 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" |
$as_tr_sh`
11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11796 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11797 if eval test \${$as_ac_var+y}
11799 printf %s "(cached) " >&6
11801 ac_wine_try_cflags_saved=$CFLAGS
11802 ac_wine_try_cflags_saved_exeext=$ac_exeext
11803 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11807 int __cdecl mainCRTStartup(void) { return 0; }
11809 if ac_fn_c_try_link "$LINENO"
11811 eval "$as_ac_var=yes"
11813 eval "$as_ac_var=no"
11815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11816 conftest$ac_exeext conftest.$ac_ext
11817 CFLAGS=$ac_wine_try_cflags_saved
11818 ac_exeext=$ac_wine_try_cflags_saved_exeext
11820 eval ac_res=\$$as_ac_var
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11822 printf "%s\n" "$ac_res" >&6; }
11823 if eval test \"x\$"$as_ac_var"\" = x"yes"
11825 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11827 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" |
$as_tr_sh`
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11829 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11830 if eval test \${$as_ac_var+y}
11832 printf %s "(cached) " >&6
11834 ac_wine_try_cflags_saved=$CFLAGS
11835 ac_wine_try_cflags_saved_exeext=$ac_exeext
11836 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840 int __cdecl mainCRTStartup(void) { return 0; }
11842 if ac_fn_c_try_link "$LINENO"
11844 eval "$as_ac_var=yes"
11846 eval "$as_ac_var=no"
11848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11849 conftest$ac_exeext conftest.$ac_ext
11850 CFLAGS=$ac_wine_try_cflags_saved
11851 ac_exeext=$ac_wine_try_cflags_saved_exeext
11853 eval ac_res=\$$as_ac_var
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11855 printf "%s\n" "$ac_res" >&6; }
11856 if eval test \"x\$"$as_ac_var"\" = x"yes"
11858 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11862 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11864 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" |
$as_tr_sh`
11865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11866 printf %s "checking whether $CC supports -Werror... " >&6; }
11867 if eval test \${$as_ac_var+y}
11869 printf %s "(cached) " >&6
11871 ac_wine_try_cflags_saved=$CFLAGS
11872 ac_wine_try_cflags_saved_exeext=$ac_exeext
11873 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877 int __cdecl mainCRTStartup(void) { return 0; }
11879 if ac_fn_c_try_link "$LINENO"
11881 eval "$as_ac_var=yes"
11883 eval "$as_ac_var=no"
11885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11886 conftest$ac_exeext conftest.$ac_ext
11887 CFLAGS=$ac_wine_try_cflags_saved
11888 ac_exeext=$ac_wine_try_cflags_saved_exeext
11890 eval ac_res=\$$as_ac_var
11891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11892 printf "%s\n" "$ac_res" >&6; }
11893 if eval test \"x\$"$as_ac_var"\" = x"yes"
11895 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11897 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" |
$as_tr_sh`
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11899 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11900 if eval test \${$as_ac_var+y}
11902 printf %s "(cached) " >&6
11904 ac_wine_try_cflags_saved=$CFLAGS
11905 ac_wine_try_cflags_saved_exeext=$ac_exeext
11906 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 int __cdecl mainCRTStartup(void) { return 0; }
11912 if ac_fn_c_try_link "$LINENO"
11914 eval "$as_ac_var=yes"
11916 eval "$as_ac_var=no"
11918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11919 conftest$ac_exeext conftest.$ac_ext
11920 CFLAGS=$ac_wine_try_cflags_saved
11921 ac_exeext=$ac_wine_try_cflags_saved_exeext
11923 eval ac_res=\$$as_ac_var
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11925 printf "%s\n" "$ac_res" >&6; }
11926 if eval test \"x\$"$as_ac_var"\" = x"yes"
11928 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11929 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11933 CFLAGS=$saved_CFLAGS
11936 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11938 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11941 if test "x$PE_ARCHS" = "x"
11943 case "x$with_mingw" in
11944 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11946 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11947 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11953 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11955 case "$host_cpu" in
11957 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11959 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11961 for ac_prog in $ac_prefix_list
11963 # Extract the first word of "$ac_prog", so it can be a program name with args.
11964 set dummy $ac_prog; ac_word=$2
11965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11966 printf %s "checking for $ac_word... " >&6; }
11967 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11969 printf %s "(cached) " >&6
11971 if test -n "$MINGW_PKG_CONFIG"; then
11972 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11975 for as_dir in $PATH
11978 case $as_dir in #(((
11981 *) as_dir=$as_dir/ ;;
11983 for ac_exec_ext in '' $ac_executable_extensions; do
11984 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11985 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11995 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11996 if test -n "$MINGW_PKG_CONFIG"; then
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11998 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12001 printf "%s\n" "no" >&6; }
12005 test -n "$MINGW_PKG_CONFIG" && break
12007 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12009 if ${FAUDIO_PE_CFLAGS:+false} :
12011 if test ${MINGW_PKG_CONFIG+y}
12013 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio
2>/dev
/null
`
12016 if ${FAUDIO_PE_LIBS:+false} :
12018 if test ${MINGW_PKG_CONFIG+y}
12020 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio
2>/dev
/null
`
12023 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12024 ac_save_CPPFLAGS=$CPPFLAGS
12025 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12027 printf %s "checking for MinGW FAudio.h... " >&6; }
12028 if test ${ac_cv_mingw_header_FAudio_h+y}
12030 printf %s "(cached) " >&6
12032 ac_wine_check_headers_saved_cc=$CC
12033 ac_wine_check_headers_saved_exeext=$ac_exeext
12034 eval CC=\$${wine_arch}_CC
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 #include <FAudio.h>
12048 if ac_fn_c_try_compile "$LINENO"
12050 ac_cv_mingw_header_FAudio_h=yes
12052 ac_cv_mingw_header_FAudio_h=no
12054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12055 CC=$ac_wine_check_headers_saved_cc
12056 ac_exeext=$ac_wine_check_headers_saved_exeext
12058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12059 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12060 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12063 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12064 if test ${ac_cv_mingw_lib_FAudio+y}
12066 printf %s "(cached) " >&6
12068 ac_wine_check_headers_saved_cc=$CC
12069 ac_wine_check_headers_saved_exeext=$ac_exeext
12070 ac_wine_check_headers_saved_libs=$LIBS
12071 eval CC=\$${wine_arch}_CC
12073 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 char FAudio_CommitOperationSet ();
12084 return FAudio_CommitOperationSet ();
12089 if ac_fn_c_try_link "$LINENO"
12091 ac_cv_mingw_lib_FAudio=yes
12093 ac_cv_mingw_lib_FAudio=no
12095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12096 conftest$ac_exeext conftest.$ac_ext
12097 CC=$ac_wine_check_headers_saved_cc
12098 ac_exeext=$ac_wine_check_headers_saved_exeext
12099 LIBS=$ac_wine_check_headers_saved_libs
12101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12102 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12103 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12107 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12110 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12112 CPPFLAGS=$ac_save_CPPFLAGS
12114 if test "x$FAUDIO_PE_LIBS" = "x"
12116 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12119 if ${JPEG_PE_CFLAGS:+false} :
12121 if test ${MINGW_PKG_CONFIG+y}
12123 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg
2>/dev
/null
`
12126 if ${JPEG_PE_LIBS:+false} :
12128 if test ${MINGW_PKG_CONFIG+y}
12130 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg
2>/dev
/null
`
12134 ac_save_CPPFLAGS=$CPPFLAGS
12135 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12137 printf %s "checking for MinGW jpeglib.h... " >&6; }
12138 if test ${ac_cv_mingw_header_jpeglib_h+y}
12140 printf %s "(cached) " >&6
12142 ac_wine_check_headers_saved_cc=$CC
12143 ac_wine_check_headers_saved_exeext=$ac_exeext
12144 eval CC=\$${wine_arch}_CC
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12148 #include <stddef.h>
12150 #include <jpeglib.h>
12159 if ac_fn_c_try_compile "$LINENO"
12161 ac_cv_mingw_header_jpeglib_h=yes
12163 ac_cv_mingw_header_jpeglib_h=no
12165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12166 CC=$ac_wine_check_headers_saved_cc
12167 ac_exeext=$ac_wine_check_headers_saved_exeext
12169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12170 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12171 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12174 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12175 if test ${ac_cv_mingw_lib_jpeg+y}
12177 printf %s "(cached) " >&6
12179 ac_wine_check_headers_saved_cc=$CC
12180 ac_wine_check_headers_saved_exeext=$ac_exeext
12181 ac_wine_check_headers_saved_libs=$LIBS
12182 eval CC=\$${wine_arch}_CC
12184 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12188 /* Override any GCC internal prototype to avoid an error.
12189 Use char because int might match the return type of a GCC
12190 builtin and then its argument prototype would still apply. */
12191 char jpeg_start_decompress ();
12195 return jpeg_start_decompress ();
12200 if ac_fn_c_try_link "$LINENO"
12202 ac_cv_mingw_lib_jpeg=yes
12204 ac_cv_mingw_lib_jpeg=no
12206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12207 conftest$ac_exeext conftest.$ac_ext
12208 CC=$ac_wine_check_headers_saved_cc
12209 ac_exeext=$ac_wine_check_headers_saved_exeext
12210 LIBS=$ac_wine_check_headers_saved_libs
12212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12213 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12214 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12218 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12221 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12223 CPPFLAGS=$ac_save_CPPFLAGS
12225 if test "x$JPEG_PE_LIBS" = "x"
12227 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12230 if ${LCMS2_PE_CFLAGS:+false} :
12232 if test ${MINGW_PKG_CONFIG+y}
12234 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2
2>/dev
/null
`
12237 if ${LCMS2_PE_LIBS:+false} :
12239 if test ${MINGW_PKG_CONFIG+y}
12241 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2
2>/dev
/null
`
12244 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12245 ac_save_CPPFLAGS=$CPPFLAGS
12246 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12248 printf %s "checking for MinGW lcms2.h... " >&6; }
12249 if test ${ac_cv_mingw_header_lcms2_h+y}
12251 printf %s "(cached) " >&6
12253 ac_wine_check_headers_saved_cc=$CC
12254 ac_wine_check_headers_saved_exeext=$ac_exeext
12255 eval CC=\$${wine_arch}_CC
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12269 if ac_fn_c_try_compile "$LINENO"
12271 ac_cv_mingw_header_lcms2_h=yes
12273 ac_cv_mingw_header_lcms2_h=no
12275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12276 CC=$ac_wine_check_headers_saved_cc
12277 ac_exeext=$ac_wine_check_headers_saved_exeext
12279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12280 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12281 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12284 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12285 if test ${ac_cv_mingw_lib_lcms2+y}
12287 printf %s "(cached) " >&6
12289 ac_wine_check_headers_saved_cc=$CC
12290 ac_wine_check_headers_saved_exeext=$ac_exeext
12291 ac_wine_check_headers_saved_libs=$LIBS
12292 eval CC=\$${wine_arch}_CC
12294 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 /* Override any GCC internal prototype to avoid an error.
12299 Use char because int might match the return type of a GCC
12300 builtin and then its argument prototype would still apply. */
12301 char cmsOpenProfileFromFile ();
12305 return cmsOpenProfileFromFile ();
12310 if ac_fn_c_try_link "$LINENO"
12312 ac_cv_mingw_lib_lcms2=yes
12314 ac_cv_mingw_lib_lcms2=no
12316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12317 conftest$ac_exeext conftest.$ac_ext
12318 CC=$ac_wine_check_headers_saved_cc
12319 ac_exeext=$ac_wine_check_headers_saved_exeext
12320 LIBS=$ac_wine_check_headers_saved_libs
12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12323 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12324 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12328 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12331 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12333 CPPFLAGS=$ac_save_CPPFLAGS
12335 if test "x$LCMS2_PE_LIBS" = "x"
12337 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12340 if ${MPG123_PE_CFLAGS:+false} :
12342 if test ${MINGW_PKG_CONFIG+y}
12344 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123
2>/dev
/null
`
12347 if ${MPG123_PE_LIBS:+false} :
12349 if test ${MINGW_PKG_CONFIG+y}
12351 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123
2>/dev
/null
`
12354 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12355 ac_save_CPPFLAGS=$CPPFLAGS
12356 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12358 printf %s "checking for MinGW mpg123.h... " >&6; }
12359 if test ${ac_cv_mingw_header_mpg123_h+y}
12361 printf %s "(cached) " >&6
12363 ac_wine_check_headers_saved_cc=$CC
12364 ac_wine_check_headers_saved_exeext=$ac_exeext
12365 eval CC=\$${wine_arch}_CC
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12370 #include <mpg123.h>
12379 if ac_fn_c_try_compile "$LINENO"
12381 ac_cv_mingw_header_mpg123_h=yes
12383 ac_cv_mingw_header_mpg123_h=no
12385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12386 CC=$ac_wine_check_headers_saved_cc
12387 ac_exeext=$ac_wine_check_headers_saved_exeext
12389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12390 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12391 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12394 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12395 if test ${ac_cv_mingw_lib_mpg123+y}
12397 printf %s "(cached) " >&6
12399 ac_wine_check_headers_saved_cc=$CC
12400 ac_wine_check_headers_saved_exeext=$ac_exeext
12401 ac_wine_check_headers_saved_libs=$LIBS
12402 eval CC=\$${wine_arch}_CC
12404 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12411 char mpg123_feed ();
12415 return mpg123_feed ();
12420 if ac_fn_c_try_link "$LINENO"
12422 ac_cv_mingw_lib_mpg123=yes
12424 ac_cv_mingw_lib_mpg123=no
12426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12427 conftest$ac_exeext conftest.$ac_ext
12428 CC=$ac_wine_check_headers_saved_cc
12429 ac_exeext=$ac_wine_check_headers_saved_exeext
12430 LIBS=$ac_wine_check_headers_saved_libs
12432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12433 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12434 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12438 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12441 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12443 CPPFLAGS=$ac_save_CPPFLAGS
12445 if test "x$MPG123_PE_LIBS" = "x"
12447 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12450 if ${PNG_PE_CFLAGS:+false} :
12452 if test ${MINGW_PKG_CONFIG+y}
12454 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng
2>/dev
/null
`
12457 if ${PNG_PE_LIBS:+false} :
12459 if test ${MINGW_PKG_CONFIG+y}
12461 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng
2>/dev
/null
`
12465 ac_save_CPPFLAGS=$CPPFLAGS
12466 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12468 printf %s "checking for MinGW png.h... " >&6; }
12469 if test ${ac_cv_mingw_header_png_h+y}
12471 printf %s "(cached) " >&6
12473 ac_wine_check_headers_saved_cc=$CC
12474 ac_wine_check_headers_saved_exeext=$ac_exeext
12475 eval CC=\$${wine_arch}_CC
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12489 if ac_fn_c_try_compile "$LINENO"
12491 ac_cv_mingw_header_png_h=yes
12493 ac_cv_mingw_header_png_h=no
12495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12496 CC=$ac_wine_check_headers_saved_cc
12497 ac_exeext=$ac_wine_check_headers_saved_exeext
12499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12500 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12501 if test "x$ac_cv_mingw_header_png_h" = xyes
12503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12504 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12505 if test ${ac_cv_mingw_lib_png+y}
12507 printf %s "(cached) " >&6
12509 ac_wine_check_headers_saved_cc=$CC
12510 ac_wine_check_headers_saved_exeext=$ac_exeext
12511 ac_wine_check_headers_saved_libs=$LIBS
12512 eval CC=\$${wine_arch}_CC
12514 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12521 char png_create_read_struct ();
12525 return png_create_read_struct ();
12530 if ac_fn_c_try_link "$LINENO"
12532 ac_cv_mingw_lib_png=yes
12534 ac_cv_mingw_lib_png=no
12536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12537 conftest$ac_exeext conftest.$ac_ext
12538 CC=$ac_wine_check_headers_saved_cc
12539 ac_exeext=$ac_wine_check_headers_saved_exeext
12540 LIBS=$ac_wine_check_headers_saved_libs
12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12543 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12544 if test "x$ac_cv_mingw_lib_png" = xyes
12548 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12551 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12553 CPPFLAGS=$ac_save_CPPFLAGS
12555 if test "x$PNG_PE_LIBS" = "x"
12557 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12560 if ${TIFF_PE_CFLAGS:+false} :
12562 if test ${MINGW_PKG_CONFIG+y}
12564 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4
2>/dev
/null
`
12567 if ${TIFF_PE_LIBS:+false} :
12569 if test ${MINGW_PKG_CONFIG+y}
12571 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4
2>/dev
/null
`
12575 ac_save_CPPFLAGS=$CPPFLAGS
12576 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12578 printf %s "checking for MinGW tiffio.h... " >&6; }
12579 if test ${ac_cv_mingw_header_tiffio_h+y}
12581 printf %s "(cached) " >&6
12583 ac_wine_check_headers_saved_cc=$CC
12584 ac_wine_check_headers_saved_exeext=$ac_exeext
12585 eval CC=\$${wine_arch}_CC
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 #include <tiffio.h>
12599 if ac_fn_c_try_compile "$LINENO"
12601 ac_cv_mingw_header_tiffio_h=yes
12603 ac_cv_mingw_header_tiffio_h=no
12605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12606 CC=$ac_wine_check_headers_saved_cc
12607 ac_exeext=$ac_wine_check_headers_saved_exeext
12609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12610 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12611 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12614 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12615 if test ${ac_cv_mingw_lib_tiff+y}
12617 printf %s "(cached) " >&6
12619 ac_wine_check_headers_saved_cc=$CC
12620 ac_wine_check_headers_saved_exeext=$ac_exeext
12621 ac_wine_check_headers_saved_libs=$LIBS
12622 eval CC=\$${wine_arch}_CC
12624 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 char TIFFClientOpen ();
12635 return TIFFClientOpen ();
12640 if ac_fn_c_try_link "$LINENO"
12642 ac_cv_mingw_lib_tiff=yes
12644 ac_cv_mingw_lib_tiff=no
12646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12647 conftest$ac_exeext conftest.$ac_ext
12648 CC=$ac_wine_check_headers_saved_cc
12649 ac_exeext=$ac_wine_check_headers_saved_exeext
12650 LIBS=$ac_wine_check_headers_saved_libs
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12653 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12654 if test "x$ac_cv_mingw_lib_tiff" = xyes
12658 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12661 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12663 CPPFLAGS=$ac_save_CPPFLAGS
12665 if test "x$TIFF_PE_LIBS" = "x"
12667 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12670 if ${XML2_PE_CFLAGS:+false} :
12672 if test ${MINGW_PKG_CONFIG+y}
12674 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`
12677 if ${XML2_PE_LIBS:+false} :
12679 if test ${MINGW_PKG_CONFIG+y}
12681 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`
12684 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12685 ac_save_CPPFLAGS=$CPPFLAGS
12686 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12688 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12689 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12691 printf %s "(cached) " >&6
12693 ac_wine_check_headers_saved_cc=$CC
12694 ac_wine_check_headers_saved_exeext=$ac_exeext
12695 eval CC=\$${wine_arch}_CC
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 #include <libxml/parser.h>
12709 if ac_fn_c_try_compile "$LINENO"
12711 ac_cv_mingw_header_libxml_parser_h=yes
12713 ac_cv_mingw_header_libxml_parser_h=no
12715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12716 CC=$ac_wine_check_headers_saved_cc
12717 ac_exeext=$ac_wine_check_headers_saved_exeext
12719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12720 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12721 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12726 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12727 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12729 printf %s "(cached) " >&6
12731 ac_wine_check_headers_saved_cc=$CC
12732 ac_wine_check_headers_saved_exeext=$ac_exeext
12733 eval CC=\$${wine_arch}_CC
12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 #include <libxml/xmlsave.h>
12747 if ac_fn_c_try_compile "$LINENO"
12749 ac_cv_mingw_header_libxml_xmlsave_h=yes
12751 ac_cv_mingw_header_libxml_xmlsave_h=no
12753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12754 CC=$ac_wine_check_headers_saved_cc
12755 ac_exeext=$ac_wine_check_headers_saved_exeext
12757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12758 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12759 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12764 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12765 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12767 printf %s "(cached) " >&6
12769 ac_wine_check_headers_saved_cc=$CC
12770 ac_wine_check_headers_saved_exeext=$ac_exeext
12771 eval CC=\$${wine_arch}_CC
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 #include <libxml/SAX2.h>
12785 if ac_fn_c_try_compile "$LINENO"
12787 ac_cv_mingw_header_libxml_SAX2_h=yes
12789 ac_cv_mingw_header_libxml_SAX2_h=no
12791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12792 CC=$ac_wine_check_headers_saved_cc
12793 ac_exeext=$ac_wine_check_headers_saved_exeext
12795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12796 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12797 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12801 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"
12803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12804 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12805 if test ${ac_cv_mingw_lib_xml2+y}
12807 printf %s "(cached) " >&6
12809 ac_wine_check_headers_saved_cc=$CC
12810 ac_wine_check_headers_saved_exeext=$ac_exeext
12811 ac_wine_check_headers_saved_libs=$LIBS
12812 eval CC=\$${wine_arch}_CC
12814 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12818 /* Override any GCC internal prototype to avoid an error.
12819 Use char because int might match the return type of a GCC
12820 builtin and then its argument prototype would still apply. */
12821 char xmlFirstElementChild ();
12825 return xmlFirstElementChild ();
12830 if ac_fn_c_try_link "$LINENO"
12832 ac_cv_mingw_lib_xml2=yes
12834 ac_cv_mingw_lib_xml2=no
12836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12837 conftest$ac_exeext conftest.$ac_ext
12838 CC=$ac_wine_check_headers_saved_cc
12839 ac_exeext=$ac_wine_check_headers_saved_exeext
12840 LIBS=$ac_wine_check_headers_saved_libs
12842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12843 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12844 if test "x$ac_cv_mingw_lib_xml2" = xyes
12848 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12854 CPPFLAGS=$ac_save_CPPFLAGS
12856 if test "x$XML2_PE_LIBS" = "x"
12858 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12861 if ${XSLT_PE_CFLAGS:+false} :
12863 if test ${MINGW_PKG_CONFIG+y}
12865 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt
2>/dev
/null
`
12868 if ${XSLT_PE_LIBS:+false} :
12870 if test ${MINGW_PKG_CONFIG+y}
12872 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt
2>/dev
/null
`
12875 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12876 ac_save_CPPFLAGS=$CPPFLAGS
12877 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12879 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12880 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12882 printf %s "(cached) " >&6
12884 ac_wine_check_headers_saved_cc=$CC
12885 ac_wine_check_headers_saved_exeext=$ac_exeext
12886 eval CC=\$${wine_arch}_CC
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12891 #include <libxslt/pattern.h>
12900 if ac_fn_c_try_compile "$LINENO"
12902 ac_cv_mingw_header_libxslt_pattern_h=yes
12904 ac_cv_mingw_header_libxslt_pattern_h=no
12906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12907 CC=$ac_wine_check_headers_saved_cc
12908 ac_exeext=$ac_wine_check_headers_saved_exeext
12910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12911 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12912 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12917 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12918 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12920 printf %s "(cached) " >&6
12922 ac_wine_check_headers_saved_cc=$CC
12923 ac_wine_check_headers_saved_exeext=$ac_exeext
12924 eval CC=\$${wine_arch}_CC
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12929 #include <libxslt/transform.h>
12938 if ac_fn_c_try_compile "$LINENO"
12940 ac_cv_mingw_header_libxslt_transform_h=yes
12942 ac_cv_mingw_header_libxslt_transform_h=no
12944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12945 CC=$ac_wine_check_headers_saved_cc
12946 ac_exeext=$ac_wine_check_headers_saved_exeext
12948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12949 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12950 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12954 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12957 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12958 if test ${ac_cv_mingw_lib_xslt+y}
12960 printf %s "(cached) " >&6
12962 ac_wine_check_headers_saved_cc=$CC
12963 ac_wine_check_headers_saved_exeext=$ac_exeext
12964 ac_wine_check_headers_saved_libs=$LIBS
12965 eval CC=\$${wine_arch}_CC
12967 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 char xsltCompilePattern ();
12978 return xsltCompilePattern ();
12983 if ac_fn_c_try_link "$LINENO"
12985 ac_cv_mingw_lib_xslt=yes
12987 ac_cv_mingw_lib_xslt=no
12989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12990 conftest$ac_exeext conftest.$ac_ext
12991 CC=$ac_wine_check_headers_saved_cc
12992 ac_exeext=$ac_wine_check_headers_saved_exeext
12993 LIBS=$ac_wine_check_headers_saved_libs
12995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12996 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12997 if test "x$ac_cv_mingw_lib_xslt" = xyes
13001 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13007 CPPFLAGS=$ac_save_CPPFLAGS
13009 if test "x$XSLT_PE_LIBS" = "x"
13011 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13014 if ${VKD3D_PE_CFLAGS:+false} :
13016 if test ${MINGW_PKG_CONFIG+y}
13018 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader
2>/dev
/null
`
13021 if ${VKD3D_PE_LIBS:+false} :
13023 if test ${MINGW_PKG_CONFIG+y}
13025 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader
2>/dev
/null
`
13028 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13029 ac_save_CPPFLAGS=$CPPFLAGS
13030 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13032 printf %s "checking for MinGW vkd3d.h... " >&6; }
13033 if test ${ac_cv_mingw_header_vkd3d_h+y}
13035 printf %s "(cached) " >&6
13037 ac_wine_check_headers_saved_cc=$CC
13038 ac_wine_check_headers_saved_exeext=$ac_exeext
13039 eval CC=\$${wine_arch}_CC
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13053 if ac_fn_c_try_compile "$LINENO"
13055 ac_cv_mingw_header_vkd3d_h=yes
13057 ac_cv_mingw_header_vkd3d_h=no
13059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13060 CC=$ac_wine_check_headers_saved_cc
13061 ac_exeext=$ac_wine_check_headers_saved_exeext
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13064 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13065 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13070 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13071 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13073 printf %s "(cached) " >&6
13075 ac_wine_check_headers_saved_cc=$CC
13076 ac_wine_check_headers_saved_exeext=$ac_exeext
13077 eval CC=\$${wine_arch}_CC
13079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13082 #include <vkd3d_shader.h>
13091 if ac_fn_c_try_compile "$LINENO"
13093 ac_cv_mingw_header_vkd3d_shader_h=yes
13095 ac_cv_mingw_header_vkd3d_shader_h=no
13097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13098 CC=$ac_wine_check_headers_saved_cc
13099 ac_exeext=$ac_wine_check_headers_saved_exeext
13101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13102 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13103 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13107 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13110 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13111 if test ${ac_cv_mingw_lib_vkd3d+y}
13113 printf %s "(cached) " >&6
13115 ac_wine_check_headers_saved_cc=$CC
13116 ac_wine_check_headers_saved_exeext=$ac_exeext
13117 ac_wine_check_headers_saved_libs=$LIBS
13118 eval CC=\$${wine_arch}_CC
13120 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13124 /* Override any GCC internal prototype to avoid an error.
13125 Use char because int might match the return type of a GCC
13126 builtin and then its argument prototype would still apply. */
13127 char vkd3d_set_log_callback ();
13131 return vkd3d_set_log_callback ();
13136 if ac_fn_c_try_link "$LINENO"
13138 ac_cv_mingw_lib_vkd3d=yes
13140 ac_cv_mingw_lib_vkd3d=no
13142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13143 conftest$ac_exeext conftest.$ac_ext
13144 CC=$ac_wine_check_headers_saved_cc
13145 ac_exeext=$ac_wine_check_headers_saved_exeext
13146 LIBS=$ac_wine_check_headers_saved_libs
13148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13149 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13150 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13157 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13158 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13160 printf %s "(cached) " >&6
13162 ac_wine_check_headers_saved_cc=$CC
13163 ac_wine_check_headers_saved_exeext=$ac_exeext
13164 ac_wine_check_headers_saved_libs=$LIBS
13165 eval CC=\$${wine_arch}_CC
13167 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13171 /* Override any GCC internal prototype to avoid an error.
13172 Use char because int might match the return type of a GCC
13173 builtin and then its argument prototype would still apply. */
13174 char vkd3d_shader_compile ();
13178 return vkd3d_shader_compile ();
13183 if ac_fn_c_try_link "$LINENO"
13185 ac_cv_mingw_lib_vkd3d_shader=yes
13187 ac_cv_mingw_lib_vkd3d_shader=no
13189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13190 conftest$ac_exeext conftest.$ac_ext
13191 CC=$ac_wine_check_headers_saved_cc
13192 ac_exeext=$ac_wine_check_headers_saved_exeext
13193 LIBS=$ac_wine_check_headers_saved_libs
13195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13196 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13197 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13203 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13212 CPPFLAGS=$ac_save_CPPFLAGS
13214 if test "x$VKD3D_PE_LIBS" = "x"
13216 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13219 if ${ZLIB_PE_CFLAGS:+false} :
13221 if test ${MINGW_PKG_CONFIG+y}
13223 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib
2>/dev
/null
`
13226 if ${ZLIB_PE_LIBS:+false} :
13228 if test ${MINGW_PKG_CONFIG+y}
13230 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib
2>/dev
/null
`
13233 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13234 ac_save_CPPFLAGS=$CPPFLAGS
13235 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13237 printf %s "checking for MinGW zlib.h... " >&6; }
13238 if test ${ac_cv_mingw_header_zlib_h+y}
13240 printf %s "(cached) " >&6
13242 ac_wine_check_headers_saved_cc=$CC
13243 ac_wine_check_headers_saved_exeext=$ac_exeext
13244 eval CC=\$${wine_arch}_CC
13246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13258 if ac_fn_c_try_compile "$LINENO"
13260 ac_cv_mingw_header_zlib_h=yes
13262 ac_cv_mingw_header_zlib_h=no
13264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13265 CC=$ac_wine_check_headers_saved_cc
13266 ac_exeext=$ac_wine_check_headers_saved_exeext
13268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13269 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13270 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13273 printf %s "checking for inflate in MinGW -lz... " >&6; }
13274 if test ${ac_cv_mingw_lib_z+y}
13276 printf %s "(cached) " >&6
13278 ac_wine_check_headers_saved_cc=$CC
13279 ac_wine_check_headers_saved_exeext=$ac_exeext
13280 ac_wine_check_headers_saved_libs=$LIBS
13281 eval CC=\$${wine_arch}_CC
13283 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13287 /* Override any GCC internal prototype to avoid an error.
13288 Use char because int might match the return type of a GCC
13289 builtin and then its argument prototype would still apply. */
13299 if ac_fn_c_try_link "$LINENO"
13301 ac_cv_mingw_lib_z=yes
13303 ac_cv_mingw_lib_z=no
13305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13306 conftest$ac_exeext conftest.$ac_ext
13307 CC=$ac_wine_check_headers_saved_cc
13308 ac_exeext=$ac_wine_check_headers_saved_exeext
13309 LIBS=$ac_wine_check_headers_saved_libs
13311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13312 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13313 if test "x$ac_cv_mingw_lib_z" = xyes
13317 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13320 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13322 CPPFLAGS=$ac_save_CPPFLAGS
13324 if test "x$ZLIB_PE_LIBS" = "x"
13326 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13330 if ${FAUDIO_PE_LIBS:+false} :
13332 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13333 if ${FAUDIO_PE_CFLAGS:+false} :
13335 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13345 if ${GSM_PE_LIBS:+false} :
13348 if ${GSM_PE_CFLAGS:+false} :
13350 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13360 if ${JPEG_PE_LIBS:+false} :
13363 if ${JPEG_PE_CFLAGS:+false} :
13365 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13375 if ${JXR_PE_LIBS:+false} :
13378 if ${JXR_PE_CFLAGS:+false} :
13380 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13390 if ${LCMS2_PE_LIBS:+false} :
13392 LCMS2_PE_LIBS=lcms2
13393 if ${LCMS2_PE_CFLAGS:+false} :
13395 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13405 if ${MPG123_PE_LIBS:+false} :
13407 MPG123_PE_LIBS=mpg123
13408 if ${MPG123_PE_CFLAGS:+false} :
13410 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13420 if ${PNG_PE_LIBS:+false} :
13422 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13423 if ${PNG_PE_CFLAGS:+false} :
13425 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13435 if ${TIFF_PE_LIBS:+false} :
13437 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13438 if ${TIFF_PE_CFLAGS:+false} :
13440 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13450 if ${VKD3D_PE_LIBS:+false} :
13452 VKD3D_PE_LIBS=vkd3d
13453 if ${VKD3D_PE_CFLAGS:+false} :
13455 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13465 if ${XML2_PE_LIBS:+false} :
13468 if ${XML2_PE_CFLAGS:+false} :
13470 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13480 if ${XSLT_PE_LIBS:+false} :
13483 if ${XSLT_PE_CFLAGS:+false} :
13485 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13495 if ${ZLIB_PE_LIBS:+false} :
13498 if ${ZLIB_PE_CFLAGS:+false} :
13500 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13512 if test "$ac_cv_header_pthread_h" = "yes"
13514 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13515 if test "x$ac_cv_func_pthread_create" = xyes
13519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13520 printf %s "checking for pthread_create in -lpthread... " >&6; }
13521 if test ${ac_cv_lib_pthread_pthread_create+y}
13523 printf %s "(cached) " >&6
13525 ac_check_lib_save_LIBS=$LIBS
13526 LIBS="-lpthread $LIBS"
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13533 char pthread_create ();
13537 return pthread_create ();
13542 if ac_fn_c_try_link "$LINENO"
13544 ac_cv_lib_pthread_pthread_create=yes
13546 ac_cv_lib_pthread_pthread_create=no
13548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13549 conftest$ac_exeext conftest.$ac_ext
13550 LIBS=$ac_check_lib_save_LIBS
13552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13553 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13554 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13556 PTHREAD_LIBS="-lpthread"
13563 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13565 case "x$with_pthread" in
13567 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13568 Wine cannot support threads without libpthread.
13569 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13576 ac_cpp='$CPP $CPPFLAGS'
13577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13581 printf %s "checking how to run the C preprocessor... " >&6; }
13582 # On Suns, sometimes $CPP names a directory.
13583 if test -n "$CPP" && test -d "$CPP"; then
13586 if test -z "$CPP"; then
13587 if test ${ac_cv_prog_CPP+y}
13589 printf %s "(cached) " >&6
13591 # Double quotes because $CC needs to be expanded
13592 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13594 ac_preproc_ok=false
13595 for ac_c_preproc_warn_flag in '' yes
13597 # Use a header file that comes with gcc, so configuring glibc
13598 # with a fresh cross-compiler works.
13599 # On the NeXT, cc -E runs the code through the compiler's parser,
13600 # not just through cpp. "Syntax error" is here to catch this case.
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13603 #include <limits.h>
13606 if ac_fn_c_try_cpp "$LINENO"
13610 # Broken: fails on valid input.
13613 rm -f conftest.err conftest.i conftest.$ac_ext
13615 # OK, works on sane cases. Now check whether nonexistent headers
13616 # can be detected and how.
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <ac_nonexistent.h>
13621 if ac_fn_c_try_cpp "$LINENO"
13623 # Broken: success on invalid input.
13626 # Passes both tests.
13630 rm -f conftest.err conftest.i conftest.$ac_ext
13633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13634 rm -f conftest.i conftest.err conftest.
$ac_ext
13641 ac_cv_prog_CPP
=$CPP
13644 CPP
=$ac_cv_prog_CPP
13646 ac_cv_prog_CPP
=$CPP
13648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13649 printf "%s\n" "$CPP" >&6; }
13650 ac_preproc_ok
=false
13651 for ac_c_preproc_warn_flag
in '' yes
13653 # Use a header file that comes with gcc, so configuring glibc
13654 # with a fresh cross-compiler works.
13655 # On the NeXT, cc -E runs the code through the compiler's parser,
13656 # not just through cpp. "Syntax error" is here to catch this case.
13657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <limits.h>
13662 if ac_fn_c_try_cpp
"$LINENO"
13666 # Broken: fails on valid input.
13669 rm -f conftest.err conftest.i conftest.
$ac_ext
13671 # OK, works on sane cases. Now check whether nonexistent headers
13672 # can be detected and how.
13673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 #include <ac_nonexistent.h>
13677 if ac_fn_c_try_cpp
"$LINENO"
13679 # Broken: success on invalid input.
13682 # Passes both tests.
13686 rm -f conftest.err conftest.i conftest.
$ac_ext
13689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13690 rm -f conftest.i conftest.err conftest.
$ac_ext
13695 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13696 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13697 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
13698 See \`config.log' for more details" "$LINENO" 5; }
13702 ac_cpp
='$CPP $CPPFLAGS'
13703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13709 printf %s
"checking for X... " >&6; }
13712 # Check whether --with-x was given.
13713 if test ${with_x+y}
13718 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13719 if test "x$with_x" = xno
; then
13720 # The user explicitly disabled X.
13723 case $x_includes,$x_libraries in #(
13724 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13725 *,NONE | NONE
,*) if test ${ac_cv_have_x+y}
13727 printf %s
"(cached) " >&6
13729 # One or both of the vars are not set, and there is no cached value.
13732 # Do we need to do anything special at all?
13735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13737 #include <X11/Xlib.h>
13746 if ac_fn_c_try_link
"$LINENO"
13748 # We can compile and link X programs with no special options.
13752 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13753 conftest
$ac_exeext conftest.
$ac_ext
13754 LIBS
="$ac_save_LIBS"
13755 # If that didn't work, only try xmkmf and file system searches
13756 # for native compilation.
13757 if test x
"$ac_x_includes" = xno
&& test "$cross_compiling" = no
13759 rm -f -r conftest.dir
13760 if mkdir conftest.dir
; then
13762 cat >Imakefile
<<'_ACEOF'
13764 @echo incroot='${INCROOT}'
13766 @echo usrlibdir='${USRLIBDIR}'
13768 @echo libdir='${LIBDIR}'
13770 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13771 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13772 for ac_var
in incroot usrlibdir libdir
; do
13773 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13775 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13776 for ac_extension
in a so sl dylib la dll
; do
13777 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13778 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13779 ac_im_usrlibdir
=$ac_im_libdir; break
13782 # Screen out bogus values from the imake configuration. They are
13783 # bogus both because they are the default anyway, and because
13784 # using them would break gcc on systems where it needs fixed includes.
13785 case $ac_im_incroot in
13786 /usr
/include
) ac_x_includes
= ;;
13787 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13789 case $ac_im_usrlibdir in
13790 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13791 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13795 rm -f -r conftest.dir
13798 # Standard set of common directories for X headers.
13799 # Check X11 before X11Rn because it is often a symlink to the current release.
13813 /usr/local/X11/include
13814 /usr/local/X11R7/include
13815 /usr/local/X11R6/include
13816 /usr/local/X11R5/include
13817 /usr/local/X11R4/include
13819 /usr/local/include/X11
13820 /usr/local/include/X11R7
13821 /usr/local/include/X11R6
13822 /usr/local/include/X11R5
13823 /usr/local/include/X11R4
13829 /usr/XFree86/include/X11
13833 /usr/unsupported/include
13834 /usr/athena/include
13835 /usr/local/x11r5/include
13836 /usr/lpp/Xamples/include
13838 /usr/openwin/include
13839 /usr/openwin/share/include'
13841 if test "$ac_x_includes" = no
; then
13842 # Guess where to find include files, by looking for Xlib.h.
13843 # First, try using that file with no special directory specified.
13844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13846 #include <X11/Xlib.h>
13848 if ac_fn_c_try_cpp
"$LINENO"
13850 # We can compile using X headers with no special include directory.
13853 for ac_dir
in $ac_x_header_dirs; do
13854 if test -r "$ac_dir/X11/Xlib.h"; then
13855 ac_x_includes
=$ac_dir
13860 rm -f conftest.err conftest.i conftest.
$ac_ext
13861 fi # $ac_x_includes = no
13863 if test "$ac_x_libraries" = no
; then
13864 # Check for the libraries.
13865 # See if we find them without any special options.
13866 # Don't add to $LIBS permanently.
13869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 #include <X11/Xlib.h>
13880 if ac_fn_c_try_link
"$LINENO"
13883 # We can link X programs with no special library path.
13887 for ac_dir
in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13889 # Don't even attempt the hair of trying to link an X program!
13890 for ac_extension
in a so sl dylib la dll
; do
13891 if test -r "$ac_dir/libX11.$ac_extension"; then
13892 ac_x_libraries
=$ac_dir
13898 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13899 conftest
$ac_exeext conftest.
$ac_ext
13900 fi # $ac_x_libraries = no
13903 # Record the results.
13904 case $ac_x_includes,$ac_x_libraries in #(
13905 no
,* |
*,no |
*\'*) :
13906 # Didn't find X, or a directory has "'" in its name.
13907 ac_cv_have_x
="have_x=no" ;; #(
13909 # Record where we found X for the cache.
13910 ac_cv_have_x
="have_x=yes\
13911 ac_x_includes='$ac_x_includes'\
13912 ac_x_libraries='$ac_x_libraries'" ;;
13918 eval "$ac_cv_have_x"
13921 if test "$have_x" != yes; then
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13923 printf "%s\n" "$have_x" >&6; }
13926 # If each of the values was on the command line, it overrides each guess.
13927 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13928 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13929 # Update the cache value to reflect the command line values.
13930 ac_cv_have_x
="have_x=yes\
13931 ac_x_includes='$x_includes'\
13932 ac_x_libraries='$x_libraries'"
13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13934 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13937 if test "$no_x" = yes; then
13938 # Not all programs may use this symbol, but it does not hurt to define it.
13940 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13942 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13944 if test -n "$x_includes"; then
13945 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13948 # It would also be nice to do this for all -L options, not just this one.
13949 if test -n "$x_libraries"; then
13950 X_LIBS
="$X_LIBS -L$x_libraries"
13951 # For Solaris; some versions of Sun CC require a space after -R and
13952 # others require no space. Words are not sufficient . . . .
13953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13954 printf %s
"checking whether -R must be followed by a space... " >&6; }
13955 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13956 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13957 ac_c_werror_flag
=yes
13958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13969 if ac_fn_c_try_link
"$LINENO"
13971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13972 printf "%s\n" "no" >&6; }
13973 X_LIBS
="$X_LIBS -R$x_libraries"
13975 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13987 if ac_fn_c_try_link
"$LINENO"
13989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13990 printf "%s\n" "yes" >&6; }
13991 X_LIBS
="$X_LIBS -R $x_libraries"
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13994 printf "%s\n" "neither works" >&6; }
13996 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13997 conftest
$ac_exeext conftest.
$ac_ext
13999 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14000 conftest
$ac_exeext conftest.
$ac_ext
14001 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14002 LIBS
=$ac_xsave_LIBS
14005 # Check for system-dependent libraries X programs must link with.
14006 # Do this before checking for the system-independent R6 libraries
14007 # (-lICE), since we may need -lsocket or whatever for X linking.
14009 if test "$ISC" = yes; then
14010 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14012 # Martyn Johnson says this is needed for Ultrix, if the X
14013 # libraries were built with DECnet support. And Karl Berry says
14014 # the Alpha needs dnet_stub (dnet does not exist).
14015 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14019 /* Override any GCC internal prototype to avoid an error.
14020 Use char because int might match the return type of a GCC
14021 builtin and then its argument prototype would still apply. */
14022 char XOpenDisplay ();
14026 return XOpenDisplay ();
14031 if ac_fn_c_try_link
"$LINENO"
14035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14036 printf %s
"checking for dnet_ntoa in -ldnet... " >&6; }
14037 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14039 printf %s
"(cached) " >&6
14041 ac_check_lib_save_LIBS
=$LIBS
14042 LIBS
="-ldnet $LIBS"
14043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 /* Override any GCC internal prototype to avoid an error.
14047 Use char because int might match the return type of a GCC
14048 builtin and then its argument prototype would still apply. */
14053 return dnet_ntoa ();
14058 if ac_fn_c_try_link
"$LINENO"
14060 ac_cv_lib_dnet_dnet_ntoa
=yes
14062 ac_cv_lib_dnet_dnet_ntoa
=no
14064 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14065 conftest
$ac_exeext conftest.
$ac_ext
14066 LIBS
=$ac_check_lib_save_LIBS
14068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14069 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14070 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14072 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14075 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14077 printf %s
"checking for dnet_ntoa in -ldnet_stub... " >&6; }
14078 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14080 printf %s
"(cached) " >&6
14082 ac_check_lib_save_LIBS
=$LIBS
14083 LIBS
="-ldnet_stub $LIBS"
14084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14094 return dnet_ntoa ();
14099 if ac_fn_c_try_link
"$LINENO"
14101 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14103 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14105 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14106 conftest
$ac_exeext conftest.
$ac_ext
14107 LIBS
=$ac_check_lib_save_LIBS
14109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14110 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14111 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14113 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14118 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14119 conftest
$ac_exeext conftest.
$ac_ext
14120 LIBS
="$ac_xsave_LIBS"
14122 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14123 # to get the SysV transport functions.
14124 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14126 # The nsl library prevents programs from opening the X display
14127 # on Irix 5.2, according to T.E. Dickey.
14128 # The functions gethostbyname, getservbyname, and inet_addr are
14129 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14130 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14131 if test "x$ac_cv_func_gethostbyname" = xyes
14136 if test $ac_cv_func_gethostbyname = no
; then
14137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14138 printf %s
"checking for gethostbyname in -lnsl... " >&6; }
14139 if test ${ac_cv_lib_nsl_gethostbyname+y}
14141 printf %s
"(cached) " >&6
14143 ac_check_lib_save_LIBS
=$LIBS
14145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14151 char gethostbyname ();
14155 return gethostbyname ();
14160 if ac_fn_c_try_link
"$LINENO"
14162 ac_cv_lib_nsl_gethostbyname
=yes
14164 ac_cv_lib_nsl_gethostbyname
=no
14166 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14167 conftest
$ac_exeext conftest.
$ac_ext
14168 LIBS
=$ac_check_lib_save_LIBS
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14171 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14172 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14174 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14177 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14179 printf %s
"checking for gethostbyname in -lbsd... " >&6; }
14180 if test ${ac_cv_lib_bsd_gethostbyname+y}
14182 printf %s
"(cached) " >&6
14184 ac_check_lib_save_LIBS
=$LIBS
14186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14189 /* Override any GCC internal prototype to avoid an error.
14190 Use char because int might match the return type of a GCC
14191 builtin and then its argument prototype would still apply. */
14192 char gethostbyname ();
14196 return gethostbyname ();
14201 if ac_fn_c_try_link
"$LINENO"
14203 ac_cv_lib_bsd_gethostbyname
=yes
14205 ac_cv_lib_bsd_gethostbyname
=no
14207 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14208 conftest
$ac_exeext conftest.
$ac_ext
14209 LIBS
=$ac_check_lib_save_LIBS
14211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14212 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14213 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14215 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14221 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14222 # socket/setsockopt and other routines are undefined under SCO ODT
14223 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14224 # on later versions), says Simon Leinen: it contains gethostby*
14225 # variants that don't use the name server (or something). -lsocket
14226 # must be given before -lnsl if both are needed. We assume that
14227 # if connect needs -lnsl, so does gethostbyname.
14228 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14229 if test "x$ac_cv_func_connect" = xyes
14234 if test $ac_cv_func_connect = no
; then
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14236 printf %s
"checking for connect in -lsocket... " >&6; }
14237 if test ${ac_cv_lib_socket_connect+y}
14239 printf %s
"(cached) " >&6
14241 ac_check_lib_save_LIBS
=$LIBS
14242 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14246 /* Override any GCC internal prototype to avoid an error.
14247 Use char because int might match the return type of a GCC
14248 builtin and then its argument prototype would still apply. */
14258 if ac_fn_c_try_link
"$LINENO"
14260 ac_cv_lib_socket_connect
=yes
14262 ac_cv_lib_socket_connect
=no
14264 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14265 conftest
$ac_exeext conftest.
$ac_ext
14266 LIBS
=$ac_check_lib_save_LIBS
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14269 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14270 if test "x$ac_cv_lib_socket_connect" = xyes
14272 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14277 # Guillermo Gomez says -lposix is necessary on A/UX.
14278 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14279 if test "x$ac_cv_func_remove" = xyes
14284 if test $ac_cv_func_remove = no
; then
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14286 printf %s
"checking for remove in -lposix... " >&6; }
14287 if test ${ac_cv_lib_posix_remove+y}
14289 printf %s
"(cached) " >&6
14291 ac_check_lib_save_LIBS
=$LIBS
14292 LIBS
="-lposix $LIBS"
14293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14296 /* Override any GCC internal prototype to avoid an error.
14297 Use char because int might match the return type of a GCC
14298 builtin and then its argument prototype would still apply. */
14308 if ac_fn_c_try_link
"$LINENO"
14310 ac_cv_lib_posix_remove
=yes
14312 ac_cv_lib_posix_remove
=no
14314 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14315 conftest
$ac_exeext conftest.
$ac_ext
14316 LIBS
=$ac_check_lib_save_LIBS
14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14319 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14320 if test "x$ac_cv_lib_posix_remove" = xyes
14322 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14327 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14328 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14329 if test "x$ac_cv_func_shmat" = xyes
14334 if test $ac_cv_func_shmat = no
; then
14335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14336 printf %s
"checking for shmat in -lipc... " >&6; }
14337 if test ${ac_cv_lib_ipc_shmat+y}
14339 printf %s
"(cached) " >&6
14341 ac_check_lib_save_LIBS
=$LIBS
14343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14346 /* Override any GCC internal prototype to avoid an error.
14347 Use char because int might match the return type of a GCC
14348 builtin and then its argument prototype would still apply. */
14358 if ac_fn_c_try_link
"$LINENO"
14360 ac_cv_lib_ipc_shmat
=yes
14362 ac_cv_lib_ipc_shmat
=no
14364 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14365 conftest
$ac_exeext conftest.
$ac_ext
14366 LIBS
=$ac_check_lib_save_LIBS
14368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14369 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14370 if test "x$ac_cv_lib_ipc_shmat" = xyes
14372 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14378 # Check for libraries that X11R6 Xt/Xaw programs need.
14379 ac_save_LDFLAGS
=$LDFLAGS
14380 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14381 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14382 # check for ICE first), but we must link in the order -lSM -lICE or
14383 # we get undefined symbols. So assume we have SM if we have ICE.
14384 # These have to be linked with before -lX11, unlike the other
14385 # libraries we check for below, so use a different variable.
14386 # John Interrante, Karl Berry
14387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14388 printf %s
"checking for IceConnectionNumber in -lICE... " >&6; }
14389 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14391 printf %s
"(cached) " >&6
14393 ac_check_lib_save_LIBS
=$LIBS
14394 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply. */
14401 char IceConnectionNumber ();
14405 return IceConnectionNumber ();
14410 if ac_fn_c_try_link
"$LINENO"
14412 ac_cv_lib_ICE_IceConnectionNumber
=yes
14414 ac_cv_lib_ICE_IceConnectionNumber
=no
14416 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14417 conftest
$ac_exeext conftest.
$ac_ext
14418 LIBS
=$ac_check_lib_save_LIBS
14420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14421 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14422 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14424 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14427 LDFLAGS
=$ac_save_LDFLAGS
14432 if test "$have_x" = "yes"
14434 ac_save_CPPFLAGS
="$CPPFLAGS"
14435 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14438 printf %s
"checking for -lX11... " >&6; }
14439 if test ${ac_cv_lib_soname_X11+y}
14441 printf %s
"(cached) " >&6
14443 ac_check_soname_save_LIBS
=$LIBS
14444 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14451 char XCreateWindow ();
14455 return XCreateWindow ();
14460 if ac_fn_c_try_link
"$LINENO"
14463 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14464 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'` ;;
14465 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14466 if ${ac_cv_lib_soname_X11:+false} :
14468 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14472 ac_cv_lib_soname_X11
=
14474 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14475 conftest
$ac_exeext conftest.
$ac_ext
14476 LIBS
=$ac_check_soname_save_LIBS
14478 if ${ac_cv_lib_soname_X11:+false} :
14480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14481 printf "%s\n" "not found" >&6; }
14484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14485 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14487 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14492 printf %s
"checking for -lXext... " >&6; }
14493 if test ${ac_cv_lib_soname_Xext+y}
14495 printf %s
"(cached) " >&6
14497 ac_check_soname_save_LIBS
=$LIBS
14498 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14502 /* Override any GCC internal prototype to avoid an error.
14503 Use char because int might match the return type of a GCC
14504 builtin and then its argument prototype would still apply. */
14505 char XextCreateExtension ();
14509 return XextCreateExtension ();
14514 if ac_fn_c_try_link
"$LINENO"
14517 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14518 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'` ;;
14519 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14520 if ${ac_cv_lib_soname_Xext:+false} :
14522 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14526 ac_cv_lib_soname_Xext
=
14528 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14529 conftest
$ac_exeext conftest.
$ac_ext
14530 LIBS
=$ac_check_soname_save_LIBS
14532 if ${ac_cv_lib_soname_Xext:+false} :
14534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14535 printf "%s\n" "not found" >&6; }
14538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14539 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14541 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14543 X_LIBS
="$X_LIBS -lXext"
14545 X_LIBS
="$X_LIBS -lX11"
14547 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14548 # include <X11/Xlib.h>
14550 #ifdef HAVE_X11_XUTIL_H
14551 # include <X11/Xutil.h>
14554 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14556 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14559 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14560 # include <X11/Xlib.h>
14562 #ifdef HAVE_X11_XUTIL_H
14563 # include <X11/Xutil.h>
14566 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14568 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14571 ac_fn_c_check_header_compile
"$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14572 # include <X11/Xlib.h>
14574 #ifdef HAVE_X11_XUTIL_H
14575 # include <X11/Xutil.h>
14578 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14580 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14583 ac_fn_c_check_header_compile
"$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14584 # include <X11/Xlib.h>
14586 #ifdef HAVE_X11_XUTIL_H
14587 # include <X11/Xutil.h>
14590 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14592 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14595 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14596 # include <X11/Xlib.h>
14598 #ifdef HAVE_X11_XUTIL_H
14599 # include <X11/Xutil.h>
14602 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14604 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14607 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14608 # include <X11/Xlib.h>
14610 #ifdef HAVE_X11_XUTIL_H
14611 # include <X11/Xutil.h>
14614 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14616 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14619 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14620 # include <X11/Xlib.h>
14622 #ifdef HAVE_X11_XUTIL_H
14623 # include <X11/Xutil.h>
14626 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14628 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14631 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14632 # include <X11/Xlib.h>
14634 #ifdef HAVE_X11_XUTIL_H
14635 # include <X11/Xutil.h>
14638 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14640 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14643 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14644 # include <X11/Xlib.h>
14646 #ifdef HAVE_X11_XUTIL_H
14647 # include <X11/Xutil.h>
14650 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14652 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14655 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14656 # include <X11/Xlib.h>
14658 #ifdef HAVE_X11_XUTIL_H
14659 # include <X11/Xutil.h>
14662 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14664 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14667 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14668 # include <X11/Xlib.h>
14670 #ifdef HAVE_X11_XUTIL_H
14671 # include <X11/Xutil.h>
14674 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14676 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14679 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14680 # include <X11/Xlib.h>
14682 #ifdef HAVE_X11_XUTIL_H
14683 # include <X11/Xutil.h>
14686 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14688 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14691 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14692 # include <X11/Xlib.h>
14694 #ifdef HAVE_X11_XUTIL_H
14695 # include <X11/Xutil.h>
14698 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14700 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14703 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14704 # include <X11/Xlib.h>
14706 #ifdef HAVE_X11_XUTIL_H
14707 # include <X11/Xutil.h>
14710 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14712 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14715 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14716 # include <X11/Xlib.h>
14718 #ifdef HAVE_X11_XUTIL_H
14719 # include <X11/Xutil.h>
14722 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14724 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14729 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14732 printf %s
"checking for XkbQueryExtension in -lX11... " >&6; }
14733 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14735 printf %s
"(cached) " >&6
14737 ac_check_lib_save_LIBS
=$LIBS
14738 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14742 /* Override any GCC internal prototype to avoid an error.
14743 Use char because int might match the return type of a GCC
14744 builtin and then its argument prototype would still apply. */
14745 char XkbQueryExtension ();
14749 return XkbQueryExtension ();
14754 if ac_fn_c_try_link
"$LINENO"
14756 ac_cv_lib_X11_XkbQueryExtension
=yes
14758 ac_cv_lib_X11_XkbQueryExtension
=no
14760 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14761 conftest
$ac_exeext conftest.
$ac_ext
14762 LIBS
=$ac_check_lib_save_LIBS
14764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14765 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14766 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14769 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14775 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14778 printf %s
"checking for -lXcursor... " >&6; }
14779 if test ${ac_cv_lib_soname_Xcursor+y}
14781 printf %s
"(cached) " >&6
14783 ac_check_soname_save_LIBS
=$LIBS
14784 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 /* Override any GCC internal prototype to avoid an error.
14789 Use char because int might match the return type of a GCC
14790 builtin and then its argument prototype would still apply. */
14791 char XcursorImageLoadCursor ();
14795 return XcursorImageLoadCursor ();
14800 if ac_fn_c_try_link
"$LINENO"
14803 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14804 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'` ;;
14805 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14806 if ${ac_cv_lib_soname_Xcursor:+false} :
14808 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14812 ac_cv_lib_soname_Xcursor
=
14814 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14815 conftest
$ac_exeext conftest.
$ac_ext
14816 LIBS
=$ac_check_soname_save_LIBS
14818 if ${ac_cv_lib_soname_Xcursor:+false} :
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14821 printf "%s\n" "not found" >&6; }
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14825 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14827 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14832 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14834 case "x$with_xcursor" in
14835 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14837 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14838 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14843 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14846 printf %s
"checking for -lXi... " >&6; }
14847 if test ${ac_cv_lib_soname_Xi+y}
14849 printf %s
"(cached) " >&6
14851 ac_check_soname_save_LIBS
=$LIBS
14852 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14856 /* Override any GCC internal prototype to avoid an error.
14857 Use char because int might match the return type of a GCC
14858 builtin and then its argument prototype would still apply. */
14859 char XOpenDevice ();
14863 return XOpenDevice ();
14868 if ac_fn_c_try_link
"$LINENO"
14871 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14872 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'` ;;
14873 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14874 if ${ac_cv_lib_soname_Xi:+false} :
14876 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14880 ac_cv_lib_soname_Xi
=
14882 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14883 conftest
$ac_exeext conftest.
$ac_ext
14884 LIBS
=$ac_check_soname_save_LIBS
14886 if ${ac_cv_lib_soname_Xi:+false} :
14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14889 printf "%s\n" "not found" >&6; }
14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14893 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14895 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14900 if test "x$ac_cv_lib_soname_Xi" = "x"
14902 case "x$with_xinput" in
14903 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14905 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14906 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14911 if test "x$ac_cv_lib_soname_Xi" != x
14913 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14915 case "x$with_xinput2" in
14916 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14918 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
14919 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14925 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14928 printf %s
"checking for XShmQueryExtension in -lXext... " >&6; }
14929 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14931 printf %s
"(cached) " >&6
14933 ac_check_lib_save_LIBS
=$LIBS
14934 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 /* Override any GCC internal prototype to avoid an error.
14939 Use char because int might match the return type of a GCC
14940 builtin and then its argument prototype would still apply. */
14941 char XShmQueryExtension ();
14945 return XShmQueryExtension ();
14950 if ac_fn_c_try_link
"$LINENO"
14952 ac_cv_lib_Xext_XShmQueryExtension
=yes
14954 ac_cv_lib_Xext_XShmQueryExtension
=no
14956 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
14957 conftest
$ac_exeext conftest.
$ac_ext
14958 LIBS
=$ac_check_lib_save_LIBS
14960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14961 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14962 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14965 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14970 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14972 case "x$with_xshm" in
14973 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14975 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14976 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14981 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14984 printf %s
"checking for XShapeQueryExtension in -lXext... " >&6; }
14985 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14987 printf %s
"(cached) " >&6
14989 ac_check_lib_save_LIBS
=$LIBS
14990 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
14997 char XShapeQueryExtension ();
15001 return XShapeQueryExtension ();
15006 if ac_fn_c_try_link
"$LINENO"
15008 ac_cv_lib_Xext_XShapeQueryExtension
=yes
15010 ac_cv_lib_Xext_XShapeQueryExtension
=no
15012 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15013 conftest
$ac_exeext conftest.
$ac_ext
15014 LIBS
=$ac_check_lib_save_LIBS
15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15017 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15018 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15021 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15026 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15028 case "x$with_xshape" in
15029 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15031 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
15032 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15037 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15040 printf %s
"checking for -lXxf86vm... " >&6; }
15041 if test ${ac_cv_lib_soname_Xxf86vm+y}
15043 printf %s
"(cached) " >&6
15045 ac_check_soname_save_LIBS
=$LIBS
15046 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15053 char XF86VidModeQueryExtension ();
15057 return XF86VidModeQueryExtension ();
15062 if ac_fn_c_try_link
"$LINENO"
15065 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15066 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'` ;;
15067 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15068 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15070 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15074 ac_cv_lib_soname_Xxf86vm
=
15076 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15077 conftest
$ac_exeext conftest.
$ac_ext
15078 LIBS
=$ac_check_soname_save_LIBS
15080 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15083 printf "%s\n" "not found" >&6; }
15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15087 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15089 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15094 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15096 case "x$with_xxf86vm" in
15097 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15099 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15100 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15105 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15108 printf %s
"checking for -lXrender... " >&6; }
15109 if test ${ac_cv_lib_soname_Xrender+y}
15111 printf %s
"(cached) " >&6
15113 ac_check_soname_save_LIBS
=$LIBS
15114 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 char XRenderQueryExtension ();
15125 return XRenderQueryExtension ();
15130 if ac_fn_c_try_link
"$LINENO"
15133 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15134 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'` ;;
15135 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15136 if ${ac_cv_lib_soname_Xrender:+false} :
15138 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15142 ac_cv_lib_soname_Xrender
=
15144 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15145 conftest
$ac_exeext conftest.
$ac_ext
15146 LIBS
=$ac_check_soname_save_LIBS
15148 if ${ac_cv_lib_soname_Xrender:+false} :
15150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15151 printf "%s\n" "not found" >&6; }
15154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15155 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15157 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15160 printf %s
"checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15161 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15163 printf %s
"(cached) " >&6
15165 ac_check_lib_save_LIBS
=$LIBS
15166 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15170 /* Override any GCC internal prototype to avoid an error.
15171 Use char because int might match the return type of a GCC
15172 builtin and then its argument prototype would still apply. */
15173 char XRenderSetPictureTransform ();
15177 return XRenderSetPictureTransform ();
15182 if ac_fn_c_try_link
"$LINENO"
15184 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
15186 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
15188 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15189 conftest
$ac_exeext conftest.
$ac_ext
15190 LIBS
=$ac_check_lib_save_LIBS
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15193 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15194 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15197 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15202 printf %s
"checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15203 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15205 printf %s
"(cached) " >&6
15207 ac_check_lib_save_LIBS
=$LIBS
15208 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15212 /* Override any GCC internal prototype to avoid an error.
15213 Use char because int might match the return type of a GCC
15214 builtin and then its argument prototype would still apply. */
15215 char XRenderCreateLinearGradient ();
15219 return XRenderCreateLinearGradient ();
15224 if ac_fn_c_try_link
"$LINENO"
15226 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
15228 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
15230 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15231 conftest
$ac_exeext conftest.
$ac_ext
15232 LIBS
=$ac_check_lib_save_LIBS
15234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15235 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15236 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15239 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15246 if test "x$ac_cv_lib_soname_Xrender" = "x"
15248 case "x$with_xrender" in
15249 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15251 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
15252 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15257 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261 #include <X11/Xlib.h>
15262 #include <X11/extensions/Xrandr.h>
15266 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15271 if ac_fn_c_try_compile
"$LINENO"
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15274 printf %s
"checking for -lXrandr... " >&6; }
15275 if test ${ac_cv_lib_soname_Xrandr+y}
15277 printf %s
"(cached) " >&6
15279 ac_check_soname_save_LIBS
=$LIBS
15280 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15284 /* Override any GCC internal prototype to avoid an error.
15285 Use char because int might match the return type of a GCC
15286 builtin and then its argument prototype would still apply. */
15287 char XRRQueryExtension ();
15291 return XRRQueryExtension ();
15296 if ac_fn_c_try_link
"$LINENO"
15299 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15300 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'` ;;
15301 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15302 if ${ac_cv_lib_soname_Xrandr:+false} :
15304 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15308 ac_cv_lib_soname_Xrandr
=
15310 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15311 conftest
$ac_exeext conftest.
$ac_ext
15312 LIBS
=$ac_check_soname_save_LIBS
15314 if ${ac_cv_lib_soname_Xrandr:+false} :
15316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15317 printf "%s\n" "not found" >&6; }
15320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15321 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15323 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #include <X11/Xlib.h>
15328 #include <X11/extensions/Xrandr.h>
15332 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15337 if ac_fn_c_try_compile
"$LINENO"
15340 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15343 as_fn_append wine_notices
"|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15345 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15348 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15350 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15352 case "x$with_xrandr" in
15353 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15355 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15356 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15361 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 #include <X11/Xlib.h>
15366 #include <X11/extensions/Xfixes.h>
15370 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15375 if ac_fn_c_try_compile
"$LINENO"
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15378 printf %s
"checking for -lXfixes... " >&6; }
15379 if test ${ac_cv_lib_soname_Xfixes+y}
15381 printf %s
"(cached) " >&6
15383 ac_check_soname_save_LIBS
=$LIBS
15384 LIBS
="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15388 /* Override any GCC internal prototype to avoid an error.
15389 Use char because int might match the return type of a GCC
15390 builtin and then its argument prototype would still apply. */
15391 char XFixesQueryVersion ();
15395 return XFixesQueryVersion ();
15400 if ac_fn_c_try_link
"$LINENO"
15403 dll
) ac_cv_lib_soname_Xfixes
=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15404 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'` ;;
15405 *) ac_cv_lib_soname_Xfixes
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15406 if ${ac_cv_lib_soname_Xfixes:+false} :
15408 ac_cv_lib_soname_Xfixes
=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15412 ac_cv_lib_soname_Xfixes
=
15414 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15415 conftest
$ac_exeext conftest.
$ac_ext
15416 LIBS
=$ac_check_soname_save_LIBS
15418 if ${ac_cv_lib_soname_Xfixes:+false} :
15420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15421 printf "%s\n" "not found" >&6; }
15424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15425 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15427 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15432 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15434 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15436 case "x$with_xfixes" in
15437 x
) as_fn_append wine_notices
"|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15439 *) as_fn_error $?
"libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15440 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15445 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15449 #include <X11/Xlib.h>
15450 #include <X11/extensions/Xinerama.h>
15454 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15459 if ac_fn_c_try_compile
"$LINENO"
15461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15462 printf %s
"checking for -lXinerama... " >&6; }
15463 if test ${ac_cv_lib_soname_Xinerama+y}
15465 printf %s
"(cached) " >&6
15467 ac_check_soname_save_LIBS
=$LIBS
15468 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15472 /* Override any GCC internal prototype to avoid an error.
15473 Use char because int might match the return type of a GCC
15474 builtin and then its argument prototype would still apply. */
15475 char XineramaQueryScreens ();
15479 return XineramaQueryScreens ();
15484 if ac_fn_c_try_link
"$LINENO"
15487 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15488 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'` ;;
15489 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15490 if ${ac_cv_lib_soname_Xinerama:+false} :
15492 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15496 ac_cv_lib_soname_Xinerama
=
15498 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15499 conftest
$ac_exeext conftest.
$ac_ext
15500 LIBS
=$ac_check_soname_save_LIBS
15502 if ${ac_cv_lib_soname_Xinerama:+false} :
15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15505 printf "%s\n" "not found" >&6; }
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15509 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15511 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15516 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15518 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15520 case "x$with_xinerama" in
15521 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15523 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15524 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15529 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15532 printf %s
"checking for -lXcomposite... " >&6; }
15533 if test ${ac_cv_lib_soname_Xcomposite+y}
15535 printf %s
"(cached) " >&6
15537 ac_check_soname_save_LIBS
=$LIBS
15538 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $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 XCompositeRedirectWindow ();
15549 return XCompositeRedirectWindow ();
15554 if ac_fn_c_try_link
"$LINENO"
15557 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15558 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'` ;;
15559 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15560 if ${ac_cv_lib_soname_Xcomposite:+false} :
15562 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15566 ac_cv_lib_soname_Xcomposite
=
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_Xcomposite:+false} :
15574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15575 printf "%s\n" "not found" >&6; }
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15579 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15581 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15586 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15588 case "x$with_xcomposite" in
15589 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15591 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15592 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15597 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15598 #include <X11/Xlib.h>
15601 if test "x$ac_cv_member_XICCallback_callback" = xyes
15604 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15608 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15609 #include <X11/Xlib.h>
15612 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15615 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15623 if test "x$with_opengl" != "xno"
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15626 printf %s
"checking for -lGL... " >&6; }
15627 if test ${ac_cv_lib_soname_GL+y}
15629 printf %s
"(cached) " >&6
15631 ac_check_soname_save_LIBS
=$LIBS
15632 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15639 char glXCreateContext ();
15643 return glXCreateContext ();
15648 if ac_fn_c_try_link
"$LINENO"
15651 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15652 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'` ;;
15653 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15654 if ${ac_cv_lib_soname_GL:+false} :
15656 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15660 ac_cv_lib_soname_GL
=
15662 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15663 conftest
$ac_exeext conftest.
$ac_ext
15664 LIBS
=$ac_check_soname_save_LIBS
15666 if ${ac_cv_lib_soname_GL:+false} :
15668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15669 printf "%s\n" "not found" >&6; }
15670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15671 printf %s
"checking for -lGL... " >&6; }
15672 if test ${ac_cv_lib_soname_GL+y}
15674 printf %s
"(cached) " >&6
15676 ac_check_soname_save_LIBS
=$LIBS
15677 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"
15678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15681 /* Override any GCC internal prototype to avoid an error.
15682 Use char because int might match the return type of a GCC
15683 builtin and then its argument prototype would still apply. */
15684 char glXCreateContext ();
15688 return glXCreateContext ();
15693 if ac_fn_c_try_link
"$LINENO"
15696 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15697 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'` ;;
15698 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15699 if ${ac_cv_lib_soname_GL:+false} :
15701 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15705 ac_cv_lib_soname_GL
=
15707 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15708 conftest
$ac_exeext conftest.
$ac_ext
15709 LIBS
=$ac_check_soname_save_LIBS
15711 if ${ac_cv_lib_soname_GL:+false} :
15713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15714 printf "%s\n" "not found" >&6; }
15715 if test -f /usr
/X11R
6/lib
/libGL.a
15717 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
15718 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15720 opengl_msg
="No OpenGL library found on this system."
15723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15724 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15726 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15728 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"
15731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15732 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15734 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15738 if test "x$with_osmesa" != "xno"
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15741 printf %s
"checking for -lOSMesa... " >&6; }
15742 if test ${ac_cv_lib_soname_OSMesa+y}
15744 printf %s
"(cached) " >&6
15746 ac_check_soname_save_LIBS
=$LIBS
15747 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15749 /* end confdefs.h. */
15751 /* Override any GCC internal prototype to avoid an error.
15752 Use char because int might match the return type of a GCC
15753 builtin and then its argument prototype would still apply. */
15754 char OSMesaGetProcAddress ();
15758 return OSMesaGetProcAddress ();
15763 if ac_fn_c_try_link
"$LINENO"
15766 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15767 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'` ;;
15768 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15769 if ${ac_cv_lib_soname_OSMesa:+false} :
15771 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15775 ac_cv_lib_soname_OSMesa
=
15777 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15778 conftest
$ac_exeext conftest.
$ac_ext
15779 LIBS
=$ac_check_soname_save_LIBS
15781 if ${ac_cv_lib_soname_OSMesa:+false} :
15783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15784 printf "%s\n" "not found" >&6; }
15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15788 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15790 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15794 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15796 case "x$with_osmesa" in
15797 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15799 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15800 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15806 if test -n "$opengl_msg"
15808 case "x$with_opengl" in
15809 x
) as_fn_append wine_warnings
"|$opengl_msg
15810 OpenGL and Direct3D won't be supported." ;;
15812 *) as_fn_error $?
"$opengl_msg
15813 OpenGL and Direct3D won't be supported.
15814 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15819 CPPFLAGS
="$ac_save_CPPFLAGS"
15825 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15827 if test "x$X_LIBS" = "x"
15831 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
15832 without X support, which probably isn't what you want. You will need
15833 to install ${notice_platform}development packages of Xlib at the very least.
15834 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15836 enable_winex11_drv
=${enable_winex11_drv:-no}
15839 if test "x$X_LIBS" = "x"
15842 x
) as_fn_append wine_notices
"|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15844 *) as_fn_error $?
"X ${notice_platform}development files not found, the X11 driver won't be supported.
15845 This is an error since --with-x was requested." "$LINENO" 5 ;;
15847 enable_winex11_drv
=${enable_winex11_drv:-no}
15851 if test "$ac_cv_header_CL_cl_h" = "yes"
15853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15854 printf %s
"checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15855 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15857 printf %s
"(cached) " >&6
15859 ac_check_lib_save_LIBS
=$LIBS
15860 LIBS
="-lOpenCL $LIBS"
15861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15862 /* end confdefs.h. */
15864 /* Override any GCC internal prototype to avoid an error.
15865 Use char because int might match the return type of a GCC
15866 builtin and then its argument prototype would still apply. */
15867 char clGetPlatformInfo ();
15871 return clGetPlatformInfo ();
15876 if ac_fn_c_try_link
"$LINENO"
15878 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
15880 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
15882 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15883 conftest
$ac_exeext conftest.
$ac_ext
15884 LIBS
=$ac_check_lib_save_LIBS
15886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15887 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15888 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15890 OPENCL_LIBS
="-lOpenCL"
15895 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15897 case "x$with_opencl" in
15898 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15900 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15901 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15903 enable_opencl
=${enable_opencl:-no}
15906 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15909 printf %s
"checking for pcap_create in -lpcap... " >&6; }
15910 if test ${ac_cv_lib_pcap_pcap_create+y}
15912 printf %s
"(cached) " >&6
15914 ac_check_lib_save_LIBS
=$LIBS
15915 LIBS
="-lpcap $LIBS"
15916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15919 /* Override any GCC internal prototype to avoid an error.
15920 Use char because int might match the return type of a GCC
15921 builtin and then its argument prototype would still apply. */
15922 char pcap_create ();
15926 return pcap_create ();
15931 if ac_fn_c_try_link
"$LINENO"
15933 ac_cv_lib_pcap_pcap_create
=yes
15935 ac_cv_lib_pcap_pcap_create
=no
15937 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
15938 conftest
$ac_exeext conftest.
$ac_ext
15939 LIBS
=$ac_check_lib_save_LIBS
15941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15942 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15943 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15950 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15952 case "x$with_pcap" in
15953 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15955 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
15956 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15958 enable_wpcap
=${enable_wpcap:-no}
15961 if test "x$with_inotify" != "xno"
15963 if ${INOTIFY_CFLAGS:+false} :
15965 if test ${PKG_CONFIG+y}
15967 INOTIFY_CFLAGS
=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15971 if ${INOTIFY_LIBS:+false} :
15973 if test ${PKG_CONFIG+y}
15975 INOTIFY_LIBS
=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15982 ac_save_CPPFLAGS
=$CPPFLAGS
15983 CPPFLAGS
="$CPPFLAGS $INOTIFY_CFLAGS"
15984 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15985 if test "x$ac_cv_header_sys_inotify_h" = xyes
15987 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15992 printf %s
"checking for inotify_add_watch in -linotify... " >&6; }
15993 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15995 printf %s
"(cached) " >&6
15997 ac_check_lib_save_LIBS
=$LIBS
15998 LIBS
="-linotify $INOTIFY_LIBS $LIBS"
15999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16005 char inotify_add_watch ();
16009 return inotify_add_watch ();
16014 if ac_fn_c_try_link
"$LINENO"
16016 ac_cv_lib_inotify_inotify_add_watch
=yes
16018 ac_cv_lib_inotify_inotify_add_watch
=no
16020 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16021 conftest
$ac_exeext conftest.
$ac_ext
16022 LIBS
=$ac_check_lib_save_LIBS
16024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16025 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16026 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16033 CPPFLAGS
=$ac_save_CPPFLAGS
16036 if test "$ac_cv_header_sys_inotify_h" != "yes"
16038 case "x$with_inotify" in
16039 x
) as_fn_append wine_notices
"|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16041 *) as_fn_error $?
"libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16042 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16047 if test "x$with_dbus" != "xno"
16049 if ${DBUS_CFLAGS:+false} :
16051 if test ${PKG_CONFIG+y}
16053 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16057 if ${DBUS_LIBS:+false} :
16059 if test ${PKG_CONFIG+y}
16061 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16068 ac_save_CPPFLAGS
=$CPPFLAGS
16069 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
16070 ac_fn_c_check_header_compile
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16071 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16074 printf %s
"checking for -ldbus-1... " >&6; }
16075 if test ${ac_cv_lib_soname_dbus_1+y}
16077 printf %s
"(cached) " >&6
16079 ac_check_soname_save_LIBS
=$LIBS
16080 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
16081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16084 /* Override any GCC internal prototype to avoid an error.
16085 Use char because int might match the return type of a GCC
16086 builtin and then its argument prototype would still apply. */
16087 char dbus_connection_close ();
16091 return dbus_connection_close ();
16096 if ac_fn_c_try_link
"$LINENO"
16099 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16100 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'` ;;
16101 *) 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'`
16102 if ${ac_cv_lib_soname_dbus_1:+false} :
16104 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16108 ac_cv_lib_soname_dbus_1
=
16110 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16111 conftest
$ac_exeext conftest.
$ac_ext
16112 LIBS
=$ac_check_soname_save_LIBS
16114 if ${ac_cv_lib_soname_dbus_1:+false} :
16116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16117 printf "%s\n" "not found" >&6; }
16120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16121 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16123 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16131 CPPFLAGS
=$ac_save_CPPFLAGS
16134 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16135 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16137 case "x$with_dbus" in
16138 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16140 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
16141 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16146 if test "x$with_gnutls" != "xno"
16148 if ${GNUTLS_CFLAGS:+false} :
16150 if test ${PKG_CONFIG+y}
16152 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16156 if ${GNUTLS_LIBS:+false} :
16158 if test ${PKG_CONFIG+y}
16160 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16164 GNUTLS_LIBS
=${GNUTLS_LIBS:-"-lgnutls"}
16165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16167 ac_save_CPPFLAGS
=$CPPFLAGS
16168 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
16169 ac_fn_c_check_header_compile
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16170 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16174 #include <gnutls/gnutls.h>
16175 #include <gnutls/crypto.h>
16179 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16184 if ac_fn_c_try_compile
"$LINENO"
16186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16187 printf %s
"checking for -lgnutls... " >&6; }
16188 if test ${ac_cv_lib_soname_gnutls+y}
16190 printf %s
"(cached) " >&6
16192 ac_check_soname_save_LIBS
=$LIBS
16193 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
16194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16197 /* Override any GCC internal prototype to avoid an error.
16198 Use char because int might match the return type of a GCC
16199 builtin and then its argument prototype would still apply. */
16200 char gnutls_global_init ();
16204 return gnutls_global_init ();
16209 if ac_fn_c_try_link
"$LINENO"
16212 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16213 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'` ;;
16214 *) 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'`
16215 if ${ac_cv_lib_soname_gnutls:+false} :
16217 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'`
16221 ac_cv_lib_soname_gnutls
=
16223 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16224 conftest
$ac_exeext conftest.
$ac_ext
16225 LIBS
=$ac_check_soname_save_LIBS
16227 if ${ac_cv_lib_soname_gnutls:+false} :
16229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16230 printf "%s\n" "not found" >&6; }
16233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16234 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16236 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16240 ac_wine_check_funcs_save_LIBS
="$LIBS"
16241 LIBS
="$LIBS $GNUTLS_LIBS"
16243 for ac_func
in gnutls_cipher_init
16245 ac_fn_c_check_func
"$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16246 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16248 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16251 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16255 LIBS
="$ac_wine_check_funcs_save_LIBS"
16257 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16262 CPPFLAGS
=$ac_save_CPPFLAGS
16265 if test "x$ac_cv_lib_soname_gnutls" = "x"
16267 case "x$with_gnutls" in
16268 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16270 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
16271 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16276 if test "x$with_sane" != "xno"
16278 if ${SANE_CFLAGS:+false} :
16280 if test ${PKG_CONFIG+y}
16282 SANE_CFLAGS
=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16285 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16286 if ${SANE_LIBS:+false} :
16288 if test ${PKG_CONFIG+y}
16290 SANE_LIBS
=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16293 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16297 ac_save_CPPFLAGS
=$CPPFLAGS
16298 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
16299 ac_fn_c_check_header_compile
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16300 if test "x$ac_cv_header_sane_sane_h" = xyes
16302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16303 printf %s
"checking for sane_init in -lsane... " >&6; }
16304 if test ${ac_cv_lib_sane_sane_init+y}
16306 printf %s
"(cached) " >&6
16308 ac_check_lib_save_LIBS
=$LIBS
16309 LIBS
="-lsane $SANE_LIBS $LIBS"
16310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16313 /* Override any GCC internal prototype to avoid an error.
16314 Use char because int might match the return type of a GCC
16315 builtin and then its argument prototype would still apply. */
16320 return sane_init ();
16325 if ac_fn_c_try_link
"$LINENO"
16327 ac_cv_lib_sane_sane_init
=yes
16329 ac_cv_lib_sane_sane_init
=no
16331 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16332 conftest
$ac_exeext conftest.
$ac_ext
16333 LIBS
=$ac_check_lib_save_LIBS
16335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16336 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16337 if test "x$ac_cv_lib_sane_sane_init" = xyes
16344 CPPFLAGS
=$ac_save_CPPFLAGS
16347 if test "$ac_cv_lib_sane_sane_init" != "yes"
16349 case "x$with_sane" in
16350 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16352 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
16353 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16355 enable_sane_ds
=${enable_sane_ds:-no}
16358 if test "x$with_usb" != "xno"
16360 if ${USB_CFLAGS:+false} :
16362 if test ${PKG_CONFIG+y}
16364 USB_CFLAGS
=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16368 if ${USB_LIBS:+false} :
16370 if test ${PKG_CONFIG+y}
16372 USB_LIBS
=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16376 USB_LIBS
=${USB_LIBS:-"-lusb-1.0"}
16377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16379 ac_save_CPPFLAGS
=$CPPFLAGS
16380 CPPFLAGS
="$CPPFLAGS $USB_CFLAGS"
16381 ac_fn_c_check_header_compile
"$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16382 if test "x$ac_cv_header_libusb_h" = xyes
16384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16385 printf %s
"checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16386 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16388 printf %s
"(cached) " >&6
16390 ac_check_lib_save_LIBS
=$LIBS
16391 LIBS
="-lusb-1.0 $USB_LIBS $LIBS"
16392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 char libusb_interrupt_event_handler ();
16402 return libusb_interrupt_event_handler ();
16407 if ac_fn_c_try_link
"$LINENO"
16409 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=yes
16411 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler
=no
16413 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16414 conftest
$ac_exeext conftest.
$ac_ext
16415 LIBS
=$ac_check_lib_save_LIBS
16417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16418 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16419 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16430 CPPFLAGS
=$ac_save_CPPFLAGS
16433 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16435 case "x$with_usb" in
16436 x
) as_fn_append wine_notices
"|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16438 *) as_fn_error $?
"libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16439 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16441 enable_wineusb_sys
=${enable_wineusb_sys:-no}
16444 if test "x$with_v4l2" != "xno"
16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16447 printf %s
"checking for -lv4l2... " >&6; }
16448 if test ${ac_cv_lib_soname_v4l2+y}
16450 printf %s
"(cached) " >&6
16452 ac_check_soname_save_LIBS
=$LIBS
16453 LIBS
="-lv4l2 $LIBS"
16454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16464 return v4l2_open ();
16469 if ac_fn_c_try_link
"$LINENO"
16472 dll
) ac_cv_lib_soname_v4l2
=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16473 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'` ;;
16474 *) ac_cv_lib_soname_v4l2
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16475 if ${ac_cv_lib_soname_v4l2:+false} :
16477 ac_cv_lib_soname_v4l2
=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16481 ac_cv_lib_soname_v4l2
=
16483 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16484 conftest
$ac_exeext conftest.
$ac_ext
16485 LIBS
=$ac_check_soname_save_LIBS
16487 if ${ac_cv_lib_soname_v4l2:+false} :
16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16490 printf "%s\n" "not found" >&6; }
16493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16494 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16496 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16501 if test "x$ac_cv_lib_soname_v4l2" = "x"
16503 case "x$with_v4l2" in
16504 x
) as_fn_append wine_notices
"|libv4l2 ${notice_platform}development files not found." ;;
16506 *) as_fn_error $?
"libv4l2 ${notice_platform}development files not found.
16507 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16512 if test "x$with_gphoto" != "xno"
16514 if ${GPHOTO2_CFLAGS:+false} :
16516 if test ${PKG_CONFIG+y}
16518 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16521 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16522 if ${GPHOTO2_LIBS:+false} :
16524 if test ${PKG_CONFIG+y}
16526 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16529 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16530 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
16531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16533 ac_save_CPPFLAGS
=$CPPFLAGS
16534 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
16535 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16536 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16539 printf %s
"checking for gp_camera_new in -lgphoto2... " >&6; }
16540 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16542 printf %s
"(cached) " >&6
16544 ac_check_lib_save_LIBS
=$LIBS
16545 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16552 char gp_camera_new ();
16556 return gp_camera_new ();
16561 if ac_fn_c_try_link
"$LINENO"
16563 ac_cv_lib_gphoto2_gp_camera_new
=yes
16565 ac_cv_lib_gphoto2_gp_camera_new
=no
16567 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16568 conftest
$ac_exeext conftest.
$ac_ext
16569 LIBS
=$ac_check_lib_save_LIBS
16571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16572 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16573 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16580 CPPFLAGS
=$ac_save_CPPFLAGS
16582 if ${GPHOTO2_PORT_CFLAGS:+false} :
16584 if test ${PKG_CONFIG+y}
16586 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16589 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16590 if ${GPHOTO2_PORT_LIBS:+false} :
16592 if test ${PKG_CONFIG+y}
16594 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16597 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16598 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16601 ac_save_CPPFLAGS
=$CPPFLAGS
16602 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16603 ac_fn_c_check_header_compile
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16604 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16607 printf %s
"checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16608 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16610 printf %s
"(cached) " >&6
16612 ac_check_lib_save_LIBS
=$LIBS
16613 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16617 /* Override any GCC internal prototype to avoid an error.
16618 Use char because int might match the return type of a GCC
16619 builtin and then its argument prototype would still apply. */
16620 char gp_port_info_list_new ();
16624 return gp_port_info_list_new ();
16629 if ac_fn_c_try_link
"$LINENO"
16631 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
16633 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
16635 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16636 conftest
$ac_exeext conftest.
$ac_ext
16637 LIBS
=$ac_check_lib_save_LIBS
16639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16640 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16641 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16644 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16647 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16651 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
16654 CPPFLAGS
=$ac_save_CPPFLAGS
16657 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16659 case "x$with_gphoto" in
16660 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16662 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16663 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16665 enable_gphoto2_ds
=${enable_gphoto2_ds:-no}
16667 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16669 case "x$with_gphoto" in
16670 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16672 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16673 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16679 if test "$ac_cv_header_resolv_h" = "yes"
16681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16682 printf %s
"checking for resolver library... " >&6; }
16683 if test ${ac_cv_have_resolv+y}
16685 printf %s
"(cached) " >&6
16687 ac_save_LIBS
="$LIBS"
16688 for lib
in '' -lresolv
16690 LIBS
="$lib $ac_save_LIBS"
16691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16693 #ifdef HAVE_NETINET_IN_H
16694 #include <netinet/in.h>
16696 #include <resolv.h>
16700 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16705 if ac_fn_c_try_link
"$LINENO"
16707 ac_cv_have_resolv
=${lib:-"none required"}
16709 ac_cv_have_resolv
="not found"
16711 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16712 conftest
$ac_exeext conftest.
$ac_ext
16713 test "x$ac_cv_have_resolv" = "xnot found" ||
break
16715 LIBS
="$ac_save_LIBS"
16717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16718 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16720 case "$ac_cv_have_resolv" in
16724 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16727 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16729 RESOLV_LIBS
=$ac_cv_have_resolv
16733 if test "x$ac_cv_have_resolv" != "xnot found"
16735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16736 printf %s
"checking for res_getservers... " >&6; }
16737 if test ${ac_cv_have_res_getservers+y}
16739 printf %s
"(cached) " >&6
16741 ac_save_LIBS
="$LIBS"
16742 LIBS
="$RESOLV_LIBS $LIBS"
16743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #include <resolv.h>
16749 res_getservers(NULL, NULL, 0);
16754 if ac_fn_c_try_link
"$LINENO"
16756 ac_cv_have_res_getservers
=yes
16758 ac_cv_have_res_getservers
=no
16760 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16761 conftest
$ac_exeext conftest.
$ac_ext
16762 LIBS
="$ac_save_LIBS"
16764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16765 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16766 if test "$ac_cv_have_res_getservers" = "yes"
16769 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16775 if test "x$with_freetype" != "xno"
16777 if ${FREETYPE_CFLAGS:+false} :
16779 if test ${PKG_CONFIG+y}
16781 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16784 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16785 if ${FREETYPE_LIBS:+false} :
16787 if test ${PKG_CONFIG+y}
16789 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16792 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16793 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
16794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16796 ac_save_CPPFLAGS
=$CPPFLAGS
16797 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
16798 ac_fn_c_check_header_compile
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16799 if test "x$ac_cv_header_ft2build_h" = xyes
16801 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16805 if test "$ac_cv_header_ft2build_h" = "yes"
16807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16808 printf %s
"checking for -lfreetype... " >&6; }
16809 if test ${ac_cv_lib_soname_freetype+y}
16811 printf %s
"(cached) " >&6
16813 ac_check_soname_save_LIBS
=$LIBS
16814 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
16815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 /* Override any GCC internal prototype to avoid an error.
16819 Use char because int might match the return type of a GCC
16820 builtin and then its argument prototype would still apply. */
16821 char FT_Init_FreeType ();
16825 return FT_Init_FreeType ();
16830 if ac_fn_c_try_link
"$LINENO"
16833 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16834 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'` ;;
16835 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16836 if ${ac_cv_lib_soname_freetype:+false} :
16838 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16842 ac_cv_lib_soname_freetype
=
16844 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16845 conftest
$ac_exeext conftest.
$ac_ext
16846 LIBS
=$ac_check_soname_save_LIBS
16848 if ${ac_cv_lib_soname_freetype:+false} :
16850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16851 printf "%s\n" "not found" >&6; }
16854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16855 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16857 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16860 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16862 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16863 #include FT_MODULE_H
16865 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16868 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16878 CPPFLAGS
=$ac_save_CPPFLAGS
16881 if test "x$ac_cv_lib_soname_freetype" = x
16883 case "x$with_freetype" in
16885 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
16886 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16888 enable_fonts
=${enable_fonts:-no}
16891 ac_wine_check_funcs_save_LIBS
="$LIBS"
16892 LIBS
="$LIBS $PTHREAD_LIBS"
16893 ac_fn_c_check_func
"$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16894 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16896 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16900 LIBS
="$ac_wine_check_funcs_save_LIBS"
16902 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
16904 if test "$ac_cv_header_gettext_po_h" = "yes"
16906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16907 printf %s
"checking for po_message_msgctxt in -lgettextpo... " >&6; }
16908 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16910 printf %s
"(cached) " >&6
16912 ac_check_lib_save_LIBS
=$LIBS
16913 LIBS
="-lgettextpo $LIBS"
16914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16917 /* Override any GCC internal prototype to avoid an error.
16918 Use char because int might match the return type of a GCC
16919 builtin and then its argument prototype would still apply. */
16920 char po_message_msgctxt ();
16924 return po_message_msgctxt ();
16929 if ac_fn_c_try_link
"$LINENO"
16931 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
16933 ac_cv_lib_gettextpo_po_message_msgctxt
=no
16935 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
16936 conftest
$ac_exeext conftest.
$ac_ext
16937 LIBS
=$ac_check_lib_save_LIBS
16939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16940 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16941 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16944 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16946 GETTEXTPO_LIBS
="-lgettextpo"
16951 if test "x$GETTEXTPO_LIBS" = "x"
16953 case "x$with_gettextpo" in
16954 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16956 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16957 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16961 if test "$srcdir" != .
16963 case "x$with_gettextpo" in
16964 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
16966 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
16967 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16973 if test "x$with_pulse" != "xno";
16975 if ${PULSE_CFLAGS:+false} :
16977 if test ${PKG_CONFIG+y}
16979 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16983 if ${PULSE_LIBS:+false} :
16985 if test ${PKG_CONFIG+y}
16987 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16994 ac_save_CPPFLAGS
=$CPPFLAGS
16995 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
16996 for ac_header
in pulse
/pulseaudio.h
16998 ac_fn_c_check_header_compile
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16999 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17001 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17003 printf %s
"checking for pa_stream_is_corked in -lpulse... " >&6; }
17004 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17006 printf %s
"(cached) " >&6
17008 ac_check_lib_save_LIBS
=$LIBS
17009 LIBS
="-lpulse $PULSE_LIBS $LIBS"
17010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17013 /* Override any GCC internal prototype to avoid an error.
17014 Use char because int might match the return type of a GCC
17015 builtin and then its argument prototype would still apply. */
17016 char pa_stream_is_corked ();
17020 return pa_stream_is_corked ();
17025 if ac_fn_c_try_link
"$LINENO"
17027 ac_cv_lib_pulse_pa_stream_is_corked
=yes
17029 ac_cv_lib_pulse_pa_stream_is_corked
=no
17031 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17032 conftest
$ac_exeext conftest.
$ac_ext
17033 LIBS
=$ac_check_lib_save_LIBS
17035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17036 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17037 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17049 CPPFLAGS
=$ac_save_CPPFLAGS
17052 if test -z "$PULSE_LIBS"
17054 case "x$with_pulse" in
17055 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17057 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17058 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17060 enable_winepulse_drv
=${enable_winepulse_drv:-no}
17063 if test "x$with_gstreamer" != "xno"
17065 if ${GSTREAMER_CFLAGS:+false} :
17067 if test ${PKG_CONFIG+y}
17069 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17073 if ${GSTREAMER_LIBS:+false} :
17075 if test ${PKG_CONFIG+y}
17077 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17084 ac_save_CPPFLAGS
=$CPPFLAGS
17085 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
17086 ac_fn_c_check_header_compile
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17087 if test "x$ac_cv_header_gst_gst_h" = xyes
17089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17090 printf %s
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17093 #include <gst/gst.h>
17097 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17102 if ac_fn_c_try_compile
"$LINENO"
17104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17105 printf "%s\n" "yes" >&6; }
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17107 printf %s
"checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17108 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17110 printf %s
"(cached) " >&6
17112 ac_check_lib_save_LIBS
=$LIBS
17113 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17117 /* Override any GCC internal prototype to avoid an error.
17118 Use char because int might match the return type of a GCC
17119 builtin and then its argument prototype would still apply. */
17120 char gst_pad_new ();
17124 return gst_pad_new ();
17129 if ac_fn_c_try_link
"$LINENO"
17131 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
17133 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
17135 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17136 conftest
$ac_exeext conftest.
$ac_ext
17137 LIBS
=$ac_check_lib_save_LIBS
17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17140 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17141 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17148 printf "%s\n" "no" >&6; }
17149 ac_glib2_broken
=yes
17150 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17152 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17155 CPPFLAGS
=$ac_save_CPPFLAGS
17158 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17160 case "x$with_gstreamer" in
17161 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17163 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17164 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17166 enable_winegstreamer
=${enable_winegstreamer:-no}
17171 if test "x$with_alsa" != "xno"
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17174 printf %s
"checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17175 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17177 printf %s
"(cached) " >&6
17179 ac_check_lib_save_LIBS
=$LIBS
17180 LIBS
="-lasound $LIBS"
17181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17184 /* Override any GCC internal prototype to avoid an error.
17185 Use char because int might match the return type of a GCC
17186 builtin and then its argument prototype would still apply. */
17187 char snd_pcm_hw_params_get_access_mask ();
17191 return snd_pcm_hw_params_get_access_mask ();
17196 if ac_fn_c_try_link
"$LINENO"
17198 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
17200 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
17202 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17203 conftest
$ac_exeext conftest.
$ac_ext
17204 LIBS
=$ac_check_lib_save_LIBS
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17207 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17208 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 #include <alsa/asoundlib.h>
17216 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17221 if ac_fn_c_try_compile
"$LINENO"
17223 ALSA_LIBS
="-lasound"
17225 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17229 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
17231 if test "x$with_oss" != xno
17233 ac_save_CPPFLAGS
="$CPPFLAGS"
17234 if test -f /etc
/oss.conf
17238 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17239 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
17240 ac_fn_c_check_header_compile
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17241 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17243 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17245 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17248 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17250 OSS4_CFLAGS
="$ac_oss_incl"
17252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17253 printf %s
"checking for _oss_ioctl in -lossaudio... " >&6; }
17254 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17256 printf %s
"(cached) " >&6
17258 ac_check_lib_save_LIBS
=$LIBS
17259 LIBS
="-lossaudio $LIBS"
17260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17263 /* Override any GCC internal prototype to avoid an error.
17264 Use char because int might match the return type of a GCC
17265 builtin and then its argument prototype would still apply. */
17266 char _oss_ioctl ();
17270 return _oss_ioctl ();
17275 if ac_fn_c_try_link
"$LINENO"
17277 ac_cv_lib_ossaudio__oss_ioctl
=yes
17279 ac_cv_lib_ossaudio__oss_ioctl
=no
17281 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17282 conftest
$ac_exeext conftest.
$ac_ext
17283 LIBS
=$ac_check_lib_save_LIBS
17285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17286 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17287 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17289 OSS4_LIBS
="-lossaudio"
17297 CPPFLAGS
="$ac_save_CPPFLAGS"
17299 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17301 case "x$with_oss" in
17302 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17304 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17305 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17307 enable_wineoss_drv
=${enable_wineoss_drv:-no}
17310 if test "x$with_udev" != "xno"
17312 if ${UDEV_CFLAGS:+false} :
17314 if test ${PKG_CONFIG+y}
17316 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17320 if ${UDEV_LIBS:+false} :
17322 if test ${PKG_CONFIG+y}
17324 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
17328 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
17329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17331 ac_save_CPPFLAGS
=$CPPFLAGS
17332 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
17333 for ac_header
in libudev.h
17335 ac_fn_c_check_header_compile
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17336 if test "x$ac_cv_header_libudev_h" = xyes
17338 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17340 printf %s
"checking for udev_new in -ludev... " >&6; }
17341 if test ${ac_cv_lib_udev_udev_new+y}
17343 printf %s
"(cached) " >&6
17345 ac_check_lib_save_LIBS
=$LIBS
17346 LIBS
="-ludev $UDEV_LIBS $LIBS"
17347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17350 /* Override any GCC internal prototype to avoid an error.
17351 Use char because int might match the return type of a GCC
17352 builtin and then its argument prototype would still apply. */
17357 return udev_new ();
17362 if ac_fn_c_try_link
"$LINENO"
17364 ac_cv_lib_udev_udev_new
=yes
17366 ac_cv_lib_udev_udev_new
=no
17368 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17369 conftest
$ac_exeext conftest.
$ac_ext
17370 LIBS
=$ac_check_lib_save_LIBS
17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17373 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17374 if test "x$ac_cv_lib_udev_udev_new" = xyes
17377 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17388 CPPFLAGS
=$ac_save_CPPFLAGS
17391 if test "x$UDEV_LIBS" = "x"
17393 case "x$with_udev" in
17394 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17396 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
17397 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17402 if test "x$with_unwind" != xno
17404 if ${UNWIND_CFLAGS:+false} :
17406 if test ${PKG_CONFIG+y}
17408 UNWIND_CFLAGS
=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17412 if ${UNWIND_LIBS:+false} :
17414 if test ${PKG_CONFIG+y}
17416 UNWIND_LIBS
=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17420 UNWIND_LIBS
=${UNWIND_LIBS:-"-lunwind"}
17421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17423 ac_save_CPPFLAGS
=$CPPFLAGS
17424 CPPFLAGS
="$CPPFLAGS $UNWIND_CFLAGS"
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17426 printf %s
"checking for unw_step... " >&6; }
17427 if test ${wine_cv_have_unw_step+y}
17429 printf %s
"(cached) " >&6
17431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 #define UNW_LOCAL_ONLY
17434 #include <libunwind.h>
17438 unw_cursor_t cursor; unw_step( &cursor );
17443 if ac_fn_c_try_link
"$LINENO"
17445 wine_cv_have_unw_step
="yes"
17447 wine_cv_have_unw_step
="no"
17449 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17450 conftest
$ac_exeext conftest.
$ac_ext
17452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17453 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17454 if test "$wine_cv_have_unw_step" = no
-a -n "$UNWIND_LIBS"
17457 UNWIND_LIBS
="-static-libgcc $UNWIND_LIBS"
17458 LIBS
="$UNWIND_LIBS $LIBS"
17459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17460 printf %s
"checking for unw_step in libunwind... " >&6; }
17461 if test ${wine_cv_have_libunwind_unw_step+y}
17463 printf %s
"(cached) " >&6
17465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17467 #define UNW_LOCAL_ONLY
17468 #include <libunwind.h>
17472 unw_cursor_t cursor; unw_step( &cursor );
17477 if ac_fn_c_try_link
"$LINENO"
17479 wine_cv_have_libunwind_unw_step
="yes"
17481 wine_cv_have_libunwind_unw_step
="no"
17483 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17484 conftest
$ac_exeext conftest.
$ac_ext
17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17487 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17490 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS
=""
17491 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17494 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17497 CPPFLAGS
=$ac_save_CPPFLAGS
17501 aarch64
*|
*-darwin*)
17502 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17504 case "x$with_unwind" in
17505 x
) as_fn_append wine_notices
"|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17507 *) as_fn_error $?
"libunwind ${notice_platform}development files not found, stack unwinding won't work.
17508 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17514 if test "x$with_sdl" != "xno"
17516 if ${SDL2_CFLAGS:+false} :
17518 if test ${PKG_CONFIG+y}
17520 SDL2_CFLAGS
=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17524 if ${SDL2_LIBS:+false} :
17526 if test ${PKG_CONFIG+y}
17528 SDL2_LIBS
=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17532 SDL2_LIBS
=${SDL2_LIBS:-"-lSDL2"}
17533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17535 ac_save_CPPFLAGS
=$CPPFLAGS
17536 CPPFLAGS
="$CPPFLAGS $SDL2_CFLAGS"
17537 for ac_header
in SDL.h
17539 ac_fn_c_check_header_compile
"$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17540 if test "x$ac_cv_header_SDL_h" = xyes
17542 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17544 printf %s
"checking for -lSDL2... " >&6; }
17545 if test ${ac_cv_lib_soname_SDL2+y}
17547 printf %s
"(cached) " >&6
17549 ac_check_soname_save_LIBS
=$LIBS
17550 LIBS
="-lSDL2 $SDL2_LIBS $LIBS"
17551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17554 /* Override any GCC internal prototype to avoid an error.
17555 Use char because int might match the return type of a GCC
17556 builtin and then its argument prototype would still apply. */
17561 return SDL_Init ();
17566 if ac_fn_c_try_link
"$LINENO"
17569 dll
) ac_cv_lib_soname_SDL2
=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17570 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'` ;;
17571 *) 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'`
17572 if ${ac_cv_lib_soname_SDL2:+false} :
17574 ac_cv_lib_soname_SDL2
=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17578 ac_cv_lib_soname_SDL2
=
17580 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17581 conftest
$ac_exeext conftest.
$ac_ext
17582 LIBS
=$ac_check_soname_save_LIBS
17584 if ${ac_cv_lib_soname_SDL2:+false} :
17586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17587 printf "%s\n" "not found" >&6; }
17590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17591 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17593 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17600 CPPFLAGS
=$ac_save_CPPFLAGS
17603 if test "x$ac_cv_lib_soname_SDL2" = "x"
17605 case "x$with_sdl" in
17606 x
) as_fn_append wine_notices
"|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17608 *) as_fn_error $?
"libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17609 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17614 if test "x$with_capi" != "xno"
17616 if ${CAPI20_CFLAGS:+false} :
17618 if test ${PKG_CONFIG+y}
17620 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17624 if ${CAPI20_LIBS:+false} :
17626 if test ${PKG_CONFIG+y}
17628 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
17633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17635 ac_save_CPPFLAGS
=$CPPFLAGS
17636 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
17637 ac_fn_c_check_header_compile
"$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17639 if test "x$ac_cv_header_capi20_h" = xyes
17641 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17644 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17646 if test "x$ac_cv_header_linux_capi_h" = xyes
17648 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17652 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17655 printf %s
"checking for capi20_register in -lcapi20... " >&6; }
17656 if test ${ac_cv_lib_capi20_capi20_register+y}
17658 printf %s
"(cached) " >&6
17660 ac_check_lib_save_LIBS
=$LIBS
17661 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
17662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17665 /* Override any GCC internal prototype to avoid an error.
17666 Use char because int might match the return type of a GCC
17667 builtin and then its argument prototype would still apply. */
17668 char capi20_register ();
17672 return capi20_register ();
17677 if ac_fn_c_try_link
"$LINENO"
17679 ac_cv_lib_capi20_capi20_register
=yes
17681 ac_cv_lib_capi20_capi20_register
=no
17683 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17684 conftest
$ac_exeext conftest.
$ac_ext
17685 LIBS
=$ac_check_lib_save_LIBS
17687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17688 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17689 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17697 CPPFLAGS
=$ac_save_CPPFLAGS
17700 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17702 case "x$with_capi" in
17703 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17705 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17706 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17708 enable_capi2032
=${enable_capi2032:-no}
17711 if test "x$with_cups" != "xno"
17713 if ${CUPS_CFLAGS:+false} :
17715 if test ${PKG_CONFIG+y}
17717 CUPS_CFLAGS
=`$PKG_CONFIG --cflags cups 2>/dev/null`
17720 test "$cross_compiling" = yes || CUPS_CFLAGS
=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17721 if ${CUPS_LIBS:+false} :
17723 if test ${PKG_CONFIG+y}
17725 CUPS_LIBS
=`$PKG_CONFIG --libs cups 2>/dev/null`
17728 test "$cross_compiling" = yes || CUPS_LIBS
=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17729 CUPS_LIBS
=${CUPS_LIBS:-"-lcups"}
17730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17732 ac_save_CPPFLAGS
=$CPPFLAGS
17733 CPPFLAGS
="$CPPFLAGS $CUPS_CFLAGS"
17734 ac_fn_c_check_header_compile
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17735 if test "x$ac_cv_header_cups_cups_h" = xyes
17737 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17740 ac_fn_c_check_header_compile
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17741 if test "x$ac_cv_header_cups_ppd_h" = xyes
17743 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17747 if test "$ac_cv_header_cups_cups_h" = "yes"
17749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17750 printf %s
"checking for -lcups... " >&6; }
17751 if test ${ac_cv_lib_soname_cups+y}
17753 printf %s
"(cached) " >&6
17755 ac_check_soname_save_LIBS
=$LIBS
17756 LIBS
="-lcups $CUPS_LIBS $LIBS"
17757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17760 /* Override any GCC internal prototype to avoid an error.
17761 Use char because int might match the return type of a GCC
17762 builtin and then its argument prototype would still apply. */
17763 char cupsGetDefault ();
17767 return cupsGetDefault ();
17772 if ac_fn_c_try_link
"$LINENO"
17775 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17776 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'` ;;
17777 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17778 if ${ac_cv_lib_soname_cups:+false} :
17780 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17784 ac_cv_lib_soname_cups
=
17786 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17787 conftest
$ac_exeext conftest.
$ac_ext
17788 LIBS
=$ac_check_soname_save_LIBS
17790 if ${ac_cv_lib_soname_cups:+false} :
17792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17793 printf "%s\n" "not found" >&6; }
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17797 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17799 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17807 CPPFLAGS
=$ac_save_CPPFLAGS
17810 if test "x$ac_cv_lib_soname_cups" = "x"
17812 case "x$with_cups" in
17813 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17815 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
17816 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17821 if test "x$with_fontconfig" != "xno"
17823 if ${FONTCONFIG_CFLAGS:+false} :
17825 if test ${PKG_CONFIG+y}
17827 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17830 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17831 if ${FONTCONFIG_LIBS:+false} :
17833 if test ${PKG_CONFIG+y}
17835 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17838 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
17840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17842 ac_save_CPPFLAGS
=$CPPFLAGS
17843 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
17844 ac_fn_c_check_header_compile
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17845 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17847 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17851 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17854 printf %s
"checking for -lfontconfig... " >&6; }
17855 if test ${ac_cv_lib_soname_fontconfig+y}
17857 printf %s
"(cached) " >&6
17859 ac_check_soname_save_LIBS
=$LIBS
17860 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17876 if ac_fn_c_try_link
"$LINENO"
17879 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17880 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'` ;;
17881 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17882 if ${ac_cv_lib_soname_fontconfig:+false} :
17884 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17888 ac_cv_lib_soname_fontconfig
=
17890 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17891 conftest
$ac_exeext conftest.
$ac_ext
17892 LIBS
=$ac_check_soname_save_LIBS
17894 if ${ac_cv_lib_soname_fontconfig:+false} :
17896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17897 printf "%s\n" "not found" >&6; }
17898 FONTCONFIG_CFLAGS
=""
17900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17901 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17903 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17908 FONTCONFIG_CFLAGS
=""
17910 CPPFLAGS
=$ac_save_CPPFLAGS
17913 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17915 case "x$with_fontconfig" in
17916 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17918 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17919 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17924 if test "x$with_krb5" != "xno"
17926 if ${KRB5_CFLAGS:+false} :
17928 if test ${PKG_CONFIG+y}
17930 KRB5_CFLAGS
=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17933 test "$cross_compiling" = yes || KRB5_CFLAGS
=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17934 if ${KRB5_LIBS:+false} :
17936 if test ${PKG_CONFIG+y}
17938 KRB5_LIBS
=`$PKG_CONFIG --libs krb5 2>/dev/null`
17941 test "$cross_compiling" = yes || KRB5_LIBS
=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17945 ac_save_CPPFLAGS
=$CPPFLAGS
17946 CPPFLAGS
="$CPPFLAGS $KRB5_CFLAGS"
17947 ac_fn_c_check_header_compile
"$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17948 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17950 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17954 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17957 printf %s
"checking for -lkrb5... " >&6; }
17958 if test ${ac_cv_lib_soname_krb5+y}
17960 printf %s
"(cached) " >&6
17962 ac_check_soname_save_LIBS
=$LIBS
17963 LIBS
="-lkrb5 $KRB5_LIBS $LIBS"
17964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17967 /* Override any GCC internal prototype to avoid an error.
17968 Use char because int might match the return type of a GCC
17969 builtin and then its argument prototype would still apply. */
17970 char krb5_is_config_principal ();
17974 return krb5_is_config_principal ();
17979 if ac_fn_c_try_link
"$LINENO"
17982 dll
) ac_cv_lib_soname_krb5
=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17983 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'` ;;
17984 *) ac_cv_lib_soname_krb5
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17985 if ${ac_cv_lib_soname_krb5:+false} :
17987 ac_cv_lib_soname_krb5
=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17991 ac_cv_lib_soname_krb5
=
17993 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
17994 conftest
$ac_exeext conftest.
$ac_ext
17995 LIBS
=$ac_check_soname_save_LIBS
17997 if ${ac_cv_lib_soname_krb5:+false} :
17999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18000 printf "%s\n" "not found" >&6; }
18003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18004 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18006 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18013 CPPFLAGS
=$ac_save_CPPFLAGS
18016 if test "x$ac_cv_lib_soname_krb5" = "x"
18018 case "x$with_krb5" in
18019 x
) as_fn_append wine_notices
"|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18021 *) as_fn_error $?
"libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18022 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18026 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi
=${with_gssapi:-no}
18028 if test "x$with_gssapi" != "xno"
18030 if ${GSSAPI_CFLAGS:+false} :
18032 if test ${PKG_CONFIG+y}
18034 GSSAPI_CFLAGS
=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18037 test "$cross_compiling" = yes || GSSAPI_CFLAGS
=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18038 if ${GSSAPI_LIBS:+false} :
18040 if test ${PKG_CONFIG+y}
18042 GSSAPI_LIBS
=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18045 test "$cross_compiling" = yes || GSSAPI_LIBS
=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18049 ac_save_CPPFLAGS
=$CPPFLAGS
18050 CPPFLAGS
="$CPPFLAGS $GSSAPI_CFLAGS"
18051 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18052 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18054 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18057 ac_fn_c_check_header_compile
"$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18058 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18060 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18064 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18067 printf %s
"checking for -lgssapi_krb5... " >&6; }
18068 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18070 printf %s
"(cached) " >&6
18072 ac_check_soname_save_LIBS
=$LIBS
18073 LIBS
="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18077 /* Override any GCC internal prototype to avoid an error.
18078 Use char because int might match the return type of a GCC
18079 builtin and then its argument prototype would still apply. */
18080 char gss_init_sec_context ();
18084 return gss_init_sec_context ();
18089 if ac_fn_c_try_link
"$LINENO"
18092 dll
) ac_cv_lib_soname_gssapi_krb5
=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18093 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'` ;;
18094 *) 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'`
18095 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18097 ac_cv_lib_soname_gssapi_krb5
=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18101 ac_cv_lib_soname_gssapi_krb5
=
18103 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18104 conftest
$ac_exeext conftest.
$ac_ext
18105 LIBS
=$ac_check_soname_save_LIBS
18107 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18110 printf "%s\n" "not found" >&6; }
18113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18114 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18116 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18123 CPPFLAGS
=$ac_save_CPPFLAGS
18126 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18128 case "x$with_gssapi" in
18129 x
) as_fn_append wine_notices
"|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18131 *) as_fn_error $?
"libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18132 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18137 if test "$ac_cv_header_libprocstat_h" = "yes"
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18140 printf %s
"checking for procstat_open_sysctl in -lprocstat... " >&6; }
18141 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18143 printf %s
"(cached) " >&6
18145 ac_check_lib_save_LIBS
=$LIBS
18146 LIBS
="-lprocstat $LIBS"
18147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18150 /* Override any GCC internal prototype to avoid an error.
18151 Use char because int might match the return type of a GCC
18152 builtin and then its argument prototype would still apply. */
18153 char procstat_open_sysctl ();
18157 return procstat_open_sysctl ();
18162 if ac_fn_c_try_link
"$LINENO"
18164 ac_cv_lib_procstat_procstat_open_sysctl
=yes
18166 ac_cv_lib_procstat_procstat_open_sysctl
=no
18168 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18169 conftest
$ac_exeext conftest.
$ac_ext
18170 LIBS
=$ac_check_lib_save_LIBS
18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18173 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18174 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18177 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18179 PROCSTAT_LIBS
="-lprocstat"
18185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18186 printf %s
"checking for -lodbc... " >&6; }
18187 if test ${ac_cv_lib_soname_odbc+y}
18189 printf %s
"(cached) " >&6
18191 ac_check_soname_save_LIBS
=$LIBS
18192 LIBS
="-lodbc $LIBS"
18193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18194 /* end confdefs.h. */
18196 /* Override any GCC internal prototype to avoid an error.
18197 Use char because int might match the return type of a GCC
18198 builtin and then its argument prototype would still apply. */
18199 char SQLConnect ();
18203 return SQLConnect ();
18208 if ac_fn_c_try_link
"$LINENO"
18211 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18212 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'` ;;
18213 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18214 if ${ac_cv_lib_soname_odbc:+false} :
18216 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18220 ac_cv_lib_soname_odbc
=
18222 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18223 conftest
$ac_exeext conftest.
$ac_ext
18224 LIBS
=$ac_check_soname_save_LIBS
18226 if ${ac_cv_lib_soname_odbc:+false} :
18228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18229 printf "%s\n" "not found" >&6; }
18230 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18234 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18236 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18241 if test "x$with_netapi" != "xno"
18243 if ${NETAPI_CFLAGS:+false} :
18245 if test ${PKG_CONFIG+y}
18247 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18251 if ${NETAPI_LIBS:+false} :
18253 if test ${PKG_CONFIG+y}
18255 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
18260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18262 ac_save_CPPFLAGS
=$CPPFLAGS
18263 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18265 printf %s
"checking for -lnetapi... " >&6; }
18266 if test ${ac_cv_lib_soname_netapi+y}
18268 printf %s
"(cached) " >&6
18270 ac_check_soname_save_LIBS
=$LIBS
18271 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
18272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18275 /* Override any GCC internal prototype to avoid an error.
18276 Use char because int might match the return type of a GCC
18277 builtin and then its argument prototype would still apply. */
18278 char libnetapi_init ();
18282 return libnetapi_init ();
18287 if ac_fn_c_try_link
"$LINENO"
18290 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18291 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'` ;;
18292 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18293 if ${ac_cv_lib_soname_netapi:+false} :
18295 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18299 ac_cv_lib_soname_netapi
=
18301 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18302 conftest
$ac_exeext conftest.
$ac_ext
18303 LIBS
=$ac_check_soname_save_LIBS
18305 if ${ac_cv_lib_soname_netapi:+false} :
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18308 printf "%s\n" "not found" >&6; }
18309 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18313 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18315 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18319 CPPFLAGS
=$ac_save_CPPFLAGS
18322 if test "x$ac_cv_lib_soname_netapi" = "x"
18324 case "x$with_netapi" in
18325 x
) as_fn_append wine_notices
"|libnetapi not found, Samba NetAPI won't be supported." ;;
18327 *) as_fn_error $?
"libnetapi not found, Samba NetAPI won't be supported.
18328 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18330 enable_netapi
=${enable_netapi:-no}
18334 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono
-a \
18335 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18337 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
18340 if test "x$with_vulkan" != "xno"
18342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18343 printf %s
"checking for -lvulkan... " >&6; }
18344 if test ${ac_cv_lib_soname_vulkan+y}
18346 printf %s
"(cached) " >&6
18348 ac_check_soname_save_LIBS
=$LIBS
18349 LIBS
="-lvulkan $LIBS"
18350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18353 /* Override any GCC internal prototype to avoid an error.
18354 Use char because int might match the return type of a GCC
18355 builtin and then its argument prototype would still apply. */
18356 char vkGetInstanceProcAddr ();
18360 return vkGetInstanceProcAddr ();
18365 if ac_fn_c_try_link
"$LINENO"
18368 dll
) ac_cv_lib_soname_vulkan
=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18369 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'` ;;
18370 *) ac_cv_lib_soname_vulkan
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18371 if ${ac_cv_lib_soname_vulkan:+false} :
18373 ac_cv_lib_soname_vulkan
=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18377 ac_cv_lib_soname_vulkan
=
18379 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18380 conftest
$ac_exeext conftest.
$ac_ext
18381 LIBS
=$ac_check_soname_save_LIBS
18383 if ${ac_cv_lib_soname_vulkan:+false} :
18385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18386 printf "%s\n" "not found" >&6; }
18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18390 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18392 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18396 if test "x$ac_cv_lib_soname_vulkan" = "x"
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18399 printf %s
"checking for -lMoltenVK... " >&6; }
18400 if test ${ac_cv_lib_soname_MoltenVK+y}
18402 printf %s
"(cached) " >&6
18404 ac_check_soname_save_LIBS
=$LIBS
18405 LIBS
="-lMoltenVK $LIBS"
18406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18409 /* Override any GCC internal prototype to avoid an error.
18410 Use char because int might match the return type of a GCC
18411 builtin and then its argument prototype would still apply. */
18412 char vkGetInstanceProcAddr ();
18416 return vkGetInstanceProcAddr ();
18421 if ac_fn_c_try_link
"$LINENO"
18424 dll
) ac_cv_lib_soname_MoltenVK
=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18425 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'` ;;
18426 *) ac_cv_lib_soname_MoltenVK
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18427 if ${ac_cv_lib_soname_MoltenVK:+false} :
18429 ac_cv_lib_soname_MoltenVK
=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18433 ac_cv_lib_soname_MoltenVK
=
18435 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18436 conftest
$ac_exeext conftest.
$ac_ext
18437 LIBS
=$ac_check_soname_save_LIBS
18439 if ${ac_cv_lib_soname_MoltenVK:+false} :
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18442 printf "%s\n" "not found" >&6; }
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18446 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18448 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18454 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18456 case "x$with_vulkan" in
18457 x
) as_fn_append wine_notices
"|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18459 *) as_fn_error $?
"libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18460 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18466 if test "x${GCC}" = "xyes"
18468 EXTRACFLAGS
="$EXTRACFLAGS -Wall -pipe"
18470 saved_CFLAGS
=$CFLAGS
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18472 printf %s
"checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18473 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18475 printf %s
"(cached) " >&6
18477 ac_wine_try_cflags_saved
=$CFLAGS
18478 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 int main(int argc, char **argv) { return 0; }
18483 if ac_fn_c_try_link
"$LINENO"
18485 ac_cv_cflags__Werror_unknown_warning_option
=yes
18487 ac_cv_cflags__Werror_unknown_warning_option
=no
18489 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18490 conftest
$ac_exeext conftest.
$ac_ext
18491 CFLAGS
=$ac_wine_try_cflags_saved
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18494 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18495 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18497 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18500 printf %s
"checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18501 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18503 printf %s
"(cached) " >&6
18505 ac_wine_try_cflags_saved
=$CFLAGS
18506 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 int main(int argc, char **argv) { return 0; }
18511 if ac_fn_c_try_link
"$LINENO"
18513 ac_cv_cflags__Werror_unused_command_line_argument
=yes
18515 ac_cv_cflags__Werror_unused_command_line_argument
=no
18517 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18518 conftest
$ac_exeext conftest.
$ac_ext
18519 CFLAGS
=$ac_wine_try_cflags_saved
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18522 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18523 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18525 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18528 printf %s
"checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18529 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18531 printf %s
"(cached) " >&6
18533 ac_wine_try_cflags_saved
=$CFLAGS
18534 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 int main(int argc, char **argv) { return 0; }
18539 if ac_fn_c_try_link
"$LINENO"
18541 ac_cv_cflags__Werror_ignored_optimization_argument
=yes
18543 ac_cv_cflags__Werror_ignored_optimization_argument
=no
18545 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18546 conftest
$ac_exeext conftest.
$ac_ext
18547 CFLAGS
=$ac_wine_try_cflags_saved
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18550 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18551 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18553 CFLAGS
="$CFLAGS -Werror=ignored-optimization-argument"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18556 printf %s
"checking whether the compiler supports -fcf-protection=none... " >&6; }
18557 if test ${ac_cv_cflags__fcf_protection_none+y}
18559 printf %s
"(cached) " >&6
18561 ac_wine_try_cflags_saved
=$CFLAGS
18562 CFLAGS
="$CFLAGS -fcf-protection=none"
18563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 int main(int argc, char **argv) { return 0; }
18567 if ac_fn_c_try_link
"$LINENO"
18569 ac_cv_cflags__fcf_protection_none
=yes
18571 ac_cv_cflags__fcf_protection_none
=no
18573 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18574 conftest
$ac_exeext conftest.
$ac_ext
18575 CFLAGS
=$ac_wine_try_cflags_saved
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18578 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18579 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18581 EXTRACFLAGS
="$EXTRACFLAGS -fcf-protection=none"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18584 printf %s
"checking whether the compiler supports -fno-stack-protector... " >&6; }
18585 if test ${ac_cv_cflags__fno_stack_protector+y}
18587 printf %s
"(cached) " >&6
18589 ac_wine_try_cflags_saved
=$CFLAGS
18590 CFLAGS
="$CFLAGS -fno-stack-protector"
18591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 int main(int argc, char **argv) { return 0; }
18595 if ac_fn_c_try_link
"$LINENO"
18597 ac_cv_cflags__fno_stack_protector
=yes
18599 ac_cv_cflags__fno_stack_protector
=no
18601 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18602 conftest
$ac_exeext conftest.
$ac_ext
18603 CFLAGS
=$ac_wine_try_cflags_saved
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18606 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18607 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18609 EXTRACFLAGS
="$EXTRACFLAGS -fno-stack-protector"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18612 printf %s
"checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18613 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18615 printf %s
"(cached) " >&6
18617 ac_wine_try_cflags_saved
=$CFLAGS
18618 CFLAGS
="$CFLAGS -fno-strict-aliasing"
18619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 int main(int argc, char **argv) { return 0; }
18623 if ac_fn_c_try_link
"$LINENO"
18625 ac_cv_cflags__fno_strict_aliasing
=yes
18627 ac_cv_cflags__fno_strict_aliasing
=no
18629 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18630 conftest
$ac_exeext conftest.
$ac_ext
18631 CFLAGS
=$ac_wine_try_cflags_saved
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18634 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18635 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18637 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18640 printf %s
"checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18641 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18643 printf %s
"(cached) " >&6
18645 ac_wine_try_cflags_saved
=$CFLAGS
18646 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
18647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 int main(int argc, char **argv) { return 0; }
18651 if ac_fn_c_try_link
"$LINENO"
18653 ac_cv_cflags__Wdeclaration_after_statement
=yes
18655 ac_cv_cflags__Wdeclaration_after_statement
=no
18657 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18658 conftest
$ac_exeext conftest.
$ac_ext
18659 CFLAGS
=$ac_wine_try_cflags_saved
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18662 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18663 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18665 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18668 printf %s
"checking whether the compiler supports -Wempty-body... " >&6; }
18669 if test ${ac_cv_cflags__Wempty_body+y}
18671 printf %s
"(cached) " >&6
18673 ac_wine_try_cflags_saved
=$CFLAGS
18674 CFLAGS
="$CFLAGS -Wempty-body"
18675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 int main(int argc, char **argv) { return 0; }
18679 if ac_fn_c_try_link
"$LINENO"
18681 ac_cv_cflags__Wempty_body
=yes
18683 ac_cv_cflags__Wempty_body
=no
18685 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18686 conftest
$ac_exeext conftest.
$ac_ext
18687 CFLAGS
=$ac_wine_try_cflags_saved
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18691 if test "x$ac_cv_cflags__Wempty_body" = xyes
18693 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18696 printf %s
"checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18697 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18699 printf %s
"(cached) " >&6
18701 ac_wine_try_cflags_saved
=$CFLAGS
18702 CFLAGS
="$CFLAGS -Wignored-qualifiers"
18703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 int main(int argc, char **argv) { return 0; }
18707 if ac_fn_c_try_link
"$LINENO"
18709 ac_cv_cflags__Wignored_qualifiers
=yes
18711 ac_cv_cflags__Wignored_qualifiers
=no
18713 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18714 conftest
$ac_exeext conftest.
$ac_ext
18715 CFLAGS
=$ac_wine_try_cflags_saved
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18718 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18719 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18721 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18724 printf %s
"checking whether the compiler supports -Winit-self... " >&6; }
18725 if test ${ac_cv_cflags__Winit_self+y}
18727 printf %s
"(cached) " >&6
18729 ac_wine_try_cflags_saved
=$CFLAGS
18730 CFLAGS
="$CFLAGS -Winit-self"
18731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 int main(int argc, char **argv) { return 0; }
18735 if ac_fn_c_try_link
"$LINENO"
18737 ac_cv_cflags__Winit_self
=yes
18739 ac_cv_cflags__Winit_self
=no
18741 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18742 conftest
$ac_exeext conftest.
$ac_ext
18743 CFLAGS
=$ac_wine_try_cflags_saved
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18746 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18747 if test "x$ac_cv_cflags__Winit_self" = xyes
18749 EXTRACFLAGS
="$EXTRACFLAGS -Winit-self"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18752 printf %s
"checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18753 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18755 printf %s
"(cached) " >&6
18757 ac_wine_try_cflags_saved
=$CFLAGS
18758 CFLAGS
="$CFLAGS -Wpacked-not-aligned"
18759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 int main(int argc, char **argv) { return 0; }
18763 if ac_fn_c_try_link
"$LINENO"
18765 ac_cv_cflags__Wpacked_not_aligned
=yes
18767 ac_cv_cflags__Wpacked_not_aligned
=no
18769 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18770 conftest
$ac_exeext conftest.
$ac_ext
18771 CFLAGS
=$ac_wine_try_cflags_saved
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18774 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18775 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18777 EXTRACFLAGS
="$EXTRACFLAGS -Wno-packed-not-aligned"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18780 printf %s
"checking whether the compiler supports -Wpragma-pack... " >&6; }
18781 if test ${ac_cv_cflags__Wpragma_pack+y}
18783 printf %s
"(cached) " >&6
18785 ac_wine_try_cflags_saved
=$CFLAGS
18786 CFLAGS
="$CFLAGS -Wpragma-pack"
18787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18789 int main(int argc, char **argv) { return 0; }
18791 if ac_fn_c_try_link
"$LINENO"
18793 ac_cv_cflags__Wpragma_pack
=yes
18795 ac_cv_cflags__Wpragma_pack
=no
18797 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18798 conftest
$ac_exeext conftest.
$ac_ext
18799 CFLAGS
=$ac_wine_try_cflags_saved
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18803 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18805 EXTRACFLAGS
="$EXTRACFLAGS -Wno-pragma-pack"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18808 printf %s
"checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18809 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18811 printf %s
"(cached) " >&6
18813 ac_wine_try_cflags_saved
=$CFLAGS
18814 CFLAGS
="$CFLAGS -Wshift-overflow=2"
18815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817 int main(int argc, char **argv) { return 0; }
18819 if ac_fn_c_try_link
"$LINENO"
18821 ac_cv_cflags__Wshift_overflow_2
=yes
18823 ac_cv_cflags__Wshift_overflow_2
=no
18825 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18826 conftest
$ac_exeext conftest.
$ac_ext
18827 CFLAGS
=$ac_wine_try_cflags_saved
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18831 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18833 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18836 printf %s
"checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18837 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18839 printf %s
"(cached) " >&6
18841 ac_wine_try_cflags_saved
=$CFLAGS
18842 CFLAGS
="$CFLAGS -Wstrict-prototypes"
18843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 int main(int argc, char **argv) { return 0; }
18847 if ac_fn_c_try_link
"$LINENO"
18849 ac_cv_cflags__Wstrict_prototypes
=yes
18851 ac_cv_cflags__Wstrict_prototypes
=no
18853 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18854 conftest
$ac_exeext conftest.
$ac_ext
18855 CFLAGS
=$ac_wine_try_cflags_saved
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18859 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18861 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18864 printf %s
"checking whether the compiler supports -Wtype-limits... " >&6; }
18865 if test ${ac_cv_cflags__Wtype_limits+y}
18867 printf %s
"(cached) " >&6
18869 ac_wine_try_cflags_saved
=$CFLAGS
18870 CFLAGS
="$CFLAGS -Wtype-limits"
18871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18875 if ac_fn_c_try_link
"$LINENO"
18877 ac_cv_cflags__Wtype_limits
=yes
18879 ac_cv_cflags__Wtype_limits
=no
18881 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18882 conftest
$ac_exeext conftest.
$ac_ext
18883 CFLAGS
=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18887 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18889 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18892 printf %s
"checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18893 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18895 printf %s
"(cached) " >&6
18897 ac_wine_try_cflags_saved
=$CFLAGS
18898 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
18899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 int main(int argc, char **argv) { return 0; }
18903 if ac_fn_c_try_link
"$LINENO"
18905 ac_cv_cflags__Wunused_but_set_parameter
=yes
18907 ac_cv_cflags__Wunused_but_set_parameter
=no
18909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18910 conftest
$ac_exeext conftest.
$ac_ext
18911 CFLAGS
=$ac_wine_try_cflags_saved
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18915 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18917 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18920 printf %s
"checking whether the compiler supports -Wvla... " >&6; }
18921 if test ${ac_cv_cflags__Wvla+y}
18923 printf %s
"(cached) " >&6
18925 ac_wine_try_cflags_saved
=$CFLAGS
18926 CFLAGS
="$CFLAGS -Wvla"
18927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 int main(int argc, char **argv) { return 0; }
18931 if ac_fn_c_try_link
"$LINENO"
18933 ac_cv_cflags__Wvla
=yes
18935 ac_cv_cflags__Wvla
=no
18937 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18938 conftest
$ac_exeext conftest.
$ac_ext
18939 CFLAGS
=$ac_wine_try_cflags_saved
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18942 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18943 if test "x$ac_cv_cflags__Wvla" = xyes
18945 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18948 printf %s
"checking whether the compiler supports -Wwrite-strings... " >&6; }
18949 if test ${ac_cv_cflags__Wwrite_strings+y}
18951 printf %s
"(cached) " >&6
18953 ac_wine_try_cflags_saved
=$CFLAGS
18954 CFLAGS
="$CFLAGS -Wwrite-strings"
18955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18957 int main(int argc, char **argv) { return 0; }
18959 if ac_fn_c_try_link
"$LINENO"
18961 ac_cv_cflags__Wwrite_strings
=yes
18963 ac_cv_cflags__Wwrite_strings
=no
18965 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18966 conftest
$ac_exeext conftest.
$ac_ext
18967 CFLAGS
=$ac_wine_try_cflags_saved
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18970 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18971 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18973 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
18976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18977 printf %s
"checking whether the compiler supports -Wpointer-arith... " >&6; }
18978 if test ${ac_cv_cflags__Wpointer_arith+y}
18980 printf %s
"(cached) " >&6
18982 ac_wine_try_cflags_saved
=$CFLAGS
18983 CFLAGS
="$CFLAGS -Wpointer-arith"
18984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 int main(int argc, char **argv) { return 0; }
18988 if ac_fn_c_try_link
"$LINENO"
18990 ac_cv_cflags__Wpointer_arith
=yes
18992 ac_cv_cflags__Wpointer_arith
=no
18994 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
18995 conftest
$ac_exeext conftest.
$ac_ext
18996 CFLAGS
=$ac_wine_try_cflags_saved
18998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18999 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19000 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19002 saved_string_h_CFLAGS
=$CFLAGS
19003 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19005 printf %s
"checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19006 if test ${ac_cv_c_string_h_warnings+y}
19008 printf %s
"(cached) " >&6
19010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 #include <string.h>
19021 if ac_fn_c_try_compile
"$LINENO"
19023 ac_cv_c_string_h_warnings
=no
19025 ac_cv_c_string_h_warnings
=yes
19027 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19030 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19031 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
19032 CFLAGS
=$saved_string_h_CFLAGS
19035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19036 printf %s
"checking whether the compiler supports -Wlogical-op... " >&6; }
19037 if test ${ac_cv_cflags__Wlogical_op+y}
19039 printf %s
"(cached) " >&6
19041 ac_wine_try_cflags_saved
=$CFLAGS
19042 CFLAGS
="$CFLAGS -Wlogical-op"
19043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19045 int main(int argc, char **argv) { return 0; }
19047 if ac_fn_c_try_link
"$LINENO"
19049 ac_cv_cflags__Wlogical_op
=yes
19051 ac_cv_cflags__Wlogical_op
=no
19053 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19054 conftest
$ac_exeext conftest.
$ac_ext
19055 CFLAGS
=$ac_wine_try_cflags_saved
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19058 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19059 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19061 saved_string_h_CFLAGS
=$CFLAGS
19062 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19064 printf %s
"checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19065 if test ${ac_cv_c_logicalop_noisy+y}
19067 printf %s
"(cached) " >&6
19069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 #include <string.h>
19072 char*f(const char *h,char n) {return strchr(h,n);}
19081 if ac_fn_c_try_compile
"$LINENO"
19083 ac_cv_c_logicalop_noisy
=no
19085 ac_cv_c_logicalop_noisy
=yes
19087 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19090 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19091 CFLAGS
=$saved_string_h_CFLAGS
19092 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19096 printf %s
"checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19097 if test ${wine_cv_64bit_compare_swap+y}
19099 printf %s
"(cached) " >&6
19101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19103 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19114 if ac_fn_c_try_compile
"$LINENO"
19116 wine_cv_64bit_compare_swap
="none needed"
19119 *i
[3456]86*) wine_cv_64bit_compare_swap
="-march=i586" ;;
19120 *arm
*) wine_cv_64bit_compare_swap
="-march=armv7-a" ;;
19121 *) wine_cv_64bit_compare_swap
="unknown" ;;
19123 if test "x$wine_cv_64bit_compare_swap" != xunknown
19125 CFLAGS
="$CFLAGS $wine_cv_64bit_compare_swap"
19126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19139 if ac_fn_c_try_compile
"$LINENO"
19143 wine_cv_64bit_compare_swap
="unknown"
19145 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19146 CFLAGS
=$saved_CFLAGS
19149 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19152 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19153 case "$wine_cv_64bit_compare_swap" in
19154 unknown
) as_fn_error $?
"gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19156 *) EXTRACFLAGS
="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19159 ac_debug_format_seen
=""
19160 for ac_flag
in $CFLAGS; do
19162 -gdwarf*) ac_debug_format_seen
=yes ;;
19163 -g) ac_debug_format_seen
=${ac_debug_format_seen:-default} ;;
19166 if test "x$ac_debug_format_seen" = xdefault
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19169 printf %s
"checking whether the compiler supports -gdwarf-4... " >&6; }
19170 if test ${ac_cv_cflags__gdwarf_4+y}
19172 printf %s
"(cached) " >&6
19174 ac_wine_try_cflags_saved
=$CFLAGS
19175 CFLAGS
="$CFLAGS -gdwarf-4"
19176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 int main(int argc, char **argv) { return 0; }
19180 if ac_fn_c_try_link
"$LINENO"
19182 ac_cv_cflags__gdwarf_4
=yes
19184 ac_cv_cflags__gdwarf_4
=no
19186 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19187 conftest
$ac_exeext conftest.
$ac_ext
19188 CFLAGS
=$ac_wine_try_cflags_saved
19190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19191 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19192 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19194 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-4"
19201 mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19202 printf %s
"checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19203 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19205 printf %s
"(cached) " >&6
19207 ac_wine_try_cflags_saved
=$CFLAGS
19208 CFLAGS
="$CFLAGS -Wl,-delayload,autoconftest.dll"
19209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19211 int main(int argc, char **argv) { return 0; }
19213 if ac_fn_c_try_link
"$LINENO"
19215 ac_cv_cflags__Wl__delayload_autoconftest_dll
=yes
19217 ac_cv_cflags__Wl__delayload_autoconftest_dll
=no
19219 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19220 conftest
$ac_exeext conftest.
$ac_ext
19221 CFLAGS
=$ac_wine_try_cflags_saved
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19224 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19225 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19227 DELAYLOADFLAG
="-Wl,-delayload,"
19230 *) MSVCRTFLAGS
="-D_WIN32"
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19232 printf %s
"checking whether the compiler supports -fno-builtin... " >&6; }
19233 if test ${ac_cv_cflags__fno_builtin+y}
19235 printf %s
"(cached) " >&6
19237 ac_wine_try_cflags_saved
=$CFLAGS
19238 CFLAGS
="$CFLAGS -fno-builtin"
19239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 int main(int argc, char **argv) { return 0; }
19243 if ac_fn_c_try_link
"$LINENO"
19245 ac_cv_cflags__fno_builtin
=yes
19247 ac_cv_cflags__fno_builtin
=no
19249 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19250 conftest
$ac_exeext conftest.
$ac_ext
19251 CFLAGS
=$ac_wine_try_cflags_saved
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19254 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19255 if test "x$ac_cv_cflags__fno_builtin" = xyes
19257 MSVCRTFLAGS
="$MSVCRTFLAGS -fno-builtin"
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19260 printf %s
"checking whether the compiler supports -fshort-wchar... " >&6; }
19261 if test ${ac_cv_cflags__fshort_wchar+y}
19263 printf %s
"(cached) " >&6
19265 ac_wine_try_cflags_saved
=$CFLAGS
19266 CFLAGS
="$CFLAGS -fshort-wchar"
19267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h. */
19269 int main(int argc, char **argv) { return 0; }
19271 if ac_fn_c_try_link
"$LINENO"
19273 ac_cv_cflags__fshort_wchar
=yes
19275 ac_cv_cflags__fshort_wchar
=no
19277 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19278 conftest
$ac_exeext conftest.
$ac_ext
19279 CFLAGS
=$ac_wine_try_cflags_saved
19281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19282 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19283 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19285 MSVCRTFLAGS
="$MSVCRTFLAGS -fshort-wchar"
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19288 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19289 if test ${ac_cv_cflags__Wno_format+y}
19291 printf %s
"(cached) " >&6
19293 ac_wine_try_cflags_saved
=$CFLAGS
19294 CFLAGS
="$CFLAGS -Wno-format"
19295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 int main(int argc, char **argv) { return 0; }
19299 if ac_fn_c_try_link
"$LINENO"
19301 ac_cv_cflags__Wno_format
=yes
19303 ac_cv_cflags__Wno_format
=no
19305 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19306 conftest
$ac_exeext conftest.
$ac_ext
19307 CFLAGS
=$ac_wine_try_cflags_saved
19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19310 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19311 if test "x$ac_cv_cflags__Wno_format" = xyes
19313 MSVCRTFLAGS
="$MSVCRTFLAGS -Wno-format"
19318 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19319 printf %s
"checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19320 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19322 printf %s
"(cached) " >&6
19324 ac_wine_try_cflags_saved
=$CFLAGS
19325 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
19326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19327 /* end confdefs.h. */
19328 int main(int argc, char **argv) { return 0; }
19330 if ac_fn_c_try_link
"$LINENO"
19332 ac_cv_cflags__fno_omit_frame_pointer
=yes
19334 ac_cv_cflags__fno_omit_frame_pointer
=no
19336 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19337 conftest
$ac_exeext conftest.
$ac_ext
19338 CFLAGS
=$ac_wine_try_cflags_saved
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19341 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19342 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19344 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
19348 cygwin
*|mingw32
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19349 printf %s
"checking whether the compiler supports -Wno-format... " >&6; }
19350 if test ${ac_cv_cflags__Wno_format+y}
19352 printf %s
"(cached) " >&6
19354 ac_wine_try_cflags_saved
=$CFLAGS
19355 CFLAGS
="$CFLAGS -Wno-format"
19356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19358 int main(int argc, char **argv) { return 0; }
19360 if ac_fn_c_try_link
"$LINENO"
19362 ac_cv_cflags__Wno_format
=yes
19364 ac_cv_cflags__Wno_format
=no
19366 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19367 conftest
$ac_exeext conftest.
$ac_ext
19368 CFLAGS
=$ac_wine_try_cflags_saved
19370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19371 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19372 if test "x$ac_cv_cflags__Wno_format" = xyes
19374 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
19376 *) if test -z "$PE_ARCHS"
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19379 printf %s
"checking for working -mabi=ms... " >&6; }
19380 if test ${ac_cv_mabi_ms+y}
19382 printf %s
"(cached) " >&6
19384 CFLAGS
="$CFLAGS -mabi=ms"
19385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 #include <stdarg.h>
19388 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19397 if ac_fn_c_try_compile
"$LINENO"
19403 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19404 CFLAGS
=$saved_CFLAGS
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19407 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19408 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
19410 MSVCRTFLAGS
="$MSVCRTFLAGS -mabi=ms" ;;
19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19414 printf %s
"checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19415 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19417 printf %s
"(cached) " >&6
19419 ac_wine_try_cflags_saved
=$CFLAGS
19420 CFLAGS
="$CFLAGS -Wincompatible-function-pointer-types"
19421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19423 int main(int argc, char **argv) { return 0; }
19425 if ac_fn_c_try_link
"$LINENO"
19427 ac_cv_cflags__Wincompatible_function_pointer_types
=yes
19429 ac_cv_cflags__Wincompatible_function_pointer_types
=no
19431 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19432 conftest
$ac_exeext conftest.
$ac_ext
19433 CFLAGS
=$ac_wine_try_cflags_saved
19435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19436 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19437 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19439 EXTRACFLAGS
="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19443 CFLAGS
=$saved_CFLAGS
19445 if test "x$enable_werror" = "xyes"
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19448 printf %s
"checking whether the compiler supports -Werror... " >&6; }
19449 if test ${ac_cv_cflags__Werror+y}
19451 printf %s
"(cached) " >&6
19453 ac_wine_try_cflags_saved
=$CFLAGS
19454 CFLAGS
="$CFLAGS -Werror"
19455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19457 int main(int argc, char **argv) { return 0; }
19459 if ac_fn_c_try_link
"$LINENO"
19461 ac_cv_cflags__Werror
=yes
19463 ac_cv_cflags__Werror
=no
19465 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19466 conftest
$ac_exeext conftest.
$ac_ext
19467 CFLAGS
=$ac_wine_try_cflags_saved
19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19470 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19471 if test "x$ac_cv_cflags__Werror" = xyes
19473 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
19476 if test "x$enable_build_id" = "xyes"
19478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19479 printf %s
"checking whether the compiler supports -Wl,--build-id... " >&6; }
19480 if test ${ac_cv_cflags__Wl___build_id+y}
19482 printf %s
"(cached) " >&6
19484 ac_wine_try_cflags_saved
=$CFLAGS
19485 CFLAGS
="$CFLAGS -Wl,--build-id"
19486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488 int main(int argc, char **argv) { return 0; }
19490 if ac_fn_c_try_link
"$LINENO"
19492 ac_cv_cflags__Wl___build_id
=yes
19494 ac_cv_cflags__Wl___build_id
=no
19496 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19497 conftest
$ac_exeext conftest.
$ac_ext
19498 CFLAGS
=$ac_wine_try_cflags_saved
19500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19501 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19502 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19504 CFLAGS
="$CFLAGS -Wl,--build-id"
19505 LDFLAGS
="$LDFLAGS -Wl,--build-id"
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19512 printf %s
"checking for the need to disable Fortify... " >&6; }
19513 if test ${ac_cv_c_fortify_enabled+y}
19515 printf %s
"(cached) " >&6
19517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 #include <string.h>
19523 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19524 #error Fortify enabled
19530 if ac_fn_c_try_compile
"$LINENO"
19532 ac_cv_c_fortify_enabled
=no
19534 ac_cv_c_fortify_enabled
=yes
19536 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19539 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19540 if test "$ac_cv_c_fortify_enabled" = yes
19542 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19547 printf %s
"checking whether CFI directives are supported in assembly code... " >&6; }
19548 if test ${ac_cv_c_cfi_support+y}
19550 printf %s
"(cached) " >&6
19552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19563 if ac_fn_c_try_compile
"$LINENO"
19565 ac_cv_c_cfi_support
="yes"
19567 ac_cv_c_cfi_support
="no"
19569 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19572 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19573 if test "$ac_cv_c_cfi_support" = "yes"
19575 DLLFLAGS
="$DLLFLAGS -fasynchronous-unwind-tables"
19576 LDDLLFLAGS
="$LDDLLFLAGS -fasynchronous-unwind-tables"
19577 UNIXDLLFLAGS
="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19578 elif test $HOST_ARCH = x86_64
19580 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19587 *i
[3456789]86*|x86_64
*|
*aarch64
*|arm
*)
19588 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine-preloader"
19589 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
19596 ac_save_CFLAGS
="$CFLAGS"
19597 CFLAGS
="$CFLAGS $BUILTINFLAG"
19598 ac_fn_c_check_func
"$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19599 if test "x$ac_cv_func_epoll_create" = xyes
19601 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19604 ac_fn_c_check_func
"$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19605 if test "x$ac_cv_func_fstatfs" = xyes
19607 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19610 ac_fn_c_check_func
"$LINENO" "futimens" "ac_cv_func_futimens"
19611 if test "x$ac_cv_func_futimens" = xyes
19613 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19616 ac_fn_c_check_func
"$LINENO" "futimes" "ac_cv_func_futimes"
19617 if test "x$ac_cv_func_futimes" = xyes
19619 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19622 ac_fn_c_check_func
"$LINENO" "futimesat" "ac_cv_func_futimesat"
19623 if test "x$ac_cv_func_futimesat" = xyes
19625 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19628 ac_fn_c_check_func
"$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19629 if test "x$ac_cv_func_getattrlist" = xyes
19631 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19634 ac_fn_c_check_func
"$LINENO" "getauxval" "ac_cv_func_getauxval"
19635 if test "x$ac_cv_func_getauxval" = xyes
19637 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19640 ac_fn_c_check_func
"$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19641 if test "x$ac_cv_func_getifaddrs" = xyes
19643 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19646 ac_fn_c_check_func
"$LINENO" "getrandom" "ac_cv_func_getrandom"
19647 if test "x$ac_cv_func_getrandom" = xyes
19649 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19652 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
19653 if test "x$ac_cv_func_kqueue" = xyes
19655 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19658 ac_fn_c_check_func
"$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19659 if test "x$ac_cv_func_mach_continuous_time" = xyes
19661 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19664 ac_fn_c_check_func
"$LINENO" "pipe2" "ac_cv_func_pipe2"
19665 if test "x$ac_cv_func_pipe2" = xyes
19667 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19670 ac_fn_c_check_func
"$LINENO" "port_create" "ac_cv_func_port_create"
19671 if test "x$ac_cv_func_port_create" = xyes
19673 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19676 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19677 if test "x$ac_cv_func_posix_fadvise" = xyes
19679 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19682 ac_fn_c_check_func
"$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19683 if test "x$ac_cv_func_posix_fallocate" = xyes
19685 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19688 ac_fn_c_check_func
"$LINENO" "prctl" "ac_cv_func_prctl"
19689 if test "x$ac_cv_func_prctl" = xyes
19691 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19694 ac_fn_c_check_func
"$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19695 if test "x$ac_cv_func_proc_pidinfo" = xyes
19697 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19700 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19701 if test "x$ac_cv_func_sched_yield" = xyes
19703 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19706 ac_fn_c_check_func
"$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19707 if test "x$ac_cv_func_setproctitle" = xyes
19709 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19712 ac_fn_c_check_func
"$LINENO" "setprogname" "ac_cv_func_setprogname"
19713 if test "x$ac_cv_func_setprogname" = xyes
19715 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19718 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19719 if test "x$ac_cv_func_sigprocmask" = xyes
19721 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19724 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19725 if test "x$ac_cv_func_sysinfo" = xyes
19727 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19730 ac_fn_c_check_func
"$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19731 if test "x$ac_cv_func_tcdrain" = xyes
19733 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19736 ac_fn_c_check_func
"$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19737 if test "x$ac_cv_func_thr_kill2" = xyes
19739 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19743 CFLAGS
="$ac_save_CFLAGS"
19745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19746 printf %s
"checking for library containing dlopen... " >&6; }
19747 if test ${ac_cv_search_dlopen+y}
19749 printf %s
"(cached) " >&6
19751 ac_func_search_save_LIBS
=$LIBS
19752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h. */
19755 /* Override any GCC internal prototype to avoid an error.
19756 Use char because int might match the return type of a GCC
19757 builtin and then its argument prototype would still apply. */
19767 for ac_lib
in '' dl
19769 if test -z "$ac_lib"; then
19770 ac_res
="none required"
19773 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19775 if ac_fn_c_try_link
"$LINENO"
19777 ac_cv_search_dlopen
=$ac_res
19779 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19781 if test ${ac_cv_search_dlopen+y}
19786 if test ${ac_cv_search_dlopen+y}
19790 ac_cv_search_dlopen
=no
19792 rm conftest.
$ac_ext
19793 LIBS
=$ac_func_search_save_LIBS
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19796 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19797 ac_res
=$ac_cv_search_dlopen
19798 if test "$ac_res" != no
19800 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19804 ac_wine_check_funcs_save_LIBS
="$LIBS"
19805 LIBS
="$LIBS $DL_LIBS"
19806 ac_fn_c_check_func
"$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19807 if test "x$ac_cv_func_dlinfo" = xyes
19809 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19813 LIBS
="$ac_wine_check_funcs_save_LIBS"
19815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19816 printf %s
"checking for library containing gethostbyname... " >&6; }
19817 if test ${ac_cv_search_gethostbyname+y}
19819 printf %s
"(cached) " >&6
19821 ac_func_search_save_LIBS
=$LIBS
19822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19823 /* end confdefs.h. */
19825 /* Override any GCC internal prototype to avoid an error.
19826 Use char because int might match the return type of a GCC
19827 builtin and then its argument prototype would still apply. */
19828 char gethostbyname ();
19832 return gethostbyname ();
19837 for ac_lib
in '' nsl
19839 if test -z "$ac_lib"; then
19840 ac_res
="none required"
19843 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19845 if ac_fn_c_try_link
"$LINENO"
19847 ac_cv_search_gethostbyname
=$ac_res
19849 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19851 if test ${ac_cv_search_gethostbyname+y}
19856 if test ${ac_cv_search_gethostbyname+y}
19860 ac_cv_search_gethostbyname
=no
19862 rm conftest.
$ac_ext
19863 LIBS
=$ac_func_search_save_LIBS
19865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19866 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19867 ac_res
=$ac_cv_search_gethostbyname
19868 if test "$ac_res" != no
19870 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19876 printf %s
"checking for library containing connect... " >&6; }
19877 if test ${ac_cv_search_connect+y}
19879 printf %s
"(cached) " >&6
19881 ac_func_search_save_LIBS
=$LIBS
19882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19883 /* end confdefs.h. */
19885 /* Override any GCC internal prototype to avoid an error.
19886 Use char because int might match the return type of a GCC
19887 builtin and then its argument prototype would still apply. */
19897 for ac_lib
in '' socket
19899 if test -z "$ac_lib"; then
19900 ac_res
="none required"
19903 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19905 if ac_fn_c_try_link
"$LINENO"
19907 ac_cv_search_connect
=$ac_res
19909 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19911 if test ${ac_cv_search_connect+y}
19916 if test ${ac_cv_search_connect+y}
19920 ac_cv_search_connect
=no
19922 rm conftest.
$ac_ext
19923 LIBS
=$ac_func_search_save_LIBS
19925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19926 printf "%s\n" "$ac_cv_search_connect" >&6; }
19927 ac_res
=$ac_cv_search_connect
19928 if test "$ac_res" != no
19930 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19936 printf %s
"checking for library containing inet_aton... " >&6; }
19937 if test ${ac_cv_search_inet_aton+y}
19939 printf %s
"(cached) " >&6
19941 ac_func_search_save_LIBS
=$LIBS
19942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19943 /* end confdefs.h. */
19945 /* Override any GCC internal prototype to avoid an error.
19946 Use char because int might match the return type of a GCC
19947 builtin and then its argument prototype would still apply. */
19952 return inet_aton ();
19957 for ac_lib
in '' resolv
19959 if test -z "$ac_lib"; then
19960 ac_res
="none required"
19963 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19965 if ac_fn_c_try_link
"$LINENO"
19967 ac_cv_search_inet_aton
=$ac_res
19969 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
19971 if test ${ac_cv_search_inet_aton+y}
19976 if test ${ac_cv_search_inet_aton+y}
19980 ac_cv_search_inet_aton
=no
19982 rm conftest.
$ac_ext
19983 LIBS
=$ac_func_search_save_LIBS
19985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19986 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19987 ac_res
=$ac_cv_search_inet_aton
19988 if test "$ac_res" != no
19990 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19995 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19996 if test "x$ac_cv_func_getaddrinfo" = xyes
19998 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20004 darwin
*|macosx
*) ;;
20005 *) ac_save_LIBS
=$LIBS
20006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20007 printf %s
"checking for library containing clock_gettime... " >&6; }
20008 if test ${ac_cv_search_clock_gettime+y}
20010 printf %s
"(cached) " >&6
20012 ac_func_search_save_LIBS
=$LIBS
20013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h. */
20016 /* Override any GCC internal prototype to avoid an error.
20017 Use char because int might match the return type of a GCC
20018 builtin and then its argument prototype would still apply. */
20019 char clock_gettime ();
20023 return clock_gettime ();
20028 for ac_lib
in '' rt
20030 if test -z "$ac_lib"; then
20031 ac_res
="none required"
20034 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20036 if ac_fn_c_try_link
"$LINENO"
20038 ac_cv_search_clock_gettime
=$ac_res
20040 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20042 if test ${ac_cv_search_clock_gettime+y}
20047 if test ${ac_cv_search_clock_gettime+y}
20051 ac_cv_search_clock_gettime
=no
20053 rm conftest.
$ac_ext
20054 LIBS
=$ac_func_search_save_LIBS
20056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20057 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20058 ac_res
=$ac_cv_search_clock_gettime
20059 if test "$ac_res" != no
20061 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20063 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20065 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
20073 if test "x$with_ldap" != "xno"
20075 if ${LDAP_CFLAGS:+false} :
20077 if test ${PKG_CONFIG+y}
20079 LDAP_CFLAGS
=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20083 if ${LDAP_LIBS:+false} :
20085 if test ${PKG_CONFIG+y}
20087 LDAP_LIBS
=`$PKG_CONFIG --libs openldap 2>/dev/null`
20091 LDAP_LIBS
=${LDAP_LIBS:-"-lldap -llber"}
20092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20094 ac_save_CPPFLAGS
=$CPPFLAGS
20095 CPPFLAGS
="$CPPFLAGS $LDAP_CFLAGS"
20096 ac_fn_c_check_header_compile
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20097 if test "x$ac_cv_header_ldap_h" = xyes
20099 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20102 ac_fn_c_check_header_compile
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20103 if test "x$ac_cv_header_lber_h" = xyes
20105 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20109 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20111 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20113 if test "x$ac_cv_type_LDAPSortKey" = xyes
20115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20116 printf %s
"checking for ldap_initialize in -lldap... " >&6; }
20117 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20119 printf %s
"(cached) " >&6
20121 ac_check_lib_save_LIBS
=$LIBS
20122 LIBS
="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h. */
20126 /* Override any GCC internal prototype to avoid an error.
20127 Use char because int might match the return type of a GCC
20128 builtin and then its argument prototype would still apply. */
20129 char ldap_initialize ();
20133 return ldap_initialize ();
20138 if ac_fn_c_try_link
"$LINENO"
20140 ac_cv_lib_ldap_ldap_initialize
=yes
20142 ac_cv_lib_ldap_ldap_initialize
=no
20144 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20145 conftest
$ac_exeext conftest.
$ac_ext
20146 LIBS
=$ac_check_lib_save_LIBS
20148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20149 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20150 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20153 printf %s
"checking for ber_init in -llber... " >&6; }
20154 if test ${ac_cv_lib_lber_ber_init+y}
20156 printf %s
"(cached) " >&6
20158 ac_check_lib_save_LIBS
=$LIBS
20159 LIBS
="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20163 /* Override any GCC internal prototype to avoid an error.
20164 Use char because int might match the return type of a GCC
20165 builtin and then its argument prototype would still apply. */
20170 return ber_init ();
20175 if ac_fn_c_try_link
"$LINENO"
20177 ac_cv_lib_lber_ber_init
=yes
20179 ac_cv_lib_lber_ber_init
=no
20181 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20182 conftest
$ac_exeext conftest.
$ac_ext
20183 LIBS
=$ac_check_lib_save_LIBS
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20186 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20187 if test "x$ac_cv_lib_lber_ber_init" = xyes
20190 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20207 CPPFLAGS
=$ac_save_CPPFLAGS
20210 if test "x$LDAP_LIBS" = "x"
20212 case "x$with_ldap" in
20213 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20215 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20216 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20222 printf %s
"checking for sched_setaffinity... " >&6; }
20223 if test ${wine_cv_have_sched_setaffinity+y}
20225 printf %s
"(cached) " >&6
20227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20233 sched_setaffinity(0, 0, 0);
20238 if ac_fn_c_try_link
"$LINENO"
20240 wine_cv_have_sched_setaffinity
=yes
20242 wine_cv_have_sched_setaffinity
=no
20244 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20245 conftest
$ac_exeext conftest.
$ac_ext
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20248 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20249 if test "$wine_cv_have_sched_setaffinity" = "yes"
20252 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20258 printf %s
"checking for inline... " >&6; }
20259 if test ${ac_cv_c_inline+y}
20261 printf %s
"(cached) " >&6
20264 for ac_kw
in inline __inline__ __inline
; do
20265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20266 /* end confdefs.h. */
20267 #ifndef __cplusplus
20269 static $ac_kw foo_t static_foo (void) {return 0; }
20270 $ac_kw foo_t foo (void) {return 0; }
20274 if ac_fn_c_try_compile
"$LINENO"
20276 ac_cv_c_inline
=$ac_kw
20278 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20279 test "$ac_cv_c_inline" != no
&& break
20283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20284 printf "%s\n" "$ac_cv_c_inline" >&6; }
20286 case $ac_cv_c_inline in
20289 case $ac_cv_c_inline in
20291 *) ac_val
=$ac_cv_c_inline;;
20293 cat >>confdefs.h
<<_ACEOF
20294 #ifndef __cplusplus
20295 #define inline $ac_val
20301 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20302 #include <signal.h>
20304 if test "x$ac_cv_type_sigset_t" = xyes
20307 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20312 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20314 if test "x$ac_cv_type_request_sense" = xyes
20317 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20323 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20324 #include <sys/socket.h>
20325 #ifdef HAVE_SYS_SOCKETVAR_H
20326 #include <sys/socketvar.h>
20328 #ifdef HAVE_NET_ROUTE_H
20329 #include <net/route.h>
20331 #ifdef HAVE_NETINET_IN_H
20332 #include <netinet/in.h>
20334 #ifdef HAVE_NETINET_IN_SYSTM_H
20335 #include <netinet/in_systm.h>
20337 #ifdef HAVE_NETINET_IP_H
20338 #include <netinet/ip.h>
20340 #ifdef HAVE_NETINET_IN_PCB_H
20341 #include <netinet/in_pcb.h>
20344 if test "x$ac_cv_type_struct_xinpgen" = xyes
20347 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20354 printf %s
"checking for sigaddset... " >&6; }
20355 if test ${wine_cv_have_sigaddset+y}
20357 printf %s
"(cached) " >&6
20359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h. */
20361 #include <signal.h>
20365 sigset_t set; sigaddset(&set,SIGTERM);
20370 if ac_fn_c_try_link
"$LINENO"
20372 wine_cv_have_sigaddset
=yes
20374 wine_cv_have_sigaddset
=no
20376 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20377 conftest
$ac_exeext conftest.
$ac_ext
20379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20380 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20381 if test "$wine_cv_have_sigaddset" = "yes"
20384 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20390 printf %s
"checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20391 if test ${wine_cv_linux_gethostbyname_r_6+y}
20393 printf %s
"(cached) " >&6
20395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20396 /* end confdefs.h. */
20404 struct hostent *result;
20411 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20412 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20418 if ac_fn_c_try_link
"$LINENO"
20420 wine_cv_linux_gethostbyname_r_6
=yes
20422 wine_cv_linux_gethostbyname_r_6
=no
20425 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20426 conftest
$ac_exeext conftest.
$ac_ext
20429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20430 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20431 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20434 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20438 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20439 #include <sys/socket.h>
20440 #ifdef HAVE_SYS_UN_H
20441 # include <sys/un.h>
20444 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20447 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20451 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20452 #include <sys/socket.h>
20453 #ifdef HAVE_SYS_UN_H
20454 # include <sys/un.h>
20457 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20460 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20466 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20467 #ifdef HAVE_SCSI_SG_H
20468 #include <scsi/sg.h>
20471 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20474 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20478 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>
20479 #ifdef HAVE_SCSI_SG_H
20480 #include <scsi/sg.h>
20483 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20486 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20492 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20494 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20497 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20503 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20504 #ifdef HAVE_SYS_MTIO_H
20505 #include <sys/mtio.h>
20508 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20511 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20515 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20516 #ifdef HAVE_SYS_MTIO_H
20517 #include <sys/mtio.h>
20520 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20523 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20527 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20528 #ifdef HAVE_SYS_MTIO_H
20529 #include <sys/mtio.h>
20532 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20535 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20541 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20542 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20545 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20549 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20550 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20553 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20557 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20558 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20561 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20565 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20566 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20569 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20573 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20574 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20577 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20581 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20582 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20585 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20589 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20590 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20593 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20597 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20598 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20601 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20605 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20606 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20609 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20613 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20614 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20617 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20621 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20622 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20625 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20631 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>
20632 #ifdef HAVE_NETINET_IN_H
20633 #include <netinet/in.h>
20636 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20639 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20645 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
20646 #include <resolv.h>
20649 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20652 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20658 ac_fn_c_check_member
"$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20659 #include <netinet/in.h>
20662 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20665 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20671 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20672 #ifdef HAVE_SYS_SOCKETVAR_H
20673 #include <sys/socketvar.h>
20675 #ifdef HAVE_NETINET_IN_H
20676 #include <netinet/in.h>
20678 #ifdef HAVE_NETINET_IP_VAR_H
20679 #include <netinet/ip_var.h>
20682 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20685 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20691 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
20692 #include <netinet/ip_var.h>
20695 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20698 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20704 ac_fn_c_check_member
"$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20705 #ifdef HAVE_SYS_SOCKETVAR_H
20706 #include <sys/socketvar.h>
20708 #ifdef HAVE_NETINET_IN_H
20709 #include <netinet/in.h>
20711 #ifdef HAVE_NETINET6_IP6_VAR_H
20712 #include <netinet6/ip6_var.h>
20715 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20718 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20724 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20725 #ifdef HAVE_SYS_SOCKETVAR_H
20726 #include <sys/socketvar.h>
20728 #ifdef HAVE_NETINET_IN_H
20729 #include <netinet/in.h>
20731 #ifdef HAVE_NETINET_IP_H
20732 #include <netinet/ip.h>
20734 #ifdef HAVE_NETINET_IP_ICMP_H
20735 #include <netinet/ip_icmp.h>
20737 #ifdef HAVE_NETINET_ICMP_VAR_H
20738 #include <netinet/icmp_var.h>
20741 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20744 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20750 ac_fn_c_check_member
"$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20751 #ifdef HAVE_SYS_SOCKETVAR_H
20752 #include <sys/socketvar.h>
20754 #ifdef HAVE_NETINET_IN_H
20755 #include <netinet/in.h>
20757 #ifdef HAVE_NETINET_ICMP6_H
20758 #include <netinet/icmp6.h>
20761 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20764 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20770 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20771 #ifdef HAVE_SYS_SOCKETVAR_H
20772 #include <sys/socketvar.h>
20774 #ifdef HAVE_NETINET_IN_H
20775 #include <netinet/in.h>
20777 #ifdef HAVE_NETINET_TCP_H
20778 #include <netinet/tcp.h>
20780 #ifdef HAVE_NETINET_TCP_VAR_H
20781 #include <netinet/tcp_var.h>
20784 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20787 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20793 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
20794 #include <netinet/tcp_var.h>
20797 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20800 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20806 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20807 #ifdef HAVE_NETINET_IN_H
20808 #include <netinet/in.h>
20810 #ifdef HAVE_NETINET_IP_VAR_H
20811 #include <netinet/ip_var.h>
20813 #ifdef HAVE_NETINET_UDP_H
20814 #include <netinet/udp.h>
20816 #ifdef HAVE_NETINET_UDP_VAR_H
20817 #include <netinet/udp_var.h>
20820 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20823 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20829 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20830 #ifdef HAVE_NET_IF_H
20831 # include <net/if.h>
20834 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20837 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20843 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20844 # include <sys/sysinfo.h>
20847 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20850 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20854 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20855 # include <sys/sysinfo.h>
20858 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20861 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20867 LIBS
="$ac_save_LIBS"
20869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20870 printf %s
"checking for __builtin_popcount... " >&6; }
20871 if test ${ac_cv_have___builtin_popcount+y}
20873 printf %s
"(cached) " >&6
20875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20881 return __builtin_popcount(1)
20886 if ac_fn_c_try_link
"$LINENO"
20888 ac_cv_have___builtin_popcount
="yes"
20890 ac_cv_have___builtin_popcount
="no"
20892 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20893 conftest
$ac_exeext conftest.
$ac_ext
20895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20896 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20897 if test "$ac_cv_have___builtin_popcount" = "yes"
20900 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20905 printf %s
"checking for __clear_cache... " >&6; }
20906 if test ${ac_cv_have___clear_cache+y}
20908 printf %s
"(cached) " >&6
20910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20911 /* end confdefs.h. */
20916 __clear_cache((void*)0, (void*)0); return 0;
20921 if ac_fn_c_try_link
"$LINENO"
20923 ac_cv_have___clear_cache
="yes"
20925 ac_cv_have___clear_cache
="no"
20927 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
20928 conftest
$ac_exeext conftest.
$ac_ext
20930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20931 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20932 if test "$ac_cv_have___clear_cache" = "yes"
20935 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20941 *i
[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20942 printf %s
"checking whether we need to define __i386__... " >&6; }
20943 if test ${ac_cv_cpp_def___i386__+y}
20945 printf %s
"(cached) " >&6
20947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20948 /* end confdefs.h. */
20953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20954 $EGREP "yes" >/dev
/null
2>&1
20956 ac_cv_cpp_def___i386__
=yes
20958 ac_cv_cpp_def___i386__
=no
20963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20964 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20965 if test "x$ac_cv_cpp_def___i386__" = xyes
20967 CFLAGS
="$CFLAGS -D__i386__"
20968 LINTFLAGS
="$LINTFLAGS -D__i386__"
20970 *x86_64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20971 printf %s
"checking whether we need to define __x86_64__... " >&6; }
20972 if test ${ac_cv_cpp_def___x86_64__+y}
20974 printf %s
"(cached) " >&6
20976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20983 $EGREP "yes" >/dev
/null
2>&1
20985 ac_cv_cpp_def___x86_64__
=yes
20987 ac_cv_cpp_def___x86_64__
=no
20992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20993 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20994 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20996 CFLAGS
="$CFLAGS -D__x86_64__"
20997 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20999 *sparc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21000 printf %s
"checking whether we need to define __sparc64__... " >&6; }
21001 if test ${ac_cv_cpp_def___sparc64__+y}
21003 printf %s
"(cached) " >&6
21005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21007 #ifndef __sparc64__
21011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21012 $EGREP "yes" >/dev
/null
2>&1
21014 ac_cv_cpp_def___sparc64__
=yes
21016 ac_cv_cpp_def___sparc64__
=no
21021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21022 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21023 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21025 CFLAGS
="$CFLAGS -D__sparc64__"
21026 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
21028 *sparc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21029 printf %s
"checking whether we need to define __sparc__... " >&6; }
21030 if test ${ac_cv_cpp_def___sparc__+y}
21032 printf %s
"(cached) " >&6
21034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21041 $EGREP "yes" >/dev
/null
2>&1
21043 ac_cv_cpp_def___sparc__
=yes
21045 ac_cv_cpp_def___sparc__
=no
21050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21051 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21052 if test "x$ac_cv_cpp_def___sparc__" = xyes
21054 CFLAGS
="$CFLAGS -D__sparc__"
21055 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21057 *powerpc64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21058 printf %s
"checking whether we need to define __powerpc64__... " >&6; }
21059 if test ${ac_cv_cpp_def___powerpc64__+y}
21061 printf %s
"(cached) " >&6
21063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21064 /* end confdefs.h. */
21065 #ifndef __powerpc64__
21069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21070 $EGREP "yes" >/dev
/null
2>&1
21072 ac_cv_cpp_def___powerpc64__
=yes
21074 ac_cv_cpp_def___powerpc64__
=no
21079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21080 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21081 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21083 CFLAGS
="$CFLAGS -D__powerpc64__"
21084 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
21086 *powerpc
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21087 printf %s
"checking whether we need to define __powerpc__... " >&6; }
21088 if test ${ac_cv_cpp_def___powerpc__+y}
21090 printf %s
"(cached) " >&6
21092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21093 /* end confdefs.h. */
21094 #ifndef __powerpc__
21098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21099 $EGREP "yes" >/dev
/null
2>&1
21101 ac_cv_cpp_def___powerpc__
=yes
21103 ac_cv_cpp_def___powerpc__
=no
21108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21109 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21110 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21112 CFLAGS
="$CFLAGS -D__powerpc__"
21113 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21115 *aarch64
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21116 printf %s
"checking whether we need to define __aarch64__... " >&6; }
21117 if test ${ac_cv_cpp_def___aarch64__+y}
21119 printf %s
"(cached) " >&6
21121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21123 #ifndef __aarch64__
21127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21128 $EGREP "yes" >/dev
/null
2>&1
21130 ac_cv_cpp_def___aarch64__
=yes
21132 ac_cv_cpp_def___aarch64__
=no
21137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21138 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21139 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21141 CFLAGS
="$CFLAGS -D__aarch64__"
21142 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
21144 *arm
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21145 printf %s
"checking whether we need to define __arm__... " >&6; }
21146 if test ${ac_cv_cpp_def___arm__+y}
21148 printf %s
"(cached) " >&6
21150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21157 $EGREP "yes" >/dev
/null
2>&1
21159 ac_cv_cpp_def___arm__
=yes
21161 ac_cv_cpp_def___arm__
=no
21166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21167 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21168 if test "x$ac_cv_cpp_def___arm__" = xyes
21170 CFLAGS
="$CFLAGS -D__arm__"
21171 LINTFLAGS
="$LINTFLAGS -D__arm__"
21175 case $host_vendor in
21176 *sun
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21177 printf %s
"checking whether we need to define __sun__... " >&6; }
21178 if test ${ac_cv_cpp_def___sun__+y}
21180 printf %s
"(cached) " >&6
21182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21183 /* end confdefs.h. */
21188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21189 $EGREP "yes" >/dev
/null
2>&1
21191 ac_cv_cpp_def___sun__
=yes
21193 ac_cv_cpp_def___sun__
=no
21198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21199 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21200 if test "x$ac_cv_cpp_def___sun__" = xyes
21202 CFLAGS
="$CFLAGS -D__sun__"
21203 LINTFLAGS
="$LINTFLAGS -D__sun__"
21211 ac_config_commands
="$ac_config_commands include/stamp-h"
21213 printf %s
"creating Makefile rules..." >&6
21216 test "x$enable_silent_rules" = xyes
&& makedep_flags
="$makedep_flags -S"
21219 test "$srcdir" = . || wine_srcdir
="$srcdir/"
21221 ac_config_links
="$ac_config_links wine:tools/winewrapper"
21222 wine_fn_config_symlink wine
21223 if test "$HOST_ARCH" = x86_64
-o -n "$with_wine64"; then
21224 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
21225 wine_fn_config_symlink wine64
21228 wine_fn_config_makefile dlls
/acledit enable_acledit
21229 wine_fn_config_makefile dlls
/aclui enable_aclui
21230 wine_fn_config_makefile dlls
/activeds.tlb enable_activeds_tlb
21231 wine_fn_config_makefile dlls
/activeds enable_activeds
21232 wine_fn_config_makefile dlls
/activeds
/tests enable_tests
21233 wine_fn_config_makefile dlls
/actxprxy enable_actxprxy
21234 wine_fn_config_makefile dlls
/adsldp enable_adsldp
21235 wine_fn_config_makefile dlls
/adsldp
/tests enable_tests
21236 wine_fn_config_makefile dlls
/adsldpc enable_adsldpc
21237 wine_fn_config_makefile dlls
/advapi32 enable_advapi32
21238 wine_fn_config_makefile dlls
/advapi32
/tests enable_tests
21239 wine_fn_config_makefile dlls
/advpack enable_advpack
21240 wine_fn_config_makefile dlls
/advpack
/tests enable_tests
21241 wine_fn_config_makefile dlls
/amsi enable_amsi
21242 wine_fn_config_makefile dlls
/amstream enable_amstream
21243 wine_fn_config_makefile dlls
/amstream
/tests enable_tests
21244 wine_fn_config_makefile dlls
/apisetschema enable_apisetschema
21245 wine_fn_config_makefile dlls
/apphelp enable_apphelp
21246 wine_fn_config_makefile dlls
/apphelp
/tests enable_tests
21247 wine_fn_config_makefile dlls
/appwiz.cpl enable_appwiz_cpl
21248 wine_fn_config_makefile dlls
/atl enable_atl
21249 wine_fn_config_makefile dlls
/atl
/tests enable_tests
21250 wine_fn_config_makefile dlls
/atl100 enable_atl100
21251 wine_fn_config_makefile dlls
/atl100
/tests enable_tests
21252 wine_fn_config_makefile dlls
/atl110 enable_atl110
21253 wine_fn_config_makefile dlls
/atl110
/tests enable_tests
21254 wine_fn_config_makefile dlls
/atl80 enable_atl80
21255 wine_fn_config_makefile dlls
/atl80
/tests enable_tests
21256 wine_fn_config_makefile dlls
/atl90 enable_atl90
21257 wine_fn_config_makefile dlls
/atlthunk enable_atlthunk
21258 wine_fn_config_makefile dlls
/atlthunk
/tests enable_tests
21259 wine_fn_config_makefile dlls
/atmlib enable_atmlib
21260 wine_fn_config_makefile dlls
/authz enable_authz
21261 wine_fn_config_makefile dlls
/avicap32 enable_avicap32
21262 wine_fn_config_makefile dlls
/avifil32 enable_avifil32
21263 wine_fn_config_makefile dlls
/avifil32
/tests enable_tests
21264 wine_fn_config_makefile dlls
/avifile.dll16 enable_win16
21265 wine_fn_config_makefile dlls
/avrt enable_avrt
21266 wine_fn_config_makefile dlls
/bcrypt enable_bcrypt
21267 wine_fn_config_makefile dlls
/bcrypt
/tests enable_tests
21268 wine_fn_config_makefile dlls
/bluetoothapis enable_bluetoothapis
21269 wine_fn_config_makefile dlls
/browseui enable_browseui
21270 wine_fn_config_makefile dlls
/browseui
/tests enable_tests
21271 wine_fn_config_makefile dlls
/bthprops.cpl enable_bthprops_cpl
21272 wine_fn_config_makefile dlls
/cabinet enable_cabinet
21273 wine_fn_config_makefile dlls
/cabinet
/tests enable_tests
21274 wine_fn_config_makefile dlls
/capi2032 enable_capi2032
21275 wine_fn_config_makefile dlls
/cards enable_cards
21276 wine_fn_config_makefile dlls
/cdosys enable_cdosys
21277 wine_fn_config_makefile dlls
/cfgmgr32 enable_cfgmgr32
21278 wine_fn_config_makefile dlls
/clusapi enable_clusapi
21279 wine_fn_config_makefile dlls
/cng.sys enable_cng_sys
21280 wine_fn_config_makefile dlls
/combase enable_combase
21281 wine_fn_config_makefile dlls
/combase
/tests enable_tests
21282 wine_fn_config_makefile dlls
/comcat enable_comcat
21283 wine_fn_config_makefile dlls
/comcat
/tests enable_tests
21284 wine_fn_config_makefile dlls
/comctl32 enable_comctl32
21285 wine_fn_config_makefile dlls
/comctl32
/tests enable_tests
21286 wine_fn_config_makefile dlls
/comdlg32 enable_comdlg32
21287 wine_fn_config_makefile dlls
/comdlg32
/tests enable_tests
21288 wine_fn_config_makefile dlls
/comm.drv16 enable_win16
21289 wine_fn_config_makefile dlls
/commdlg.dll16 enable_win16
21290 wine_fn_config_makefile dlls
/compobj.dll16 enable_win16
21291 wine_fn_config_makefile dlls
/compstui enable_compstui
21292 wine_fn_config_makefile dlls
/compstui
/tests enable_tests
21293 wine_fn_config_makefile dlls
/comsvcs enable_comsvcs
21294 wine_fn_config_makefile dlls
/comsvcs
/tests enable_tests
21295 wine_fn_config_makefile dlls
/concrt140 enable_concrt140
21296 wine_fn_config_makefile dlls
/concrt140
/tests enable_tests
21297 wine_fn_config_makefile dlls
/connect enable_connect
21298 wine_fn_config_makefile dlls
/credui enable_credui
21299 wine_fn_config_makefile dlls
/credui
/tests enable_tests
21300 wine_fn_config_makefile dlls
/crtdll enable_crtdll
21301 wine_fn_config_makefile dlls
/crypt32 enable_crypt32
21302 wine_fn_config_makefile dlls
/crypt32
/tests enable_tests
21303 wine_fn_config_makefile dlls
/cryptdlg enable_cryptdlg
21304 wine_fn_config_makefile dlls
/cryptdll enable_cryptdll
21305 wine_fn_config_makefile dlls
/cryptext enable_cryptext
21306 wine_fn_config_makefile dlls
/cryptnet enable_cryptnet
21307 wine_fn_config_makefile dlls
/cryptnet
/tests enable_tests
21308 wine_fn_config_makefile dlls
/cryptowinrt enable_cryptowinrt
21309 wine_fn_config_makefile dlls
/cryptsp enable_cryptsp
21310 wine_fn_config_makefile dlls
/cryptui enable_cryptui
21311 wine_fn_config_makefile dlls
/cryptui
/tests enable_tests
21312 wine_fn_config_makefile dlls
/ctapi32 enable_ctapi32
21313 wine_fn_config_makefile dlls
/ctl3d.dll16 enable_win16
21314 wine_fn_config_makefile dlls
/ctl3d32 enable_ctl3d32
21315 wine_fn_config_makefile dlls
/ctl3dv2.dll16 enable_win16
21316 wine_fn_config_makefile dlls
/d2d1 enable_d2d1
21317 wine_fn_config_makefile dlls
/d2d
1/tests enable_tests
21318 wine_fn_config_makefile dlls
/d3d10 enable_d3d10
21319 wine_fn_config_makefile dlls
/d3d10
/tests enable_tests
21320 wine_fn_config_makefile dlls
/d3d10_1 enable_d3d10_1
21321 wine_fn_config_makefile dlls
/d3d10_
1/tests enable_tests
21322 wine_fn_config_makefile dlls
/d3d10core enable_d3d10core
21323 wine_fn_config_makefile dlls
/d3d10core
/tests enable_tests
21324 wine_fn_config_makefile dlls
/d3d11 enable_d3d11
21325 wine_fn_config_makefile dlls
/d3d11
/tests enable_tests
21326 wine_fn_config_makefile dlls
/d3d12 enable_d3d12
21327 wine_fn_config_makefile dlls
/d3d12
/tests enable_tests
21328 wine_fn_config_makefile dlls
/d3d8 enable_d3d8
21329 wine_fn_config_makefile dlls
/d3d
8/tests enable_tests
21330 wine_fn_config_makefile dlls
/d3d8thk enable_d3d8thk
21331 wine_fn_config_makefile dlls
/d3d9 enable_d3d9
21332 wine_fn_config_makefile dlls
/d3d
9/tests enable_tests
21333 wine_fn_config_makefile dlls
/d3dcompiler_33 enable_d3dcompiler_33
21334 wine_fn_config_makefile dlls
/d3dcompiler_34 enable_d3dcompiler_34
21335 wine_fn_config_makefile dlls
/d3dcompiler_35 enable_d3dcompiler_35
21336 wine_fn_config_makefile dlls
/d3dcompiler_36 enable_d3dcompiler_36
21337 wine_fn_config_makefile dlls
/d3dcompiler_37 enable_d3dcompiler_37
21338 wine_fn_config_makefile dlls
/d3dcompiler_38 enable_d3dcompiler_38
21339 wine_fn_config_makefile dlls
/d3dcompiler_39 enable_d3dcompiler_39
21340 wine_fn_config_makefile dlls
/d3dcompiler_40 enable_d3dcompiler_40
21341 wine_fn_config_makefile dlls
/d3dcompiler_41 enable_d3dcompiler_41
21342 wine_fn_config_makefile dlls
/d3dcompiler_42 enable_d3dcompiler_42
21343 wine_fn_config_makefile dlls
/d3dcompiler_43 enable_d3dcompiler_43
21344 wine_fn_config_makefile dlls
/d3dcompiler_43
/tests enable_tests
21345 wine_fn_config_makefile dlls
/d3dcompiler_46 enable_d3dcompiler_46
21346 wine_fn_config_makefile dlls
/d3dcompiler_46
/tests enable_tests
21347 wine_fn_config_makefile dlls
/d3dcompiler_47 enable_d3dcompiler_47
21348 wine_fn_config_makefile dlls
/d3dcompiler_47
/tests enable_tests
21349 wine_fn_config_makefile dlls
/d3dim enable_d3dim
21350 wine_fn_config_makefile dlls
/d3dim700 enable_d3dim700
21351 wine_fn_config_makefile dlls
/d3drm enable_d3drm
21352 wine_fn_config_makefile dlls
/d3drm
/tests enable_tests
21353 wine_fn_config_makefile dlls
/d3dx10_33 enable_d3dx10_33
21354 wine_fn_config_makefile dlls
/d3dx10_34 enable_d3dx10_34
21355 wine_fn_config_makefile dlls
/d3dx10_34
/tests enable_tests
21356 wine_fn_config_makefile dlls
/d3dx10_35 enable_d3dx10_35
21357 wine_fn_config_makefile dlls
/d3dx10_35
/tests enable_tests
21358 wine_fn_config_makefile dlls
/d3dx10_36 enable_d3dx10_36
21359 wine_fn_config_makefile dlls
/d3dx10_36
/tests enable_tests
21360 wine_fn_config_makefile dlls
/d3dx10_37 enable_d3dx10_37
21361 wine_fn_config_makefile dlls
/d3dx10_37
/tests enable_tests
21362 wine_fn_config_makefile dlls
/d3dx10_38 enable_d3dx10_38
21363 wine_fn_config_makefile dlls
/d3dx10_38
/tests enable_tests
21364 wine_fn_config_makefile dlls
/d3dx10_39 enable_d3dx10_39
21365 wine_fn_config_makefile dlls
/d3dx10_39
/tests enable_tests
21366 wine_fn_config_makefile dlls
/d3dx10_40 enable_d3dx10_40
21367 wine_fn_config_makefile dlls
/d3dx10_40
/tests enable_tests
21368 wine_fn_config_makefile dlls
/d3dx10_41 enable_d3dx10_41
21369 wine_fn_config_makefile dlls
/d3dx10_41
/tests enable_tests
21370 wine_fn_config_makefile dlls
/d3dx10_42 enable_d3dx10_42
21371 wine_fn_config_makefile dlls
/d3dx10_42
/tests enable_tests
21372 wine_fn_config_makefile dlls
/d3dx10_43 enable_d3dx10_43
21373 wine_fn_config_makefile dlls
/d3dx10_43
/tests enable_tests
21374 wine_fn_config_makefile dlls
/d3dx11_42 enable_d3dx11_42
21375 wine_fn_config_makefile dlls
/d3dx11_42
/tests enable_tests
21376 wine_fn_config_makefile dlls
/d3dx11_43 enable_d3dx11_43
21377 wine_fn_config_makefile dlls
/d3dx11_43
/tests enable_tests
21378 wine_fn_config_makefile dlls
/d3dx9_24 enable_d3dx9_24
21379 wine_fn_config_makefile dlls
/d3dx9_25 enable_d3dx9_25
21380 wine_fn_config_makefile dlls
/d3dx9_26 enable_d3dx9_26
21381 wine_fn_config_makefile dlls
/d3dx9_27 enable_d3dx9_27
21382 wine_fn_config_makefile dlls
/d3dx9_28 enable_d3dx9_28
21383 wine_fn_config_makefile dlls
/d3dx9_29 enable_d3dx9_29
21384 wine_fn_config_makefile dlls
/d3dx9_30 enable_d3dx9_30
21385 wine_fn_config_makefile dlls
/d3dx9_31 enable_d3dx9_31
21386 wine_fn_config_makefile dlls
/d3dx9_32 enable_d3dx9_32
21387 wine_fn_config_makefile dlls
/d3dx9_33 enable_d3dx9_33
21388 wine_fn_config_makefile dlls
/d3dx9_34 enable_d3dx9_34
21389 wine_fn_config_makefile dlls
/d3dx9_35 enable_d3dx9_35
21390 wine_fn_config_makefile dlls
/d3dx9_36 enable_d3dx9_36
21391 wine_fn_config_makefile dlls
/d3dx9_36
/tests enable_tests
21392 wine_fn_config_makefile dlls
/d3dx9_37 enable_d3dx9_37
21393 wine_fn_config_makefile dlls
/d3dx9_38 enable_d3dx9_38
21394 wine_fn_config_makefile dlls
/d3dx9_39 enable_d3dx9_39
21395 wine_fn_config_makefile dlls
/d3dx9_40 enable_d3dx9_40
21396 wine_fn_config_makefile dlls
/d3dx9_41 enable_d3dx9_41
21397 wine_fn_config_makefile dlls
/d3dx9_42 enable_d3dx9_42
21398 wine_fn_config_makefile dlls
/d3dx9_43 enable_d3dx9_43
21399 wine_fn_config_makefile dlls
/d3dxof enable_d3dxof
21400 wine_fn_config_makefile dlls
/d3dxof
/tests enable_tests
21401 wine_fn_config_makefile dlls
/davclnt enable_davclnt
21402 wine_fn_config_makefile dlls
/dbgeng enable_dbgeng
21403 wine_fn_config_makefile dlls
/dbgeng
/tests enable_tests
21404 wine_fn_config_makefile dlls
/dbghelp enable_dbghelp
21405 wine_fn_config_makefile dlls
/dbghelp
/tests enable_tests
21406 wine_fn_config_makefile dlls
/dciman32 enable_dciman32
21407 wine_fn_config_makefile dlls
/dcomp enable_dcomp
21408 wine_fn_config_makefile dlls
/ddeml.dll16 enable_win16
21409 wine_fn_config_makefile dlls
/ddraw enable_ddraw
21410 wine_fn_config_makefile dlls
/ddraw
/tests enable_tests
21411 wine_fn_config_makefile dlls
/ddrawex enable_ddrawex
21412 wine_fn_config_makefile dlls
/ddrawex
/tests enable_tests
21413 wine_fn_config_makefile dlls
/devenum enable_devenum
21414 wine_fn_config_makefile dlls
/devenum
/tests enable_tests
21415 wine_fn_config_makefile dlls
/dhcpcsvc enable_dhcpcsvc
21416 wine_fn_config_makefile dlls
/dhcpcsvc
/tests enable_tests
21417 wine_fn_config_makefile dlls
/dhcpcsvc6 enable_dhcpcsvc6
21418 wine_fn_config_makefile dlls
/dhtmled.ocx enable_dhtmled_ocx
21419 wine_fn_config_makefile dlls
/diasymreader enable_diasymreader
21420 wine_fn_config_makefile dlls
/difxapi enable_difxapi
21421 wine_fn_config_makefile dlls
/dinput enable_dinput
21422 wine_fn_config_makefile dlls
/dinput
/tests enable_tests
21423 wine_fn_config_makefile dlls
/dinput8 enable_dinput8
21424 wine_fn_config_makefile dlls
/directmanipulation enable_directmanipulation
21425 wine_fn_config_makefile dlls
/directmanipulation
/tests enable_tests
21426 wine_fn_config_makefile dlls
/dispdib.dll16 enable_win16
21427 wine_fn_config_makefile dlls
/dispex enable_dispex
21428 wine_fn_config_makefile dlls
/dispex
/tests enable_tests
21429 wine_fn_config_makefile dlls
/display.drv16 enable_win16
21430 wine_fn_config_makefile dlls
/dmband enable_dmband
21431 wine_fn_config_makefile dlls
/dmband
/tests enable_tests
21432 wine_fn_config_makefile dlls
/dmcompos enable_dmcompos
21433 wine_fn_config_makefile dlls
/dmcompos
/tests enable_tests
21434 wine_fn_config_makefile dlls
/dmime enable_dmime
21435 wine_fn_config_makefile dlls
/dmime
/tests enable_tests
21436 wine_fn_config_makefile dlls
/dmloader enable_dmloader
21437 wine_fn_config_makefile dlls
/dmloader
/tests enable_tests
21438 wine_fn_config_makefile dlls
/dmscript enable_dmscript
21439 wine_fn_config_makefile dlls
/dmscript
/tests enable_tests
21440 wine_fn_config_makefile dlls
/dmstyle enable_dmstyle
21441 wine_fn_config_makefile dlls
/dmstyle
/tests enable_tests
21442 wine_fn_config_makefile dlls
/dmsynth enable_dmsynth
21443 wine_fn_config_makefile dlls
/dmsynth
/tests enable_tests
21444 wine_fn_config_makefile dlls
/dmusic enable_dmusic
21445 wine_fn_config_makefile dlls
/dmusic
/tests enable_tests
21446 wine_fn_config_makefile dlls
/dmusic32 enable_dmusic32
21447 wine_fn_config_makefile dlls
/dnsapi enable_dnsapi
21448 wine_fn_config_makefile dlls
/dnsapi
/tests enable_tests
21449 wine_fn_config_makefile dlls
/dplay enable_dplay
21450 wine_fn_config_makefile dlls
/dplayx enable_dplayx
21451 wine_fn_config_makefile dlls
/dplayx
/tests enable_tests
21452 wine_fn_config_makefile dlls
/dpnaddr enable_dpnaddr
21453 wine_fn_config_makefile dlls
/dpnet enable_dpnet
21454 wine_fn_config_makefile dlls
/dpnet
/tests enable_tests
21455 wine_fn_config_makefile dlls
/dpnhpast enable_dpnhpast
21456 wine_fn_config_makefile dlls
/dpnhupnp enable_dpnhupnp
21457 wine_fn_config_makefile dlls
/dpnlobby enable_dpnlobby
21458 wine_fn_config_makefile dlls
/dpvoice enable_dpvoice
21459 wine_fn_config_makefile dlls
/dpvoice
/tests enable_tests
21460 wine_fn_config_makefile dlls
/dpwsockx enable_dpwsockx
21461 wine_fn_config_makefile dlls
/drmclien enable_drmclien
21462 wine_fn_config_makefile dlls
/dsdmo enable_dsdmo
21463 wine_fn_config_makefile dlls
/dsdmo
/tests enable_tests
21464 wine_fn_config_makefile dlls
/dsound enable_dsound
21465 wine_fn_config_makefile dlls
/dsound
/tests enable_tests
21466 wine_fn_config_makefile dlls
/dsquery enable_dsquery
21467 wine_fn_config_makefile dlls
/dssenh enable_dssenh
21468 wine_fn_config_makefile dlls
/dssenh
/tests enable_tests
21469 wine_fn_config_makefile dlls
/dsuiext enable_dsuiext
21470 wine_fn_config_makefile dlls
/dswave enable_dswave
21471 wine_fn_config_makefile dlls
/dswave
/tests enable_tests
21472 wine_fn_config_makefile dlls
/dwmapi enable_dwmapi
21473 wine_fn_config_makefile dlls
/dwmapi
/tests enable_tests
21474 wine_fn_config_makefile dlls
/dwrite enable_dwrite
21475 wine_fn_config_makefile dlls
/dwrite
/tests enable_tests
21476 wine_fn_config_makefile dlls
/dx8vb enable_dx8vb
21477 wine_fn_config_makefile dlls
/dxdiagn enable_dxdiagn
21478 wine_fn_config_makefile dlls
/dxdiagn
/tests enable_tests
21479 wine_fn_config_makefile dlls
/dxgi enable_dxgi
21480 wine_fn_config_makefile dlls
/dxgi
/tests enable_tests
21481 wine_fn_config_makefile dlls
/dxtrans enable_dxtrans
21482 wine_fn_config_makefile dlls
/dxva2 enable_dxva2
21483 wine_fn_config_makefile dlls
/dxva
2/tests enable_tests
21484 wine_fn_config_makefile dlls
/esent enable_esent
21485 wine_fn_config_makefile dlls
/evr enable_evr
21486 wine_fn_config_makefile dlls
/evr
/tests enable_tests
21487 wine_fn_config_makefile dlls
/explorerframe enable_explorerframe
21488 wine_fn_config_makefile dlls
/explorerframe
/tests enable_tests
21489 wine_fn_config_makefile dlls
/faultrep enable_faultrep
21490 wine_fn_config_makefile dlls
/faultrep
/tests enable_tests
21491 wine_fn_config_makefile dlls
/feclient enable_feclient
21492 wine_fn_config_makefile dlls
/fltlib enable_fltlib
21493 wine_fn_config_makefile dlls
/fltmgr.sys enable_fltmgr_sys
21494 wine_fn_config_makefile dlls
/fntcache enable_fntcache
21495 wine_fn_config_makefile dlls
/fontsub enable_fontsub
21496 wine_fn_config_makefile dlls
/fusion enable_fusion
21497 wine_fn_config_makefile dlls
/fusion
/tests enable_tests
21498 wine_fn_config_makefile dlls
/fwpuclnt enable_fwpuclnt
21499 wine_fn_config_makefile dlls
/gameux enable_gameux
21500 wine_fn_config_makefile dlls
/gameux
/tests enable_tests
21501 wine_fn_config_makefile dlls
/gamingtcui enable_gamingtcui
21502 wine_fn_config_makefile dlls
/gdi.exe16 enable_win16
21503 wine_fn_config_makefile dlls
/gdi32 enable_gdi32
21504 wine_fn_config_makefile dlls
/gdi32
/tests enable_tests
21505 wine_fn_config_makefile dlls
/gdiplus enable_gdiplus
21506 wine_fn_config_makefile dlls
/gdiplus
/tests enable_tests
21507 wine_fn_config_makefile dlls
/glu32 enable_glu32
21508 wine_fn_config_makefile dlls
/gphoto2.ds enable_gphoto2_ds
21509 wine_fn_config_makefile dlls
/gpkcsp enable_gpkcsp
21510 wine_fn_config_makefile dlls
/hal enable_hal
21511 wine_fn_config_makefile dlls
/hhctrl.ocx enable_hhctrl_ocx
21512 wine_fn_config_makefile dlls
/hid enable_hid
21513 wine_fn_config_makefile dlls
/hid
/tests enable_tests
21514 wine_fn_config_makefile dlls
/hidclass.sys enable_hidclass_sys
21515 wine_fn_config_makefile dlls
/hidparse.sys enable_hidparse_sys
21516 wine_fn_config_makefile dlls
/hlink enable_hlink
21517 wine_fn_config_makefile dlls
/hlink
/tests enable_tests
21518 wine_fn_config_makefile dlls
/hnetcfg enable_hnetcfg
21519 wine_fn_config_makefile dlls
/hnetcfg
/tests enable_tests
21520 wine_fn_config_makefile dlls
/http.sys enable_http_sys
21521 wine_fn_config_makefile dlls
/httpapi enable_httpapi
21522 wine_fn_config_makefile dlls
/httpapi
/tests enable_tests
21523 wine_fn_config_makefile dlls
/ia2comproxy enable_ia2comproxy
21524 wine_fn_config_makefile dlls
/iccvid enable_iccvid
21525 wine_fn_config_makefile dlls
/icmp enable_icmp
21526 wine_fn_config_makefile dlls
/ieframe enable_ieframe
21527 wine_fn_config_makefile dlls
/ieframe
/tests enable_tests
21528 wine_fn_config_makefile dlls
/ieproxy enable_ieproxy
21529 wine_fn_config_makefile dlls
/ifsmgr.vxd enable_win16
21530 wine_fn_config_makefile dlls
/imaadp32.acm enable_imaadp32_acm
21531 wine_fn_config_makefile dlls
/imagehlp enable_imagehlp
21532 wine_fn_config_makefile dlls
/imagehlp
/tests enable_tests
21533 wine_fn_config_makefile dlls
/imm.dll16 enable_win16
21534 wine_fn_config_makefile dlls
/imm32 enable_imm32
21535 wine_fn_config_makefile dlls
/imm32
/tests enable_tests
21536 wine_fn_config_makefile dlls
/inetcomm enable_inetcomm
21537 wine_fn_config_makefile dlls
/inetcomm
/tests enable_tests
21538 wine_fn_config_makefile dlls
/inetcpl.cpl enable_inetcpl_cpl
21539 wine_fn_config_makefile dlls
/inetmib1 enable_inetmib1
21540 wine_fn_config_makefile dlls
/inetmib
1/tests enable_tests
21541 wine_fn_config_makefile dlls
/infosoft enable_infosoft
21542 wine_fn_config_makefile dlls
/infosoft
/tests enable_tests
21543 wine_fn_config_makefile dlls
/initpki enable_initpki
21544 wine_fn_config_makefile dlls
/inkobj enable_inkobj
21545 wine_fn_config_makefile dlls
/inseng enable_inseng
21546 wine_fn_config_makefile dlls
/iphlpapi enable_iphlpapi
21547 wine_fn_config_makefile dlls
/iphlpapi
/tests enable_tests
21548 wine_fn_config_makefile dlls
/iprop enable_iprop
21549 wine_fn_config_makefile dlls
/irprops.cpl enable_irprops_cpl
21550 wine_fn_config_makefile dlls
/itircl enable_itircl
21551 wine_fn_config_makefile dlls
/itss enable_itss
21552 wine_fn_config_makefile dlls
/itss
/tests enable_tests
21553 wine_fn_config_makefile dlls
/joy.cpl enable_joy_cpl
21554 wine_fn_config_makefile dlls
/jscript enable_jscript
21555 wine_fn_config_makefile dlls
/jscript
/tests enable_tests
21556 wine_fn_config_makefile dlls
/jsproxy enable_jsproxy
21557 wine_fn_config_makefile dlls
/jsproxy
/tests enable_tests
21558 wine_fn_config_makefile dlls
/kerberos enable_kerberos
21559 wine_fn_config_makefile dlls
/kernel32 enable_kernel32
21560 wine_fn_config_makefile dlls
/kernel32
/tests enable_tests
21561 wine_fn_config_makefile dlls
/kernelbase enable_kernelbase
21562 wine_fn_config_makefile dlls
/kernelbase
/tests enable_tests
21563 wine_fn_config_makefile dlls
/keyboard.drv16 enable_win16
21564 wine_fn_config_makefile dlls
/krnl386.exe16 enable_win16
21565 wine_fn_config_makefile dlls
/ksecdd.sys enable_ksecdd_sys
21566 wine_fn_config_makefile dlls
/ksproxy.ax enable_ksproxy_ax
21567 wine_fn_config_makefile dlls
/ksuser enable_ksuser
21568 wine_fn_config_makefile dlls
/ktmw32 enable_ktmw32
21569 wine_fn_config_makefile dlls
/l3codeca.acm enable_l3codeca_acm
21570 wine_fn_config_makefile dlls
/light.msstyles enable_light_msstyles
21571 wine_fn_config_makefile dlls
/loadperf enable_loadperf
21572 wine_fn_config_makefile dlls
/localspl enable_localspl
21573 wine_fn_config_makefile dlls
/localspl
/tests enable_tests
21574 wine_fn_config_makefile dlls
/localui enable_localui
21575 wine_fn_config_makefile dlls
/localui
/tests enable_tests
21576 wine_fn_config_makefile dlls
/lz32 enable_lz32
21577 wine_fn_config_makefile dlls
/lz32
/tests enable_tests
21578 wine_fn_config_makefile dlls
/lzexpand.dll16 enable_win16
21579 wine_fn_config_makefile dlls
/mapi32 enable_mapi32
21580 wine_fn_config_makefile dlls
/mapi32
/tests enable_tests
21581 wine_fn_config_makefile dlls
/mapistub enable_mapistub
21582 wine_fn_config_makefile dlls
/mciavi32 enable_mciavi32
21583 wine_fn_config_makefile dlls
/mcicda enable_mcicda
21584 wine_fn_config_makefile dlls
/mciqtz32 enable_mciqtz32
21585 wine_fn_config_makefile dlls
/mciseq enable_mciseq
21586 wine_fn_config_makefile dlls
/mciwave enable_mciwave
21587 wine_fn_config_makefile dlls
/mf enable_mf
21588 wine_fn_config_makefile dlls
/mf
/tests enable_tests
21589 wine_fn_config_makefile dlls
/mf3216 enable_mf3216
21590 wine_fn_config_makefile dlls
/mferror enable_mferror
21591 wine_fn_config_makefile dlls
/mfmediaengine enable_mfmediaengine
21592 wine_fn_config_makefile dlls
/mfmediaengine
/tests enable_tests
21593 wine_fn_config_makefile dlls
/mfplat enable_mfplat
21594 wine_fn_config_makefile dlls
/mfplat
/tests enable_tests
21595 wine_fn_config_makefile dlls
/mfplay enable_mfplay
21596 wine_fn_config_makefile dlls
/mfplay
/tests enable_tests
21597 wine_fn_config_makefile dlls
/mfreadwrite enable_mfreadwrite
21598 wine_fn_config_makefile dlls
/mfreadwrite
/tests enable_tests
21599 wine_fn_config_makefile dlls
/mfsrcsnk enable_mfsrcsnk
21600 wine_fn_config_makefile dlls
/mfsrcsnk
/tests enable_tests
21601 wine_fn_config_makefile dlls
/mgmtapi enable_mgmtapi
21602 wine_fn_config_makefile dlls
/midimap enable_midimap
21603 wine_fn_config_makefile dlls
/mlang enable_mlang
21604 wine_fn_config_makefile dlls
/mlang
/tests enable_tests
21605 wine_fn_config_makefile dlls
/mmcndmgr enable_mmcndmgr
21606 wine_fn_config_makefile dlls
/mmcndmgr
/tests enable_tests
21607 wine_fn_config_makefile dlls
/mmdevapi enable_mmdevapi
21608 wine_fn_config_makefile dlls
/mmdevapi
/tests enable_tests
21609 wine_fn_config_makefile dlls
/mmdevldr.vxd enable_win16
21610 wine_fn_config_makefile dlls
/mmsystem.dll16 enable_win16
21611 wine_fn_config_makefile dlls
/monodebg.vxd enable_win16
21612 wine_fn_config_makefile dlls
/mountmgr.sys enable_mountmgr_sys
21613 wine_fn_config_makefile dlls
/mouse.drv16 enable_win16
21614 wine_fn_config_makefile dlls
/mp3dmod enable_mp3dmod
21615 wine_fn_config_makefile dlls
/mp3dmod
/tests enable_tests
21616 wine_fn_config_makefile dlls
/mpr enable_mpr
21617 wine_fn_config_makefile dlls
/mpr
/tests enable_tests
21618 wine_fn_config_makefile dlls
/mprapi enable_mprapi
21619 wine_fn_config_makefile dlls
/msacm.dll16 enable_win16
21620 wine_fn_config_makefile dlls
/msacm32.drv enable_msacm32_drv
21621 wine_fn_config_makefile dlls
/msacm32 enable_msacm32
21622 wine_fn_config_makefile dlls
/msacm32
/tests enable_tests
21623 wine_fn_config_makefile dlls
/msado15 enable_msado15
21624 wine_fn_config_makefile dlls
/msado15
/tests enable_tests
21625 wine_fn_config_makefile dlls
/msadp32.acm enable_msadp32_acm
21626 wine_fn_config_makefile dlls
/msasn1 enable_msasn1
21627 wine_fn_config_makefile dlls
/msasn
1/tests enable_tests
21628 wine_fn_config_makefile dlls
/mscat32 enable_mscat32
21629 wine_fn_config_makefile dlls
/mscms enable_mscms
21630 wine_fn_config_makefile dlls
/mscms
/tests enable_tests
21631 wine_fn_config_makefile dlls
/mscoree enable_mscoree
21632 wine_fn_config_makefile dlls
/mscoree
/tests enable_tests
21633 wine_fn_config_makefile dlls
/mscorwks enable_mscorwks
21634 wine_fn_config_makefile dlls
/msctf enable_msctf
21635 wine_fn_config_makefile dlls
/msctf
/tests enable_tests
21636 wine_fn_config_makefile dlls
/msctfmonitor enable_msctfmonitor
21637 wine_fn_config_makefile dlls
/msctfp enable_msctfp
21638 wine_fn_config_makefile dlls
/msdaps enable_msdaps
21639 wine_fn_config_makefile dlls
/msdasql enable_msdasql
21640 wine_fn_config_makefile dlls
/msdasql
/tests enable_tests
21641 wine_fn_config_makefile dlls
/msdelta enable_msdelta
21642 wine_fn_config_makefile dlls
/msdmo enable_msdmo
21643 wine_fn_config_makefile dlls
/msdmo
/tests enable_tests
21644 wine_fn_config_makefile dlls
/msdrm enable_msdrm
21645 wine_fn_config_makefile dlls
/msftedit enable_msftedit
21646 wine_fn_config_makefile dlls
/msftedit
/tests enable_tests
21647 wine_fn_config_makefile dlls
/msg711.acm enable_msg711_acm
21648 wine_fn_config_makefile dlls
/msgsm32.acm enable_msgsm32_acm
21649 wine_fn_config_makefile dlls
/mshtml.tlb enable_mshtml_tlb
21650 wine_fn_config_makefile dlls
/mshtml enable_mshtml
21651 wine_fn_config_makefile dlls
/mshtml
/tests enable_tests
21652 wine_fn_config_makefile dlls
/msi enable_msi
21653 wine_fn_config_makefile dlls
/msi
/tests enable_tests
21654 wine_fn_config_makefile dlls
/msident enable_msident
21655 wine_fn_config_makefile dlls
/msimg32 enable_msimg32
21656 wine_fn_config_makefile dlls
/msimsg enable_msimsg
21657 wine_fn_config_makefile dlls
/msimtf enable_msimtf
21658 wine_fn_config_makefile dlls
/msisip enable_msisip
21659 wine_fn_config_makefile dlls
/msisys.ocx enable_msisys_ocx
21660 wine_fn_config_makefile dlls
/msls31 enable_msls31
21661 wine_fn_config_makefile dlls
/msnet32 enable_msnet32
21662 wine_fn_config_makefile dlls
/mspatcha enable_mspatcha
21663 wine_fn_config_makefile dlls
/mspatcha
/tests enable_tests
21664 wine_fn_config_makefile dlls
/msports enable_msports
21665 wine_fn_config_makefile dlls
/msrle32 enable_msrle32
21666 wine_fn_config_makefile dlls
/msrle32
/tests enable_tests
21667 wine_fn_config_makefile dlls
/msscript.ocx enable_msscript_ocx
21668 wine_fn_config_makefile dlls
/msscript.ocx
/tests enable_tests
21669 wine_fn_config_makefile dlls
/mssign32 enable_mssign32
21670 wine_fn_config_makefile dlls
/mssip32 enable_mssip32
21671 wine_fn_config_makefile dlls
/mstask enable_mstask
21672 wine_fn_config_makefile dlls
/mstask
/tests enable_tests
21673 wine_fn_config_makefile dlls
/msv1_0 enable_msv1_0
21674 wine_fn_config_makefile dlls
/msvcirt enable_msvcirt
21675 wine_fn_config_makefile dlls
/msvcirt
/tests enable_tests
21676 wine_fn_config_makefile dlls
/msvcm80 enable_msvcm80
21677 wine_fn_config_makefile dlls
/msvcm90 enable_msvcm90
21678 wine_fn_config_makefile dlls
/msvcp100 enable_msvcp100
21679 wine_fn_config_makefile dlls
/msvcp100
/tests enable_tests
21680 wine_fn_config_makefile dlls
/msvcp110 enable_msvcp110
21681 wine_fn_config_makefile dlls
/msvcp110
/tests enable_tests
21682 wine_fn_config_makefile dlls
/msvcp120 enable_msvcp120
21683 wine_fn_config_makefile dlls
/msvcp120
/tests enable_tests
21684 wine_fn_config_makefile dlls
/msvcp120_app enable_msvcp120_app
21685 wine_fn_config_makefile dlls
/msvcp140 enable_msvcp140
21686 wine_fn_config_makefile dlls
/msvcp140
/tests enable_tests
21687 wine_fn_config_makefile dlls
/msvcp140_1 enable_msvcp140_1
21688 wine_fn_config_makefile dlls
/msvcp140_
1/tests enable_tests
21689 wine_fn_config_makefile dlls
/msvcp140_2 enable_msvcp140_2
21690 wine_fn_config_makefile dlls
/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21691 wine_fn_config_makefile dlls
/msvcp140_atomic_wait
/tests enable_tests
21692 wine_fn_config_makefile dlls
/msvcp60 enable_msvcp60
21693 wine_fn_config_makefile dlls
/msvcp60
/tests enable_tests
21694 wine_fn_config_makefile dlls
/msvcp70 enable_msvcp70
21695 wine_fn_config_makefile dlls
/msvcp71 enable_msvcp71
21696 wine_fn_config_makefile dlls
/msvcp80 enable_msvcp80
21697 wine_fn_config_makefile dlls
/msvcp90 enable_msvcp90
21698 wine_fn_config_makefile dlls
/msvcp90
/tests enable_tests
21699 wine_fn_config_makefile dlls
/msvcp_win enable_msvcp_win
21700 wine_fn_config_makefile dlls
/msvcr100 enable_msvcr100
21701 wine_fn_config_makefile dlls
/msvcr100
/tests enable_tests
21702 wine_fn_config_makefile dlls
/msvcr110 enable_msvcr110
21703 wine_fn_config_makefile dlls
/msvcr110
/tests enable_tests
21704 wine_fn_config_makefile dlls
/msvcr120 enable_msvcr120
21705 wine_fn_config_makefile dlls
/msvcr120
/tests enable_tests
21706 wine_fn_config_makefile dlls
/msvcr120_app enable_msvcr120_app
21707 wine_fn_config_makefile dlls
/msvcr70 enable_msvcr70
21708 wine_fn_config_makefile dlls
/msvcr70
/tests enable_tests
21709 wine_fn_config_makefile dlls
/msvcr71 enable_msvcr71
21710 wine_fn_config_makefile dlls
/msvcr71
/tests enable_tests
21711 wine_fn_config_makefile dlls
/msvcr80 enable_msvcr80
21712 wine_fn_config_makefile dlls
/msvcr80
/tests enable_tests
21713 wine_fn_config_makefile dlls
/msvcr90 enable_msvcr90
21714 wine_fn_config_makefile dlls
/msvcr90
/tests enable_tests
21715 wine_fn_config_makefile dlls
/msvcrt enable_msvcrt
21716 wine_fn_config_makefile dlls
/msvcrt
/tests enable_tests
21717 wine_fn_config_makefile dlls
/msvcrt20 enable_msvcrt20
21718 wine_fn_config_makefile dlls
/msvcrt40 enable_msvcrt40
21719 wine_fn_config_makefile dlls
/msvcrtd enable_msvcrtd
21720 wine_fn_config_makefile dlls
/msvcrtd
/tests enable_tests
21721 wine_fn_config_makefile dlls
/msvfw32 enable_msvfw32
21722 wine_fn_config_makefile dlls
/msvfw32
/tests enable_tests
21723 wine_fn_config_makefile dlls
/msvidc32 enable_msvidc32
21724 wine_fn_config_makefile dlls
/msvideo.dll16 enable_win16
21725 wine_fn_config_makefile dlls
/mswsock enable_mswsock
21726 wine_fn_config_makefile dlls
/msxml enable_msxml
21727 wine_fn_config_makefile dlls
/msxml2 enable_msxml2
21728 wine_fn_config_makefile dlls
/msxml3 enable_msxml3
21729 wine_fn_config_makefile dlls
/msxml
3/tests enable_tests
21730 wine_fn_config_makefile dlls
/msxml4 enable_msxml4
21731 wine_fn_config_makefile dlls
/msxml6 enable_msxml6
21732 wine_fn_config_makefile dlls
/mtxdm enable_mtxdm
21733 wine_fn_config_makefile dlls
/ncrypt enable_ncrypt
21734 wine_fn_config_makefile dlls
/ncrypt
/tests enable_tests
21735 wine_fn_config_makefile dlls
/nddeapi enable_nddeapi
21736 wine_fn_config_makefile dlls
/ndis.sys enable_ndis_sys
21737 wine_fn_config_makefile dlls
/ndis.sys
/tests enable_tests
21738 wine_fn_config_makefile dlls
/netapi32 enable_netapi32
21739 wine_fn_config_makefile dlls
/netapi32
/tests enable_tests
21740 wine_fn_config_makefile dlls
/netcfgx enable_netcfgx
21741 wine_fn_config_makefile dlls
/netcfgx
/tests enable_tests
21742 wine_fn_config_makefile dlls
/netio.sys enable_netio_sys
21743 wine_fn_config_makefile dlls
/netprofm enable_netprofm
21744 wine_fn_config_makefile dlls
/netprofm
/tests enable_tests
21745 wine_fn_config_makefile dlls
/netutils enable_netutils
21746 wine_fn_config_makefile dlls
/newdev enable_newdev
21747 wine_fn_config_makefile dlls
/ninput enable_ninput
21748 wine_fn_config_makefile dlls
/ninput
/tests enable_tests
21749 wine_fn_config_makefile dlls
/normaliz enable_normaliz
21750 wine_fn_config_makefile dlls
/npmshtml enable_npmshtml
21751 wine_fn_config_makefile dlls
/npptools enable_npptools
21752 wine_fn_config_makefile dlls
/nsi enable_nsi
21753 wine_fn_config_makefile dlls
/nsi
/tests enable_tests
21754 wine_fn_config_makefile dlls
/nsiproxy.sys enable_nsiproxy_sys
21755 wine_fn_config_makefile dlls
/ntdll enable_ntdll
21756 wine_fn_config_makefile dlls
/ntdll
/tests enable_tests
21757 wine_fn_config_makefile dlls
/ntdsapi enable_ntdsapi
21758 wine_fn_config_makefile dlls
/ntdsapi
/tests enable_tests
21759 wine_fn_config_makefile dlls
/ntoskrnl.exe enable_ntoskrnl_exe
21760 wine_fn_config_makefile dlls
/ntoskrnl.exe
/tests enable_tests
21761 wine_fn_config_makefile dlls
/ntprint enable_ntprint
21762 wine_fn_config_makefile dlls
/ntprint
/tests enable_tests
21763 wine_fn_config_makefile dlls
/objsel enable_objsel
21764 wine_fn_config_makefile dlls
/odbc32 enable_odbc32
21765 wine_fn_config_makefile dlls
/odbcbcp enable_odbcbcp
21766 wine_fn_config_makefile dlls
/odbccp32 enable_odbccp32
21767 wine_fn_config_makefile dlls
/odbccp32
/tests enable_tests
21768 wine_fn_config_makefile dlls
/odbccu32 enable_odbccu32
21769 wine_fn_config_makefile dlls
/ole2.dll16 enable_win16
21770 wine_fn_config_makefile dlls
/ole2conv.dll16 enable_win16
21771 wine_fn_config_makefile dlls
/ole2disp.dll16 enable_win16
21772 wine_fn_config_makefile dlls
/ole2nls.dll16 enable_win16
21773 wine_fn_config_makefile dlls
/ole2prox.dll16 enable_win16
21774 wine_fn_config_makefile dlls
/ole2thk.dll16 enable_win16
21775 wine_fn_config_makefile dlls
/ole32 enable_ole32
21776 wine_fn_config_makefile dlls
/ole32
/tests enable_tests
21777 wine_fn_config_makefile dlls
/oleacc enable_oleacc
21778 wine_fn_config_makefile dlls
/oleacc
/tests enable_tests
21779 wine_fn_config_makefile dlls
/oleaut32 enable_oleaut32
21780 wine_fn_config_makefile dlls
/oleaut32
/tests enable_tests
21781 wine_fn_config_makefile dlls
/olecli.dll16 enable_win16
21782 wine_fn_config_makefile dlls
/olecli32 enable_olecli32
21783 wine_fn_config_makefile dlls
/oledb32 enable_oledb32
21784 wine_fn_config_makefile dlls
/oledb32
/tests enable_tests
21785 wine_fn_config_makefile dlls
/oledlg enable_oledlg
21786 wine_fn_config_makefile dlls
/oledlg
/tests enable_tests
21787 wine_fn_config_makefile dlls
/olepro32 enable_olepro32
21788 wine_fn_config_makefile dlls
/olesvr.dll16 enable_win16
21789 wine_fn_config_makefile dlls
/olesvr32 enable_olesvr32
21790 wine_fn_config_makefile dlls
/olethk32 enable_olethk32
21791 wine_fn_config_makefile dlls
/opcservices enable_opcservices
21792 wine_fn_config_makefile dlls
/opcservices
/tests enable_tests
21793 wine_fn_config_makefile dlls
/opencl enable_opencl
21794 wine_fn_config_makefile dlls
/opengl32 enable_opengl32
21795 wine_fn_config_makefile dlls
/opengl32
/tests enable_tests
21796 wine_fn_config_makefile dlls
/packager enable_packager
21797 wine_fn_config_makefile dlls
/packager
/tests enable_tests
21798 wine_fn_config_makefile dlls
/pdh enable_pdh
21799 wine_fn_config_makefile dlls
/pdh
/tests enable_tests
21800 wine_fn_config_makefile dlls
/photometadatahandler enable_photometadatahandler
21801 wine_fn_config_makefile dlls
/pidgen enable_pidgen
21802 wine_fn_config_makefile dlls
/powrprof enable_powrprof
21803 wine_fn_config_makefile dlls
/printui enable_printui
21804 wine_fn_config_makefile dlls
/prntvpt enable_prntvpt
21805 wine_fn_config_makefile dlls
/prntvpt
/tests enable_tests
21806 wine_fn_config_makefile dlls
/propsys enable_propsys
21807 wine_fn_config_makefile dlls
/propsys
/tests enable_tests
21808 wine_fn_config_makefile dlls
/psapi enable_psapi
21809 wine_fn_config_makefile dlls
/psapi
/tests enable_tests
21810 wine_fn_config_makefile dlls
/pstorec enable_pstorec
21811 wine_fn_config_makefile dlls
/pstorec
/tests enable_tests
21812 wine_fn_config_makefile dlls
/pwrshplugin enable_pwrshplugin
21813 wine_fn_config_makefile dlls
/qasf enable_qasf
21814 wine_fn_config_makefile dlls
/qasf
/tests enable_tests
21815 wine_fn_config_makefile dlls
/qcap enable_qcap
21816 wine_fn_config_makefile dlls
/qcap
/tests enable_tests
21817 wine_fn_config_makefile dlls
/qdvd enable_qdvd
21818 wine_fn_config_makefile dlls
/qdvd
/tests enable_tests
21819 wine_fn_config_makefile dlls
/qedit enable_qedit
21820 wine_fn_config_makefile dlls
/qedit
/tests enable_tests
21821 wine_fn_config_makefile dlls
/qmgr enable_qmgr
21822 wine_fn_config_makefile dlls
/qmgr
/tests enable_tests
21823 wine_fn_config_makefile dlls
/qmgrprxy enable_qmgrprxy
21824 wine_fn_config_makefile dlls
/quartz enable_quartz
21825 wine_fn_config_makefile dlls
/quartz
/tests enable_tests
21826 wine_fn_config_makefile dlls
/query enable_query
21827 wine_fn_config_makefile dlls
/qwave enable_qwave
21828 wine_fn_config_makefile dlls
/qwave
/tests enable_tests
21829 wine_fn_config_makefile dlls
/rasapi16.dll16 enable_win16
21830 wine_fn_config_makefile dlls
/rasapi32 enable_rasapi32
21831 wine_fn_config_makefile dlls
/rasapi32
/tests enable_tests
21832 wine_fn_config_makefile dlls
/rasdlg enable_rasdlg
21833 wine_fn_config_makefile dlls
/regapi enable_regapi
21834 wine_fn_config_makefile dlls
/resutils enable_resutils
21835 wine_fn_config_makefile dlls
/riched20 enable_riched20
21836 wine_fn_config_makefile dlls
/riched20
/tests enable_tests
21837 wine_fn_config_makefile dlls
/riched32 enable_riched32
21838 wine_fn_config_makefile dlls
/riched32
/tests enable_tests
21839 wine_fn_config_makefile dlls
/rpcrt4 enable_rpcrt4
21840 wine_fn_config_makefile dlls
/rpcrt
4/tests enable_tests
21841 wine_fn_config_makefile dlls
/rsabase enable_rsabase
21842 wine_fn_config_makefile dlls
/rsaenh enable_rsaenh
21843 wine_fn_config_makefile dlls
/rsaenh
/tests enable_tests
21844 wine_fn_config_makefile dlls
/rstrtmgr enable_rstrtmgr
21845 wine_fn_config_makefile dlls
/rtutils enable_rtutils
21846 wine_fn_config_makefile dlls
/rtworkq enable_rtworkq
21847 wine_fn_config_makefile dlls
/rtworkq
/tests enable_tests
21848 wine_fn_config_makefile dlls
/samlib enable_samlib
21849 wine_fn_config_makefile dlls
/sane.ds enable_sane_ds
21850 wine_fn_config_makefile dlls
/sapi enable_sapi
21851 wine_fn_config_makefile dlls
/sapi
/tests enable_tests
21852 wine_fn_config_makefile dlls
/sas enable_sas
21853 wine_fn_config_makefile dlls
/scarddlg enable_scarddlg
21854 wine_fn_config_makefile dlls
/sccbase enable_sccbase
21855 wine_fn_config_makefile dlls
/schannel enable_schannel
21856 wine_fn_config_makefile dlls
/schannel
/tests enable_tests
21857 wine_fn_config_makefile dlls
/schedsvc enable_schedsvc
21858 wine_fn_config_makefile dlls
/schedsvc
/tests enable_tests
21859 wine_fn_config_makefile dlls
/scrobj enable_scrobj
21860 wine_fn_config_makefile dlls
/scrobj
/tests enable_tests
21861 wine_fn_config_makefile dlls
/scrrun enable_scrrun
21862 wine_fn_config_makefile dlls
/scrrun
/tests enable_tests
21863 wine_fn_config_makefile dlls
/scsiport.sys enable_scsiport_sys
21864 wine_fn_config_makefile dlls
/sechost enable_sechost
21865 wine_fn_config_makefile dlls
/secur32 enable_secur32
21866 wine_fn_config_makefile dlls
/secur32
/tests enable_tests
21867 wine_fn_config_makefile dlls
/security enable_security
21868 wine_fn_config_makefile dlls
/sensapi enable_sensapi
21869 wine_fn_config_makefile dlls
/serialui enable_serialui
21870 wine_fn_config_makefile dlls
/serialui
/tests enable_tests
21871 wine_fn_config_makefile dlls
/setupapi enable_setupapi
21872 wine_fn_config_makefile dlls
/setupapi
/tests enable_tests
21873 wine_fn_config_makefile dlls
/setupx.dll16 enable_win16
21874 wine_fn_config_makefile dlls
/sfc enable_sfc
21875 wine_fn_config_makefile dlls
/sfc_os enable_sfc_os
21876 wine_fn_config_makefile dlls
/shcore enable_shcore
21877 wine_fn_config_makefile dlls
/shcore
/tests enable_tests
21878 wine_fn_config_makefile dlls
/shdoclc enable_shdoclc
21879 wine_fn_config_makefile dlls
/shdocvw enable_shdocvw
21880 wine_fn_config_makefile dlls
/shdocvw
/tests enable_tests
21881 wine_fn_config_makefile dlls
/shell.dll16 enable_win16
21882 wine_fn_config_makefile dlls
/shell32 enable_shell32
21883 wine_fn_config_makefile dlls
/shell32
/tests enable_tests
21884 wine_fn_config_makefile dlls
/shfolder enable_shfolder
21885 wine_fn_config_makefile dlls
/shlwapi enable_shlwapi
21886 wine_fn_config_makefile dlls
/shlwapi
/tests enable_tests
21887 wine_fn_config_makefile dlls
/slbcsp enable_slbcsp
21888 wine_fn_config_makefile dlls
/slc enable_slc
21889 wine_fn_config_makefile dlls
/slc
/tests enable_tests
21890 wine_fn_config_makefile dlls
/snmpapi enable_snmpapi
21891 wine_fn_config_makefile dlls
/snmpapi
/tests enable_tests
21892 wine_fn_config_makefile dlls
/softpub enable_softpub
21893 wine_fn_config_makefile dlls
/sound.drv16 enable_win16
21894 wine_fn_config_makefile dlls
/spoolss enable_spoolss
21895 wine_fn_config_makefile dlls
/spoolss
/tests enable_tests
21896 wine_fn_config_makefile dlls
/sppc enable_sppc
21897 wine_fn_config_makefile dlls
/srclient enable_srclient
21898 wine_fn_config_makefile dlls
/srvcli enable_srvcli
21899 wine_fn_config_makefile dlls
/sspicli enable_sspicli
21900 wine_fn_config_makefile dlls
/stdole2.tlb enable_stdole2_tlb
21901 wine_fn_config_makefile dlls
/stdole32.tlb enable_stdole32_tlb
21902 wine_fn_config_makefile dlls
/sti enable_sti
21903 wine_fn_config_makefile dlls
/sti
/tests enable_tests
21904 wine_fn_config_makefile dlls
/storage.dll16 enable_win16
21905 wine_fn_config_makefile dlls
/stress.dll16 enable_win16
21906 wine_fn_config_makefile dlls
/strmdll enable_strmdll
21907 wine_fn_config_makefile dlls
/svrapi enable_svrapi
21908 wine_fn_config_makefile dlls
/sxs enable_sxs
21909 wine_fn_config_makefile dlls
/sxs
/tests enable_tests
21910 wine_fn_config_makefile dlls
/system.drv16 enable_win16
21911 wine_fn_config_makefile dlls
/t2embed enable_t2embed
21912 wine_fn_config_makefile dlls
/t2embed
/tests enable_tests
21913 wine_fn_config_makefile dlls
/tapi32 enable_tapi32
21914 wine_fn_config_makefile dlls
/tapi32
/tests enable_tests
21915 wine_fn_config_makefile dlls
/taskschd enable_taskschd
21916 wine_fn_config_makefile dlls
/taskschd
/tests enable_tests
21917 wine_fn_config_makefile dlls
/tbs enable_tbs
21918 wine_fn_config_makefile dlls
/tdh enable_tdh
21919 wine_fn_config_makefile dlls
/tdi.sys enable_tdi_sys
21920 wine_fn_config_makefile dlls
/threadpoolwinrt enable_threadpoolwinrt
21921 wine_fn_config_makefile dlls
/threadpoolwinrt
/tests enable_tests
21922 wine_fn_config_makefile dlls
/toolhelp.dll16 enable_win16
21923 wine_fn_config_makefile dlls
/traffic enable_traffic
21924 wine_fn_config_makefile dlls
/twain.dll16 enable_win16
21925 wine_fn_config_makefile dlls
/twain_32 enable_twain_32
21926 wine_fn_config_makefile dlls
/twain_32
/tests enable_tests
21927 wine_fn_config_makefile dlls
/typelib.dll16 enable_win16
21928 wine_fn_config_makefile dlls
/tzres enable_tzres
21929 wine_fn_config_makefile dlls
/ucrtbase enable_ucrtbase
21930 wine_fn_config_makefile dlls
/ucrtbase
/tests enable_tests
21931 wine_fn_config_makefile dlls
/uianimation enable_uianimation
21932 wine_fn_config_makefile dlls
/uianimation
/tests enable_tests
21933 wine_fn_config_makefile dlls
/uiautomationcore enable_uiautomationcore
21934 wine_fn_config_makefile dlls
/uiautomationcore
/tests enable_tests
21935 wine_fn_config_makefile dlls
/uiribbon enable_uiribbon
21936 wine_fn_config_makefile dlls
/unicows enable_unicows
21937 wine_fn_config_makefile dlls
/updspapi enable_updspapi
21938 wine_fn_config_makefile dlls
/url enable_url
21939 wine_fn_config_makefile dlls
/urlmon enable_urlmon
21940 wine_fn_config_makefile dlls
/urlmon
/tests enable_tests
21941 wine_fn_config_makefile dlls
/usbd.sys enable_usbd_sys
21942 wine_fn_config_makefile dlls
/user.exe16 enable_win16
21943 wine_fn_config_makefile dlls
/user32 enable_user32
21944 wine_fn_config_makefile dlls
/user32
/tests enable_tests
21945 wine_fn_config_makefile dlls
/userenv enable_userenv
21946 wine_fn_config_makefile dlls
/userenv
/tests enable_tests
21947 wine_fn_config_makefile dlls
/usp10 enable_usp10
21948 wine_fn_config_makefile dlls
/usp10
/tests enable_tests
21949 wine_fn_config_makefile dlls
/utildll enable_utildll
21950 wine_fn_config_makefile dlls
/uxtheme enable_uxtheme
21951 wine_fn_config_makefile dlls
/uxtheme
/tests enable_tests
21952 wine_fn_config_makefile dlls
/vbscript enable_vbscript
21953 wine_fn_config_makefile dlls
/vbscript
/tests enable_tests
21954 wine_fn_config_makefile dlls
/vcomp enable_vcomp
21955 wine_fn_config_makefile dlls
/vcomp
/tests enable_tests
21956 wine_fn_config_makefile dlls
/vcomp100 enable_vcomp100
21957 wine_fn_config_makefile dlls
/vcomp110 enable_vcomp110
21958 wine_fn_config_makefile dlls
/vcomp110
/tests enable_tests
21959 wine_fn_config_makefile dlls
/vcomp120 enable_vcomp120
21960 wine_fn_config_makefile dlls
/vcomp140 enable_vcomp140
21961 wine_fn_config_makefile dlls
/vcomp90 enable_vcomp90
21962 wine_fn_config_makefile dlls
/vcruntime140 enable_vcruntime140
21963 wine_fn_config_makefile dlls
/vcruntime140_1 enable_vcruntime140_1
21964 wine_fn_config_makefile dlls
/vdhcp.vxd enable_win16
21965 wine_fn_config_makefile dlls
/vdmdbg enable_vdmdbg
21966 wine_fn_config_makefile dlls
/ver.dll16 enable_win16
21967 wine_fn_config_makefile dlls
/version enable_version
21968 wine_fn_config_makefile dlls
/version
/tests enable_tests
21969 wine_fn_config_makefile dlls
/vga enable_vga
21970 wine_fn_config_makefile dlls
/virtdisk enable_virtdisk
21971 wine_fn_config_makefile dlls
/virtdisk
/tests enable_tests
21972 wine_fn_config_makefile dlls
/vmm.vxd enable_win16
21973 wine_fn_config_makefile dlls
/vnbt.vxd enable_win16
21974 wine_fn_config_makefile dlls
/vnetbios.vxd enable_win16
21975 wine_fn_config_makefile dlls
/vssapi enable_vssapi
21976 wine_fn_config_makefile dlls
/vtdapi.vxd enable_win16
21977 wine_fn_config_makefile dlls
/vulkan-1 enable_vulkan_1
21978 wine_fn_config_makefile dlls
/vulkan-
1/tests enable_tests
21979 wine_fn_config_makefile dlls
/vwin32.vxd enable_win16
21980 wine_fn_config_makefile dlls
/w32skrnl enable_win16
21981 wine_fn_config_makefile dlls
/w32sys.dll16 enable_win16
21982 wine_fn_config_makefile dlls
/wbemdisp enable_wbemdisp
21983 wine_fn_config_makefile dlls
/wbemdisp
/tests enable_tests
21984 wine_fn_config_makefile dlls
/wbemprox enable_wbemprox
21985 wine_fn_config_makefile dlls
/wbemprox
/tests enable_tests
21986 wine_fn_config_makefile dlls
/wdscore enable_wdscore
21987 wine_fn_config_makefile dlls
/webservices enable_webservices
21988 wine_fn_config_makefile dlls
/webservices
/tests enable_tests
21989 wine_fn_config_makefile dlls
/websocket enable_websocket
21990 wine_fn_config_makefile dlls
/wer enable_wer
21991 wine_fn_config_makefile dlls
/wer
/tests enable_tests
21992 wine_fn_config_makefile dlls
/wevtapi enable_wevtapi
21993 wine_fn_config_makefile dlls
/wevtapi
/tests enable_tests
21994 wine_fn_config_makefile dlls
/wevtsvc enable_wevtsvc
21995 wine_fn_config_makefile dlls
/wiaservc enable_wiaservc
21996 wine_fn_config_makefile dlls
/wiaservc
/tests enable_tests
21997 wine_fn_config_makefile dlls
/wimgapi enable_wimgapi
21998 wine_fn_config_makefile dlls
/win32s16.dll16 enable_win16
21999 wine_fn_config_makefile dlls
/win32u enable_win32u
22000 wine_fn_config_makefile dlls
/win32u
/tests enable_tests
22001 wine_fn_config_makefile dlls
/win87em.dll16 enable_win16
22002 wine_fn_config_makefile dlls
/winaspi.dll16 enable_win16
22003 wine_fn_config_makefile dlls
/windebug.dll16 enable_win16
22004 wine_fn_config_makefile dlls
/windows.devices.enumeration enable_windows_devices_enumeration
22005 wine_fn_config_makefile dlls
/windows.devices.enumeration
/tests enable_tests
22006 wine_fn_config_makefile dlls
/windows.gaming.input enable_windows_gaming_input
22007 wine_fn_config_makefile dlls
/windows.gaming.input
/tests enable_tests
22008 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22009 wine_fn_config_makefile dlls
/windows.gaming.ui.gamebar
/tests enable_tests
22010 wine_fn_config_makefile dlls
/windows.globalization enable_windows_globalization
22011 wine_fn_config_makefile dlls
/windows.globalization
/tests enable_tests
22012 wine_fn_config_makefile dlls
/windows.media.devices enable_windows_media_devices
22013 wine_fn_config_makefile dlls
/windows.media.devices
/tests enable_tests
22014 wine_fn_config_makefile dlls
/windows.media.speech enable_windows_media_speech
22015 wine_fn_config_makefile dlls
/windows.media.speech
/tests enable_tests
22016 wine_fn_config_makefile dlls
/windows.networking enable_windows_networking
22017 wine_fn_config_makefile dlls
/windowscodecs enable_windowscodecs
22018 wine_fn_config_makefile dlls
/windowscodecs
/tests enable_tests
22019 wine_fn_config_makefile dlls
/windowscodecsext enable_windowscodecsext
22020 wine_fn_config_makefile dlls
/windowscodecsext
/tests enable_tests
22021 wine_fn_config_makefile dlls
/winealsa.drv enable_winealsa_drv
22022 wine_fn_config_makefile dlls
/wineandroid.drv enable_wineandroid_drv
22023 wine_fn_config_makefile dlls
/winebus.sys enable_winebus_sys
22024 wine_fn_config_makefile dlls
/winecoreaudio.drv enable_winecoreaudio_drv
22025 wine_fn_config_makefile dlls
/winecrt0 enable_winecrt0
22026 wine_fn_config_makefile dlls
/wined3d enable_wined3d
22027 wine_fn_config_makefile dlls
/winegstreamer enable_winegstreamer
22028 wine_fn_config_makefile dlls
/winehid.sys enable_winehid_sys
22029 wine_fn_config_makefile dlls
/winemac.drv enable_winemac_drv
22030 wine_fn_config_makefile dlls
/winemapi enable_winemapi
22031 wine_fn_config_makefile dlls
/wineoss.drv enable_wineoss_drv
22032 wine_fn_config_makefile dlls
/wineps.drv enable_wineps_drv
22033 wine_fn_config_makefile dlls
/wineps16.drv16 enable_win16
22034 wine_fn_config_makefile dlls
/winepulse.drv enable_winepulse_drv
22035 wine_fn_config_makefile dlls
/wineusb.sys enable_wineusb_sys
22036 wine_fn_config_makefile dlls
/winevulkan enable_winevulkan
22037 wine_fn_config_makefile dlls
/winex11.drv enable_winex11_drv
22038 wine_fn_config_makefile dlls
/winexinput.sys enable_winexinput_sys
22039 wine_fn_config_makefile dlls
/wing.dll16 enable_win16
22040 wine_fn_config_makefile dlls
/wing32 enable_wing32
22041 wine_fn_config_makefile dlls
/winhttp enable_winhttp
22042 wine_fn_config_makefile dlls
/winhttp
/tests enable_tests
22043 wine_fn_config_makefile dlls
/wininet enable_wininet
22044 wine_fn_config_makefile dlls
/wininet
/tests enable_tests
22045 wine_fn_config_makefile dlls
/winmm enable_winmm
22046 wine_fn_config_makefile dlls
/winmm
/tests enable_tests
22047 wine_fn_config_makefile dlls
/winnls.dll16 enable_win16
22048 wine_fn_config_makefile dlls
/winnls32 enable_winnls32
22049 wine_fn_config_makefile dlls
/winscard enable_winscard
22050 wine_fn_config_makefile dlls
/winsock.dll16 enable_win16
22051 wine_fn_config_makefile dlls
/winspool.drv enable_winspool_drv
22052 wine_fn_config_makefile dlls
/winspool.drv
/tests enable_tests
22053 wine_fn_config_makefile dlls
/winsta enable_winsta
22054 wine_fn_config_makefile dlls
/wintab.dll16 enable_win16
22055 wine_fn_config_makefile dlls
/wintab32 enable_wintab32
22056 wine_fn_config_makefile dlls
/wintab32
/tests enable_tests
22057 wine_fn_config_makefile dlls
/wintrust enable_wintrust
22058 wine_fn_config_makefile dlls
/wintrust
/tests enable_tests
22059 wine_fn_config_makefile dlls
/wintypes enable_wintypes
22060 wine_fn_config_makefile dlls
/wintypes
/tests enable_tests
22061 wine_fn_config_makefile dlls
/winusb enable_winusb
22062 wine_fn_config_makefile dlls
/wlanapi enable_wlanapi
22063 wine_fn_config_makefile dlls
/wlanapi
/tests enable_tests
22064 wine_fn_config_makefile dlls
/wlanui enable_wlanui
22065 wine_fn_config_makefile dlls
/wldap32 enable_wldap32
22066 wine_fn_config_makefile dlls
/wldap32
/tests enable_tests
22067 wine_fn_config_makefile dlls
/wmasf enable_wmasf
22068 wine_fn_config_makefile dlls
/wmi enable_wmi
22069 wine_fn_config_makefile dlls
/wmiutils enable_wmiutils
22070 wine_fn_config_makefile dlls
/wmiutils
/tests enable_tests
22071 wine_fn_config_makefile dlls
/wmp enable_wmp
22072 wine_fn_config_makefile dlls
/wmp
/tests enable_tests
22073 wine_fn_config_makefile dlls
/wmphoto enable_wmphoto
22074 wine_fn_config_makefile dlls
/wmvcore enable_wmvcore
22075 wine_fn_config_makefile dlls
/wmvcore
/tests enable_tests
22076 wine_fn_config_makefile dlls
/wnaspi32 enable_wnaspi32
22077 wine_fn_config_makefile dlls
/wow32 enable_win16
22078 wine_fn_config_makefile dlls
/wow64 enable_wow64
22079 wine_fn_config_makefile dlls
/wow64cpu enable_wow64cpu
22080 wine_fn_config_makefile dlls
/wow64win enable_wow64win
22081 wine_fn_config_makefile dlls
/wpc enable_wpc
22082 wine_fn_config_makefile dlls
/wpc
/tests enable_tests
22083 wine_fn_config_makefile dlls
/wpcap enable_wpcap
22084 wine_fn_config_makefile dlls
/ws2_32 enable_ws2_32
22085 wine_fn_config_makefile dlls
/ws2_32
/tests enable_tests
22086 wine_fn_config_makefile dlls
/wsdapi enable_wsdapi
22087 wine_fn_config_makefile dlls
/wsdapi
/tests enable_tests
22088 wine_fn_config_makefile dlls
/wshom.ocx enable_wshom_ocx
22089 wine_fn_config_makefile dlls
/wshom.ocx
/tests enable_tests
22090 wine_fn_config_makefile dlls
/wsnmp32 enable_wsnmp32
22091 wine_fn_config_makefile dlls
/wsnmp32
/tests enable_tests
22092 wine_fn_config_makefile dlls
/wsock32 enable_wsock32
22093 wine_fn_config_makefile dlls
/wtsapi32 enable_wtsapi32
22094 wine_fn_config_makefile dlls
/wtsapi32
/tests enable_tests
22095 wine_fn_config_makefile dlls
/wuapi enable_wuapi
22096 wine_fn_config_makefile dlls
/wuaueng enable_wuaueng
22097 wine_fn_config_makefile dlls
/x3daudio1_0 enable_x3daudio1_0
22098 wine_fn_config_makefile dlls
/x3daudio1_1 enable_x3daudio1_1
22099 wine_fn_config_makefile dlls
/x3daudio1_2 enable_x3daudio1_2
22100 wine_fn_config_makefile dlls
/x3daudio1_3 enable_x3daudio1_3
22101 wine_fn_config_makefile dlls
/x3daudio1_4 enable_x3daudio1_4
22102 wine_fn_config_makefile dlls
/x3daudio1_5 enable_x3daudio1_5
22103 wine_fn_config_makefile dlls
/x3daudio1_6 enable_x3daudio1_6
22104 wine_fn_config_makefile dlls
/x3daudio1_7 enable_x3daudio1_7
22105 wine_fn_config_makefile dlls
/xactengine2_0 enable_xactengine2_0
22106 wine_fn_config_makefile dlls
/xactengine2_4 enable_xactengine2_4
22107 wine_fn_config_makefile dlls
/xactengine2_7 enable_xactengine2_7
22108 wine_fn_config_makefile dlls
/xactengine2_9 enable_xactengine2_9
22109 wine_fn_config_makefile dlls
/xactengine3_0 enable_xactengine3_0
22110 wine_fn_config_makefile dlls
/xactengine3_1 enable_xactengine3_1
22111 wine_fn_config_makefile dlls
/xactengine3_2 enable_xactengine3_2
22112 wine_fn_config_makefile dlls
/xactengine3_3 enable_xactengine3_3
22113 wine_fn_config_makefile dlls
/xactengine3_4 enable_xactengine3_4
22114 wine_fn_config_makefile dlls
/xactengine3_5 enable_xactengine3_5
22115 wine_fn_config_makefile dlls
/xactengine3_6 enable_xactengine3_6
22116 wine_fn_config_makefile dlls
/xactengine3_7 enable_xactengine3_7
22117 wine_fn_config_makefile dlls
/xactengine3_
7/tests enable_tests
22118 wine_fn_config_makefile dlls
/xapofx1_1 enable_xapofx1_1
22119 wine_fn_config_makefile dlls
/xapofx1_2 enable_xapofx1_2
22120 wine_fn_config_makefile dlls
/xapofx1_3 enable_xapofx1_3
22121 wine_fn_config_makefile dlls
/xapofx1_4 enable_xapofx1_4
22122 wine_fn_config_makefile dlls
/xapofx1_5 enable_xapofx1_5
22123 wine_fn_config_makefile dlls
/xaudio2_0 enable_xaudio2_0
22124 wine_fn_config_makefile dlls
/xaudio2_1 enable_xaudio2_1
22125 wine_fn_config_makefile dlls
/xaudio2_2 enable_xaudio2_2
22126 wine_fn_config_makefile dlls
/xaudio2_3 enable_xaudio2_3
22127 wine_fn_config_makefile dlls
/xaudio2_4 enable_xaudio2_4
22128 wine_fn_config_makefile dlls
/xaudio2_5 enable_xaudio2_5
22129 wine_fn_config_makefile dlls
/xaudio2_6 enable_xaudio2_6
22130 wine_fn_config_makefile dlls
/xaudio2_7 enable_xaudio2_7
22131 wine_fn_config_makefile dlls
/xaudio2_
7/tests enable_tests
22132 wine_fn_config_makefile dlls
/xaudio2_8 enable_xaudio2_8
22133 wine_fn_config_makefile dlls
/xaudio2_9 enable_xaudio2_9
22134 wine_fn_config_makefile dlls
/xinput1_1 enable_xinput1_1
22135 wine_fn_config_makefile dlls
/xinput1_2 enable_xinput1_2
22136 wine_fn_config_makefile dlls
/xinput1_3 enable_xinput1_3
22137 wine_fn_config_makefile dlls
/xinput1_
3/tests enable_tests
22138 wine_fn_config_makefile dlls
/xinput1_4 enable_xinput1_4
22139 wine_fn_config_makefile dlls
/xinput9_1_0 enable_xinput9_1_0
22140 wine_fn_config_makefile dlls
/xmllite enable_xmllite
22141 wine_fn_config_makefile dlls
/xmllite
/tests enable_tests
22142 wine_fn_config_makefile dlls
/xolehlp enable_xolehlp
22143 wine_fn_config_makefile dlls
/xpsprint enable_xpsprint
22144 wine_fn_config_makefile dlls
/xpssvcs enable_xpssvcs
22145 wine_fn_config_makefile fonts enable_fonts
22146 wine_fn_config_makefile include enable_include
22147 wine_fn_config_makefile libs
/adsiid enable_adsiid
22148 wine_fn_config_makefile libs
/dmoguids enable_dmoguids
22149 wine_fn_config_makefile libs
/dxerr8 enable_dxerr8
22150 wine_fn_config_makefile libs
/dxerr9 enable_dxerr9
22151 wine_fn_config_makefile libs
/dxguid enable_dxguid
22152 wine_fn_config_makefile libs
/faudio enable_faudio
22153 wine_fn_config_makefile libs
/gsm enable_gsm
22154 wine_fn_config_makefile libs
/jpeg enable_jpeg
22155 wine_fn_config_makefile libs
/jxr enable_jxr
22156 wine_fn_config_makefile libs
/lcms2 enable_lcms2
22157 wine_fn_config_makefile libs
/mfuuid enable_mfuuid
22158 wine_fn_config_makefile libs
/mpg123 enable_mpg123
22159 wine_fn_config_makefile libs
/png enable_png
22160 wine_fn_config_makefile libs
/strmbase enable_strmbase
22161 wine_fn_config_makefile libs
/strmiids enable_strmiids
22162 wine_fn_config_makefile libs
/tiff enable_tiff
22163 wine_fn_config_makefile libs
/uuid enable_uuid
22164 wine_fn_config_makefile libs
/vkd3d enable_vkd3d
22165 wine_fn_config_makefile libs
/wbemuuid enable_wbemuuid
22166 wine_fn_config_makefile libs
/wine enable_wine
22167 wine_fn_config_makefile libs
/wmcodecdspuuid enable_wmcodecdspuuid
22168 wine_fn_config_makefile libs
/xml2 enable_xml2
22169 wine_fn_config_makefile libs
/xslt enable_xslt
22170 wine_fn_config_makefile libs
/zlib enable_zlib
22171 wine_fn_config_makefile loader enable_loader
22172 wine_fn_config_makefile nls enable_nls
22173 wine_fn_config_makefile po enable_po
22174 wine_fn_config_makefile programs
/arp enable_arp
22175 wine_fn_config_makefile programs
/aspnet_regiis enable_aspnet_regiis
22176 wine_fn_config_makefile programs
/attrib enable_attrib
22177 wine_fn_config_makefile programs
/cabarc enable_cabarc
22178 wine_fn_config_makefile programs
/cacls enable_cacls
22179 wine_fn_config_makefile programs
/certutil enable_certutil
22180 wine_fn_config_makefile programs
/chcp.com enable_chcp_com
22181 wine_fn_config_makefile programs
/clock enable_clock
22182 wine_fn_config_makefile programs
/cmd enable_cmd
22183 wine_fn_config_makefile programs
/cmd
/tests enable_tests
22184 wine_fn_config_makefile programs
/conhost enable_conhost
22185 wine_fn_config_makefile programs
/conhost
/tests enable_tests
22186 wine_fn_config_makefile programs
/control enable_control
22187 wine_fn_config_makefile programs
/cscript enable_cscript
22188 wine_fn_config_makefile programs
/dism enable_dism
22189 wine_fn_config_makefile programs
/dllhost enable_dllhost
22190 wine_fn_config_makefile programs
/dplaysvr enable_dplaysvr
22191 wine_fn_config_makefile programs
/dpnsvr enable_dpnsvr
22192 wine_fn_config_makefile programs
/dpvsetup enable_dpvsetup
22193 wine_fn_config_makefile programs
/dxdiag enable_dxdiag
22194 wine_fn_config_makefile programs
/eject enable_eject
22195 wine_fn_config_makefile programs
/expand enable_expand
22196 wine_fn_config_makefile programs
/explorer enable_explorer
22197 wine_fn_config_makefile programs
/extrac32 enable_extrac32
22198 wine_fn_config_makefile programs
/fc enable_fc
22199 wine_fn_config_makefile programs
/find enable_find
22200 wine_fn_config_makefile programs
/find
/tests enable_tests
22201 wine_fn_config_makefile programs
/findstr enable_findstr
22202 wine_fn_config_makefile programs
/fsutil enable_fsutil
22203 wine_fn_config_makefile programs
/fsutil
/tests enable_tests
22204 wine_fn_config_makefile programs
/hh enable_hh
22205 wine_fn_config_makefile programs
/hostname enable_hostname
22206 wine_fn_config_makefile programs
/icacls enable_icacls
22207 wine_fn_config_makefile programs
/icinfo enable_icinfo
22208 wine_fn_config_makefile programs
/iexplore enable_iexplore
22209 wine_fn_config_makefile programs
/ipconfig enable_ipconfig
22210 wine_fn_config_makefile programs
/lodctr enable_lodctr
22211 wine_fn_config_makefile programs
/mofcomp enable_mofcomp
22212 wine_fn_config_makefile programs
/mshta enable_mshta
22213 wine_fn_config_makefile programs
/msidb enable_msidb
22214 wine_fn_config_makefile programs
/msiexec enable_msiexec
22215 wine_fn_config_makefile programs
/msinfo32 enable_msinfo32
22216 wine_fn_config_makefile programs
/net enable_net
22217 wine_fn_config_makefile programs
/netsh enable_netsh
22218 wine_fn_config_makefile programs
/netstat enable_netstat
22219 wine_fn_config_makefile programs
/ngen enable_ngen
22220 wine_fn_config_makefile programs
/notepad enable_notepad
22221 wine_fn_config_makefile programs
/oleview enable_oleview
22222 wine_fn_config_makefile programs
/ping enable_ping
22223 wine_fn_config_makefile programs
/plugplay enable_plugplay
22224 wine_fn_config_makefile programs
/powershell enable_powershell
22225 wine_fn_config_makefile programs
/presentationfontcache enable_presentationfontcache
22226 wine_fn_config_makefile programs
/progman enable_progman
22227 wine_fn_config_makefile programs
/reg enable_reg
22228 wine_fn_config_makefile programs
/reg
/tests enable_tests
22229 wine_fn_config_makefile programs
/regasm enable_regasm
22230 wine_fn_config_makefile programs
/regedit enable_regedit
22231 wine_fn_config_makefile programs
/regedit
/tests enable_tests
22232 wine_fn_config_makefile programs
/regini enable_regini
22233 wine_fn_config_makefile programs
/regsvcs enable_regsvcs
22234 wine_fn_config_makefile programs
/regsvr32 enable_regsvr32
22235 wine_fn_config_makefile programs
/robocopy enable_robocopy
22236 wine_fn_config_makefile programs
/rpcss enable_rpcss
22237 wine_fn_config_makefile programs
/rundll.exe16 enable_win16
22238 wine_fn_config_makefile programs
/rundll32 enable_rundll32
22239 wine_fn_config_makefile programs
/sc enable_sc
22240 wine_fn_config_makefile programs
/sc
/tests enable_tests
22241 wine_fn_config_makefile programs
/schtasks enable_schtasks
22242 wine_fn_config_makefile programs
/schtasks
/tests enable_tests
22243 wine_fn_config_makefile programs
/sdbinst enable_sdbinst
22244 wine_fn_config_makefile programs
/secedit enable_secedit
22245 wine_fn_config_makefile programs
/servicemodelreg enable_servicemodelreg
22246 wine_fn_config_makefile programs
/services enable_services
22247 wine_fn_config_makefile programs
/services
/tests enable_tests
22248 wine_fn_config_makefile programs
/setx enable_setx
22249 wine_fn_config_makefile programs
/shutdown enable_shutdown
22250 wine_fn_config_makefile programs
/spoolsv enable_spoolsv
22251 wine_fn_config_makefile programs
/start enable_start
22252 wine_fn_config_makefile programs
/subst enable_subst
22253 wine_fn_config_makefile programs
/svchost enable_svchost
22254 wine_fn_config_makefile programs
/systeminfo enable_systeminfo
22255 wine_fn_config_makefile programs
/taskkill enable_taskkill
22256 wine_fn_config_makefile programs
/tasklist enable_tasklist
22257 wine_fn_config_makefile programs
/taskmgr enable_taskmgr
22258 wine_fn_config_makefile programs
/termsv enable_termsv
22259 wine_fn_config_makefile programs
/uninstaller enable_uninstaller
22260 wine_fn_config_makefile programs
/unlodctr enable_unlodctr
22261 wine_fn_config_makefile programs
/view enable_view
22262 wine_fn_config_makefile programs
/wevtutil enable_wevtutil
22263 wine_fn_config_makefile programs
/where enable_where
22264 wine_fn_config_makefile programs
/whoami enable_whoami
22265 wine_fn_config_makefile programs
/wineboot enable_wineboot
22266 wine_fn_config_makefile programs
/winebrowser enable_winebrowser
22267 wine_fn_config_makefile programs
/winecfg enable_winecfg
22268 wine_fn_config_makefile programs
/wineconsole enable_wineconsole
22269 wine_fn_config_makefile programs
/winedbg enable_winedbg
22270 wine_fn_config_makefile programs
/winedevice enable_winedevice
22271 wine_fn_config_makefile programs
/winefile enable_winefile
22272 wine_fn_config_makefile programs
/winemenubuilder enable_winemenubuilder
22273 wine_fn_config_makefile programs
/winemine enable_winemine
22274 wine_fn_config_makefile programs
/winemsibuilder enable_winemsibuilder
22275 wine_fn_config_makefile programs
/winepath enable_winepath
22276 wine_fn_config_makefile programs
/winetest enable_winetest
22277 wine_fn_config_makefile programs
/winevdm enable_win16
22278 wine_fn_config_makefile programs
/winhelp.exe16 enable_win16
22279 wine_fn_config_makefile programs
/winhlp32 enable_winhlp32
22280 wine_fn_config_makefile programs
/winmgmt enable_winmgmt
22281 wine_fn_config_makefile programs
/winoldap.mod16 enable_win16
22282 wine_fn_config_makefile programs
/winver enable_winver
22283 wine_fn_config_makefile programs
/wmic enable_wmic
22284 wine_fn_config_makefile programs
/wmplayer enable_wmplayer
22285 wine_fn_config_makefile programs
/wordpad enable_wordpad
22286 wine_fn_config_makefile programs
/write enable_write
22287 wine_fn_config_makefile programs
/wscript enable_wscript
22288 wine_fn_config_makefile programs
/wscript
/tests enable_tests
22289 wine_fn_config_makefile programs
/wuauserv enable_wuauserv
22290 wine_fn_config_makefile programs
/wusa enable_wusa
22291 wine_fn_config_makefile programs
/xcopy enable_xcopy
22292 wine_fn_config_makefile programs
/xcopy
/tests enable_tests
22293 wine_fn_config_makefile server enable_server
22294 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22295 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/sfnt2fon enable_sfnt2fon
22296 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/widl enable_widl
22297 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winebuild enable_winebuild
22298 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winedump enable_winedump
22299 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winegcc enable_winegcc
22300 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/winemaker enable_winemaker
22301 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wmc enable_wmc
22302 test "x$enable_tools" = xno || wine_fn_config_makefile tools
/wrc enable_wrc
22305 as_fn_append CONFIGURE_TARGETS
" TAGS"
22306 as_fn_append CONFIGURE_TARGETS
" tags"
22307 as_fn_append CONFIGURE_TARGETS
" autom4te.cache"
22308 as_fn_append CONFIGURE_TARGETS
" config.log"
22309 as_fn_append CONFIGURE_TARGETS
" config.status"
22310 as_fn_append CONFIGURE_TARGETS
" include/config.h"
22311 as_fn_append CONFIGURE_TARGETS
" include/stamp-h"
22312 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS
" loader/wine"
22314 if test "x$enable_tools" != xno
22316 as_fn_append CONFIGURE_TARGETS
" tools/makedep$ac_exeext"
22317 ac_config_commands
="$ac_config_commands tools/makedep"
22321 ac_config_commands
="$ac_config_commands Makefile"
22328 as_fn_append wine_rules
"
22330 @echo \"Wine build complete.\"
22334 Makefile: config.status \$(MAKEDEP)
22335 @./config.status Makefile
22336 depend: \$(MAKEDEP)
22337 \$(MAKEDEP)$makedep_flags"
22340 as_fn_append wine_rules
"
22341 config.status: ${wine_srcdir}configure
22342 @./config.status --recheck
22343 include/config.h: include/stamp-h
22344 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22345 @./config.status include/config.h include/stamp-h"
22347 if test "x$enable_maintainer_mode" = xyes
22349 as_fn_append wine_rules
"
22350 configure: configure.ac aclocal.m4
22351 autoconf --warnings=all
22352 include/config.h.in: include/stamp-h.in
22353 include/stamp-h.in: configure.ac aclocal.m4
22354 autoheader --warnings=all
22355 @echo timestamp > \$@"
22358 if test "x$enable_tools" != xno
22360 as_fn_append wine_rules
"
22361 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22362 @./config.status tools/makedep
22363 Makefile: tools/makedep$ac_exeext"
22365 as_fn_append wine_rules
"
22367 @echo \"You need to run make in $toolsdir first\" && false"
22371 if test -n "$with_wine64"
22373 case "$with_wine64" in
22377 rm -f fonts server
2>/dev
/null
22378 as_fn_append wine_rules
"
22379 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22380 loader/wine64 loader/wine64-preloader:
22381 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22382 $with_wine64/loader/wine:
22383 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22384 $with_wine64/loader/wine-preloader:
22385 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22387 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22389 TOP_INSTALL_DEV
="$TOP_INSTALL_DEV include"
22390 TOP_INSTALL_LIB
="$TOP_INSTALL_LIB \
22394 programs/msidb/msidb \
22395 programs/msiexec/msiexec \
22396 programs/notepad/notepad \
22397 programs/regedit/regedit \
22398 programs/regsvr32/regsvr32 \
22399 programs/wineboot/wineboot \
22400 programs/winecfg/winecfg \
22401 programs/wineconsole/wineconsole \
22402 programs/winedbg/winedbg \
22403 programs/winefile/winefile \
22404 programs/winemine/winemine \
22405 programs/winepath/winepath \
22409 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
22410 *) TOP_INSTALL_LIB
="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22415 as_fn_append wine_rules
"
22417 rm -rf autom4te.cache
22419 rm -f configure include/config.h.in"
22422 as_fn_append wine_rules
"
22423 dlls/ntdll/unix/version.c: dummy
22424 @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)
22425 programs/winetest/build.rc: dummy
22426 @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)
22427 programs/winetest/build.nfo:
22429 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
22430 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22431 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22434 TAGSFLAGS
="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22436 as_fn_append wine_rules
"
22439 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22442 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22444 .PHONY: depend dummy install-manpages"
22446 printf "%s\n" " done" >&6
22447 cat >confcache
<<\_ACEOF
22448 # This file is a shell script that caches the results of configure
22449 # tests run on this system so they can be shared between configure
22450 # scripts and configure runs, see configure's option --config-cache.
22451 # It is not useful on other systems. If it contains results you don't
22452 # want to keep, you may remove or edit it.
22454 # config.status only pays attention to the cache file if you give it
22455 # the --recheck option to rerun configure.
22457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22459 # following values.
22463 # The following way of writing the cache mishandles newlines in values,
22464 # but we know of no workaround that is simple, portable, and efficient.
22465 # So, we kill variables containing newlines.
22466 # Ultrix sh set writes to stderr and can't be redirected directly,
22467 # and sets the high bit in the cache file unless we assign to the vars.
22469 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22470 eval ac_val
=\$
$ac_var
22474 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22475 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22478 _ | IFS | as_nl
) ;; #(
22479 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22480 *) { eval $ac_var=; unset $ac_var;} ;;
22486 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22487 *${as_nl}ac_space
=\
*)
22488 # `set' does not quote correctly, so add quotes: double-quote
22489 # substitution turns \\\\ into \\, and sed turns \\ into \.
22492 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22495 # `set' quotes correctly as required by POSIX, so do not add quotes.
22496 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22505 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22507 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22509 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22510 if test -w "$cache_file"; then
22511 if test "x$cache_file" != "x/dev/null"; then
22512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22513 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22514 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22515 cat confcache
>"$cache_file"
22517 case $cache_file in #(
22519 mv -f confcache
"$cache_file"$$
&&
22520 mv -f "$cache_file"$$
"$cache_file" ;; #(
22522 mv -f confcache
"$cache_file" ;;
22527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22528 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22533 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22534 # Let make expand exec_prefix.
22535 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22537 DEFS
=-DHAVE_CONFIG_H
22542 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22543 # 1. Remove the extension, and $U if already installed.
22544 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22545 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22546 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22547 # will be set to the directory where LIBOBJS objects are built.
22548 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22549 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22551 LIBOBJS
=$ac_libobjs
22553 LTLIBOBJS
=$ac_ltlibobjs
22557 : "${CONFIG_STATUS=./config.status}"
22559 ac_clean_files_save
=$ac_clean_files
22560 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22562 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22564 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22566 # Generated by $as_me.
22567 # Run this file to recreate the current configuration.
22568 # Compiler output produced by configure, useful for debugging
22569 # configure, is in config.log if it exists.
22572 ac_cs_recheck=false
22575 SHELL=\${CONFIG_SHELL-$SHELL}
22578 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22579 ## -------------------- ##
22580 ## M4sh Initialization. ##
22581 ## -------------------- ##
22583 # Be more Bourne compatible
22584 DUALCASE
=1; export DUALCASE
# for MKS sh
22586 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
22590 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22591 # is contrary to our usage. Disable this feature.
22592 alias -g '${1+"$@"}'='"$@"'
22593 setopt NO_GLOB_SUBST
22595 case `(set -o) 2>/dev/null` in #(
22605 # Reset variables that may have inherited troublesome values from
22608 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22609 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22610 # side effect of setting IFS to empty, thus disabling word splitting.)
22611 # Quoting is to prevent editors from complaining about space-tab.
22621 # Ensure predictable behavior from utilities with locale-dependent output.
22627 # We cannot yet rely on "unset" to work, but we need these variables
22628 # to be unset--not just set to an empty or harmless value--now, to
22629 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22630 # also avoids known problems related to "unset" and subshell syntax
22631 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22632 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
22633 do eval test \
${$as_var+y} \
22634 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22637 # Ensure that fds 0, 1, and 2 are open.
22638 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
22639 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
22640 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
22642 # The user is always right.
22643 if ${PATH_SEPARATOR+false} :; then
22645 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
22646 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
22652 # Find who we are. Look in the path if we contain no directory separator.
22655 *[\\/]* ) as_myself
=$0 ;;
22656 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22657 for as_dir
in $PATH
22660 case $as_dir in #(((
22663 *) as_dir
=$as_dir/ ;;
22665 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
22671 # We did not find ourselves, most probably we were run as `sh COMMAND'
22672 # in which case we are not to be found in the path.
22673 if test "x$as_myself" = x
; then
22676 if test ! -f "$as_myself"; then
22677 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22684 # ----------------------------------------
22685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22687 # script with STATUS, using 1 if that was 0.
22690 as_status
=$1; test $as_status -eq 0 && as_status
=1
22692 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22695 printf "%s\n" "$as_me: error: $2" >&2
22696 as_fn_exit
$as_status
22701 # as_fn_set_status STATUS
22702 # -----------------------
22703 # Set $? to STATUS, without forking.
22704 as_fn_set_status
()
22707 } # as_fn_set_status
22709 # as_fn_exit STATUS
22710 # -----------------
22711 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22715 as_fn_set_status
$1
22721 # Portably unset VAR.
22724 { eval $1=; unset $1;}
22726 as_unset
=as_fn_unset
22728 # as_fn_append VAR VALUE
22729 # ----------------------
22730 # Append the text in VALUE to the end of the definition contained in VAR. Take
22731 # advantage of any shell optimizations that allow amortized linear growth over
22732 # repeated appends, instead of the typical quadratic growth present in naive
22734 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
22736 eval 'as_fn_append ()
22747 # as_fn_arith ARG...
22748 # ------------------
22749 # Perform arithmetic evaluation on the ARGs, and store the result in the
22750 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22751 # must be portable across $(()) and expr.
22752 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
22754 eval 'as_fn_arith ()
22761 as_val
=`expr "$@" || test $? -eq 1`
22766 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22767 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22773 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22774 as_basename
=basename
22779 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22785 as_me
=`$as_basename -- "$0" ||
22786 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22787 X"$0" : 'X\(//\)$' \| \
22788 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22789 printf "%s\n" X/"$0" |
22790 sed '/^.*\/\([^/][^/]*\)\/*$/{
22804 # Avoid depending upon Character Ranges.
22805 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22806 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22807 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22808 as_cr_digits
='0123456789'
22809 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22812 # Determine whether it's possible to make 'echo' print without a newline.
22813 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22814 # for compatibility with existing Makefiles.
22815 ECHO_C
= ECHO_N
= ECHO_T
=
22816 case `echo -n x` in #(((((
22818 case `echo 'xy\c'` in
22819 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22821 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22828 # For backward compatibility with old third-party macros, we provide
22829 # the shell variables $as_echo and $as_echo_n. New code should use
22830 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22831 as_echo
='printf %s\n'
22832 as_echo_n
='printf %s'
22834 rm -f conf$$ conf$$.exe conf$$.
file
22835 if test -d conf$$.dir
; then
22836 rm -f conf$$.dir
/conf$$.
file
22839 mkdir conf$$.dir
2>/dev
/null
22841 if (echo >conf$$.
file) 2>/dev
/null
; then
22842 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22844 # ... but there are two gotchas:
22845 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22846 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22847 # In both cases, we have to default to `cp -pR'.
22848 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22850 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22858 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22859 rmdir conf$$.dir
2>/dev
/null
22864 # Create "$as_dir" as a directory, including parents if necessary.
22869 -*) as_dir
=.
/$as_dir;;
22871 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22875 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22876 *) as_qdir
=$as_dir;;
22878 as_dirs
="'$as_qdir' $as_dirs"
22879 as_dir
=`$as_dirname -- "$as_dir" ||
22880 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22881 X"$as_dir" : 'X\(//\)[^/]' \| \
22882 X"$as_dir" : 'X\(//\)$' \| \
22883 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22884 printf "%s\n" X"$as_dir" |
22885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22889 /^X\(\/\/\)[^/].*/{
22902 test -d "$as_dir" && break
22904 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22905 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22909 if mkdir
-p .
2>/dev
/null
; then
22910 as_mkdir_p
='mkdir -p "$as_dir"'
22912 test -d .
/-p && rmdir .
/-p
22917 # as_fn_executable_p FILE
22918 # -----------------------
22919 # Test if FILE is an executable regular file.
22920 as_fn_executable_p
()
22922 test -f "$1" && test -x "$1"
22923 } # as_fn_executable_p
22924 as_test_x
='test -x'
22925 as_executable_p
=as_fn_executable_p
22927 # Sed expression to map a string onto a valid CPP name.
22928 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22930 # Sed expression to map a string onto a valid variable name.
22931 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22935 ## ----------------------------------- ##
22936 ## Main body of $CONFIG_STATUS script. ##
22937 ## ----------------------------------- ##
22939 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22942 # Save the log message, to keep $0 and so on meaningful, and to
22943 # report actual input values of CONFIG_FILES etc. instead of their
22944 # values after options handling.
22946 This file was extended by Wine $as_me 7.21, which was
22947 generated by GNU Autoconf 2.71. Invocation command line was
22949 CONFIG_FILES = $CONFIG_FILES
22950 CONFIG_HEADERS = $CONFIG_HEADERS
22951 CONFIG_LINKS = $CONFIG_LINKS
22952 CONFIG_COMMANDS = $CONFIG_COMMANDS
22955 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22961 case $ac_config_headers in *"
22962 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22967 # Files that config.status was made for.
22968 config_headers="$ac_config_headers"
22969 config_links="$ac_config_links"
22970 config_commands="$ac_config_commands"
22974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22976 \`$as_me' instantiates files and other configuration actions
22977 from templates according to the current configuration. Unless the files
22978 and actions are specified as TAGs, all are instantiated by default.
22980 Usage: $0 [OPTION]... [TAG]...
22982 -h, --help print this help, then exit
22983 -V, --version print version number and configuration settings, then exit
22984 --config print configuration, then exit
22985 -q, --quiet, --silent
22986 do not print progress messages
22987 -d, --debug don't remove temporary files
22988 --recheck update $as_me by reconfiguring in the same conditions
22989 --header=FILE[:TEMPLATE]
22990 instantiate the configuration header FILE
22992 Configuration headers:
22995 Configuration links:
22998 Configuration commands:
23001 Report bugs to <wine-devel@winehq.org>.
23002 Wine home page: <https://www.winehq.org>."
23005 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23006 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23008 ac_cs_config='$ac_cs_config_escaped'
23010 Wine config.status 7.21
23011 configured by $0, generated by GNU Autoconf 2.71,
23012 with options \\"\$ac_cs_config\\"
23014 Copyright (C) 2021 Free Software Foundation, Inc.
23015 This config.status script is free software; the Free Software Foundation
23016 gives unlimited permission to copy, distribute and modify it."
23020 test -n "\$AWK" || AWK=awk
23023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23024 # The default lists apply if the user does not specify any file.
23030 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23031 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23035 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23047 # Handling of the options.
23048 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23050 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23051 printf "%s\n" "$ac_cs_version"; exit ;;
23052 --config |
--confi |
--conf |
--con |
--co |
--c )
23053 printf "%s\n" "$ac_cs_config"; exit ;;
23054 --debug |
--debu |
--deb |
--de |
--d |
-d )
23056 --header |
--heade |
--head |
--hea )
23059 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23061 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23062 ac_need_defaults
=false
;;
23064 # Conflict between --help and --header
23065 as_fn_error $?
"ambiguous option: \`$1'
23066 Try \`$0 --help' for more information.";;
23067 --help |
--hel |
-h )
23068 printf "%s\n" "$ac_cs_usage"; exit ;;
23069 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23070 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23073 # This is an error.
23074 -*) as_fn_error $?
"unrecognized option: \`$1'
23075 Try \`$0 --help' for more information." ;;
23077 *) as_fn_append ac_config_targets
" $1"
23078 ac_need_defaults
=false
;;
23084 ac_configure_extra_args
=
23086 if $ac_cs_silent; then
23088 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23093 if \$ac_cs_recheck; then
23094 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23096 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23097 CONFIG_SHELL='$SHELL'
23098 export CONFIG_SHELL
23103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23107 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23108 ## Running $as_me. ##
23110 printf "%s\n" "$ac_log"
23114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23118 wine_fn_output_makedep ()
23120 as_dir=tools; as_fn_mkdir_p
23121 $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
23123 wine_fn_output_makefile ()
23125 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23126 # This Makefile understands the following targets:
23128 # all (default): build wine
23129 # clean: remove all intermediate files
23130 # distclean: also remove all files created by configure
23132 # testclean: clean test results to force running all tests again
23133 # install-lib: install libraries needed to run applications
23134 # install-dev: install development environment
23135 # install: install everything
23136 # uninstall: uninstall everything
23137 # ctags: create a tags file for vim and others.
23138 # etags: create a TAGS file for Emacs.
23141 PATH_SEPARATOR = $PATH_SEPARATOR
23142 PACKAGE_NAME = $PACKAGE_NAME
23143 PACKAGE_TARNAME = $PACKAGE_TARNAME
23144 PACKAGE_VERSION = $PACKAGE_VERSION
23145 PACKAGE_STRING = $PACKAGE_STRING
23146 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23147 PACKAGE_URL = $PACKAGE_URL
23148 exec_prefix = $exec_prefix
23150 program_transform_name = $program_transform_name
23153 libexecdir = $libexecdir
23154 datarootdir = $datarootdir
23156 sysconfdir = $sysconfdir
23157 sharedstatedir = $sharedstatedir
23158 localstatedir = $localstatedir
23159 runstatedir = $runstatedir
23160 includedir = $includedir
23161 oldincludedir = $oldincludedir
23169 localedir = $localedir
23176 build_alias = $build_alias
23177 host_alias = $host_alias
23178 target_alias = $target_alias
23179 system_dllpath = $system_dllpath
23181 build_cpu = $build_cpu
23182 build_vendor = $build_vendor
23183 build_os = $build_os
23185 host_cpu = $host_cpu
23186 host_vendor = $host_vendor
23192 SET_MAKE = $SET_MAKE
23196 CPPFLAGS = $CPPFLAGS
23197 ac_ct_CC = $ac_ct_CC
23201 CXXFLAGS = $CXXFLAGS
23202 ac_ct_CXX = $ac_ct_CXX
23205 TARGETFLAGS = $TARGETFLAGS
23206 toolsext = $toolsext
23207 HOST_ARCH = $HOST_ARCH
23208 aarch64_CC = $aarch64_CC
23209 aarch64_CFLAGS = $aarch64_CFLAGS
23210 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23211 aarch64_LDFLAGS = $aarch64_LDFLAGS
23212 aarch64_DEBUG = $aarch64_DEBUG
23213 aarch64_TARGET = $aarch64_TARGET
23214 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23215 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23217 arm_CFLAGS = $arm_CFLAGS
23218 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23219 arm_LDFLAGS = $arm_LDFLAGS
23220 arm_DEBUG = $arm_DEBUG
23221 arm_TARGET = $arm_TARGET
23222 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23223 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23225 i386_CFLAGS = $i386_CFLAGS
23226 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23227 i386_LDFLAGS = $i386_LDFLAGS
23228 i386_DEBUG = $i386_DEBUG
23229 i386_TARGET = $i386_TARGET
23230 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23231 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23232 x86_64_CC = $x86_64_CC
23233 x86_64_CFLAGS = $x86_64_CFLAGS
23234 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23235 x86_64_LDFLAGS = $x86_64_LDFLAGS
23236 x86_64_DEBUG = $x86_64_DEBUG
23237 x86_64_TARGET = $x86_64_TARGET
23238 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23239 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23240 toolsdir = $toolsdir
23242 RUNTESTFLAGS = $RUNTESTFLAGS
23247 ac_ct_AR = $ac_ct_AR
23253 LDCONFIG = $LDCONFIG
23255 PKG_CONFIG = $PKG_CONFIG
23256 FONTFORGE = $FONTFORGE
23260 I386_LIBS = $I386_LIBS
23261 OPENGL_LIBS = $OPENGL_LIBS
23262 DLLFLAGS = $DLLFLAGS
23263 LDDLLFLAGS = $LDDLLFLAGS
23264 LDEXECFLAGS = $LDEXECFLAGS
23265 EXTRACFLAGS = $EXTRACFLAGS
23266 UNIXDLLFLAGS = $UNIXDLLFLAGS
23267 UNIXLDFLAGS = $UNIXLDFLAGS
23268 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23269 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23270 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23271 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23276 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23277 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23278 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23280 OBJCFLAGS = $OBJCFLAGS
23281 ac_ct_OBJC = $ac_ct_OBJC
23282 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23283 IOKIT_LIBS = $IOKIT_LIBS
23284 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23285 CORESERVICES_LIBS = $CORESERVICES_LIBS
23286 APPKIT_LIBS = $APPKIT_LIBS
23287 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23288 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23289 SECURITY_LIBS = $SECURITY_LIBS
23290 COREAUDIO_LIBS = $COREAUDIO_LIBS
23291 OPENCL_LIBS = $OPENCL_LIBS
23292 CARBON_LIBS = $CARBON_LIBS
23293 METAL_LIBS = $METAL_LIBS
23294 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23295 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23296 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23298 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23299 PE_ARCHS = $PE_ARCHS
23300 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23301 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23302 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23303 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23304 GSM_PE_LIBS = $GSM_PE_LIBS
23305 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23306 JPEG_PE_LIBS = $JPEG_PE_LIBS
23307 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23308 JXR_PE_LIBS = $JXR_PE_LIBS
23309 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23310 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23311 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23312 MPG123_PE_LIBS = $MPG123_PE_LIBS
23313 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23314 PNG_PE_LIBS = $PNG_PE_LIBS
23315 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23316 TIFF_PE_LIBS = $TIFF_PE_LIBS
23317 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23318 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23319 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23320 XML2_PE_LIBS = $XML2_PE_LIBS
23321 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23322 XSLT_PE_LIBS = $XSLT_PE_LIBS
23323 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23324 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23325 PTHREAD_LIBS = $PTHREAD_LIBS
23328 X_CFLAGS = $X_CFLAGS
23329 X_PRE_LIBS = $X_PRE_LIBS
23331 X_EXTRA_LIBS = $X_EXTRA_LIBS
23332 PCAP_LIBS = $PCAP_LIBS
23333 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23334 INOTIFY_LIBS = $INOTIFY_LIBS
23335 DBUS_CFLAGS = $DBUS_CFLAGS
23336 DBUS_LIBS = $DBUS_LIBS
23337 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23338 GNUTLS_LIBS = $GNUTLS_LIBS
23339 SANE_CFLAGS = $SANE_CFLAGS
23340 SANE_LIBS = $SANE_LIBS
23341 USB_CFLAGS = $USB_CFLAGS
23342 USB_LIBS = $USB_LIBS
23343 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23344 GPHOTO2_LIBS = $GPHOTO2_LIBS
23345 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23346 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23347 RESOLV_LIBS = $RESOLV_LIBS
23348 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23349 FREETYPE_LIBS = $FREETYPE_LIBS
23350 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23351 PULSE_CFLAGS = $PULSE_CFLAGS
23352 PULSE_LIBS = $PULSE_LIBS
23353 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23354 GSTREAMER_LIBS = $GSTREAMER_LIBS
23355 ALSA_LIBS = $ALSA_LIBS
23356 OSS4_CFLAGS = $OSS4_CFLAGS
23357 OSS4_LIBS = $OSS4_LIBS
23358 UDEV_CFLAGS = $UDEV_CFLAGS
23359 UDEV_LIBS = $UDEV_LIBS
23360 UNWIND_CFLAGS = $UNWIND_CFLAGS
23361 UNWIND_LIBS = $UNWIND_LIBS
23362 SDL2_CFLAGS = $SDL2_CFLAGS
23363 SDL2_LIBS = $SDL2_LIBS
23364 CAPI20_CFLAGS = $CAPI20_CFLAGS
23365 CAPI20_LIBS = $CAPI20_LIBS
23366 CUPS_CFLAGS = $CUPS_CFLAGS
23367 CUPS_LIBS = $CUPS_LIBS
23368 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23369 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23370 KRB5_CFLAGS = $KRB5_CFLAGS
23371 KRB5_LIBS = $KRB5_LIBS
23372 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23373 GSSAPI_LIBS = $GSSAPI_LIBS
23374 PROCSTAT_LIBS = $PROCSTAT_LIBS
23375 NETAPI_CFLAGS = $NETAPI_CFLAGS
23376 NETAPI_LIBS = $NETAPI_LIBS
23377 MSVCRTFLAGS = $MSVCRTFLAGS
23378 DELAYLOADFLAG = $DELAYLOADFLAG
23380 LDAP_CFLAGS = $LDAP_CFLAGS
23381 LDAP_LIBS = $LDAP_LIBS
23382 TAGSFLAGS = $TAGSFLAGS
23384 LTLIBOBJS = $LTLIBOBJS
23388 as_fn_error $? "could not create Makefile" "$LINENO" 5
23393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23395 # Handling of arguments.
23396 for ac_config_target
in $ac_config_targets
23398 case $ac_config_target in
23399 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23400 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23401 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
23402 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23403 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
23404 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23406 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23411 # If the user did not use the arguments to specify the items to instantiate,
23412 # then the envvar interface is used. Set only those that are not.
23413 # We use the long form for the default assignment because of an extremely
23414 # bizarre bug on SunOS 4.1.3.
23415 if $ac_need_defaults; then
23416 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
23417 test ${CONFIG_LINKS+y} || CONFIG_LINKS
=$config_links
23418 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
23421 # Have a temporary directory for convenience. Make it in the build tree
23422 # simply because there is no reason against having it here, and in addition,
23423 # creating and moving files from /tmp can sometimes cause problems.
23424 # Hook for its removal unless debugging.
23425 # Note that there is a small window in which the directory will not be cleaned:
23426 # after its creation but before its name has been assigned to `$tmp'.
23430 trap 'exit_status=$?
23431 : "${ac_tmp:=$tmp}"
23432 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23434 trap 'as_fn_exit 1' 1 2 13 15
23436 # Create a (secure) tmp directory for tmp files.
23439 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23443 tmp
=.
/conf$$
-$RANDOM
23444 (umask 077 && mkdir
"$tmp")
23445 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23448 # Set up the scripts for CONFIG_HEADERS section.
23449 # No need to generate them if there are no CONFIG_HEADERS.
23450 # This happens for instance with `./config.status Makefile'.
23451 if test -n "$CONFIG_HEADERS"; then
23452 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23456 # Transform confdefs.h into an awk script `defines.awk', embedded as
23457 # here-document in config.status, that substitutes the proper values into
23458 # config.h.in to produce config.h.
23460 # Create a delimiter string that does not exist in confdefs.h, to ease
23461 # handling of long lines.
23463 for ac_last_try
in false false
:; do
23464 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
23465 if test -z "$ac_tt"; then
23467 elif $ac_last_try; then
23468 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
23470 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23474 # For the awk script, D is an array of macro values keyed by name,
23475 # likewise P contains macro parameters if any. Preserve backslash
23476 # newline sequences.
23478 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23480 s/.\{148\}/&'"$ac_delim"'/g
23483 s/^[ ]*#[ ]*define[ ][ ]*/ /
23490 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23496 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23497 D["\1"]=" \3\\\\\\n"\\/p
23499 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23504 s/.\{148\}/&'"$ac_delim"'/g
23509 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23512 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23514 ' <confdefs.h |
sed '
23515 s/'"$ac_delim"'/"\\\
23516 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
23518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23519 for (key in D) D_is_set[key] = 1
23522 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23524 split(line, arg, " ")
23525 if (arg[1] == "#") {
23529 defundef = substr(arg[1], 2)
23532 split(mac1, mac2, "(") #)
23534 prefix = substr(line, 1, index(line, defundef) - 1)
23535 if (D_is_set[macro]) {
23536 # Preserve the white space surrounding the "#".
23537 print prefix "define", macro P[macro] D[macro]
23540 # Replace #undef with comments. This is necessary, for example,
23541 # in the case of _POSIX_SOURCE, which is predefined and required
23542 # on some systems where configure will not decide to define it.
23543 if (defundef == "undef") {
23544 print "/*", prefix defundef, macro, "*/"
23552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23553 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23554 fi # test -n "$CONFIG_HEADERS"
23557 eval set X
" :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23562 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23564 case $ac_mode$ac_tag in
23566 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23567 :[FH
]-) ac_tag
=-:-;;
23568 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23585 -) ac_f
="$ac_tmp/stdin";;
23586 *) # Look for the file first in the build tree, then in the source tree
23587 # (if the path is not absolute). The absolute path cannot be DOS-style,
23588 # because $ac_f cannot contain `:'.
23592 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23594 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23596 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23597 as_fn_append ac_file_inputs
" '$ac_f'"
23600 # Let's still pretend it is `configure' which instantiates (i.e., don't
23601 # use $as_me), people would be surprised to read:
23602 # /* config.h. Generated by config.status. */
23603 configure_input
='Generated from '`
23604 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23606 if test x
"$ac_file" != x-
; then
23607 configure_input
="$ac_file. $configure_input"
23608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23609 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23611 # Neutralize special characters interpreted by sed in replacement strings.
23612 case $configure_input in #(
23613 *\
&* |
*\|
* |
*\\* )
23614 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
23615 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23616 *) ac_sed_conf_input
=$configure_input;;
23620 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23621 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23626 ac_dir
=`$as_dirname -- "$ac_file" ||
23627 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23628 X"$ac_file" : 'X\(//\)[^/]' \| \
23629 X"$ac_file" : 'X\(//\)$' \| \
23630 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23631 printf "%s\n" X"$ac_file" |
23632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23636 /^X\(\/\/\)[^/].*/{
23649 as_dir
="$ac_dir"; as_fn_mkdir_p
23653 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23655 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23656 # A ".." for each directory in $ac_dir_suffix.
23657 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23658 case $ac_top_builddir_sub in
23659 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23660 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23663 ac_abs_top_builddir
=$ac_pwd
23664 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23665 # for backward compatibility:
23666 ac_top_builddir
=$ac_top_build_prefix
23669 .
) # We are building in place.
23671 ac_top_srcdir
=$ac_top_builddir_sub
23672 ac_abs_top_srcdir
=$ac_pwd ;;
23673 [\\/]* | ?
:[\\/]* ) # Absolute name.
23674 ac_srcdir
=$srcdir$ac_dir_suffix;
23675 ac_top_srcdir
=$srcdir
23676 ac_abs_top_srcdir
=$srcdir ;;
23677 *) # Relative name.
23678 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23679 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23680 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23682 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23691 if test x
"$ac_file" != x-
; then
23693 printf "%s\n" "/* $configure_input */" >&1 \
23694 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23695 } >"$ac_tmp/config.h" \
23696 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23697 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
23698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23699 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23702 mv "$ac_tmp/config.h" "$ac_file" \
23703 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
23706 printf "%s\n" "/* $configure_input */" >&1 \
23707 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23708 || as_fn_error $?
"could not create -" "$LINENO" 5
23716 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23719 # Prefer the file from the source tree if names are identical.
23720 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
23721 ac_source
=$srcdir/$ac_source
23724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23725 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23727 if test ! -r "$ac_source"; then
23728 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
23732 # Try a relative symlink, then a hard link, then a copy.
23734 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
23735 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
23737 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
23738 ln "$ac_source" "$ac_file" 2>/dev
/null ||
23739 cp -p "$ac_source" "$ac_file" ||
23740 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23743 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23744 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23749 case $ac_file$ac_mode in
23750 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23751 "tools/makedep":C
) wine_fn_output_makedep || as_fn_exit $?
;;
23752 "Makefile":C
) wine_fn_output_makefile Makefile
;;
23760 ac_clean_files
=$ac_clean_files_save
23762 test $ac_write_fail = 0 ||
23763 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23766 # configure is writing to config.log, and then calls config.status.
23767 # config.status does its own redirection, appending to config.log.
23768 # Unfortunately, on DOS this fails, as config.log is still kept open
23769 # by configure, so config.status won't be able to write to it; its
23770 # output is simply discarded. So we exec the FD to /dev/null,
23771 # effectively closing config.log, so it can be properly (re)opened and
23772 # appended to by config.status. When coming back to configure, we
23773 # need to make the FD available again.
23774 if test "$no_create" != yes; then
23776 ac_config_status_args
=
23777 test "$silent" = yes &&
23778 ac_config_status_args
="$ac_config_status_args --quiet"
23780 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23782 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23783 # would make configure fail if this is the last instruction.
23784 $ac_cs_success || as_fn_exit
1
23786 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23788 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23792 if test "$no_create" = "yes"
23798 if test "x$wine_notices" != x
; then
23801 for msg
in $wine_notices; do
23807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23808 printf "%s\n" "$as_me: $msg" >&6;}
23813 for msg
in $wine_warnings; do
23820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23821 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23827 $as_me: Finished. Do '${ac_make}' to compile Wine.